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

Cannot see any devices #35

Open
RomanSladecek opened this issue Nov 11, 2020 · 1 comment
Open

Cannot see any devices #35

RomanSladecek opened this issue Nov 11, 2020 · 1 comment

Comments

@RomanSladecek
Copy link

RomanSladecek commented Nov 11, 2020

Hi... I have Sonoffs flashed with Tasmota, using Domoticz, I run Mosquitto broker, and attach sonoffs to them.
When I try to use this plugin , I cannot see any new devices in Devices tab in domoticz.

All MQTT communications is there, all 5 devices are found in log, but still
"getDevices found 0 devices" as you see below in log/ Any help?

Log:

2020-11-11 00:55:35.578 (mqttDisc) 'HardwareID':'7'
2020-11-11 00:55:35.578 (mqttDisc) 'HomeFolder':'/home/pi/domoticz/plugins/domoticz_mqtt_discovery-development/'
2020-11-11 00:55:35.578 (mqttDisc) 'StartupFolder':'/home/pi/domoticz/'
2020-11-11 00:55:35.578 (mqttDisc) 'UserDataFolder':'/home/pi/domoticz/'
2020-11-11 00:55:35.578 (mqttDisc) 'Database':'/home/pi/domoticz/domoticz.db'
2020-11-11 00:55:35.578 (mqttDisc) 'Language':'en'
2020-11-11 00:55:35.578 (mqttDisc) 'Version':'0.0.4'
2020-11-11 00:55:35.578 (mqttDisc) 'Name':'mqttDisc'
2020-11-11 00:55:35.578 (mqttDisc) 'Address':'localhost'
2020-11-11 00:55:35.578 (mqttDisc) 'Port':'1883'
2020-11-11 00:55:35.578 (mqttDisc) 'Key':'MQTTDiscovery'
2020-11-11 00:55:35.578 (mqttDisc) 'Mode2':'tele'
2020-11-11 00:55:35.578 (mqttDisc) 'Mode4':'sonoffs'
2020-11-11 00:55:35.578 (mqttDisc) 'Mode6':'Verbose+'
2020-11-11 00:55:35.578 (mqttDisc) 'DomoticzVersion':'2020.2 (build 12624)'
2020-11-11 00:55:35.578 (mqttDisc) 'DomoticzHash':'c301f6632-modified'
2020-11-11 00:55:35.578 (mqttDisc) 'DomoticzBuildTime':'2020-11-10 08:06:26'
2020-11-11 00:55:35.578 (mqttDisc) Device count: 0
2020-11-11 00:55:35.578 (mqttDisc) Debug logging mask set to: PYTHON PLUGIN DEVICE CONNECTION MESSAGE
2020-11-11 00:55:35.578 (mqttDisc) Warning: could not load plugin options '' as JSON object
2020-11-11 00:55:35.579 (mqttDisc) Plugin options: {'addDiscoveredDeviceUsed': True, 'updateRSSI': False, 'updateVCC': False}
2020-11-11 00:55:35.579 (mqttDisc) MqttClient::__init__
2020-11-11 00:55:35.579 (mqttDisc) MqttClient::Open
2020-11-11 00:55:35.579 (mqttDisc) Heartbeat interval set to: 10.
2020-11-11 00:55:35.579 (mqttDisc) Protocol set to: 'MQTT'.
2020-11-11 00:55:35.579 (mqttDisc) Transport set to: 'TCP/IP', localhost:1883.
2020-11-11 00:55:35.579 (mqttDisc) Connect directive received, action initiated successfully.
2020-11-11 00:55:35.629 (mqttDisc) MqttClient::onConnect
2020-11-11 00:55:35.629 (mqttDisc) Successful connect to: localhost:1883
2020-11-11 00:55:35.629 (mqttDisc) MqttClient::Connect
2020-11-11 00:55:35.630 (mqttDisc) MQTT CONNECT ID: 'Domoticz_MQTTDiscovery_7_1605052535'
2020-11-11 00:55:35.630 (mqttDisc) Sending 49 bytes of data
2020-11-11 00:55:35.630 (mqttDisc) 10 2f 00 04 4d 51 54 54 04 02 00 3c 00 23 44 6f 6d 6f 74 69 ./..MQTT...<.#Domoti
2020-11-11 00:55:35.630 (mqttDisc) 63 7a 5f 4d 51 54 54 44 69 73 63 6f 76 65 72 79 5f 37 5f 31 cz_MQTTDiscovery_7_1
2020-11-11 00:55:35.630 (mqttDisc) 36 30 35 30 35 32 35 33 35 .. .. .. .. .. .. .. .. .. .. .. 605052535
2020-11-11 00:55:35.680 (mqttDisc) Received 4 bytes of data
2020-11-11 00:55:35.680 (mqttDisc) 20 02 00 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ....
2020-11-11 00:55:35.680 (mqttDisc) onMQTTConnected
2020-11-11 00:55:35.680 (mqttDisc) getTopics: '{'tele/#'}'
2020-11-11 00:55:35.680 (mqttDisc) MqttClient::Subscribe
2020-11-11 00:55:35.680 (mqttDisc) Sending 13 bytes of data
2020-11-11 00:55:35.680 (mqttDisc) 82 0b 00 01 00 06 74 65 6c 65 2f 23 00 .. .. .. .. .. .. .. ®....tele/#.
2020-11-11 00:55:35.731 (mqttDisc) Received 193 bytes of data
2020-11-11 00:55:35.731 (mqttDisc) 90 03 00 01 00 31 1e 00 16 74 65 6c 65 2f 73 6f 6e 6f 66 66 Ю...1...tele/sonoff
2020-11-11 00:55:35.731 (mqttDisc) 2d 63 68 6f 64 62 61 2f 4c 57 54 4f 6e 6c 69 6e 65 31 25 00 -chodba/LWTOnline1%.
2020-11-11 00:55:35.731 (mqttDisc) 1d 74 65 6c 65 2f 73 6f 6e 6f 66 66 2d 6b 75 63 68 79 6e 61 .tele/sonoff-kuchyna
2020-11-11 00:55:35.731 (mqttDisc) 2d 70 61 73 69 6b 2f 4c 57 54 4f 6e 6c 69 6e 65 31 25 00 1d -pasik/LWTOnline1%..
2020-11-11 00:55:35.731 (mqttDisc) 74 65 6c 65 2f 73 6f 6e 6f 66 66 2d 62 61 63 6b 75 70 2d 73 tele/sonoff-backup-s
2020-11-11 00:55:35.731 (mqttDisc) 70 61 6c 6e 61 2f 4c 57 54 4f 6e 6c 69 6e 65 31 27 00 1f 74 palna/LWTOnline1'..t
2020-11-11 00:55:35.731 (mqttDisc) 65 6c 65 2f 73 6f 6e 6f 66 66 2d 6b 75 63 68 79 6e 61 2d 62 ele/sonoff-kuchyna-b
2020-11-11 00:55:35.731 (mqttDisc) 6f 64 6f 76 6b 79 2f 4c 57 54 4f 6e 6c 69 6e 65 31 23 00 1b odovky/LWTOnline1#..
2020-11-11 00:55:35.731 (mqttDisc) 74 65 6c 65 2f 74 61 73 6d 6f 74 61 5f 74 65 6c 65 5f 74 6f tele/sonoff-kuchyna-led
2020-11-11 00:55:35.731 (mqttDisc) 70 69 63 2f 4c 57 54 4f 6e 6c 69 6e 65 .. .. .. .. .. .. .. ky/LWTOnline
2020-11-11 00:55:35.731 (mqttDisc) onMQTTSubscribed
2020-11-11 00:55:35.731 (mqttDisc) getDevices key: '' configkey: '' hasconfigkey: 'tasmota_tele_topic' value: '' config: '' topic: ''
2020-11-11 00:55:35.731 (mqttDisc) getDevices found 0 devices
2020-11-11 00:55:35.733 (mqttDisc) onMQTTPublish: tele/sonoff-chodba/LWT:b'Online'
2020-11-11 00:55:35.733 (mqttDisc) onMQTTPublish: tele/sonoff-kuchyna-pasik/LWT:b'Online'
2020-11-11 00:55:35.733 (mqttDisc) onMQTTPublish: tele/sonoff-backup-spalna/LWT:b'Online'
2020-11-11 00:55:35.733 (mqttDisc) onMQTTPublish: tele/sonoff-kuchyna-bodovky/LWT:b'Online'
2020-11-11 00:55:35.733 (mqttDisc) onMQTTPublish: tele/sonoff-kuchyna-ledky/LWT:b'Online'
2020-11-11 00:55:35.430 Status: (mqttDisc) Started.
2020-11-11 00:55:35.576 Status: (mqttDisc) Entering work loop.
2020-11-11 00:55:35.577 Status: (mqttDisc) Initialized version 0.0.4
2020-11-11 00:55:40.794 (Tasmoticz) Sending 2 bytes of data
2020-11-11 00:55:40.795 (Tasmoticz) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �
2020-11-11 00:55:40.845 (Tasmoticz) Received 2 bytes of data
2020-11-11 00:55:40.845 (Tasmoticz) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю
2020-11-11 00:55:41.246 (deconZ) onHeartbeat called
2020-11-11 00:55:45.603 (mqttDisc) Heartbeating...
2020-11-11 00:55:45.603 (mqttDisc) MqttClient::Ping
2020-11-11 00:55:45.603 (mqttDisc) Sending 2 bytes of data
2020-11-11 00:55:45.603 (mqttDisc) c0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. �
2020-11-11 00:55:45.654 (mqttDisc) Received 2 bytes of data
2020-11-11 00:55:45.654 (mqttDisc) d0 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю
@altserg
Copy link
Contributor

altserg commented Dec 15, 2021

have you enabled setoption19 1 in tasmota ?

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

2 participants