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

Fully Kiosk Browser ScreenOn ScreenOff binary sensor

$
0
0

@Sylvain wrote:

Hi All,

I managed to add a sensor for FKB to check if motion is detected:

  - platform: mqtt
    name: "BRG Fully Motion"
    state_topic: "fully/event/onMotion/MyDeviceID"
    value_template: '{{value_json.type}}'
    payload_on: visual
    off_delay: 10
    device_class: motion

thats cool, but I also would like to know if the screen is on. Should be simple, right? Well, perhaps. but I’m stuck :)/ The problem is that FKB reports the screen status in seperate topics for screenOn and screenOff

Screen on: MQTT message

fully/event/screenOn/MyDeviceID
{
  "deviceID":"MyDeviceID"
  "event":"screenOn"
}

Screen off: MQTT message

fully/event/screenOff/MyDeviceID
{
  "deviceID":"MyDeviceID"
  "event":"screenOff"
}

Anyone got a clue how to deal with this in Home Assistant?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95925

Trending Articles



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