Lots of MQTT messages flying around #50
Unanswered
witek1308
asked this question in
dscKeybusInterface Discussion
Replies: 1 comment 1 reply
-
Update - I realised this is because all my setting were assuming QoS=1 whereas code doesn't handle them this way and therefore all messages were retransmitted endlessly |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I monitored traffic in my network and observed a constant storm of MQTT messages from NodeMCU to broker - around 20/s. I have number of mqtt devices at home and they all together generate only small fraction of the traffic comparing to NodeMCU with HomeAssisant-MQTT example installed.
I can't understand whether they are sent constantly by PC1616 (and therefore PC1616 is to blame) or rather sketch can be improved to limit it and send it only when anything changes.
After some time count of subscribe request messages is about 40k. It is a mix of Subscribe Request, Ack and constant Publish from the NodeMCU. I can't find clientId in it and don't know where is it coming from and not sure how Mosquitto treats it - as new subscribe and therefore can collapse after sometime when memory for clients reaches full or else.
Does anyone else experience it too? Can this be somehow limited to only situation when change happens?
Beta Was this translation helpful? Give feedback.
All reactions