I feel obliged to point out that this blog post is roughly 5 years and 1 month old. People change, opinions evolve. In just a few years, vast technological landscapes can shift. And don't get me started on config files. Please consider this text in the context of its time.

And Darmok and Jalad at Tanagra. As I integrated them into HomeKit via Homebridge, I had the problem with the Delock sockets with their custom firmware that I couldn’t switch them off, just on. However the following configuration did the trick. In this case it’s for my off-road wheel trainer in my cellar (it was in my apartment in the roof until a few days ago, thus dg, I think these names will survive all moves).

        {
            "type": "outlet",
            "name": "Trainer",
            "topics": {
                "getOn": "tasmota/haus/dg/wz/trainer/socket1/stat/POWER",
                "setOn": "tasmota/haus/dg/wz/trainer/socket1/cmnd/POWER1"
            },
            "onValue": "ON",
            "offValue": "OFF",
            "accessory": "mqttthing"
        }

The explicit definition of offValue did the trick.

Written by

Joerg Moellenkamp

Grey-haired, sometimes grey-bearded Windows dismissing Unix guy.