Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motion guard and MQTT #112

Open
kasitoru opened this issue Nov 24, 2022 · 11 comments
Open

Motion guard and MQTT #112

kasitoru opened this issue Nov 24, 2022 · 11 comments

Comments

@kasitoru
Copy link

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

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

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

@flyrouter
Copy link
Member

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

@darkfuncat
Copy link

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

@themactep
Copy link
Contributor

Please update from dev branch and give it a try.

@darkfuncat
Copy link

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.

@themactep
Copy link
Contributor

What was the previous version of your firmware?

@themactep
Copy link
Contributor

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

@darkfuncat
Copy link

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"}

@kasitoru
Copy link
Author

kasitoru commented Jan 9, 2023

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

Check this message for the retain flag.

@themactep
Copy link
Contributor

"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.

@darkfuncat
Copy link

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.

@kasitoru
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants