Flashed Shelly and now... Topic is solved
Moderators: leecollings, remb0
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Flashed Shelly and now...
I installed and flashed (OTA) a Shely 2.5. Now I found to add this to domoticz, with the help of https://github.com/emontnemery/domoticz_mqtt_discovery, but I fail in doing this. I could send a test from MQTT to domoitcz as in the wiki, so I do believe it is working. but can't figure out how to work with this.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- waltervl
- Posts: 6689
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Flashed Shelly and now...
Did you follow the instructions of the plugin?
We're you able to activate the plugin hardware?
What does the Domoticz log file say regarding this plugin?
We're you able to activate the plugin hardware?
What does the Domoticz log file say regarding this plugin?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 6689
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Flashed Shelly and now...
You could also try another plugin,
: https://github.com/joba-1/Tasmoticz
: https://github.com/joba-1/Tasmoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Flashed Shelly and now...
What i notice in the log iswaltervl wrote: Friday 13 August 2021 0:48 Did you follow the instructions of the plugin?
We're you able to activate the plugin hardware?
What does the Domoticz log file say regarding this plugin?
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) Warning: could not load plugin options '' as JSON object
2021-08-13 11:40:54.520 Status: MQTT Discovery: (MQTT Discovery) Stop directive received.
2021-08-13 11:40:54.631 Status: MQTT Discovery: (MQTT Discovery) Exiting work loop.
2021-08-13 11:40:54.720 Status: MQTT Discovery: (MQTT Discovery) Stopping threads.
2021-08-13 11:40:54.720 Status: MQTT Discovery: (MQTT Discovery) Stopped.
2021-08-13 11:40:57.538 MQTT Discovery hardware started.
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'HardwareID':'59'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'HomeFolder':'/home/pi/domoticz/plugins/domoticz_mqtt_discovery/'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'StartupFolder':'/home/pi/domoticz/'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'UserDataFolder':'/home/pi/domoticz/'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Database':'/home/pi/domoticz/domoticz.db'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Language':'en'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Version':'0.0.4'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Name':'MQTT Discovery'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Address':'127.0.0.1'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Port':'1883'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Key':'MQTTDiscovery'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Mode2':'homeassistant'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Mode4':'tasmota/sonoff/'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'Mode6':'Verbose'
2021-08-13 11:40:57.758 MQTT Discovery: (MQTT Discovery) 'DomoticzVersion':'2021.1 (build 13360)'
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) 'DomoticzHash':'eee333c30'
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) 'DomoticzBuildTime':'2021-07-04 11:58:11'
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) Device count: 0
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) Debug logging mask set to: PYTHON PLUGIN DEVICE CONNECTION MESSAGE
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) Warning: could not load plugin options '' as JSON object
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) Plugin options: {'addDiscoveredDeviceUsed': True, 'updateRSSI': False, 'updateVCC': False}
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) MqttClient::__init__
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) MqttClient::Open
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) Heartbeat interval set to: 10.
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) Protocol set to: 'MQTT'.
2021-08-13 11:40:57.759 MQTT Discovery: (MQTT Discovery) Transport set to: 'TCP/IP', 127.0.0.1:1883.
2021-08-13 11:40:57.760 MQTT Discovery: (MQTT Discovery) Connect directive received, action initiated successfully.
2021-08-13 11:40:57.811 MQTT Discovery: (MQTT Discovery) MqttClient::onConnect
2021-08-13 11:40:57.811 MQTT Discovery: (MQTT Discovery) Successful connect to: 127.0.0.1:1883
2021-08-13 11:40:57.811 MQTT Discovery: (MQTT Discovery) MqttClient::Connect
2021-08-13 11:40:57.811 MQTT Discovery: (MQTT Discovery) MQTT CONNECT ID: 'Domoticz_MQTTDiscovery_59_1628847657'
2021-08-13 11:40:57.811 MQTT Discovery: (MQTT Discovery) Sending 50 bytes of data
2021-08-13 11:40:57.811 MQTT Discovery: (MQTT Discovery) 10 30 00 04 4d 51 54 54 04 02 00 3c 00 24 44 6f 6d 6f 74 69 .0..MQTT...<.$Domoti
2021-08-13 11:40:57.811 MQTT Discovery: (MQTT Discovery) 63 7a 5f 4d 51 54 54 44 69 73 63 6f 76 65 72 79 5f 35 39 5f cz_MQTTDiscovery_59_
2021-08-13 11:40:57.811 MQTT Discovery: (MQTT Discovery) 31 36 32 38 38 34 37 36 35 37 .. .. .. .. .. .. .. .. .. .. 1628847657
2021-08-13 11:40:57.862 MQTT Discovery: (MQTT Discovery) Received 4 bytes of data
2021-08-13 11:40:57.862 MQTT Discovery: (MQTT Discovery) 20 02 00 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ....
2021-08-13 11:40:57.862 MQTT Discovery: (MQTT Discovery) onMQTTConnected
2021-08-13 11:40:57.862 MQTT Discovery: (MQTT Discovery) getTopics: '{'homeassistant/#'}'
2021-08-13 11:40:57.862 MQTT Discovery: (MQTT Discovery) MqttClient::Subscribe
2021-08-13 11:40:57.862 MQTT Discovery: (MQTT Discovery) Sending 22 bytes of data
2021-08-13 11:40:57.862 MQTT Discovery: (MQTT Discovery) 82 14 00 01 00 0f 68 6f 6d 65 61 73 73 69 73 74 61 6e 74 2f ®....homeassistant/
2021-08-13 11:40:57.862 MQTT Discovery: (MQTT Discovery) 23 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. #.
2021-08-13 11:40:57.913 MQTT Discovery: (MQTT Discovery) Received 5 bytes of data
2021-08-13 11:40:57.913 MQTT Discovery: (MQTT Discovery) 90 03 00 01 00 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Ю...
2021-08-13 11:40:57.913 MQTT Discovery: (MQTT Discovery) onMQTTSubscribed
2021-08-13 11:40:57.913 MQTT Discovery: (MQTT Discovery) getDevices key: '' configkey: '' hasconfigkey: 'tasmota_tele_topic' value: '' config: '' topic: ''
2021-08-13 11:40:57.913 MQTT Discovery: (MQTT Discovery) getDevices found 0 devices
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Flashed Shelly and now...
Will check this out over the weekend. For now the other one first.waltervl wrote: Friday 13 August 2021 0:52 You could also try another plugin,
: https://github.com/joba-1/Tasmoticz
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- waltervl
- Posts: 6689
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Flashed Shelly and now...
Perhaps post this issue in the following topic as this is the main forum topic for this plugin.
viewtopic.php?t=21918
viewtopic.php?t=21918
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Flashed Shelly and now...
Looked at both topics, but don't come any further with it. 
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- waltervl
- Posts: 6689
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Flashed Shelly and now...
I see some notes about using the incorrect tasmota.bin. Are you using the correct full tasmota.bin?
And also did you set:
Go to Console. In the command line, enter “SetOption19 1” and hit Enter.
And also did you set:
Go to Console. In the command line, enter “SetOption19 1” and hit Enter.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
besix
- Posts: 99
- Joined: Friday 25 January 2019 11:33
- Target OS: Linux
- Domoticz version: beta
- Location: Poland
- Contact:
Re: Flashed Shelly and now...
Both plugins need an individual topic for each module. You have a default topic "tasmota" and it doesn't work.
User and password must be what you have for mosquitto
User and password must be what you have for mosquitto
- erem
- Posts: 230
- Joined: Tuesday 27 March 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Amsterdam/netherlands
- Contact:
Re: Flashed Shelly and now...
you show your mqtt host as 127.0.0.1
that is the loopback address of the shelly, probably not the mqtt host.
put in the real IP address of the mqtt server.
that is the loopback address of the shelly, probably not the mqtt host.
put in the real IP address of the mqtt server.
Regards,
Rob
Rob
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Flashed Shelly and now...
...
Last edited by EdwinK on Saturday 14 August 2021 17:14, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Flashed Shelly and now...
I hope sowaltervl wrote: Saturday 14 August 2021 14:44 I see some notes about using the incorrect tasmota.bin. Are you using the correct full tasmota.bin?
Code: Select all
http://shellyip/ota?url=http://dl.dasker.eu/firmware/mg2tasmota-Shelly25.zipThat i did forget.And also did you set:
Go to Console. In the command line, enter “SetOption19 1” and hit Enter.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Flashed Shelly and now...
...
Last edited by EdwinK on Saturday 14 August 2021 17:13, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Flashed Shelly and now...
Two devices were found now, so I guess that is working.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- waltervl
- Posts: 6689
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Flashed Shelly and now...
Great!
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Flashed Shelly and now...
Set it to roller/shutter mode, ad trying to figure this out.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Who is online
Users browsing this forum: No registered users and 1 guest