Code Monkey home page Code Monkey logo

tasmoticz's Introduction

Tasmoticz

Autodiscovery of Tasmota Devices for Domoticz

Python plugin for autodetecting ESP8266 devices with Tasmota firmware in Domoticz Homeautomation.

  • Tasmotas native and manually configured domoticz support is not required, but can be used in parallel if you leave it compiled in for things I didn't implement yet (I use this).
  • Tasmotas native homeassistant support or Setoption19 is not required, but probably can be used in parallel with emontnemery's plugin if you leave it compiled in (not tested)
  • Domoticzs native MQTT plugin is not required
  • No cloud required :)

MQTT parts are heavily based on Shelly_MQTT by enesbcs who was very helpful in making my Shelly 2.5 driven shutters work and inspired me for this. Big thanks!

Tasmota devices usually have builtin domoticz and home assistant support. If you want or need to save space, ram or cpu cycles you can remove that from the tasmota firmware.

Prerequisites

Will be tested and working with Domoticz v4.x.

If you do not have a working Python >=3.5 installation, please install it first! Documented by Domoticz

Setup and run MQTT broker, e.g. Mosquitto and an MQTT capable Tasmota device.

Installation

  1. Clone this repository into your domoticz plugins folder (or just put the *.py files in a Tasmoticz folder there)
cd domoticz/plugins
git clone https://github.com/joba-1/Tasmoticz.git
  1. Restart domoticz
  2. Go to "Hardware" page and add new item with type "Autodiscovery of Tasmota Devices" and activate it
  3. Make sure your devices have unique mqtt topics and can talk to the broker. The default topic 'sonoff' is ignored by this plugin so unconfigured devices are not picked up

If you use an mqtt broker on the same host with standard port and standard tasmota firmware with standard configuration (with or without home assistant autodetection), that should be enough.

Optional Configuration

  1. Set your MQTT broker name or ip address and port in the plugin settings if they differ from the default
  2. Set patterns of full topics of your tasmota devices that should be picked up if they are not standard
  3. Set the friendly name of your tasmota device. It will be picked up and used as device name in domoticz if you have left the generated name untouched. The standard friendly name 'Sonoff' will be ignored.

Once the plugin receives any MQTT status message from Tasmota devices it will try to create an appropriate domoticz device.

Plugin update

  1. Stop domoticz
  2. Go to plugin folder and pull new version
cd domoticz/plugins/Tasmoticz
git pull
  1. Start domoticz

Supported devices and sensors

  • Relays of Tasmota devices (POWER*)
  • Sensors in Tasmota devices for sensors I use (adding more should be easy)
    • DHT11 (nostalgia, not recommended because inaccurate)
    • AM2301
    • ENERGY
    • TSL2561
    • VL53L0X
    • BMP280/BME280
    • SI7021 (by Eddie-BS)
    • all other sensors using the data types (temperature, humidity, ...) of above sensors (by Hello1024)

Planned to work with:

  • Sensors in Tasmota devices for sensors YOU send pull requests (or device logs including the SENSOR message)
  • RGBW strips attached to Tasmota devices (my next step...)
  • Shutters operated by Tasmota devices once I have one or YOU send pull requests

