Closed MoiZie closed 5 months ago
For an example of MQTT control integration see the Dafang Hacks: https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/firmware_mod/scripts/mqtt-control.sh
At the moment it's possible only through web services. But I could do this.
Any news about this feature? I found "Topics Prefix for remote configuration" in MQTT web page. What is it?
Yes, there are 2 methods: 1 - Check this pr: https://github.com/roleoroleo/yi-hack-Allwinner-v2/pull/114
2 - You can also use the "Topics Prefix for remote configuration" with the following syntax: PREFIX/file_to_update/parameter_to_update Example: kitchen-cam-config/system/onvif Payload: yes/no
Thank you. I will test 2 method.
Maybe you could add that info to Readme.md? It would be helpful for new users.
Yes.
I'm sorry I'm feeling pretty dumb, but I don't get it :-(
What does the "file_to_update" reference points to ? Where can I find a list of these files and the parameters they each host ?
Read the configuration files with the web service:
http://IP-CAM:8080/cgi-bin/get_configs.sh?conf=system
http://IP-CAM:8080/cgi-bin/get_configs.sh?conf=mqtt
system is the content of the file system.conf mqtt is the content of the file mqtt.conf So "file_to_update" can be system, mqtt, etc...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Maybe I'm overlooking things, but is there a way to disable video recording through MQTT? Use case: when I'm home, I don't need recordings of my rooms, nice privacy feature. It also saves wear on the SD card and reduces the WiFi usage.