[Released] Tasmota Sync - Universal Sensor Driver

Tasmota Sync - Universal Multi Sensor Driver [Release]
This is the initial release of the Tasmota Sync - Universal Multi Sensor Driver.
It differs from the earlier versions in several ways.

  1. It detects the sensors and datatypes that you have installed.
  2. It can handle multiple sensors on the same Tasmota device.
  3. It can handle multiple instances of the same type of sensor on the Tasmota device.
  4. The "with Relays" version can handle up to two attached power relays in tandem with the sensors.

There are a couple of changes in behavior that should be compatible with existing rules you may have defined but I want to point them out as I think this will be how I address switches\relays in future.

In Tasmota switches are defined as Switch 1 - 8. In Hubitat the first switch is "switch" and it is at the programmers discretion what subsequent switches are named but most commonly the sequence goes switch, switch1, switch2 etc. or switch, switch2, switch3 etc.

What I have elected to do in this driver (and in future releases of other Tasmota Sync drivers) is to link switch and switch1 attributes and provide both an "on" and "switch1On" (and off) commands. Executing either of these commands will send a "POWER1 ON" and if successful turn on BOTH the switch and switch1 attributes. This allows the numbering of switches to be consistent between Tasmota and Hubitat. It also allows the use of the Hubitat "switch" attribute to be accessed via the switch capability, whereas switch1 - switch8 must be referenced via custom attributes.

These drivers can be found on HPM but they are added as new drivers and will not update any existing Tasmota Sync sensor drivers.

Handles this device no problem and its pretty loaded.

You can also find the drivers here. Variants are:
Universal Multi Sensor, Universal Multi Sensor Single Relay, Universal Multi Sensor Double Relay.

Documentation is here: https://github.com/GaryMilne/Hubitat-Tasmota/blob/main/Tasmota%20Sync%20Sensor%20Documentation.pdf

Please be sure you read the docs before posting questions.

2 Likes