Replies: 2 comments 1 reply
-
Hi @pmknowles, blerry acts as essentially a very complex Tasmota rule. As such, it needs a message to trigger off of and receive data from. That is the DetailsBLE messages. It's not possible for blerry to function without these. Is there really concern over the amount of traffic? It's a tiny tiny fraction of traffic compared to even the simplest of modern webpages. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's because it's doing it every few seconds for a device which changes state over a long period of time
Without my rule, with 7 devices, I got 334 messages in 10 minutes (1 every 2 seconds)
With my rule (essentially limiting each device to 1 reading every 5 minutes) I get 40.
When my MQTT broker is running on a Raspberry Pi (along with ZigBee2MQTT and openHAB) then, yes, the amount of unnecessary traffic is important - every time a message arrives openHAB runs a rule to see if it needs to respond to the message.
…________________________________
From: tony ***@***.***>
Sent: 20 May 2024 16:07
To: tony-fav/tasmota-blerry ***@***.***>
Cc: pmknowles ***@***.***>; Mention ***@***.***>
Subject: Re: [tony-fav/tasmota-blerry] Reduce MQTT traffic (Discussion #85)
Hi @pmknowles<https://github.com/pmknowles>, blerry acts as essentially a very complex Tasmota rule. As such, it needs a message to trigger off of and receive data from. That is the DetailsBLE messages. It's not possible for blerry to function without these.
Is there really concern over the amount of traffic? It's a tiny tiny fraction of traffic compared to even the simplest of modern webpages.
—
Reply to this email directly, view it on GitHub<#85 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AI5KPM4SKZUSX3JYLVIRR3LZDIGUXAVCNFSM6AAAAABG7776OOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TIOJXG4ZDE>.
You are receiving this because you were mentioned.
|
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
-
Is it possible to reduce the MQTT traffic? Once we know that it's working do we need to see the BLEDetails as well? The Tasmota command BLEDetails0 stops everything working so I guess you need the data from that. . Otherwise it's a brilliant piece of software. The log below is just over 1 minute with 2 devices. At the moment I'm using
Rule2 on time#minute|2 do backlog bledetails2 A4C138EDEF74; delay 150; bledetails2 A4C1385C6ED5; delay 150; bledetails0 endon
which reduces the load a bit.Beta Was this translation helpful? Give feedback.
All reactions