webui icon indicating copy to clipboard operation
webui copied to clipboard

Motion guard and MQTT

Open kasitoru opened this issue 3 years ago • 11 comments

Не срабатывает отправка MQTT сообщения при обнаружении движения (Motion guard).

Как выяснилось, все дело в том, что в файле motiondetection.sh отсутствует вызов соответствующего скрипта (как в master, так и в dev ветке).

Это ошибка, или необходима какая то дополнительная настройка для данной функции?

kasitoru avatar Nov 24 '22 16:11 kasitoru

Кнопки ручной отправки MQTT на странице Preview так-же нет. Я думаю Павел освободится и на днях сделает. Просто как всегда, не было до этого желающих тестировать..

flyrouter avatar Nov 24 '22 16:11 flyrouter

Hi all, Any update for this issue please ? I can test for you. Thx

darkfuncat avatar Jan 06 '23 16:01 darkfuncat

Please update from dev branch and give it a try.

themactep avatar Jan 07 '23 11:01 themactep

Hi, I have updated both firmware and web to last version, but it is very unstable now. No more trigger in FTP, and MQTT still does not work.

darkfuncat avatar Jan 07 '23 18:01 darkfuncat

What was the previous version of your firmware?

themactep avatar Jan 07 '23 20:01 themactep

There is a log file in /tmp/webui.log, check it for any clues.

themactep avatar Jan 07 '23 20:01 themactep

Hello again, After some tests, I have well received some info in MQTT channel, thanks. Due to update of both formware and web ui, the system is unstable now and have to reboot very frequently,, but this feature seems correct. Many thanks. Other related question : do you know what is posted in the MQTT channel "MQTT topic" ? I received only some alarm trigger, but not all. And for strange reason, I still continue to receive MQTT message from other previous firmware like : {"fw_version":"1.3.1","ip_address":"192.168.31.60","total_ram":41467904,"free_ram":1277952,"total_sdmem":20733952,"free_sdmem":20733952,"total_configs":393216,"free_configs":176128,"volume_level":70,"media_status":false,"image_url":"http://192.168.31.60/cgi/get_image.cgi"}

darkfuncat avatar Jan 08 '23 15:01 darkfuncat

I still continue to receive MQTT message from other previous firmware like

Check this message for the retain flag.

kasitoru avatar Jan 09 '23 05:01 kasitoru

"image_url":"http://192.168.31.60/cgi/get_image.cgi"

Are you sure this message is from OpenIPC camera? We don't have such an URL.

themactep avatar Jan 09 '23 14:01 themactep

HI, I dont know well MQTT, but I think this is a "permanent" message that is stored at some place, but i dont know where. I restarted the MQTT broker many times, camera as well ... I dont understand where this message come from.

darkfuncat avatar Jan 12 '23 08:01 darkfuncat

@darkfuncat this problem is off topic. Ask here https://github.com/kasitoru/mjsxj02hl_firmware/issues

kasitoru avatar Jan 12 '23 08:01 kasitoru