-
Notifications
You must be signed in to change notification settings - Fork 93
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
MQTT status changes many times per second (offline/online) when RTSP server is activated (0.4.1.e) #333
Comments
I have the same camera. Just flashed the same version (0.4.1.e). |
@waleed-alharthi a one of those functions must keep breaking a service and results in boot looping. I'll have a look |
I confirm the bootloop on the 2nd day too. |
I forgot to enable MQTT on one of the cameras on version (0.4.1.c I think). It's the only camera up and running for weeks. |
I've flashed one and kept MQTT off yesterday. It still went into boot loop today. I'll try something else. I get this a lot in wd_rtsp.log
This is hackerror.txt (apparently it's normal) |
Same here after upgrading an outdoor 9CUS from 0.4.1.d to 0.4.1.e |
I can confirm the issue is still present on 0.4.1f |
I also noticed the same and need to work on this at some point. |
@roleoroleo do you experience the same? |
There are several possibilities. Then, connect to the cam with a ssh session, kill mqttv4 and restart it manually. |
The problem is 2 mqttv4 processes running. |
@roleoroleo wd_rtsp seems to restart the mgttv4 a lot |
Maybe, but the syntax of the check seems to be ok. |
Found the issue and this is When My question is - are these 30 seconds needed @fidesachates ? |
If it's necessary, we could start wd_rtsp.sh with the same delay. |
Changes to be committed: modified: src/static/static/home/yi-hack-v5/script/system.sh
Well it's interesting... as I noted in my PR, I added it because the mqtt was failing to start for me due to this error:
which I had attributed to the previous command at the time of that commit, ipc_multiplexer to not have fully started. However, immediately after my commit, this commit was added which removed it so now I don't know if it's needed. Feel free to roll it back and I can always resubmit a pr if needed. bd032dd#diff-255ce4d35bec53378a47c9c7a0488aa2944e89d216f4a9ee8f428e109d47744dL227-L228 |
Changes to be committed: modified: src/static/static/home/yi-hack-v5/script/system.sh
It seems working great in 0.4.1h status is ok I needed to remove retain message on camera settings to make it work. |
Which retain message? @Minims |
This is fixed in the latest pre-release - please raise another issue if needed |
Describe the bug
MQTT "status" changes many times per second (offline/online) when RTSP server is activated (0.4.1.e)
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
"status" must be consistent
Set Up Details (please complete the following information):
The text was updated successfully, but these errors were encountered: