# Hi need a bit of guidance

**URL:** https://discourse.nodered.org/t/hi-need-a-bit-of-guidance/100043
**Category:** General
**Created:** [29 December 2025 21:38 UTC](https://discourse.nodered.org/t/hi-need-a-bit-of-guidance/100043 "2025-12-29T21:38:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![montyfert](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@montyfert](https://discourse.nodered.org/u/montyfert)
#### Post date: [29 December 2025 21:38 UTC](https://discourse.nodered.org/t/hi-need-a-bit-of-guidance/100043/1 "2025-12-29T21:38:25Z")

</div>

i have a switch node that outputs either true or false .  
when it outputs true i want it to publish (cmnd/tasmota\_dht11/TelePeriod 10)  
and when it outputs false i want it to publish )cmnd/tasmota\_dht11/TelePeriod 40)

my switch node is as follows

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bb6213171a47400b3446beb72d29de65604e4331.png)

my mqtt

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/9/59f1e4d541e28785eca16e9156a4279985eab67b.png)

and the response in tasmota

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/8/c844ce5b0d9dd47e87831c2985e6eb170daa42a4.png)

ive been at it all day and my head is about to explode , what am i doing wrong,  
thanks  
martin

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [29 December 2025 21:50 UTC](https://discourse.nodered.org/t/hi-need-a-bit-of-guidance/100043/2 "2025-12-29T21:50:13Z")

</div>

Making a educated guess here, I presume teleperiod is the command and 10 and 40 are the value.  
Try setting `cmnd/tasmota_dht11/TelePeriod` as the topic, and set `msg.payload` to `10` or `40` after the switch node, using a change node on each wire.

The ai response on this duckduckgo serach asistant seems to think so to [tasmota teleperiod command at DuckDuckGo](https://duckduckgo.com/?q=tasmota+teleperiod+command&ia=web)

---

<div class="post-metadata">

### Author: ![montyfert](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@montyfert](https://discourse.nodered.org/u/montyfert)
#### Post date: [29 December 2025 22:04 UTC](https://discourse.nodered.org/t/hi-need-a-bit-of-guidance/100043/3 "2025-12-29T22:04:15Z")

</div>

worked great thanks.  
martin

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [12 January 2026 22:04 UTC](https://discourse.nodered.org/t/hi-need-a-bit-of-guidance/100043/4 "2026-01-12T22:04:57Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
