Open sdreffo opened 3 months ago
There is no direct integration with Home Assistant, but you can use http commands to control the camera, e.g.
https://192.168.100.12/cgi-bin/camcontrols.cgi?cmd=on&control=telnet-server
https://192.168.100.12/cgi-bin/camcontrols.cgi?cmd=off&control=telnet-server
to switch the telnet server on and off, similarly you can switch on/off all options available from the quick menu (in the controlscripts folder):
auto-night-detection
black-white
blue-led
ftp-server
ir-cut
ir-led
motion-detection
motion-mail
motion-snapshot
network-monitor
night-mode
onvif
recording
red-led
rtsp-h26x
telegram-bot
telnet-server
timelapse
All available cgi commands can be found in the www\cgi-bin folder (e.g. https://192.168.100.12/cgi-bin/action.cgi?cmd=reboot
- used for rebooting).
For motion detection you can use your own scripts, which should be placed in config/userscripts/motiondetection/ folder, they will be called with ‘on’ and ‘off’ parameters when motion starts and stops. For more details on motion detection processing see scripts scripts/detectionOn.sh and scripts/detectionOff.sh
Many thanks for this hacks, work very well.
I have one question, to integrate in HA not only the Video streaming ( with generic camera) i need to install what in HA? ( PIR, audio...etc)
In the web interface i see more option for the cam.
Thanks Davide