Skip to content

1 Heater (with Sonoff TH10 or TH16)

Ben edited this page Jun 12, 2021 · 4 revisions

A fully working implementation of using a TH10/16 device as a heater is now available.

You can use the home app to choose a target temperature and the plugin will automatically turn ON the switch if the current temperature falls below this target temperature. The plugin will turn OFF the switch once the current temperature reaches the target temperature.

The plugin will use and setup the 'Auto' mode of the eWeLink app to do the above.

This can be useful if you have a heater connected to the TH device.

A simple configuration example:

[
   {
      "deviceId": "10009553c8",
      "type": "thermostat"
   }
]
  • If using the Homebridge UI, it's easier to use the plugin settings screen to configure the simulation
  • If using the HOOBS UI, copy and paste the example above into the 'Groups' box on the plugin settings screen
  • If manually editing the config JSON, don't forget to change the first line to "groups": [

Available Options

Entry Type Required Default Explanation
deviceId string Yes "" eWeLink Device ID.
label string No "" This setting has no effect except to be a helpful label for identifying which device this is when editing the configuration.
type string Yes "" In this case this must be set to "thermostat".
overrideDisabledLogging bool No false If true, updates for this device will be added to the log, even if the general 'Disable Device Logging' setting is true.