See more at ZenseHome API interfacing
switch: platform: command_line switches: office_light: command_on: /var/turnon-office.exp command_off: /var/turnoff-office.exp friendly_name: Office Lights kitchen_light: command_on: /var/turnon-kitchen.exp command_off: /var/turnoff-kitchen.exp friendly_name: Kitchen Lights |
Some discussion on Reddit here |
Install ffmpeg on Linux
apt-get install ffmpeg |
Add som config (see https://www.home-assistant.io/components/ffmpeg/):
ffmpeg: ffmpeg_bin: /usr/bin/ffmpeg camera 41: - platform: generic still_image_url: http://admin:******@10.0.0.140:80/PSIA/Streaming/channels/1/picture name: Bag hus - platform: generic still_image_url: http://admin:******@10.0.0.130:80/PSIA/Streaming/channels/1/picture name: Fordør |
ffmpeg: ffmpeg_bin: /usr/bin/ffmpeg camera: - platform: ffmpeg input: rtsp://admin:******@10.0.0.140:554/Streaming/Channels/1 name: Bag hus (stream) - platform: ffmpeg input: rtsp://admin:******@10.0.0.130:554/Streaming/Channels/1 name: Fordør (stream) |
apt-get install nmap sudo setcap cap_net_raw,cap_net_admin,cap_net_bind_service+eip sudo setcap cap_net_raw,cap_net_admin,cap_net_bind_service+eip /usr/bin/nmap |
device_tracker: - platform: nmap_tracker hosts: 10.0.0.0/24 |