Fully Kiosk + Wallpanel + Browser Mod

Si cela peut aider d’autre personne je détaille un peu la manipulation.

  1. Création d’un Input Booléan que j’ai nommé : input_boolean.wallpanel_switch_screensaver

  1. Dans la page ou vous utilisez wallpanel il faut rajouter cette ligne :
    screensaver_entity: input_boolean.wallpanel_switch_screensaver

image

  1. On créé l’automatisation :
alias: If motion detected, turn off wallboard screensaver
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.capteur_mouvement_entree_occupancy
    from: "off"
    to: "on"
    id: occupancy-true
  - platform: state
    entity_id:
      - binary_sensor.capteur_mouvement_entree_occupancy
    from: "on"
    to: "off"
    for:
      hours: 0
      minutes: 0
      seconds: 5
    id: occupancy-false
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id: occupancy-true
        sequence:
          - service: input_boolean.turn_off
            data: {}
            target:
              entity_id: input_boolean.wallpanel_switch_screensaver
      - conditions:
          - condition: trigger
            id: occupancy-false
        sequence:
          - service: input_boolean.turn_on
            data: {}
            target:
              entity_id: input_boolean.wallpanel_switch_screensaver
  - service: browser_mod.popup
    data:
      dismissable: true
      autoclose: false
      title: Caméra Entrée
      size: fullscreen
      timeout: 120000
      browser_id:
        - tablette-entree
      content:
        camera_view: live
        type: picture-glance
        entities: []
        camera_image: camera.entree_raspberry
mode: single

source : https://smarthomepursuits.com/fire-tablet-fully-kiosk-screensaver-home-assistant/?expand_article=1

Merci WarC0zes :smiley:

1 « J'aime »