Webcam setup

/etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
   ssid="ssid_name"
   psk="password"
}

/etc/network/interfaces:

allow-hotplug wlan0
iface wlan0 inet manual
        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

/etc/rc.local:

fswebcam
        -d /dev/video0          the video device
        -r 960x720              the webcam is 720p
        -s 100                  skip 100 frames before taking the snapshot
        meteo-raw.jpg           save the image before additional settings
        --timestamp "Munich, %Y−%m−%d %H:%M (%Z)"
        --scale 800x600         resize the image after snapshot
        --jpeg 95               JPEG image quality
        --rotate 90             rotate the image
        meteo.jpg               image to be published