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

Broadlink SP2 Power Sensor Challenge

$
0
0

@CraigBell74 wrote:

Hi all,

This is my first post, I’ve been using HA for a couple of months now with various things around the house, but I cannot figure out what I am doing wrong. I am trying to get the W power consumption from the SP2 UK, I have the switch working correctly in HA and have tried to add a sensor which I see but not showing any usage and nor is it showing against the attribute in the switch.

The idea is simple, I want to use the power consumption to notify my children when their electric scooter is charged in the garage, so I’ll write an automation to trigger when the power is <7W for example.

  - platform: broadlink
    host: 192.168.15.xxx
    mac: 'My_Mac_Address'
    type: sp2
    friendly_name: 'Scooter'

sensor:
  - platform: template
    sensors:
       rig_pow:
        friendly_name: "Broadlink Power"
        value_template: "{{ states.switch.scooter.attributes.current_power_w }}"
        unit_of_measurement: 'W'

Thanks once again for any help you can offer,

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 99017

Trending Articles



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