Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The temperature information will put published to the 


tele/<SONOFFDEVICE>/SENSOR

Code Block
{"Time":"2018-06-14T07:56:34","DS18B20":{"Temperature":21.9},"TempUnit":"C"}


Setting interval at which the sonoff will report it's status


Display current interval

TelePeriod


Set interval 

TelePeriod <seconds>

Integrating with Homebridge 


Install the mqtt-temperature-tasmota homebridge plugin.

> npm install -g homebridge-mqtt-temperature-tasmota


Configure the plugin in homebridge's config.json file:

Code Block
{
                "accessory": "mqtt-temperature-tasmota",
                "name": "sonoff98",
                "url": "mqtt://192.168.1.60",
                "username": "MQTTUSER",
                "password": "MQTTPASS",
                "topic": "tele/sonoff98/SENSOR"
        },



References

...