Page 1 of 1

updateDeviceSettings: Did not find device with key='devicename'

Posted: Saturday 01 May 2021 17:32
by FearNaBoinne
I am trying to add a Gosund SP1 v23 to the system using the MQTT with Discover plugin.

I set up the device identical to other devices. The only difference is that this is my first Gosund module, and the first Tasmota device that does power measuring.

Once I typed 'setoption19 1', Domoticz/Mosquitto with discovery started giving messages like:
updateDeviceSettings: Did not find device with key='devicename', value = '68DB65_status'
updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_Today'

It's stopped again after having turned off option19 on the device...

Here's a section of the log:

Code: Select all

 2021-05-01 17:30:03.192 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.193 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = 'C4B358_status'
2021-05-01 17:30:03.193 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.194 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '6CD963_status'
2021-05-01 17:30:03.194 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.194 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '6B854D_status'
2021-05-01 17:30:03.194 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.195 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = 'AC1C5D_status'
2021-05-01 17:30:03.195 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.196 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '477C82_status'
2021-05-01 17:30:03.196 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.196 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = 'B67283_status'
2021-05-01 17:30:03.196 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.197 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '3A0972_status'
2021-05-01 17:30:03.197 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.197 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '134AC6_status'
2021-05-01 17:30:03.197 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.198 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = 'C287E8_status'
2021-05-01 17:30:03.198 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.198 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '146F9C_status'
2021-05-01 17:30:03.198 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.199 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = 'D66E1D_status'
2021-05-01 17:30:03.199 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.199 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '6B6A48_status'
2021-05-01 17:30:03.199 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.200 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_TotalStartTime'
2021-05-01 17:30:03.200 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.200 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_Total'
2021-05-01 17:30:03.200 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.201 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_Yesterday'
2021-05-01 17:30:03.201 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.201 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_Today'
2021-05-01 17:30:03.201 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.201 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_Power'
2021-05-01 17:30:03.202 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.202 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_ApparentPower'
2021-05-01 17:30:03.202 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.202 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_ReactivePower'
2021-05-01 17:30:03.202 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.203 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_Factor'
2021-05-01 17:30:03.203 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.203 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_Voltage'
2021-05-01 17:30:03.203 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.204 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_ENERGY_Current'
2021-05-01 17:30:03.204 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-05-01 17:30:03.204 (Mosquitto with discovery) updateDeviceSettings: Did not find device with key='devicename', value = '9198D2_status'
2021-05-01 17:30:03.204 (Mosquitto with discovery) updateDeviceSettings: TypeName: '' Type: 0 
Has anyone seen this before? Any suggestions? Why would this Tasmota device not be automatically added as a group of Domoticz devices, when it worked for all other Tasmota devices before this?

HELP?!...

Re: updateDeviceSettings: Did not find device with key='devicename'

Posted: Sunday 02 May 2021 22:15
by Xenomes
I see you opened a issue on the git hub. I got the message to after the update to 2021.1

Re: updateDeviceSettings: Did not find device with key='devicename'

Posted: Monday 03 May 2021 7:43
by waltervl
There is now also the feature in 2021.1 that you have to switch on debug logging in order to see the MQTT messages in Domoticz/in.

viewtopic.php?f=6&t=36171 these are one of the last changes in stable.