Hi guys!
Having problems with one of my four Gosund SP111 smartplugs. Three of them are working perfectly running tasmota 8.1.0.2 and using HASS MQTT autodiscovery (setoption19 1
). The last plug was reset during a power outage (have since changed setoption65
to 1 to avoid that in the future). I reconfigured it and tried adding it to HASS again, but it just “flickers” as an “unknown device” under MQTT devices, and then the entities are just unavailable. I thought I could upgrade the firmware and se if that solved thinsg so I went to 8.5. Same issue. After that I went to teh newly released 9.1 in order to try the native Tasmota integration. No luck there either. Here is what I see in the HA log when trying to use the native Tasmota integration with setoption19 0
:
Logger: homeassistant.util.logging
Source: util/logging.py:108
First occurred: 3:11:58 PM (1 occurrences)
Last logged: 3:11:58 PM
Exception in discovery_message_received when handling msg on 'tasmota/discovery/C82B964F8801/config': '{"ip":"10.0.0.94","dn":"Dishwasher","fn":["Dishwasher",null,null,null,null,null,null,null],"hn":"dishwasher_4F8801-2049","mac":"C82B964F8801","md":"SP111 v1.1","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"9.1.0","t":"dishwasher_4F8801","ft":"%prefix%/%topic%/","tp":["cmnd","stat","tele"],"rl":[1,0,0,0,0,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":1,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0},"lk":1,"lt_st":0,"ver":1}' Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/hatasmota/discovery.py", line 158, in discovery_message_received payload = TasmotaDiscoveryMsg(json.loads(payload)) File "/usr/local/lib/python3.8/site-packages/hatasmota/discovery.py", line 117, in __init__ config = TASMOTA_DISCOVERY_SCHEMA(config) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__ return self._compiled([], data) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict return base_validate(path, iteritems(data), out) File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: extra keys not allowed @ data['if']
Could anybody shed some light as to why it doesn’t want to play nice any longer?
Cheers,
Tim