I want to add some new flashed Sonoff devices to Domoticz but i can't get them in to Domoticz. Did this before and was always working fine and still working nice with the existing ones.
Setup Tasmota on the device the same way as the older ones with only different topic name.
In Tasmota i added setoption19 1 in console so it sets to ON.
Sonoff-Tasmota 6.4.1 version
Debug log and it is seeing the name i gave it
Ender 3 Printer, so there is some communication. But when i search in Domoticz devices tab or list there is nothing. Tried the Allow for 5 minutes option just te be sure but makes no difference.
Any tips?
Code: Select all
2019-01-14 15:07:01.708 (MQTT Discovery) onMQTTPublish: homeassistant/light/375D17_LI_1/config:b''
2019-01-14 15:07:01.708 (MQTT Discovery) onMQTTPublish: homeassistant/switch/375D17_RL_1/config:b'{"name":"Ender 3 Printer","cmd_t":"~cmnd/POWER","stat_t":"~tele/STATE","val_tpl":"{{value_json.POWER}}","pl_off":"OFF","pl_on":"ON","avty_t":"~tele/LWT","pl_avail":"Online","pl_not_avail":"Offline","uniq_id":"375D17_RL_1","device":{"identifiers":["375D17"],"name":"Ender 3 Printer","model":"Sonoff Basic","sw_version":"6.4.1(sonoff)","manufacturer":"Tasmota"}, "~":"sonoff230/"}'
2019-01-14 15:07:01.709 (MQTT Discovery) onMQTTPublish: homeassistant/light/375D17_LI_2/config:b''
2019-01-14 15:07:01.709 (MQTT Discovery) onMQTTPublish: homeassistant/switch/375D17_RL_2/config:b''
2019-01-14 15:07:01.710 (MQTT Discovery) onMQTTPublish: homeassistant/light/375D17_LI_3/config:b''
2019-01-14 15:07:01.760 (MQTT Discovery) Received 340 bytes of data
2019-01-14 15:07:01.760 (MQTT Discovery) 30 29 00 27 68 6f 6d 65 61 73 73 69 73 74 61 6e 74 2f 73 77 0).'homeassistant/sw
2019-01-14 15:07:01.760 (MQTT Discovery) 69 74 63 68 2f 33 37 35 44 31 37 5f 52 4c 5f 33 2f 63 6f 6e itch/375D17_RL_3/con
2019-01-14 15:07:01.760 (MQTT Discovery) 66 69 67 30 28 00 26 68 6f 6d 65 61 73 73 69 73 74 61 6e 74 fig0(.&homeassistant
2019-01-14 15:07:01.761 (MQTT Discovery) 2f 6c 69 67 68 74 2f 33 37 35 44 31 37 5f 4c 49 5f 34 2f 63 /light/375D17_LI_4/c
2019-01-14 15:07:01.761 (MQTT Discovery) 6f 6e 66 69 67 30 29 00 27 68 6f 6d 65 61 73 73 69 73 74 61 onfig0).'homeassista
2019-01-14 15:07:01.761 (MQTT Discovery) 6e 74 2f 73 77 69 74 63 68 2f 33 37 35 44 31 37 5f 52 4c 5f nt/switch/375D17_RL_
2019-01-14 15:07:01.761 (MQTT Discovery) 34 2f 63 6f 6e 66 69 67 30 28 00 26 68 6f 6d 65 61 73 73 69 4/config0(.&homeassi
2019-01-14 15:07:01.761 (MQTT Discovery) 73 74 61 6e 74 2f 6c 69 67 68 74 2f 33 37 35 44 31 37 5f 4c stant/light/375D17_L
2019-01-14 15:07:01.761 (MQTT Discovery) 49 5f 35 2f 63 6f 6e 66 69 67 30 29 00 27 68 6f 6d 65 61 73 I_5/config0).'homeas
2019-01-14 15:07:01.761 (MQTT Discovery) 73 69 73 74 61 6e 74 2f 73 77 69 74 63 68 2f 33 37 35 44 31 sistant/switch/375D1
2019-01-14 15:07:01.761 (MQTT Discovery) 37 5f 52 4c 5f 35 2f 63 6f 6e 66 69 67 30 28 00 26 68 6f 6d 7_RL_5/config0(.&hom
2019-01-14 15:07:01.762 (MQTT Discovery) 65 61 73 73 69 73 74 61 6e 74 2f 6c 69 67 68 74 2f 33 37 35 eassistant/light/375
2019-01-14 15:07:01.762 (MQTT Discovery) 44 31 37 5f 4c 49 5f 36 2f 63 6f 6e 66 69 67 30 29 00 27 68 D17_LI_6/config0).'h
2019-01-14 15:07:01.762 (MQTT Discovery) 6f 6d 65 61 73 73 69 73 74 61 6e 74 2f 73 77 69 74 63 68 2f omeassistant/switch/
2019-01-14 15:07:01.762 (MQTT Discovery) 33 37 35 44 31 37 5f 52 4c 5f 36 2f 63 6f 6e 66 69 67 30 28 375D17_RL_6/config0(
2019-01-14 15:07:01.762 (MQTT Discovery) 00 26 68 6f 6d 65 61 73 73 69 73 74 61 6e 74 2f 6c 69 67 68 .&homeassistant/ligh
2019-01-14 15:07:01.762 (MQTT Discovery) 74 2f 33 37 35 44 31 37 5f 4c 49 5f 37 2f 63 6f 6e 66 69 67 t/375D17_LI_7/config
2019-01-14 15:07:01.763 (MQTT Discovery) Received 43 bytes of data
2019-01-14 15:07:01.763 (MQTT Discovery) 30 29 00 27 68 6f 6d 65 61 73 73 69 73 74 61 6e 74 2f 73 77 0).'homeassistant/sw
2019-01-14 15:07:01.763 (MQTT Discovery) 69 74 63 68 2f 33 37 35 44 31 37 5f 52 4c 5f 37 2f 63 6f 6e itch/375D17_RL_7/con
2019-01-14 15:07:01.763 (MQTT Discovery) 66 69 67 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. fig
2019-01-14 15:07:01.764 (MQTT Discovery) onMQTTPublish: homeassistant/switch/375D17_RL_3/config:b''
2019-01-14 15:07:01.764 (MQTT Discovery) onMQTTPublish: homeassistant/light/375D17_LI_4/config:b''
2019-01-14 15:07:01.764 (MQTT Discovery) onMQTTPublish: homeassistant/switch/375D17_RL_4/config:b''
2019-01-14 15:07:01.765 (MQTT Discovery) onMQTTPublish: homeassistant/light/375D17_LI_5/config:b''
2019-01-14 15:07:01.765 (MQTT Discovery) onMQTTPublish: homeassistant/switch/375D17_RL_5/config:b''
2019-01-14 15:07:01.766 (MQTT Discovery) onMQTTPublish: homeassistant/light/375D17_LI_6/config:b''
2019-01-14 15:07:01.766 (MQTT Discovery) onMQTTPublish: homeassistant/switch/375D17_RL_6/config:b''
2019-01-14 15:07:01.767 (MQTT Discovery) onMQTTPublish: homeassistant/light/375D17_LI_7/config:b''
2019-01-14 15:07:01.767 (MQTT Discovery) onMQTTPublish: homeassistant/switch/375D17_RL_7/config:b''
2019-01-14 15:07:07.129 (MQTT Discovery) Heartbeating...
2019-01-14 15:07:07.129 (MQTT Discovery) MqttClient::Ping
2019-01-14 15:07:07.130 (MQTT Discovery) Sending 2 bytes of data
2019-01-14 15:07:07.130 (MQTT Discovery) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �.
2019-01-14 15:07:07.180 (MQTT Discovery) Received 2 bytes of data
2019-01-14 15:07:07.180 (MQTT Discovery) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �.
2019-01-14 15:07:07.705 MQTT: Topic: domoticz/in, Message: {"idx":3418,"nvalue":0,"svalue":"30.4"}
Update
Flashed Tasmota 6.1.1 what I am using for the older S20 i am using already and now the new S20 is discovered fine.
So problem is with newer version of Tasmota.
One thing i noticed
With version v6.1.1 the log shows
Code: Select all
00:00:07 MQT: homeassistant/switch/sonoff230_3/config = (retained)
With version v6.4.1 the log shows
Code: Select all
2019-01-14 15:07:01.764 (MQTT Discovery) onMQTTPublish: homeassistant/switch/375D17_RL_4/config:b''
Topic is different. With the new versions it shows a part of the MAC address even when i filled the setting exactly the same as with v6.1.1