Replies: 1 comment 6 replies
-
wmbusmeters exercies the reset functionality every 23 hours by default. You can override this with --resetafter=0h (never reset) The reason is that some dongles do lock up after running for a couple of weeks. So, we exercies the reset, also the It does not sound like an exactly one-hour downtime has anything to do with this.....but you never know. Anyway, set --resetafter=30m to exercies it more often, if you get more one-hour outages, then it might be connected. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a setup with at nanoCUL USB dongle connected to at Linux PC running Ubuntu LTS 22. The nanoCUL dongle has been FW updated to support a large buffer for C1 packages from a Kamstrup flowIQ 2200 water meter transmitting every 16th second. I have wmbusmeters running in a docker and it picks up wM-Bus and decodes it just fine, publishes it to a MQTT in another docker. The data is collected by a Telegraf instance and put into an InfluxDB. All is good, I get data almost every 16th second.
BUT! Once in a while the data collection goes quiet for EXACTLY one hour. This happens 0-2 times a day. What puzzles me is that it is exactly one hour of silence.
I’ve looked in the wmbusmeters.log and there is not much help to find but a few hints about USB reset. But I think wmbusmeters will reset the USB regularly? I looked in journalctrl for hints about the USB and got suspicious about fwupd as it seemed to run and fail whenever I had a USB silence issue. But I’ve seen the issue after uninstalling fwupd so that turned out to be a cold lead.
My suspicions are aimed at the wmbusmeters driver and handling of USB or the USB dongle FW itself or the general Linux USB handling. But I’m a bit at a loss on where to go from here. Suggestions are very welcome.
Best regards, KS
Beta Was this translation helpful? Give feedback.
All reactions