Skip to content

Instantly share code, notes, and snippets.

@ignisf
Last active May 29, 2026 13:52
Show Gist options
  • Select an option

  • Save ignisf/d4374fddc368439d1432ad5e8cf6fd5d to your computer and use it in GitHub Desktop.

Select an option

Save ignisf/d4374fddc368439d1432ad5e8cf6fd5d to your computer and use it in GitHub Desktop.
Nedis WIFIDS10WT Tasmota Configuration
{"NAME":"Nedis WIFIDS10WT","GPIO":[0,107,0,108,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":54}
Module 54
Backlog TuyaMCU 11,4; TuyaMCU 51,51
Backlog SetOption1 1; SetOption65 1; SetOption66 1
Rule1
ON TuyaReceived#Data=55AA000500056A0400010078 DO publish2 stat/%topic%/SMOKE OFF ENDON
ON TuyaReceived#Data=55AA000500056A0400010078 DO publish2 stat/%topic%/TEST OFF ENDON
ON TuyaReceived#Data=55AA000500056A0400010078 DO publish2 stat/%topic%/BATTERY OFF ENDON
ON TuyaReceived#Data=55AA000500056A0400010078 DO publish2 stat/%topic%/MUTE OFF ENDON
ON TuyaReceived#Data=55AA000500056A0400010179 DO publish2 stat/%topic%/SMOKE ON ENDON
ON TuyaReceived#Data=55AA000500056A0400010179 DO publish2 stat/%topic%/MUTE OFF ENDON
ON TuyaReceived#Data=55AA000500056A040001027A DO publish2 stat/%topic%/SMOKE ON ENDON
ON TuyaReceived#Data=55AA000500056A040001027A DO publish2 stat/%topic%/MUTE ON ENDON
ON TuyaReceived#Data=55AA000500056A040001037B DO publish2 stat/%topic%/SMOKE ON ENDON
ON TuyaReceived#Data=55AA000500056A040001037B DO publish2 stat/%topic%/TEST ON ENDON
ON TuyaReceived#Data=55AA000500056A040001037B DO publish2 stat/%topic%/MUTE OFF ENDON
ON TuyaReceived#Data=55AA000500056A040001047C DO publish2 stat/%topic%/BATTERY ON ENDON
Rule2
ON system#boot do publish2 homeassistant/binary_sensor/%macaddr%_smoke/config {"off_delay":86400,"state_topic":"stat/%topic%/SMOKE","device_class":"smoke","unique_id":"%macaddr%_smoke","device":{"connections":[["mac","%macaddr%"]]}} ENDON
ON system#boot do publish2 homeassistant/binary_sensor/%macaddr%_test/config {"name":"Test","off_delay":10,"entity_category":"diagnostic","state_topic":"stat/%topic%/TEST","icon":"mdi:bell-check","unique_id":"%macaddr%_test","device":{"connections":[["mac","%macaddr%"]]}} ENDON
ON system#boot do publish2 homeassistant/binary_sensor/%macaddr%_mute/config {"name":"Mute","off_delay":600,"entity_category":"diagnostic","state_topic":"stat/%topic%/MUTE","icon":"mdi:bell-sleep","unique_id":"%macaddr%_mute","device":{"connections":[["mac","%macaddr%"]]}} ENDON
ON system#boot do publish2 homeassistant/binary_sensor/%macaddr%_battery/config {"name":"Battery","entity_category":"diagnostic","state_topic":"stat/%topic%/BATTERY","device_class":"battery","unique_id":"%macaddr%_battery","device":{"connections":[["mac","%macaddr%"]]}} ENDON
Rule3
ON system#boot do publish2 homeassistant/binary_sensor/%macaddr%_connectivity/config {"state_topic":"stat/%topic%/CONN","off_delay":604800,"entity_category":"diagnostic","device_class":"connectivity","unique_id":"%macaddr%_connectivity","device":{"connections":[["mac","%macaddr%"]]}} ENDON
ON system#boot do publish2 stat/%topic%/CONN ON ENDON
Backlog Rule1 1; Rule2 1; Rule3 1
@ignisf

ignisf commented May 11, 2023

Copy link
Copy Markdown
Author

Oh and also you should be able to see the raw tuya messages by listening to the tele/%topic%/RESULT topic

@PaulUitWijchen

Copy link
Copy Markdown

thanks for the reply.
I flash the device again and reloaded the software. If I press the test button then I see in HA a report of the SSID, address and that sort of things, until the red light dims. Still the other Fire Alarm, Battery remains unknown.
In MQTT Exporer I see tele/tasmota_nnn/INFO1 2 and 3 and then
tele/tasmota_313159/STATE, but no result.
So if I press the button, shhould it then also send this message? Or only weekly?
-- Paul

@ignisf

ignisf commented May 29, 2026

Copy link
Copy Markdown
Author

@PaulUitWijchen hold the test button down for 10 seconds. It will initialize all entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment