Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 110371

Sonoff POW Power state report

$
0
0

@Jeandre wrote:

Hi - I have homeassistant with basic sonoff switches and POW and POW R2 switches. I cannot get the switches to report their power state correctly if the server restarted.

Here is my config for the basic switches :slight_smile:

  • platform: mqtt
    name: “Pool Water”
    state_topic: “stat/poolwater/POWER”
    value_template: “{{ value_json.POWER }}”
    command_topic: “cmnd/poolwater/POWER”
    payload_on: “ON”
    payload_off: “OFF”
    availability_topic: “tele/poolwater/LWT”
    payload_available: “Online”
    payload_not_available: “Offline”
    qos: 1
    retain: false

Here is my config for the POW switches

  • platform: mqtt
    name: “Pump Garden”
    state_topic: “stat/pumpgarden/POWER”
    value_template: “{{ value_json.POWER }}”
    command_topic: “cmnd/pumpgarden/POWER”
    qos: 1
    payload_on: “ON”
    payload_off: “OFF”
    retain: false

Please assist - thanks so much

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 110371

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>