Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devices not added #19

Open
roblomq opened this issue Mar 28, 2021 · 0 comments
Open

Devices not added #19

roblomq opened this issue Mar 28, 2021 · 0 comments

Comments

@roblomq
Copy link

roblomq commented Mar 28, 2021

I try to use this plugin. It adds one switch but there must be more. In the log of domoticz I get the folowing.

`2021-03-28 01:48:21.101 Python Plugin System: (MQTT Discovery) Heartbeating...
2021-03-28 01:48:21.101 Python Plugin System: (MQTT Discovery) MqttClient::Ping
2021-03-28 01:48:21.384 Python Plugin System: (MQTT Discovery) updateDeviceSettings devicename: 'CA2538_MHZ19B_Model' devicetype: 'sensor' config: '{'name': 'Tasmota MHZ19B Model', 'state_topic': 'tele/tasmota_CA2538/SENSOR', 'availability_topic': 'tele/tasmota_CA2538/LWT', 'payload_available': 'Online', 'payload_not_available': 'Offline', 'unique_id': 'CA2538_MHZ19B_Model', 'device': {'identifiers': ['CA2538']}, 'unit_of_measurement': ' ', 'icon': 'mdi:eye', 'force_update': True, 'value_template': "{{value_json['MHZ19B']['Model']}}"}'
2021-03-28 01:48:21.385 Python Plugin System: (MQTT Discovery) getDevices key: 'devicename' configkey: '' hasconfigkey: '' value: 'CA2538_MHZ19B_Model' config: '' topic: ''
2021-03-28 01:48:21.385 Python Plugin System: (MQTT Discovery) getDevices found 0 devices
2021-03-28 01:48:21.385 Python Plugin System: (MQTT Discovery) updateDeviceSettings: Did not find device with key='devicename', value = 'CA2538_MHZ19B_Model'
2021-03-28 01:48:21.385 Python Plugin System: (MQTT Discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-03-28 01:48:21.386 Python Plugin System: (MQTT Discovery) updateDeviceSettings devicename: 'CA2538_MHZ19B_CarbonDioxide' devicetype: 'sensor' config: '{'name': 'Tasmota MHZ19B CarbonDioxide', 'state_topic': 'tele/tasmota_CA2538/SENSOR', 'availability_topic': 'tele/tasmota_CA2538/LWT', 'payload_available': 'Online', 'payload_not_available': 'Offline', 'unique_id': 'CA2538_MHZ19B_CarbonDioxide', 'device': {'identifiers': ['CA2538']}, 'unit_of_measurement': 'ppm', 'icon': 'mdi:molecule-co2', 'force_update': True, 'value_template': "{{value_json['MHZ19B']['CarbonDioxide']}}"}'
2021-03-28 01:48:21.386 Python Plugin System: (MQTT Discovery) getDevices key: 'devicename' configkey: '' hasconfigkey: '' value: 'CA2538_MHZ19B_CarbonDioxide' config: '' topic: ''
2021-03-28 01:48:21.386 Python Plugin System: (MQTT Discovery) getDevices found 0 devices
2021-03-28 01:48:21.386 Python Plugin System: (MQTT Discovery) updateDeviceSettings: Did not find device with key='devicename', value = 'CA2538_MHZ19B_CarbonDioxide'
2021-03-28 01:48:21.386 Python Plugin System: (MQTT Discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-03-28 01:48:21.387 Python Plugin System: (MQTT Discovery) updateDeviceSettings devicename: 'CA2538_MHZ19B_Temperature' devicetype: 'sensor' config: '{'name': 'Tasmota MHZ19B Temperature', 'state_topic': 'tele/tasmota_CA2538/SENSOR', 'availability_topic': 'tele/tasmota_CA2538/LWT', 'payload_available': 'Online', 'payload_not_available': 'Offline', 'unique_id': 'CA2538_MHZ19B_Temperature', 'device': {'identifiers': ['CA2538']}, 'unit_of_measurement': '°C', 'device_class': 'temperature', 'force_update': True, 'value_template': "{{value_json['MHZ19B']['Temperature']}}"}'
2021-03-28 01:48:21.387 Python Plugin System: (MQTT Discovery) getDevices key: 'devicename' configkey: '' hasconfigkey: '' value: 'CA2538_MHZ19B_Temperature' config: '' topic: ''
2021-03-28 01:48:21.387 Python Plugin System: (MQTT Discovery) getDevices found 0 devices
2021-03-28 01:48:21.387 Python Plugin System: (MQTT Discovery) updateDeviceSettings: Did not find device with key='devicename', value = 'CA2538_MHZ19B_Temperature'
2021-03-28 01:48:21.387 Python Plugin System: (MQTT Discovery) updateDeviceSettings: TypeName: '' Type: 0
2021-03-28 01:48:21.660 Python Plugin System: (MQTT Discovery) updateDeviceSettings devicename: 'CA2538_status' devicetype: 'sensor' config: '{'name': 'Tasmota status', 'state_topic': 'tele/tasmota_CA2538/HASS_STATE', 'availability_topic': 'tele/tasmota_CA2538/LWT', 'payload_available': 'Online', 'payload_not_available': 'Offline', 'json_attributes_topic': 'tele/tasmota_CA2538/HASS_STATE', 'unit_of_measurement': '%', 'value_template': "{{value_json['RSSI']}}", 'icon': 'mdi:information-outline', 'unique_id': 'CA2538_status', 'device': {'identifiers': ['CA2538'], 'name': 'Tasmota', 'model': 'ESP32-DevKit', 'sw_version': '9.3.1(sensors)', 'manufacturer': 'Tasmota'}}'
2021-03-28 01:48:21.660 Python Plugin System: (MQTT Discovery) getDevices key: 'devicename' configkey: '' hasconfigkey: '' value: 'CA2538_status' config: '' topic: ''
2021-03-28 01:48:21.661 Python Plugin System: (MQTT Discovery) getDevices found 0 devices
2021-03-28 01:48:21.661 Python Plugin System: (MQTT Discovery) updateDeviceSettings: Did not find device with key='devicename', value = 'CA2538_status'
2021-03-28 01:48:21.661 Python Plugin System: (MQTT Discovery) updateDeviceSettings: TypeName: '' Type: 0

`

It seems that the "updateDeviceSettings: Did not find device with key='devicename', value = 'CA2538_MHZ19B_Model'" is not recognized or something.
How can I solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant