Sonoff: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „=Sonoff= List of all sonoff modules currently in use *http://hauptraumalarm.lan *http://welalarm.lan *http://bibliothekalarm.lan *http://loungeinvaders.lan…“)
 
(Sonoff)
 
(16 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
=Sonoff=
 
=Sonoff=
 +
 +
Homeassistant liegt jetzt am Lounge Rack (ethernet, wired only - 10.20.30.97)
 +
 +
[https://github.com/sixtyeight/blinkenwall-bridge/ Blinkenbridge Github Repo] (ist bereits in Produktion)
 +
 +
[https://github.com/Metalab/intranet_of_shit/ 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  
 
List of all sonoff modules currently in use  
  
*http://hauptraumalarm.lan
+
*http://hauptraumalarm.lan Nr.1
*http://welalarm.lan
+
*http://welalarm.lan Nr.2
*http://bibliothekalarm.lan
+
*http://bibliothekalarm.lan Nr.3
 +
 
 +
*http://loungeinvaders.lan Nr.4
 +
*http://loungepony.lan Nr.5
 +
*http://loungesquarelamp.lan Nr.6
 +
*http://loungefan.lan Nr.7 (fun fact: Wenn man diese Gerät Togglet geht im Hauptraum das Licht aus.)
  
  
*http://loungeinvaders.lan
+
*http://eingangstrahler.lan Nr.8
*http://loungepony.lan
+
*http://einganglicht.lan Nr.9
*http://loungesquarelamp.lan
+
*http://blinkentunnel.lan Nr.10
  
  
*http://einganstrahler.lan
+
*http://hauptraumeins.lan Nr.11
*http://einganlicht.lan
+
*http://hauptraumzwei.lan Nr.12
*http://blinkentunnel.lan
 
  
  
*http://hauptraumeins.lan
+
*http://kassomat.lan Nr.13
*http://hauptraumzwei.lan
+
*http://metanudel.lan Nr.14
  
  
*http://kassomat.lan
+
*http://welbenchlightleft.lan Nr.15
*http://metanudel.lan
+
*http://welbenchlightright.lan Nr.16
  
 +
*http://loungelight.lan Nr17
 +
*http://metafridgelight.lan Nr18
  
*http://welbenchlightleft.lan
+
== Yaml ==
*http://welbenchlightright.lan
+
Dashboard
 +
<nowiki>
 +
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
 +
</nowiki>

Aktuelle Version vom 2. Juli 2019, 03:58 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