How To Contribute

  • Open an issue if you think you discovered a bug, have a feature request or just a question
    • I'll close it if I think I can't help
    • You close it if the issue is solved for you
  • Open a pull request if you think you fixed a bug or implemented a new feature or need help with that
    • Fork my github repository
    • Clone your fork
    • Implement the fix in your clone (don't change anything else)
    • Push your changes to your fork
    • Open a pull request from your fork against my repository
      • I'll merge it if I think it is useful
      • If I don't merge it, at least others can see what you've done and use your fork if they need it

tasmoticz's People

Contributors

cyrilb1531 avatar enesbcs avatar hello1024 avatar hjheins avatar joba-1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tasmoticz's Issues

More than 255 devices error -> filtering ?

Hello,
I have this error : "Error: CPlugin:CDevice_init, illegal Unit number (-1), valid values range from 1 to 255." and my Domoticz is dead.
Probably is due to a to many number of device into my Domoticz.

I use your plugin for only one device Shelly EM with 2 sensors because this is not supported by Tasmota/Domoticz standart interface.
Your plugin give an very good result !!

I see into API Domoticz an native limitation to 255 devices.

To avoid this bug (and dead of Domoticz!), it's is possible to make an filter with topic name to chose the device included or excluded ? (like default sonoff filtering !)

Thanks.

Pb Maj Domoticz 2022.2/2023.1

Hello, I have been using TASMOTICZ latest version under windows for quite a long time but since the last update of domoticz 2022.2 or 2023.1 I have errors with the plugin.
In doubt I switched to mosquitto 2.0.15 but nothing has changed.
I went from python 3.7.4 to 3.10.7 but still the same problem.
If anyone has any idea, thanks in advance.
Attached is a log:
2023-03-09 18:29:37.210 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 24 for packet type '3' (iQoS:0, topicLen:4096)
2023-03-09 18:29:37.210 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-03-09 18:29:37.210 Error: Tasmoticz: Call to function 'onMessage' failed, exception details:
2023-03-09 18:29:37.211 Error: Tasmoticz: Traceback (most recent call last):
2023-03-09 18:29:37.211 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 183, in onMessage
2023-03-09 18:29:37.211 Error: Tasmoticz: _plugin.onMessage(Connection, Data)
2023-03-09 18:29:37.211 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 127, in onMessage
2023-03-09 18:29:37.211 Error: Tasmoticz: self.mqttClient.onMessage(Connection, Data)
2023-03-09 18:29:37.211 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\mqtt.py", line 165, in onMessage
2023-03-09 18:29:37.211 Error: Tasmoticz: topic = Data['Topic'] if 'Topic' in Data else ''
2023-03-09 18:29:37.211 Error: Tasmoticz: TypeError: a bytes-like object is required, not 'str'
2023-03-09 18:29:37.212 Error: Tasmoticz: MqttClient::onDisconnect: localhost:1883
2023-03-09 18:29:47.298 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 24 for packet type '3' (iQoS:0, topicLen:4096)
2023-03-09 18:29:47.299 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-03-09 18:29:47.299 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:47.300 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:47.300 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:47.300 Error: Tasmoticz: Call to function 'onMessage' failed, exception details:
2023-03-09 18:29:47.301 Error: Tasmoticz: Traceback (most recent call last):
2023-03-09 18:29:47.301 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 183, in onMessage
2023-03-09 18:29:47.301 Error: Tasmoticz: _plugin.onMessage(Connection, Data)
2023-03-09 18:29:47.301 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 127, in onMessage
2023-03-09 18:29:47.301 Error: Tasmoticz: self.mqttClient.onMessage(Connection, Data)
2023-03-09 18:29:47.301 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\mqtt.py", line 165, in onMessage
2023-03-09 18:29:47.302 Error: Tasmoticz: topic = Data['Topic'] if 'Topic' in Data else ''
2023-03-09 18:29:47.302 Error: Tasmoticz: TypeError: a bytes-like object is required, not 'str'
2023-03-09 18:29:47.302 Error: Tasmoticz: MqttClient::onDisconnect: localhost:1883
2023-03-09 18:29:57.256 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 24 for packet type '3' (iQoS:0, topicLen:4096)
2023-03-09 18:29:57.256 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-03-09 18:29:57.257 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:57.257 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:57.257 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:57.257 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:57.257 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:57.257 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:57.257 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:57.257 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:29:57.257 Error: Tasmoticz: Call to function 'onMessage' failed, exception details:
2023-03-09 18:29:57.258 Error: Tasmoticz: Traceback (most recent call last):
2023-03-09 18:29:57.258 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 183, in onMessage
2023-03-09 18:29:57.258 Error: Tasmoticz: _plugin.onMessage(Connection, Data)
2023-03-09 18:29:57.258 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 127, in onMessage
2023-03-09 18:29:57.258 Error: Tasmoticz: self.mqttClient.onMessage(Connection, Data)
2023-03-09 18:29:57.258 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\mqtt.py", line 165, in onMessage
2023-03-09 18:29:57.258 Error: Tasmoticz: topic = Data['Topic'] if 'Topic' in Data else ''
2023-03-09 18:29:57.258 Error: Tasmoticz: TypeError: a bytes-like object is required, not 'str'
2023-03-09 18:29:57.258 Error: Tasmoticz: MqttClient::onDisconnect: localhost:1883
2023-03-09 18:30:00.914 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 24 for packet type '3' (iQoS:0, topicLen:4096)
2023-03-09 18:30:00.914 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-03-09 18:30:00.914 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:00.914 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:00.915 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:00.915 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:00.915 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:00.916 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:00.916 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:00.916 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:00.917 Error: Tasmoticz: Call to function 'onMessage' failed, exception details:
2023-03-09 18:30:00.918 Error: Tasmoticz: Traceback (most recent call last):
2023-03-09 18:30:00.918 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 183, in onMessage
2023-03-09 18:30:00.919 Error: Tasmoticz: _plugin.onMessage(Connection, Data)
2023-03-09 18:30:00.919 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 127, in onMessage
2023-03-09 18:30:00.919 Error: Tasmoticz: self.mqttClient.onMessage(Connection, Data)
2023-03-09 18:30:00.919 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\mqtt.py", line 165, in onMessage
2023-03-09 18:30:00.920 Error: Tasmoticz: topic = Data['Topic'] if 'Topic' in Data else ''
2023-03-09 18:30:00.920 Error: Tasmoticz: TypeError: a bytes-like object is required, not 'str'
2023-03-09 18:30:00.920 Error: Tasmoticz: MqttClient::onDisconnect: localhost:1883
2023-03-09 18:30:07.208 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 24 for packet type '3' (iQoS:0, topicLen:4096)
2023-03-09 18:30:07.209 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-03-09 18:30:07.209 Error: Tasmoticz: Call to function 'onMessage' failed, exception details:
2023-03-09 18:30:07.210 Error: Tasmoticz: Traceback (most recent call last):
2023-03-09 18:30:07.210 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 183, in onMessage
2023-03-09 18:30:07.211 Error: Tasmoticz: _plugin.onMessage(Connection, Data)
2023-03-09 18:30:07.211 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 127, in onMessage
2023-03-09 18:30:07.211 Error: Tasmoticz: self.mqttClient.onMessage(Connection, Data)
2023-03-09 18:30:07.211 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\mqtt.py", line 165, in onMessage
2023-03-09 18:30:07.211 Error: Tasmoticz: topic = Data['Topic'] if 'Topic' in Data else ''
2023-03-09 18:30:07.211 Error: Tasmoticz: TypeError: a bytes-like object is required, not 'str'
2023-03-09 18:30:07.211 Error: Tasmoticz: MqttClient::onDisconnect: localhost:1883
2023-03-09 18:30:10.921 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 24 for packet type '3' (iQoS:0, topicLen:4096)
2023-03-09 18:30:10.923 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-03-09 18:30:10.925 Error: Tasmoticz: Call to function 'onMessage' failed, exception details:
2023-03-09 18:30:10.928 Error: Tasmoticz: Traceback (most recent call last):
2023-03-09 18:30:10.928 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 183, in onMessage
2023-03-09 18:30:10.928 Error: Tasmoticz: _plugin.onMessage(Connection, Data)
2023-03-09 18:30:10.929 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 127, in onMessage
2023-03-09 18:30:10.929 Error: Tasmoticz: self.mqttClient.onMessage(Connection, Data)
2023-03-09 18:30:10.929 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\mqtt.py", line 165, in onMessage
2023-03-09 18:30:10.930 Error: Tasmoticz: topic = Data['Topic'] if 'Topic' in Data else ''
2023-03-09 18:30:10.930 Error: Tasmoticz: TypeError: a bytes-like object is required, not 'str'
2023-03-09 18:30:10.930 Error: Tasmoticz: MqttClient::onDisconnect: localhost:1883
2023-03-09 18:30:17.278 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 24 for packet type '3' (iQoS:0, topicLen:4096)
2023-03-09 18:30:17.279 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-03-09 18:30:17.280 Error: Tasmoticz: Call to function 'onMessage' failed, exception details:
2023-03-09 18:30:17.281 Error: Tasmoticz: Traceback (most recent call last):
2023-03-09 18:30:17.281 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 183, in onMessage
2023-03-09 18:30:17.281 Error: Tasmoticz: _plugin.onMessage(Connection, Data)
2023-03-09 18:30:17.281 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 127, in onMessage
2023-03-09 18:30:17.281 Error: Tasmoticz: self.mqttClient.onMessage(Connection, Data)
2023-03-09 18:30:17.281 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\mqtt.py", line 165, in onMessage
2023-03-09 18:30:17.282 Error: Tasmoticz: topic = Data['Topic'] if 'Topic' in Data else ''
2023-03-09 18:30:17.282 Error: Tasmoticz: TypeError: a bytes-like object is required, not 'str'
2023-03-09 18:30:17.282 Error: Tasmoticz: MqttClient::onDisconnect: localhost:1883
2023-03-09 18:30:27.240 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 24 for packet type '3' (iQoS:0, topicLen:4096)
2023-03-09 18:30:27.241 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-03-09 18:30:27.241 Error: Tasmoticz: Call to function 'onMessage' failed, exception details:
2023-03-09 18:30:27.242 Error: Tasmoticz: Traceback (most recent call last):
2023-03-09 18:30:27.242 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 183, in onMessage
2023-03-09 18:30:27.242 Error: Tasmoticz: _plugin.onMessage(Connection, Data)
2023-03-09 18:30:27.242 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 127, in onMessage
2023-03-09 18:30:27.242 Error: Tasmoticz: self.mqttClient.onMessage(Connection, Data)
2023-03-09 18:30:27.242 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\mqtt.py", line 165, in onMessage
2023-03-09 18:30:27.242 Error: Tasmoticz: topic = Data['Topic'] if 'Topic' in Data else ''
2023-03-09 18:30:27.242 Error: Tasmoticz: TypeError: a bytes-like object is required, not 'str'
2023-03-09 18:30:27.243 Error: Tasmoticz: MqttClient::onDisconnect: localhost:1883
2023-03-09 18:30:37.250 Error: (ProcessInbound) MQTT protocol violation: Invalid message length 24 for packet type '3' (iQoS:0, topicLen:4096)
2023-03-09 18:30:37.251 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2023-03-09 18:30:37.252 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:37.253 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:37.253 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:37.253 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2023-03-09 18:30:37.254 Error: Tasmoticz: Call to function 'onMessage' failed, exception details:
2023-03-09 18:30:37.255 Error: Tasmoticz: Traceback (most recent call last):
2023-03-09 18:30:37.255 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 183, in onMessage
2023-03-09 18:30:37.255 Error: Tasmoticz: _plugin.onMessage(Connection, Data)
2023-03-09 18:30:37.255 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\plugin.py", line 127, in onMessage
2023-03-09 18:30:37.255 Error: Tasmoticz: self.mqttClient.onMessage(Connection, Data)
2023-03-09 18:30:37.255 Error: Tasmoticz: File "C:\Program Files (x86)\Domoticz\plugins\Tasmoticz-master\mqtt.py", line 165, in onMessage
2023-03-09 18:30:37.255 Error: Tasmoticz: topic = Data['Topic'] if 'Topic' in Data else ''
2023-03-09 18:30:37.255 Error: Tasmoticz: TypeError: a bytes-like object is required, not 'str'
2023-03-09 18:30:37.256 Error: Tasmoticz: MqttClient::onDisconnect: localhost:1883

Capteur UV VEML6070 non reconnu

Hello,
I regularly use Tasmoticz which works very well but I recently added a UV sensor VEML6070 and the information does not go up in Domoticz. Attached is the log retrieved from Tasmota.

MQT: tele/Garage3/SENSOR = {"Time":"2021-05-05T08:57:42","ENERGY":{"TotalStartTime":"2021-05-05T00:00:00","Total":141.069,"Yesterday":130.159,"Today":137.318,"Period":4,"Power":205,"ApparentPower":373,"ReactivePower":312,"Factor":0.55,"Frequency":50,"Voltage":227,"Current":1.647},"VEML6070":{"UvLevel":1373,"UvIndex":1.84,"UvIndexText":"Low","UvPower":0.046},"ESP32":{"Temperature":21.1},"TempUnit":"C"}

Thank you in advance for your reply.

Laurent

Cant switch on/off a offline device

Hello,
I dont know if this is a bug a feature or only a extrange user use.
Some of my tasmota comes offline because i cut off the power manually.
This devices apears in domoticz with they last state.
I cant change this status in domoticz, I have a system alive checker and with a scxript I try to put the virtual switch in OFF state. it not works :-(
If i push the switch in domoticz to change the status off any offline device, this not works.
This is ok?

Device naming in German?

Where does the module get names and such from? The devices generated were the friendly name with GERMAN extensions, whilst my Domoticz is set up in English...

Also when I look in the message/comment section, I see German phrases.

more than 3 power

hi thanks for support domoticz and tasmota, great idea!
i have a nodemcu plus two pcf8574 to control 16 channel relay, so i have 16 power: from power1 to power16 in tasmota
i see that only first three are recognized...can you please extend the support to all possible power that can tasmota have?
thanks so much!!

bllind port

Hi, here a log about tasmota with blind application.
immagine

inside domoticz i set 4 dummy devices set as blind inverted with percentage.
inside tasmota i have this configuration:

8 output connected to PCF8574 to menage 4 blinds (1relay for open(up) ; 1 repay for close(down))

immagine
8switches for wall switch push button (1button=up blind1 ; 2button=down blind2)
immagine

logs from tasmota from boot to 1st tele message:

00:00:00 CFG: Loaded from flash at F6, Count 126
00:00:00 SHT: Shutter 1 (Relay:1): Init. Pos: 15000 [50 %], Open Vel.: 100, Close Vel.: 187 , Max Way: 30000, Opentime 15.0 [s], Closetime 8.0 [s], CoeffCalc: c0: 300, c1 500, c2: 700, c3: 900, c4: 1000, binmask 3, is inverted 0, is locked 0, end stop time enabled 0, webButtons inverted 0, shuttermode 0, motordelay 0
00:00:00 SHT: Shutter 2 (Relay:3): Init. Pos: 13500 [45 %], Open Vel.: 100, Close Vel.: 187 , Max Way: 30000, Opentime 15.0 [s], Closetime 8.0 [s], CoeffCalc: c0: 300, c1 500, c2: 700, c3: 900, c4: 1000, binmask 15, is inverted 0, is locked 0, end stop time enabled 0, webButtons inverted 0, shuttermode 0, motordelay 0
00:00:00 SHT: Shutter 3 (Relay:5): Init. Pos: 15900 [53 %], Open Vel.: 100, Close Vel.: 187 , Max Way: 30000, Opentime 15.0 [s], Closetime 8.0 [s], CoeffCalc: c0: 300, c1 500, c2: 700, c3: 900, c4: 1000, binmask 63, is inverted 0, is locked 0, end stop time enabled 0, webButtons inverted 0, shuttermode 0, motordelay 0
00:00:00 SHT: Shutter 4 (Relay:7): Init. Pos: 15300 [51 %], Open Vel.: 100, Close Vel.: 187 , Max Way: 30000, Opentime 15.0 [s], Closetime 8.0 [s], CoeffCalc: c0: 300, c1 500, c2: 700, c3: 900, c4: 1000, binmask 255, is inverted 0, is locked 0, end stop time enabled 0, webButtons inverted 0, shuttermode 0, motordelay 0
00:00:00 I2C: PCF8574 found at 0x20
00:00:00 PCF: Total devices 1, PCF8574 output ports 8
00:00:00 Project tasmota Tasmota_blind Version 8.2.0.6(tasmota)-2_7_0
00:00:01 WIF: Connecting to AP1 NETGEAR Channel 13 BSSId 80:3F:5D:6E:37:67 in mode 11N as tasmota_blind-2767...
00:00:03 WIF: Connected
00:00:03 HTP: Web server active on tasmota_blind-2767 with IP address 192.168.0.158
18:28:52 MQT: Attempting connection...
18:28:52 MQT: Connected
18:28:52 MQT: tele/tasmota_blind/LWT = Online (retained)
18:28:52 MQT: cmnd/tasmota_blind/POWER = 
18:28:52 MQT: tele/tasmota_blind/INFO1 = {"Module":"","Version":"8.2.0.6(tasmota)","FallbackTopic":"cmnd/DVES_014ACF_fb/","GroupTopic":"cmnd/tasmotas/"}
18:28:52 MQT: tele/tasmota_blind/INFO2 = {"WebServerMode":"Admin","Hostname":"tasmota_blind-2767","IPAddress":"192.168.0.158"}
18:28:52 MQT: tele/tasmota_blind/INFO3 = {"RestartReason":"Software/System restart"}
18:28:52 MQT: stat/tasmota_blind/RESULT = {"POWER1":"OFF"}
18:28:52 MQT: stat/tasmota_blind/POWER1 = OFF
18:28:52 MQT: stat/tasmota_blind/RESULT = {"POWER2":"OFF"}
18:28:52 MQT: stat/tasmota_blind/POWER2 = OFF
18:28:52 MQT: stat/tasmota_blind/RESULT = {"POWER3":"OFF"}
18:28:52 MQT: stat/tasmota_blind/POWER3 = OFF
18:28:52 MQT: stat/tasmota_blind/RESULT = {"POWER4":"OFF"}
18:28:52 MQT: stat/tasmota_blind/POWER4 = OFF
18:28:52 MQT: stat/tasmota_blind/RESULT = {"POWER5":"OFF"}
18:28:52 MQT: stat/tasmota_blind/POWER5 = OFF
18:28:52 MQT: stat/tasmota_blind/RESULT = {"POWER6":"OFF"}
18:28:52 MQT: stat/tasmota_blind/POWER6 = OFF
18:28:52 MQT: stat/tasmota_blind/RESULT = {"POWER7":"OFF"}
18:28:52 MQT: stat/tasmota_blind/POWER7 = OFF
18:28:52 MQT: stat/tasmota_blind/RESULT = {"POWER8":"OFF"}
18:28:52 MQT: stat/tasmota_blind/POWER8 = OFF

log moving blind1 to close direction at 30%

18:30:00 SHT: Start in dir 0
18:30:00 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:30:00","Uptime":"0T00:01:15","UptimeSec":75,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"OFF","POWER2":"ON","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":60,"Signal":-70,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:30:00 MQT: stat/tasmota_blind/RESULT = {"POWER2":"ON"}
18:30:00 MQT: stat/tasmota_blind/POWER2 = ON
18:30:00 MQT: stat/tasmota_blind/RESULT = {"ShutterPosition1":30}
18:30:00 SHT: Shutter1 Real 13504, Start 15000, Stop 9000, Dir -1, Delay 0, Rtc 0.55 [s], Freq 0
18:30:01 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":45,"Direction":-1,"Target":30},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:30:01 SHT: Shutter1 Real 9764, Start 15000, Stop 9000, Dir -1, Delay 0, Rtc 1.40 [s], Freq 0
18:30:01 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":33,"Direction":-1,"Target":30},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:30:02 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:30:02","Uptime":"0T00:01:17","UptimeSec":77,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":37,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":60,"Signal":-70,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:30:02 MQT: stat/tasmota_blind/RESULT = {"POWER2":"OFF"}
18:30:02 MQT: stat/tasmota_blind/POWER2 = OFF
18:30:02 SHT: Shutter1 Real 8829, Start 15000, Stop 9000, Dir -1, Delay 0, Rtc 1.70 [s], Freq 0
18:30:02 MQT: stat/tasmota_blind/SHUTTER1 = 29
18:30:02 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":29,"Direction":0,"Target":30},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}

log to move blind1 to open direction at 76%

18:31:34 SHT: Start in dir 0
18:31:34 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:31:34","Uptime":"0T00:02:49","UptimeSec":169,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":40,"MqttCount":1,"POWER1":"ON","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":56,"Signal":-72,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:31:34 MQT: stat/tasmota_blind/RESULT = {"POWER1":"ON"}
18:31:34 MQT: stat/tasmota_blind/POWER1 = ON
18:31:34 MQT: stat/tasmota_blind/RESULT = {"ShutterPosition1":76}
18:31:34 SHT: Shutter1 Real 10529, Start 8829, Stop 22800, Dir 1, Delay 0, Rtc 0.85 [s], Freq 0
18:31:34 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":35,"Direction":1,"Target":76},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:31:35 SHT: Shutter1 Real 12529, Start 8829, Stop 22800, Dir 1, Delay 0, Rtc 1.85 [s], Freq 0
18:31:35 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":42,"Direction":1,"Target":76},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:31:36 SHT: Shutter1 Real 14529, Start 8829, Stop 22800, Dir 1, Delay 0, Rtc 2.85 [s], Freq 0
18:31:36 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":48,"Direction":1,"Target":76},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:31:37 SHT: Shutter1 Real 16529, Start 8829, Stop 22800, Dir 1, Delay 0, Rtc 3.85 [s], Freq 0
18:31:37 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":55,"Direction":1,"Target":76},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:31:38 SHT: Shutter1 Real 18529, Start 8829, Stop 22800, Dir 1, Delay 0, Rtc 4.85 [s], Freq 0
18:31:38 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":62,"Direction":1,"Target":76},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:31:39 SHT: Shutter1 Real 20529, Start 8829, Stop 22800, Dir 1, Delay 0, Rtc 5.85 [s], Freq 0
18:31:39 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":68,"Direction":1,"Target":76},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:31:40 SHT: Shutter1 Real 22729, Start 8829, Stop 22800, Dir 1, Delay 0, Rtc 6.95 [s], Freq 0
18:31:40 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":1,"Target":76},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:31:41 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:31:41","Uptime":"0T00:02:56","UptimeSec":176,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":50,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":58,"Signal":-71,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:31:41 MQT: stat/tasmota_blind/RESULT = {"POWER1":"OFF"}
18:31:41 MQT: stat/tasmota_blind/POWER1 = OFF
18:31:41 SHT: Shutter1 Real 22829, Start 8829, Stop 22800, Dir 1, Delay 0, Rtc 7.05 [s], Freq 0
18:31:41 MQT: stat/tasmota_blind/SHUTTER1 = 76
18:31:41 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":45,"Direction":0,"Target":45},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}

move blind2 to close direction at 0% (all close)

18:32:53 SHT: Start in dir 0
18:32:53 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:32:53","Uptime":"0T00:04:08","UptimeSec":248,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"ON","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":56,"Signal":-72,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:32:53 MQT: stat/tasmota_blind/RESULT = {"POWER4":"ON"}
18:32:53 MQT: stat/tasmota_blind/POWER4 = ON
18:32:53 MQT: stat/tasmota_blind/RESULT = {"ShutterPosition2":0}
18:32:53 SHT: Shutter2 Real 11630, Start 13500, Stop 0, Dir -1, Delay 0, Rtc 0.50 [s], Freq 0
18:32:53 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":39,"Direction":-1,"Target":0},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:32:54 SHT: Shutter2 Real 8077, Start 13500, Stop 0, Dir -1, Delay 0, Rtc 1.45 [s], Freq 0
18:32:54 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":27,"Direction":-1,"Target":0},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:32:55 SHT: Shutter2 Real 4150, Start 13500, Stop 0, Dir -1, Delay 0, Rtc 2.50 [s], Freq 0
18:32:55 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":14,"Direction":-1,"Target":0},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:32:56 SHT: Shutter2 Real 410, Start 13500, Stop 0, Dir -1, Delay 0, Rtc 3.50 [s], Freq 0
18:32:56 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":1,"Direction":-1,"Target":0},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:32:57 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:32:57","Uptime":"0T00:04:12","UptimeSec":252,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":83,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":54,"Signal":-73,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:32:57 MQT: stat/tasmota_blind/RESULT = {"POWER4":"OFF"}
18:32:57 MQT: stat/tasmota_blind/POWER4 = OFF
18:32:57 SHT: Shutter2 Real 0, Start 13500, Stop 0, Dir -1, Delay 0, Rtc 3.65 [s], Freq 0
18:32:57 MQT: stat/tasmota_blind/SHUTTER2 = 0
18:32:57 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":0,"Direction":0,"Target":0},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}

log related to move blind2 at open direction 100% (all open)

18:34:41 SHT: Start in dir 0
18:34:41 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:34:41","Uptime":"0T00:05:56","UptimeSec":356,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":22,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"ON","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":56,"Signal":-72,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:34:41 MQT: stat/tasmota_blind/RESULT = {"POWER3":"ON"}
18:34:41 MQT: stat/tasmota_blind/POWER3 = ON
18:34:41 MQT: stat/tasmota_blind/RESULT = {"ShutterPosition2":100}
18:34:41 SHT: Shutter2 Real 1000, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 0.50 [s], Freq 0
18:34:41 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":3,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:42 SHT: Shutter2 Real 2900, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 1.45 [s], Freq 0
18:34:42 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":10,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:43 SHT: Shutter2 Real 4900, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 2.45 [s], Freq 0
18:34:43 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":16,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:44 SHT: Shutter2 Real 6900, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 3.45 [s], Freq 0
18:34:44 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":23,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:45 SHT: Shutter2 Real 9000, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 4.50 [s], Freq 0
18:34:45 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":30,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:46 SHT: Shutter2 Real 11000, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 5.50 [s], Freq 0
18:34:46 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":37,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:48 SHT: Shutter2 Real 13300, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 6.65 [s], Freq 0
18:34:48 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":44,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:48 SHT: Shutter2 Real 14900, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 7.45 [s], Freq 0
18:34:48 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":50,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:49 SHT: Shutter2 Real 16900, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 8.45 [s], Freq 0
18:34:49 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":56,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:50 SHT: Shutter2 Real 19000, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 9.50 [s], Freq 0
18:34:50 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":63,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:51 SHT: Shutter2 Real 21000, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 10.50 [s], Freq 0
18:34:51 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":70,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:52 SHT: Shutter2 Real 23000, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 11.50 [s], Freq 0
18:34:52 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":77,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:53 SHT: Shutter2 Real 25000, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 12.50 [s], Freq 0
18:34:53 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":83,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:55 SHT: Shutter2 Real 27400, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 13.70 [s], Freq 0
18:34:55 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":91,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:55 SHT: Shutter2 Real 28900, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 14.45 [s], Freq 0
18:34:55 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":96,"Direction":1,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:34:56 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:34:56","Uptime":"0T00:06:11","UptimeSec":371,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":25,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":54,"Signal":-73,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:34:56 MQT: stat/tasmota_blind/RESULT = {"POWER3":"OFF"}
18:34:56 MQT: stat/tasmota_blind/POWER3 = OFF
18:34:56 SHT: Shutter2 Real 30000, Start 0, Stop 30000, Dir 1, Delay 0, Rtc 15.05 [s], Freq 0
18:34:56 MQT: stat/tasmota_blind/SHUTTER2 = 100
18:34:56 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":76,"Direction":0,"Target":76},"Shutter2":{"Position":100,"Direction":0,"Target":100},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}

log using wall switch to perform close direction orientation (1.2 second trigger close motor)

18:37:45 RUL: SWITCH1#STATE=2 performs "backlog power1 on;delay 5;power1 off"
18:37:46 SHT: Wait for Motorstop..
18:37:46 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:37:46","Uptime":"0T00:09:01","UptimeSec":541,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":27,"MqttCount":1,"POWER1":"ON","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":46,"Signal":-77,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:37:46 MQT: stat/tasmota_blind/RESULT = {"POWER1":"ON"}
18:37:46 MQT: stat/tasmota_blind/POWER1 = ON
18:37:46 MQT: stat/tasmota_blind/RESULT = {"Delay":5}
18:37:46 SHT: Shutter1 Real 14856, Start 14356, Stop 30000, Dir 1, Delay 0, Rtc 0.25 [s], Freq 0
18:37:46 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":50,"Direction":1,"Target":100},"Shutter2":{"Position":51,"Direction":0,"Target":51},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:37:47 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:37:47","Uptime":"0T00:09:02","UptimeSec":542,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":77,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":60,"Signal":-70,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:37:47 MQT: stat/tasmota_blind/RESULT = {"POWER1":"OFF"}
18:37:47 MQT: stat/tasmota_blind/POWER1 = OFF
18:37:47 SHT: Shutter1 Real 15756, Start 14356, Stop 15056, Dir 1, Delay 0, Rtc 0.70 [s], Freq 0
18:37:47 MQT: stat/tasmota_blind/SHUTTER1 = 53
18:37:47 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":53,"Direction":0,"Target":50},"Shutter2":{"Position":51,"Direction":0,"Target":51},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}

log using wall switch to perform open direction orientation (1.2 second trigger open motor)

18:39:25 MQT: stat/tasmota_blind/RESULT = {"Command":"Unknown"}
18:39:28 RUL: SWITCH2#STATE=2 performs "backlog power2 on;delay 5;power2 off"
18:39:28 SHT: Wait for Motorstop..
18:39:29 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:39:29","Uptime":"0T00:10:44","UptimeSec":644,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":35,"MqttCount":1,"POWER1":"OFF","POWER2":"ON","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":44,"Signal":-78,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:39:29 MQT: stat/tasmota_blind/RESULT = {"POWER2":"ON"}
18:39:29 MQT: stat/tasmota_blind/POWER2 = ON
18:39:29 SHT: Shutter1 Real 15569, Start 15756, Stop 0, Dir -1, Delay 0, Rtc 0.05 [s], Freq 0
18:39:29 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":52,"Direction":-1,"Target":0},"Shutter2":{"Position":51,"Direction":0,"Target":51},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:39:29 MQT: stat/tasmota_blind/RESULT = {"Delay":5}
18:39:29 SHT: Shutter1 Real 14073, Start 15756, Stop 0, Dir -1, Delay 0, Rtc 0.45 [s], Freq 0
18:39:29 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":47,"Direction":-1,"Target":0},"Shutter2":{"Position":51,"Direction":0,"Target":51},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
18:39:30 MQT: tele/tasmota_blind/STATE = {"Time":"2020-05-13T18:39:30","Uptime":"0T00:10:45","UptimeSec":645,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":69,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"NETGEAR","BSSId":"80:3F:5D:6E:37:67","Channel":5,"RSSI":54,"Signal":-73,"LinkCount":1,"Downtime":"0T00:00:05"}}
18:39:30 MQT: stat/tasmota_blind/RESULT = {"POWER2":"OFF"}
18:39:30 MQT: stat/tasmota_blind/POWER2 = OFF
18:39:30 SHT: Shutter1 Real 13325, Start 15756, Stop 13699, Dir -1, Delay 0, Rtc 0.65 [s], Freq 0
18:39:30 MQT: stat/tasmota_blind/SHUTTER1 = 44
18:39:30 MQT: stat/tasmota_blind/RESULT = {"Shutter1":{"Position":44,"Direction":0,"Target":46},"Shutter2":{"Position":51,"Direction":0,"Target":51},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}

Support for "YTF IR Bridge Module"

Hi Guys,

maybe possible for support LG AC aircondition?

First tasmota switch Dual R2 works fine...

Thx for

lucky

2020-07-07 22:15:00.888 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []
2020-07-07 22:15:02.393 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/LWT
2020-07-07 22:15:06.310 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/LWT
2020-07-07 22:15:06.361 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/INFO1
2020-07-07 22:15:06.361 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: INFO1, message: {'Module': 'YTF IR Bridge', 'Version': '8.3.1(ir)', 'FallbackTopic': 'cmnd/DVES_0455FA_fb/', 'GroupTopic': 'cmnd/tasmotas/'}
2020-07-07 22:15:06.361 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []
2020-07-07 22:15:06.362 (MQTT_tasmota) Handler::requestStatus: cmnd/tasmota_0455FA
2020-07-07 22:15:06.362 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/INFO2
2020-07-07 22:15:06.362 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/INFO3
2020-07-07 22:15:06.614 (MQTT_tasmota) Handler::onMQTTPublish: topic: stat/tasmota_0455FA/STATUS
2020-07-07 22:15:06.614 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: STATUS, message: {'Status': {'Module': 62, 'DeviceName': 'IR-Remote', 'FriendlyName': ['Josephin'], 'Topic': 'tasmota_0455FA', 'ButtonTopic': '0', 'Power': 0, 'PowerOnState': 3, 'LedState': 1, 'LedMask': 'FFFF', 'SaveData': 1, 'SaveState': 1, 'SwitchTopic': '0', 'SwitchMode': [0, 0, 0, 0, 0, 0, 0, 0], 'ButtonRetain': 0, 'SwitchRetain': 0, 'SensorRetain': 0, 'PowerRetain': 0}}
2020-07-07 22:15:06.615 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []
2020-07-07 22:15:10.676 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/STATE
2020-07-07 22:15:10.676 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: STATE, message: {'Time': '2020-07-07T21:15:10', 'Uptime': '0T00:00:09', 'UptimeSec': 9, 'Heap': 25, 'SleepMode': 'Dynamic', 'Sleep': 50, 'LoadAvg': 19, 'MqttCount': 1, 'Wifi': {'AP': 1, 'SSId': '*************', 'BSSId': '.....', 'Channel': 7, 'RSSI': 98, 'Signal': -51, 'LinkCount': 1, 'Downtime': '0T00:00:03'}}
2020-07-07 22:15:10.677 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []

2020-07-07 22:19:08.491 (MQTT_tasmota) Handler::onMQTTPublish: topic: stat/tasmota_0455FA/RESULT
2020-07-07 22:19:08.491 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: RESULT, message: {'IRHVAC': {'Vendor': 'LG', 'Model': 2, 'Power': 'On', 'Mode': 'Auto', 'Celsius': 'On', 'Temp': 22, 'FanSpeed': 'Auto', 'SwingV': 'Auto', 'SwingH': 'Auto', 'Quiet': 'On', 'Turbo': 'Off', 'Econo': 'On', 'Light': 'Off', 'Filter': 'Off', 'Clean': 'Off', 'Beep': 'On', 'Sleep': -1}}
2020-07-07 22:19:08.492 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []
2020-07-07 22:19:08.593 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/RESULT
2020-07-07 22:19:08.593 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: RESULT, message: {'IrReceived': {'Protocol': 'UNKNOWN', 'Bits': 30, 'Hash': '0xBA5FB442', 'Repeat': 0}}
2020-07-07 22:19:08.593 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []
2020-07-07 22:19:22.816 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_B35069/STATE
2020-07-07 22:19:22.817 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_B35069, cmnd: cmnd/tasmota_B35069, tail: STATE, message: {'Time': '2020-07-07T21:19:22', 'Uptime': '0T00:20:09', 'UptimeSec': 1209, 'Heap': 26, 'SleepMode': 'Dynamic', 'Sleep': 50, 'LoadAvg': 19, 'MqttCount': 1, 'POWER1': 'OFF', 'POWER2': 'OFF', 'Wifi': {'AP': 1, 'SSId': 'EG.HLW16Wolf.net', 'BSSId': '34:31:C4:45:FD:B2', 'Channel': 6, 'RSSI': 78, 'Signal': -61, 'LinkCount': 1, 'Downtime': '0T00:00:03'}}
2020-07-07 22:19:22.817 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_B35069, Idxs [1, 2]
2020-07-07 22:19:22.870 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_B35069/SENSOR
2020-07-07 22:19:22.870 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_B35069, cmnd: cmnd/tasmota_B35069, tail: SENSOR, message: {'Time': '2020-07-07T21:19:22', 'Shutter1': {'Position': 0, 'Direction': 0, 'Target': 0}}
2020-07-07 22:19:22.871 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_B35069, Idxs [1, 2]
2020-07-07 22:19:23.523 (MQTT_tasmota) Handler::onMQTTPublish: topic: stat/tasmota_0455FA/RESULT
2020-07-07 22:19:23.523 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: RESULT, message: {'IRHVAC': {'Vendor': 'LG', 'Model': 1, 'Power': 'Off', 'Mode': 'Off', 'Celsius': 'On', 'Temp': 22.5, 'FanSpeed': 'Auto', 'SwingV': 'Off', 'SwingH': 'Off', 'Quiet': 'Off', 'Turbo': 'Off', 'Econo': 'Off', 'Light': 'Off', 'Filter': 'Off', 'Clean': 'Off', 'Beep': 'Off', 'Sleep': -1}}
2020-07-07 22:19:23.523 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []
2020-07-07 22:19:23.574 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/RESULT
2020-07-07 22:19:23.575 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: RESULT, message: {'IrReceived': {'Protocol': 'LG', 'Bits': 28, 'Data': '0x88C0051', 'DataLSB': '0x1031008A', 'Repeat': 0, 'IRHVAC': {'Vendor': 'LG', 'Model': 1, 'Power': 'Off', 'Mode': 'Off', 'Celsius': 'On', 'Temp': 15, 'FanSpeed': 'Auto', 'SwingV': 'Off', 'SwingH': 'Off', 'Quiet': 'Off', 'Turbo': 'Off', 'Econo': 'Off', 'Light': 'Off', 'Filter': 'Off', 'Clean': 'Off', 'Beep': 'Off', 'Sleep': -1}}}
2020-07-07 22:19:23.575 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []

Athom device incorrectly handled

Hi, I bought a Tasmota pre-flashed bulb from Athom (https://www.athom.tech/blank-1/color-bulb).
The plugin nicely detects its existence but creates a switch device instead of a dimmer device that allows managing the color and intensity.

This is how the bulb reports on MQTT:
13:36:38 MQT: cmnd/RGBLamp_01/POWER =
13:36:38 MQT: tele/RGBLamp_01/INFO1 = {"Module":"LB01-7W-E27-TAS","Version":"9.1.0(tasmota)","FallbackTopic":"cmnd/RGBLamp_01_fb/","GroupTopic":"cmnd/tasmotas/"}
13:36:38 MQT: tele/RGBLamp_01/INFO2 = {"WebServerMode":"Admin","Hostname":"RGBLamp_01-1341","IPAddress":"192.168.5.150"}
13:36:38 MQT: tele/RGBLamp_01/INFO3 = {"RestartReason":"External System"}

Devices not added

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?

Translation

Some things, like sensor type names (Temperature, Humidity, ...) need translation.

  • Ask domoticz forum
  • gettext module?
  • simple lookup table?
  • where to store?

Domoticz beta (build 13251) randomly crashes on switches tab

Finally wanted to get away from dummy switches, checked out emontnemery's plugin but liked this one better.
However, after being happy to instantly see all my tasmota devices it seems the very feature I liked about it (the simplicity how switches without any setoption changes etc are just being added) seems to lead to problems. At least with the latest beta version of domoticz, cannot say anything about earlier versions nor whether it also happens with the stable version. I'm running domoticz on a rpi4 with debian buster.

The issue is reproducible and happened multiple times like this:I might have just restarted domoticz a couple of minutes ago, everything works fine, yet at some point I click on the switches tab, first get an empty page (no switches) afterwards the domoticz webserver and domoticz in general crashes. I'm just shooting in the dark here, but it seems something about the autoadding of switches might be the issue - so could the solution be be adding an option toggle "do not auto-enable devices" for the plugin? Would love to keep using this plugin however to keep my homeautomation dependable I had to uninstall it again.

Let me know if I can add necessary info that might help.

Athom Tasmota RGB(WW) LED Strip Controller

Hi,

i have buyed some pre-flashed Athom Tasmota rgb (ww) controllers, they work perfectly but tasmoticz does only see the on/off button.
I there a way to get the colors as well?

Thanks!
Barry

errors on new version of tasmota

Hi i'm using tasmoticz since years without any issue.

right now i update my firmware version of tasmota from 9.1 to latest 9.4.0.3 and i start to see this errors on log (below reported)

just and introduction: with new tasmota firmware it's possible to use PCF8574 for output(like in the previous firmware) but also for input (new).
I not change my hardware setup: nodemcu esp8266 + n°2 pcf8574 (total 16 port set as 16 outputs relay. so all port set to output, none for input, so nothing changed, all the same like in 9.1 firmware)

the new tasmota firmware is compiled to enable pcf8574 using gitpod enabling this lines inside my_user_config.h

  #define USE_PCF8574                            // [I2cDriver2] Enable PCF8574 I/O Expander (I2C addresses 0x20 - 0x26 and 0x39 - 0x3F) (+1k9 code)
    #define USE_PCF8574_SENSOR                   // enable PCF8574 inputs and outputs in SENSOR message
    #define USE_PCF8574_DISPLAYINPUT             // enable PCF8574 inputs display in Web page
    #define USE_PCF8574_MQTTINPUT                // enable MQTT message & rule process on input change detection : stat/%topic%/PCF8574_INP = {"Time":"2021-03-07T16:19:23+01:00","PCF8574-1_INP":{"D1":1}}

with the new tasmota i see these errors:


 2021-05-12 12:25:50.731 Error: tasmoticz: (tasmoticz) 'onMessage' failed 'NameError'.
2021-05-12 12:25:50.731 Error: tasmoticz: (tasmoticz) ----> Line 183 in '/home/pi/domoticz/plugins/Tasmoticz/plugin.py', function onMessage
2021-05-12 12:25:50.731 Error: tasmoticz: (tasmoticz) ----> Line 127 in '/home/pi/domoticz/plugins/Tasmoticz/plugin.py', function onMessage
2021-05-12 12:25:50.731 Error: tasmoticz: (tasmoticz) ----> Line 184 in '/home/pi/domoticz/plugins/Tasmoticz/mqtt.py', function onMessage
2021-05-12 12:25:50.731 Error: tasmoticz: (tasmoticz) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2021-05-12 12:25:50.731 Error: tasmoticz: (tasmoticz) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2021-05-12 12:25:50.731 Error: tasmoticz: (tasmoticz) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2021-05-12 12:25:50.731 Error: tasmoticz: (tasmoticz) ----> Line 35 in '/usr/lib/python3.7/json/decoder.py', function __init__ 

these errors are not limiting the usage, tasmoticz still working and i'm able to turn on/off relays from domoticz and tasmota is linked, but i continue to see these errors inside the GUI.

If i revert back with firmware 9.1 i do not see any errors.

Again, firmware 9.1 and 9.3.0.4 share the same hardware and same settings.

how to reproduce:

  1. compile tasmota with enabling the PCF8574 and set the port as output.
  2. if you still have tasmoticz on domoticz, go in setup-> hardware-> click on tasmoticz pluging and press "update"
  3. look at GUI web page for logs and you will see the error messages.

Can you please have a look on it?
thanks!

Error message every 12hrs but everything works

Hi,

I'm using this plugin and updated Domoticz to the latest Beta. Since I use this plugin I keep getting error messages every 12 hours, but everything seems to work just fine. Any idea what could be the reason for these error messages?

2022-12-24 04:13:07.918 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-24 04:13:08.120 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-24 16:13:07.092 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-24 16:13:07.646 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-25 04:13:07.959 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-25 04:13:08.161 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-25 16:13:07.960 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-25 16:13:08.062 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-26 04:13:06.907 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-26 04:13:07.712 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-26 16:13:07.702 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-26 16:13:07.755 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-27 04:13:07.452 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'
2022-12-27 04:13:08.607 Error: Autodiscovery Tasmota devices: tasmota::updateInfo1Devices: Set module and version failed: 'Module'

Deletion of some devices when used with a damaged Domoticz installation

Make sure you have a backup the database before you install this plug in.
installing the plugin will delete existing switches, selectors switches and lights with dimmers and replace them with standard switches. It will delete other switch types that it is unaware of.
do not use the plug in on an existing Domoticz installation without a database backup.

combining temperature and humidity in a single sensor device

hi, joba-1

First of all, congratulations for the plugin, I already use the enesbcs one for shelly and I would say that your installation of domoticz is completed with yours.
I wanted to ask you if it was possible to combine temperature + humidity under a single sensor device (as shown in a green-circled image), as I noticed that at the moment it divides temperature and humidity in 2 sensor devices (as in an image circled in red), the union is convenient for dew point control.
The sensor I use is an AM2301 mounted on a shelly 1 with a tasmota.

Thanks
Mattley30
tasmo

Power meter plug with RGB led not fully identified

Hi,
i'm using your plugin for a plug flashed with tasmota firmware.
The plug with power meter and LED function is an AVATTO OT08.
https://templates.blakadder.com/avatto_OT08.html

The template is fully working and all of the features of this plug are fully usable.

I have only a problem. The switch of this device is an RGB Switch, not a simple switch. Are you be able to optimize the discovery process ? I can help you giving more info if you can do something.

immagine

Sonoff TH10 with SI7021

Hi,
I have a couple of TH10 with SI7021 temperature sensors running latest tasmota.
the switch part is discoverd by the plugin but the temperature part not.
any suggestions ?
Eddie

I am asking for two separate blocks in domoticz

Friend @joba1, can you split this block in domoticz into two separate ones? Because in dashticz two blocks are shown but their name and order cannot be changed, only both blocks are under the same name because in domoticz there is one block. This block shows the total energy and the energy of yesterday. In the previous version there were two separate blocks in domoticz energy yesterday and total energy.
Please update the plugin.
Energia całkowita11
Energia całkowita11

Because it is transferred to the dashboard in two separate blocks in which it is not possible to change the name or set them on the desktop. It is better if Total Energy and Yesterday Energy are two separate blocks in Domoticz
Dashticertrerz

Bug ? Same idx for all new switches

Hello,

Very good plugin !
But I have a problem :

  • when I start a sonoff basic, from a standard tasmota configuration, WIFI OK, Tasmoticz creates the new device. Good ! Almost nothing to do !
  • when I start another (different) sonoff basic, with another friendly name (or not), Tasmoticz just updates the one it creates juste before. It just change the name on the device, uses the same idx in Domoticz.
    At this point, both sonoff are acting in the same time.
    If I switch one in Domoticz, the other one is acting too, but just one is display on the devices list.
    Maybe it's a problem on my configuration ? I use all last versions of Domoticz, Tasmota, Tasmoticz.
    Thank you in advance.
    Regards.

Steven

Incorrect electricity data being sent to Domoticz.

The built electricity meter for PZEM and ESP sends all data to Domoticz using Tasmoticz. The transmitted electricity has errors in the graphs where there is a solid line instead of a bar graph. The data regarding the amount of kW consumed is correct, but the sensor type is incorrect.
Detailed findings on the forum on this topic: https://domoticz.com/forum/viewtopic.php?p=307877#p307877

An important post from one user: "Generally speaking, custom sensors are stored in percentage and percentage tables, so you get lines and daily minimum, maximum and average values.

If you use a counter device (stored in the counter and counter_calendar tables), you will get bars. You will receive daily counter increase bars."

Tasmota 13.0.0 and PZEM 004

Incorrect operation of data transfer from PZEM 004 from Tasmota to Domoticz. I tested the tasmota versions:
Data sent once and no indication updates.
13.0.0
13.1.0
13.2.0
Only the block appears but no data.
13.3.0

Another malfunction related to the energy indicator.

On January 1, I wanted to reset the energy indications with the command EnergyTotal1 0 EnergyTotal2 0 EnergyTotal3 0 and the reset of the indications went very well - the indications were 0.0, but unfortunately, in order for the Tasmota indications to appear in Domoticz, you have to remove the device in Domoticz. When they remove a device in domoticz, its idx changes and then the pointer in daschticz does not work and the next change in daschticz works. When I have several counters, there is some work with changes.

'onMessage' failed 'TypeError':'float() argument must be a string or a number, not 'NoneType''.

Hi there,

Just upgraded my domoticz to 2020.2.12039 and have some strange errors...
Have you got an idea about the reason ?
Regards

2020-05-12 11:25:09.098 Error: (Tasmota-Auto) 'onMessage' failed 'TypeError':'float() argument must be a string or a number, not 'NoneType''.
2020-05-12 11:25:09.098 Error: (Tasmota-Auto) ----> Line 183 in '/usr/local/domoticz/plugins/Tasmoticz/plugin.py', function onMessage
2020-05-12 11:25:09.098 Error: (Tasmota-Auto) ----> Line 127 in '/usr/local/domoticz/plugins/Tasmoticz/plugin.py', function onMessage
2020-05-12 11:25:09.098 Error: (Tasmota-Auto) ----> Line 186 in '/usr/local/domoticz/plugins/Tasmoticz/mqtt.py', function onMessage
2020-05-12 11:25:09.098 Error: (Tasmota-Auto) ----> Line 157 in '/usr/local/domoticz/plugins/Tasmoticz/plugin.py', function onMQTTPublish
2020-05-12 11:25:09.098 Error: (Tasmota-Auto) ----> Line 145 in '/usr/local/domoticz/plugins/Tasmoticz/tasmota.py', function onMQTTPublish
2020-05-12 11:25:09.098 Error: (Tasmota-Auto) ----> Line 432 in '/usr/local/domoticz/plugins/Tasmoticz/tasmota.py', function updateSensorDevices
2020-05-12 11:25:09.098 Error: (Tasmota-Auto) ----> Line 384 in '/usr/local/domoticz/plugins/Tasmoticz/tasmota.py', function updateValue
2020-05-12 11:25:09.098 Error: (Tasmota-Auto) ----> Line 371 in '/usr/local/domoticz/plugins/Tasmoticz/tasmota.py', function t2d
2020-05-12 11:50:09.133 Error: (Tasmota-Auto) 'onMessage' failed 'TypeError':'float() argument must be a string or a number, not 'NoneType''.
2020-05-12 11:50:09.133 Error: (Tasmota-Auto) ----> Line 183 in '/usr/local/domoticz/plugins/Tasmoticz/plugin.py', function onMessage
2020-05-12 11:50:09.133 Error: (Tasmota-Auto) ----> Line 127 in '/usr/local/domoticz/plugins/Tasmoticz/plugin.py', function onMessage
2020-05-12 11:50:09.133 Error: (Tasmota-Auto) ----> Line 186 in '/usr/local/domoticz/plugins/Tasmoticz/mqtt.py', function onMessage
2020-05-12 11:50:09.133 Error: (Tasmota-Auto) ----> Line 157 in '/usr/local/domoticz/plugins/Tasmoticz/plugin.py', function onMQTTPublish
2020-05-12 11:50:09.133 Error: (Tasmota-Auto) ----> Line 145 in '/usr/local/domoticz/plugins/Tasmoticz/tasmota.py', function onMQTTPublish
2020-05-12 11:50:09.133 Error: (Tasmota-Auto) ----> Line 432 in '/usr/local/domoticz/plugins/Tasmoticz/tasmota.py', function updateSensorDevices
2020-05-12 11:50:09.133 Error: (Tasmota-Auto) ----> Line 384 in '/usr/local/domoticz/plugins/Tasmoticz/tasmota.py', function updateValue
2020-05-12 11:50:09.133 Error: (Tasmota-Auto) ----> Line 371 in '/usr/local/domoticz/plugins/Tasmoticz/tasmota.py', function t2d 

Domoticz Switch State not updated after switching

Hi,

Thanks for this plugin. It makes it very easy to integrate my devices to domoticz.

But there is one issue. If I switch a device to ON or OFF the switch state gets not updated. If I refresh the browser it gets updated.

Do you have an idea what is the reason for this.

Thanks
bg
Sebastian

More Sensors

if you want to help by adding ideas, please create one new issue for each new sensor...

Create device for LWT messages.

It would be useful to create a device to process LWT messages.
The "Last Will and Testament" feature of MQTT is used by Tasmota to signal when the IOT is online, and MQTT automatically reports when the IOT is offline, for any reason (intentional or not).
Creating a Text or Alarm device would be appropriate.

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.