-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Does not reply within MQTT keep-alive #192
Comments
Duplicate of #140. See that issue for workarounds. |
Oh, ok. But I tried out changing from
Looks like the ping response is sent every minute after boot. Edit: I actually see there's a gap between 13:53:53 and 13:56:53, but could that be because ozwdaemon is sending other data through mqtt and the ping response is not needed? |
@jmgiaever Hey, yeah i think you're right. I am a bit rusty with cpp, but it does look like it maybe missing a reference to a field. It's an odd way of making a typo though. |
True :) For anyone who wants to test it, it's available as a snap - in ithe edge channel See |
There shouldn't be any difference between The ping responses are working with the existing code, except for the problem in #140. If you are not seeing the |
Ok, maybe it's possible to reference an internal field within it's own scope by skipping |
So trying to remember cpp, you only need to use "this" in this case if there is another variable hiding the instance variable right? why did your code work better? you say your code worked faster. Did you delete the ozw cache and try your code then? keeping in mind that omitting it is inconsistent with the rest of the code ;) |
A friend compiled "this" fix and added my fix to add MQTT_KEEP_ALIVE environment variable to change timeout as needed |
Spotted by @jmgiaever in OpenZWave#192
Just added a PR for the "this"-fix. |
The @firstof9 container also includes updates of lots of underlying dependecies, including the QT-version etc. so it might behave better also because of fixes in other libraries. |
@Olen yes but, there was a reason for using older QT libraries. Newer libraries break all in one container for ozw admin. |
Correct it totally breaks the bundled ozw-admin. |
Hi,
After my Z-wave network have grown, the daemon has started to fail when I do a reboot.
From the log:
I just scrolled through the code and was wondering if the reference to
m_client
for the ping responses should bethis->m_client
, as with the line 90-92?I'm not very familiar with the code and not the language either, but though it would be ok to ask :)
The text was updated successfully, but these errors were encountered: