Sonoff: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
Zeile 9: Zeile 9:
   https://community.home-assistant.io/t/mqtt-how-to-retain-sonoff-switch-setting-across-restarts-of-ha/21504/51
   https://community.home-assistant.io/t/mqtt-how-to-retain-sonoff-switch-setting-across-restarts-of-ha/21504/51
   https://github.com/arendst/Sonoff-Tasmota/wiki/PowerOnState-Configuration#side-effects-with-using-mqtt-messages
   https://github.com/arendst/Sonoff-Tasmota/wiki/PowerOnState-Configuration#side-effects-with-using-mqtt-messages
  https://community.home-assistant.io/t/all-automations-are-off-on-restart/91445/28


   curl http://hauptraumalarm/cm?cmnd=PowerRetain%201
   curl http://hauptraumalarm/cm?cmnd=PowerRetain%201

Version vom 31. Mai 2019, 22:28 Uhr

Sonoff

Homeassistant liegt jetzt am Lounge Rack (ethernet, wired only - 10.20.30.97)

Blinkenbridge Github Repo (ist bereits in Produktion)

Github Repo

 https://community.home-assistant.io/t/mqtt-how-to-retain-sonoff-switch-setting-across-restarts-of-ha/21504/51
 https://github.com/arendst/Sonoff-Tasmota/wiki/PowerOnState-Configuration#side-effects-with-using-mqtt-messages
 https://community.home-assistant.io/t/all-automations-are-off-on-restart/91445/28
 curl http://hauptraumalarm/cm?cmnd=PowerRetain%201
 curl http://welalarm/cm?cmnd=PowerRetain%201
 curl http://bibliothekalarm/cm?cmnd=PowerRetain%201
 curl http://loungeinvaders/cm?cmnd=PowerRetain%201
 curl http://loungepony/cm?cmnd=PowerRetain%201
 curl http://loungesquarelamp/cm?cmnd=PowerRetain%201
 curl http://loungefan/cm?cmnd=PowerRetain%201
 curl http://eingangstrahler/cm?cmnd=PowerRetain%201
 curl http://einganglicht/cm?cmnd=PowerRetain%201
 curl http://blinkentunnel/cm?cmnd=PowerRetain%201
 curl http://hauptraumeins/cm?cmnd=PowerRetain%201
 curl http://hauptraumzwei/cm?cmnd=PowerRetain%201
 curl http://kassomat/cm?cmnd=PowerRetain%201
 curl http://metanudel/cm?cmnd=PowerRetain%201
 curl http://welbenchlightleft/cm?cmnd=PowerRetain%201
 curl http://welbenchlightright/cm?cmnd=PowerRetain%201

List of all sonoff modules currently in use





Yaml

Dashboard

views:
  - badges: []
    cards:
      - type: glance
        show_state: false
        entities:
          - type: entity
            icon: 'mdi:space-invaders'
            name: Invaders
            show_icon: true
            entity: switch.loungeinvaders
            show_name: true
          - show_name: true
            name: Horsie
            show_icon: true
            entity: switch.loungepony
            icon: 'mdi:horseshoe'
          - show_name: true
            name: Squarelamp
            show_icon: true
            entity: switch.loungesquarelamp
            icon: 'mdi:cube'
          - show_name: true
            name: Fan
            show_icon: true
            entity: switch.loungefan
            icon: 'mdi:fan'
          - type: entity-button
            tap-action:
              action: none
            icon: 'mdi:ghost-off'
            name: Metacade
            show_icon: true
            entity: zone.home
            show_name: true
        columns: 5
        title: Other
      - type: glance
        show_state: false
        entities:
          - tap_action:
              action: call-service
              service: rest_command.lounge_lights_off
            type: entity-button
            icon: 'mdi:brightness-1'
            name: 'Off'
            show_icon: true
            entity: zone.home
            show_name: true
          - tap_action:
              action: call-service
              service: rest_command.lounge_lights_super_chillig
            type: entity-button
            icon: 'mdi:brightness-2'
            name: Super Chillig
            show_icon: true
            entity: zone.home
            show_name: true
          - tap_action:
              action: call-service
              service: rest_command.lounge_lights_chillig
            type: entity-button
            icon: 'mdi:brightness-4'
            name: Chillig
            show_icon: true
            entity: zone.home
            show_name: true
          - tap_action:
              action: call-service
              service: rest_command.lounge_lights_normal
            type: entity-button
            icon: 'mdi:brightness-5'
            name: Normal
            show_icon: true
            entity: zone.home
            show_name: true
          - tap_action:
              action: call-service
              service: rest_command.lounge_lights_bright
            type: entity-button
            icon: 'mdi:sunglasses'
            name: Bright
            show_icon: true
            entity: zone.home
            show_name: true
        columns: 5
        title: Ceiling
      - type: iframe
        title: Color Picker
        url: 'http://10.20.30.90:8083'
        aspect_ratio: 41%
      - type: shopping-list
        title: TODO
    panel: false
    title: Lounge
  - badges: []
    cards:
      - type: iframe
        url: 'http://10.20.30.40'
        aspect_ratio: 100%
    panel: true
    title: ScreenInvader
  - badges: []
    cards:
      - type: iframe
        url: 'http://10.20.30.64'
        aspect_ratio: 100%
    panel: true
    title: Öffimonitor
  - badges: []
    cards:
      - type: iframe
        url: 'https://metalab.at/cellardoor/'
        aspect_ratio: 100%
    panel: true
    title: Calendar
  - badges: []
    cards:
      - type: iframe
        url: 'http://10.20.30.90'
        aspect_ratio: 100%
    panel: true
    title: Slackomatic
  - badges: []
    cards:
      - type: iframe
        url: 'http://10.20.30.90:8080/advanced.html'
        aspect_ratio: 100%
    panel: true
    title: OLDSKOOL Slackomatic
  - badges: []
    cards: []
    title: World
  - badges: []
    cards:
      - type: entities
        entities:
          - entity: switch.bibliothekalarm
            icon: 'mdi:alarm-light-outline'
          - entity: switch.einganglicht
            icon: 'mdi:ceiling-light'
          - entity: switch.eingangstrahler
            icon: 'mdi:spotlight-beam'
          - entity: switch.blinkentunnel
            icon: 'mdi:looks'
          - entity: switch.hauptraumalarm
            icon: 'mdi:alarm-light-outline'
          - entity: switch.hauptraumeins
          - entity: switch.hauptraumzwei
          - entity: switch.welalarm
            icon: 'mdi:alarm-light-outline'
          - entity: switch.welbenchlightleft
          - entity: switch.welbenchlightright
          - entity: switch.kassomat
            icon: 'mdi:cash-register'
          - entity: switch.metanudel
            icon: 'mdi:bowl'
          - entity: switch.loungesquarelamp
            icon: 'mdi:cube'
          - entity: switch.loungeinvaders
            icon: 'mdi:space-invaders'
          - entity: switch.loungepony
            icon: 'mdi:horseshoe'
          - entity: switch.loungefan
            icon: 'mdi:fan'
      - tap_action:
          action: call-service
          service: script.1557007983755
        type: entity-button
        icon: 'mdi:power'
        name: shutdown all the things
        show_icon: true
        hold_action:
          action: more-info
        entity: zone.home
        show_name: true
      - tap_action:
          action: call-service
          service: script.1557010242860
        type: entity-button
        icon: 'mdi:power'
        name: turn on all the things
        show_icon: true
        hold_action:
          action: more-info
        entity: zone.home
        show_name: true
      - tap_action:
          action: call-service
          service: shell_command.lounge_light_off
        type: entity-button
        name: lounge light off
        show_icon: true
        hold_action:
          action: more-info
        entity: zone.home
        show_name: true
      - tap_action:
          action: call-service
          service: shell_command.lounge_light_on
        type: entity-button
        name: lounge light on
        show_icon: true
        hold_action:
          action: more-info
        entity: zone.home
        show_name: true
    panel: false
    title: sonoff switches
title: Home