Giter Club home page Giter Club logo

domoticz-h801-tasmota-plugin's People

Contributors

stas-demydiuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

domoticz-h801-tasmota-plugin's Issues

[solved] Error 'onMessage' failed 'JSONDecodeError'.

Hello, I've got severals H801 connected on my house and one of us give me troubles on domoticz. I tried with Tasmota 9.3.1 and 9.4 but always the same error. I tried a git pull but no success.

2021-05-04 00:29:28.310 Error: Ruban LED TV salon: (Ruban LED TV salon) 'onMessage' failed 'JSONDecodeError'.
2021-05-04 00:29:28.310 Error: Ruban LED TV salon: (Ruban LED TV salon) ----> Line 143 in '/home/pi/domoticz/plugins/h801-tasmota-plugin/plugin.py', function onMessage
2021-05-04 00:29:28.310 Error: Ruban LED TV salon: (Ruban LED TV salon) ----> Line 101 in '/home/pi/domoticz/plugins/h801-tasmota-plugin/plugin.py', function onMessage
2021-05-04 00:29:28.310 Error: Ruban LED TV salon: (Ruban LED TV salon) ----> Line 167 in '/home/pi/domoticz/plugins/h801-tasmota-plugin/mqtt.py', function onMessage
2021-05-04 00:29:28.310 Error: Ruban LED TV salon: (Ruban LED TV salon) ----> Line 120 in '/home/pi/domoticz/plugins/h801-tasmota-plugin/plugin.py', function onMQTTPublish
2021-05-04 00:29:28.310 Error: Ruban LED TV salon: (Ruban LED TV salon) ----> Line 61 in '/home/pi/domoticz/plugins/h801-tasmota-plugin/controllers/color_dimmer.py', function onMqttMessage
2021-05-04 00:29:28.310 Error: Ruban LED TV salon: (Ruban LED TV salon) ----> Line 348 in '/usr/lib/python3.7/json/init.py', function loads
2021-05-04 00:29:28.310 Error: Ruban LED TV salon: (Ruban LED TV salon) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2021-05-04 00:29:28.310 Error: Ruban LED TV salon: (Ruban LED TV salon) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode

Thanks

On hold with Domoticz build 14353

I have used this H801 plugin for many years, and it works great.

But I can't upgrade Domoticz higher then build 14353. After that, I see many MQTT errors in the Domoticz log.

Have tryed downgrade and upgrade Mosquito (many versions 1.5.x and 2.0.x), but still same problems. Tryed 32 and 64 bit versions.

Same with Python. Tryed down and upgrade, but still no luck.

Also tryed backup DB from buid 14353. Completly removed Domoticz, and installed new Domoticz build 2022.2.14967. Restore backup, and downloaded all Plugin's again, som Github's. But... no. Still problems.

Domoticz reboot aftes each 60 sec.

All is running on a Windows 2016 server (64bit).

Again..: Build 14353 is the last working version for me. From build 2022.1.14353 the problem starts.

Hope for some help.

Best regards

Here some data:
image

