using Backlog0

20 views
Skip to first unread message

Ulf Holt

unread,
Apr 27, 2025, 2:28:21 AMApr 27
to TasmotaUsers
Not sure if this is the right place to ask, but pleas tell me if I should delete the question.

I need to set timezone on a device which is only available via MQTT. The command is: Backlog0 Timezone 99; TimeStd 0, 0, 10, 1, 3, 60; TimeDST 0, 0, 3, 1, 2. 120. I am using Node Red to display info from my devices. Not sure how to do it, suppose I can use an injection node and a MQTT-out node, but have never tried something like this before, and don't even know if it  is possible. 

Best regards 

Ulf H. 

Justin Adie

unread,
Apr 27, 2025, 3:04:28 AMApr 27
to Ulf Holt, TasmotaUsers
Yes. You can use an inject node set to manual.  Set the topic and payload in the inject node and then add an mqtt out node to the canvas and join them into a flow.  Configure the mqttout node with the right server information.   

Then click deploy and click the inject node when the flows have restarted.


Or you can use an mqtt client and publish directly from that.  Either command line or gui: the result is the same.  

--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/sonoffusers/5c9b77e8-73e3-448c-add9-5f40ab197688n%40googlegroups.com.

ulf....@gmail.com

unread,
Apr 27, 2025, 3:26:52 AMApr 27
to Justin Adie, TasmotaUsers

Thank you, Justin.

 

I agree, and that was how far I got, but I miss the syntax on how to set up the payload and the topic in the injection node and likewise the topic on the MQTT out node. I get info from the device using tele/Kjeller/sensor and I try using cmd/Kjeller in the topic for the MQTT in node, and injecting the command from the inject node, but that does not work, so there is definitely an error (or more).

Justin Adie

unread,
Apr 27, 2025, 3:32:36 AMApr 27
to Ulf Holt, TasmotaUsers
For me I would use something like

location/device/cmnd/backlog0

As the topic and the message would be

Timezone 99; TimeStd 0,0,10,1,3,60; TimeDST 0,0,3,1,2,120


I know that most people prefer the cmnd keyword to be the root of the topic.  Always seemed illogical to me 

Also in the message body you had your timedst command incorrectly using a dot rather than comma. 

ulf....@gmail.com

unread,
Apr 27, 2025, 5:01:20 AMApr 27
to Justin Adie, TasmotaUsers

I’m still stuck, since I don’t understand where to put what.

 

I try to use msg.payload type msg value tele/kjeller/cmnd/backlog0 and topic Timezone 99; TimeStd 0,0,10,1,3,60; TimeDST 0,0,3,1,2,120 in the inject node and the topic same in the mqtt-out node.

 

This does not work, but I get no error message or warning. I have hooked up a debug node to tele/Kjeller/# to check any messages

Justin Adie

unread,
Apr 27, 2025, 5:10:58 AMApr 27
to Ulf Holt, TasmotaUsers
In the inject node

Set msg.topic to  cmnd/kjeller/backlog0

Set msg.payload to Timezone 99; TimeStd 0,0,10,1,3,60; TimeDST 0,0,3,1,2,120

Don't set topic in the mqtt node.

For the debug node remember that kjeller is not the same as Kjeller.  Case matters in mqtt 

Philip Knowles

unread,
Apr 27, 2025, 1:16:44 PMApr 27
to Ulf Holt, Justin Adie, TasmotaUsers
I would use MQTT Explorer. Not sure why backlog0 is being used though. Also, I think it should be cmnd not tele


From: 'Justin Adie' via TasmotaUsers <sonof...@googlegroups.com>
Sent: 27 April 2025 10:10
To: Ulf Holt <ulf....@gmail.com>
Cc: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: using Backlog0
 
Reply all
Reply to author
Forward
0 new messages