Replies: 4 comments
-
Ha. Sorry for the confusion. When I mentioned GitHub, I was referring to Tasmota's repo, not Berry's. |
Beta Was this translation helpful? Give feedback.
-
Now to answer your question, I will add it in the documentation |
Beta Was this translation helpful? Give feedback.
-
so, what is the correct way to append or send a new MQTT ??
what I want to do, is get a sensor reading (or trigger one) make changes to
data, then send MQTT
thanks
~~ _/) ~~~~ _/) ~~~~ _/) ~~~~ _/) ~~
Tom Lafleur
…On Wed, Jan 19, 2022 at 10:15 AM s-hadinger ***@***.***> wrote:
Now to answer your question, tasmota.response_append() only works in the
method json_append() of a registered driver. This method is called at
each teleperiod, this is when you get a chance to add your data.
I will add it in the documentation
—
Reply to this email directly, view it on GitHub
<#231 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABC4EK3B2EPNWI6BS7KBKI3UW35SXANCNFSM5MKQ6NAA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
will move to Tasmota...
my error...
~~ _/) ~~~~ _/) ~~~~ _/) ~~~~ _/) ~~
Tom Lafleur
…On Wed, Jan 19, 2022 at 12:27 PM Tom Lafleur ***@***.***> wrote:
so, what is the correct way to append or send a new MQTT ??
what I want to do, is get a sensor reading (or trigger one) make changes
to data, then send MQTT
thanks
~~ _/) ~~~~ _/) ~~~~ _/) ~~~~ _/) ~~
Tom Lafleur
On Wed, Jan 19, 2022 at 10:15 AM s-hadinger ***@***.***>
wrote:
> Now to answer your question, tasmota.response_append() only works in the
> method json_append() of a registered driver. This method is called at
> each teleperiod, this is when you get a chance to add your data.
>
> I will add it in the documentation
>
> —
> Reply to this email directly, view it on GitHub
> <#231 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABC4EK3B2EPNWI6BS7KBKI3UW35SXANCNFSM5MKQ6NAA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
I'm very new to Barry... Trying to learn the basics...
When I copy this test code into the Berry console on the ESP32, the first parts work and get my sensor data printed, the 2nd part is not added the data to the MQTT packet for the next TelePeriod..
or is this the correct way to send/add new MQTT data?
Beta Was this translation helpful? Give feedback.
All reactions