Log:
2023-01-17 15:13:34.240 Error: H801 Køkkenvask H801_B94A84: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:13:34.240 Error: H801 Køkkenvask H801_B94A84: No transport, write directive to '127.0.0.1' ignored.
2023-01-17 15:13:43.150 Error: BAD2 Skab - H801_4BD990: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:13:53.170 Error: H801 Køkkenvask H801_B94A84: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:14:03.121 Error: BAD2 Skab - H801_4BD990: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:14:13.137 Error: H801 Køkkenvask H801_B94A84: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:14:23.136 Error: BAD2 Skab - H801_4BD990: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:14:33.146 Error: H801 Køkkenvask H801_B94A84: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:14:43.145 Error: BAD2 Skab - H801_4BD990: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:14:53.156 Error: H801 Køkkenvask H801_B94A84: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:15:03.154 Error: BAD2 Skab - H801_4BD990: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:15:13.164 Error: H801 Køkkenvask H801_B94A84: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:15:23.163 Error: BAD2 Skab - H801_4BD990: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:15:33.176 Error: H801 Køkkenvask H801_B94A84: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:15:33.201 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 471 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:15:33.201 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:15:33.201 Error: H801 Kogeplade H801_421092: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:15:42.466 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 469 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:15:42.466 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:15:42.466 Error: H801 Terrasse H801_4225FE: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:15:42.466 Error: CPluginTransport: Base handleRead invoked for Hardware 15
2023-01-17 15:16:24.659 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 468 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:16:24.659 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:16:24.659 Error: H801 Walk-in-2 H801_6F95CC: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:16:24.659 Error: CPluginTransport: Base handleRead invoked for Hardware 16
2023-01-17 15:16:25.809 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 468 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:16:25.809 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:16:25.809 Error: H801 Bryggers-teknik H801_4BDA6F: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:16:25.809 Error: CPluginTransport: Base handleRead invoked for Hardware 21
2023-01-17 15:16:41.259 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 471 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:16:41.259 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:16:41.259 Error: H801 Test H801_6F977C: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:16:53.462 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 471 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:16:53.462 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:16:53.462 Error: H801 Test H801_F2E579: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:16:53.462 Error: CPluginTransport: Base handleRead invoked for Hardware 29
2023-01-17 15:17:33.337 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 471 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:17:33.337 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:17:33.337 Error: Postkasse H801_319325: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:17:33.337 Error: CPluginTransport: Base handleRead invoked for Hardware 25
2023-01-17 15:17:38.559 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 465 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:17:38.559 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:17:38.559 Error: H801 TVbord H801_B94B02: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:17:38.559 Error: CPluginTransport: Base handleRead invoked for Hardware 10
2023-01-17 15:17:45.675 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 468 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:17:45.675 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:17:45.675 Error: H801 Bryggers-vask H801_41DC9B: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:17:45.675 Error: CPluginTransport: Base handleRead invoked for Hardware 19
2023-01-17 15:18:05.283 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 471 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:18:05.283 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:18:05.283 Error: BAD2 Vask - H801_33C05B: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:18:05.283 Error: CPluginTransport: Base handleRead invoked for Hardware 26
2023-01-17 15:18:07.338 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 470 for packet type '3' (iQoS:0, topicLen:5632)
2023-01-17 15:18:07.338 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-01-17 15:18:07.338 Error: H801 Køleskab H801_6F95A6: Disconnected from MQTT Server: 127.0.0.1:1883
2023-01-17 15:18:07.338 Error: CPluginTransport: Base handleRead invoked for Hardware 9

Unable to control the tasmota rgb device with mqtt in domoticz

Hi,
Thanks for creating this great plugin. i've managed to install the plugin and have set the mqtt broker in tasmota and also the server in the plugin in hardware tab of domoticz. i am able to switch the device on and off with mqtt but i am unable to change the collors or brightnes. any tips what i have done wrong with the installation?

[NON-ISSUE] how to extend the functionality for predefined color scenes or fade?

Hello Stanislav!
Is it possible to modify your plugin to get predefined tasmota scene launching directly from domoticz?
It would be great if I can additionaly: set Fade option, configure Speed and run a color scene (for example smooth color transitions).

Look that Tasmota allows to run a SCHEME (or rather a scene)
https://github.com/arendst/Tasmota/wiki/Commands#light

Any chance you can help or just show me the idea?
best regards!

onMessage' failed 'KeyError'.

Hi, first of all thanks for your great work on this plugin. I am using the domoticz-h801-tasmota-plugin in Domoticz version 4.115900. Although the plugin functions correctly i get the following error messages in the log:

2019-12-26 09:25:47.820 Error: (Haard) 'onMessage' failed 'KeyError'.
2019-12-26 09:25:47.820 Error: (Haard) ----> Line 250 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/plugin.py'
2019-12-26 09:25:47.820 Error: (Haard) ----> Line 208 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/plugin.py'
2019-12-26 09:25:47.820 Error: (Haard) ----> Line 134 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/mqtt.py'
2019-12-26 09:25:47.820 Error: (Haard) ----> Line 227 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/plugin.py'
2019-12-26 09:25:47.820 Error: (Haard) ----> Line 49 in '/home/pi/domoticz/plugins/domoticz-h801-tasmota-plugin/plugin.py'

Any idea how this can be fixed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.