-
Notifications
You must be signed in to change notification settings - Fork 9
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
shm-et340 breaks dbus-mqtt #9
Comments
I've had this happen to me as well and it also seems to have affected the data that is sent/not sent to the vrm portal. I am running this fork to support my EM-1 https://github.com/fishpepper/shm-et340 and it seems that after upgrading to the latest beta (3.00~14) of venus os things have changed. I am not comfotable yet saying that things are working now but what I can state is:
|
I can confirm, the update to beta, seems to fix it for me |
My comment seems to have been too early. After a few days the error is back and while the local system still works fine, what is shown in vrm is again incorrect. |
same here, not correct anymore. |
But a reboot of Venus OS fixes it again as well. |
I've added some more debugging to the python script:
and that is the addition log output that I gathered:
|
I made a "hacky" workaround for this issue by patching dbus-mqtt.py /data/dbus-mqtt.patch
(this basically tells this script to ignore shm340 data) and then added this to my /data/rc.local
This seems to fix it for me. However this is just a temporary fix as updates to the dbus2mqtt service might break it.
|
I disliked the "hackiness" of that approach and added a fix to my shm-et340 branch, Still kind of hacky but at least it requires no venus modification :) (released bin here: v0.4a https://github.com/fishpepper/shm-et340/releases) |
This looks a lot less hacky and really nice, thanks! Looking at your improvements helps me learn a lot. Do you mind if I merge this back in, as I think it's much better than what I have at the moment. |
Hi!
After some investigation I could isolate the reason, why dbus-mqtt in VenusOS is dying constantly with the following error message in /var/log/dbus-mqtt/current:
When I disable shm-et340 and restart the system, dbus-mqtt runs perfectly until I start shm-et340.
Can you please have a look, if your code is sending any odd data to dbus causing dbus.mqtt to die, please?
Problem exists with all versions of VenusOS 2.9x
The text was updated successfully, but these errors were encountered: