Beiträge von rangulvers

    Ich hab mal eine Kopie vom Flow gemacht und die Shelly IDs entfernt.

    Die Abfrage läuft direkt über die Homeassistant Integration. Ich glaube das nutzt CoAP (https://www.home-assistant.io/integrations/shelly/). Die beiden Nodes sind Homeassistant Nodes

    • trigger:state -> wird aktiv sobald sich der Status des SW Eingangs ändert
    • call-service -> führt den Homeassistant Service aus. In diesem Fall Switch/Turn_on

    Ja, das mit dem Türkontakt hatte ich mir auch schon überlegt und werde es noch einbauen.

    Für die Benachrichtigung nutze ich zwei Wege.

    • Homeassistant mobile app notification
    • Telegram Bot Integration (zum testen)

    Beide werden über die notify Domain von Homeassistant gesteuert

    Code
    [{"id":"49dbeaf6.47927c","type":"trigger-state","z":"910f142a.b1a7d","name":"Türklingel","server":"9b1c52d7.3b981","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityid":"binary_sensor.klingel_input","entityidfiltertype":"exact","debugenabled":false,"constraints":[{"targetType":"this_entity","targetValue":"","propertyType":"current_state","comparatorType":"is","comparatorValueDatatype":"str","comparatorValue":"on","propertyValue":"new_state.state"}],"outputs":2,"customoutputs":[],"outputinitially":false,"state_type":"str","x":140,"y":80,"wires":[["c666071b.1283a8","f1f89d9b.9e07e","56e05df7.54536c"],[]]},{"id":"a966fca8.be05b8","type":"api-call-service","z":"910f142a.b1a7d","name":"FLASH : LED STRIP BUERO","server":"9b1c52d7.3b981","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.extended_color_light_9","data":"{\"flash\":\"short\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1440,"y":220,"wires":[[]]},{"id":"bc398179.a7bf8","type":"looptimer","z":"910f142a.b1a7d","duration":"1","units":"Second","maxloops":"3","maxtimeout":"1","maxtimeoutunits":"Hour","name":"","x":900,"y":220,"wires":[["a966fca8.be05b8","64a53c16.e8027c","f5a4bf7a.d8d12"],["262414a8.7bca3c"]]},{"id":"64a53c16.e8027c","type":"api-call-service","z":"910f142a.b1a7d","name":"FLASH : LED STRIP TV","server":"9b1c52d7.3b981","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.group_3","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1430,"y":320,"wires":[[]]},{"id":"f1f89d9b.9e07e","type":"api-call-service","z":"910f142a.b1a7d","name":"Snapshot Entities","server":"9b1c52d7.3b981","version":1,"debugenabled":false,"service_domain":"scene","service":"create","entityId":"","data":"{\"scene_id\":\"before\",\"snapshot_entities\":[\"light.buro\",\"light.wohnzimmerlichter\"]}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":450,"y":180,"wires":[["bc398179.a7bf8"]]},{"id":"2b75a77f.12096","type":"api-call-service","z":"910f142a.b1a7d","name":"Restore Entities State","server":"9b1c52d7.3b981","version":1,"debugenabled":false,"service_domain":"scene","service":"turn_on","entityId":"scene.before","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":940,"y":360,"wires":[[]]},{"id":"262414a8.7bca3c","type":"delay","z":"910f142a.b1a7d","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":900,"y":300,"wires":[["2b75a77f.12096"]]},{"id":"c666071b.1283a8","type":"api-current-state","z":"910f142a.b1a7d","name":"","server":"9b1c52d7.3b981","version":1,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"camera.einfahrt_2","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":510,"y":80,"wires":[["d35b3f2c.8bdf78"]]},{"id":"d35b3f2c.8bdf78","type":"function","z":"910f142a.b1a7d","name":"Prep Message with Image from Camera","func":"msg.payload = {\n\"data\":{\n\"title\":\"TÜRKLINGEL\",\n\"message\": \"Jemand ist an der Haustür\",\n\"data\":{\n\"ttl\":0,\n\"priority\": \"high\",\n\"channel\": \"Motion\",\n\"importance\": \"high\",\n\"ledColor\": \"red\",\n\"image\":\"yourdomain\"+msg.data.attributes.entity_picture\n}\n}\n}\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":980,"y":80,"wires":[["9e294a4a.2d3378"]]},{"id":"9e294a4a.2d3378","type":"api-call-service","z":"910f142a.b1a7d","name":"Notify Phone","server":"9b1c52d7.3b981","version":1,"debugenabled":true,"service_domain":"notify","service":"","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1370,"y":80,"wires":[[]]},{"id":"f5a4bf7a.d8d12","type":"api-call-service","z":"910f142a.b1a7d","name":"FLASH : Büro Standleuchte","server":"9b1c52d7.3b981","version":1,"debugenabled":false,"service_domain":"switch","service":"toggle","entityId":"switch.on_off_plug_in_unit_16","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":1440,"y":260,"wires":[[]]},{"id":"26c75621.ee3252","type":"api-call-service","z":"910f142a.b1a7d","name":"AN : LICHT HAUSTÜR","server":"9b1c52d7.3b981","version":1,"debugenabled":false,"service_domain":"switch","service":"turn_on","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":580,"y":340,"wires":[["71fb6b30.a17a84"]]},{"id":"71fb6b30.a17a84","type":"delay","z":"910f142a.b1a7d","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"minutes","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":560,"y":420,"wires":[["5da90e5b.1a04e8"]]},{"id":"56e05df7.54536c","type":"api-current-state","z":"910f142a.b1a7d","name":"","server":"9b1c52d7.3b981","version":1,"outputs":2,"halt_if":"below_horizon","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"sun.sun","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":340,"y":340,"wires":[["26c75621.ee3252"],[]]},{"id":"5da90e5b.1a04e8","type":"api-call-service","z":"910f142a.b1a7d","name":"AUS : LICHT HAUSTÜR","server":"9b1c52d7.3b981","version":1,"debugenabled":false,"service_domain":"switch","service":"turn_off","entityId":"","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":590,"y":480,"wires":[[]]},{"id":"9b1c52d7.3b981","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

    Hallo zusammen,

    danke nochmal für eure Hilfe. Wenn man es dann mal verstanden hat ist es recht einfach ;)

    Als Dokumentation falls weitere User das gleiche Thema haben

    Verkabelung

    Vom 12vDC LED Treiber geht die (-) Leitung auf den Shelly L(-) und auf den COM der BALTER Monitor Station (Anschluss nur am Master Monitor möglich) und die (+) Leitung auf den Shelly N(+)

    Vom NO Ausgang dann wieder zurück auf den Shelly SW.

    Somit kann der Shelly auf das Schaltsignal reagieren.

    WICHTIG : Da die BALTER EVO Anlage mit 30VDC läuft sollte hier auf keinen Fall das Relais mit 230v ansteuern.

    pasted-from-clipboard.png


    Shelly

    Den Shelly selbst könnt ihr auf viele Arten einstellen. Hier sind meine Einstellungen

    Button Type : Detached Switch

    Somit sind der SW Eingang und das Relais I/O getrennt und schaltet nicht jedesmal wenn die Klingel gedrückt wird.


    Automatisierung

    Der Shelly is mit meinem Homeassistant verbunden und die Logik in Node-Red abgebildet

    Wenn jetzt jemand klingelt, werden die Zuständer der Lichter gespeichert und die LED Streifen im Büro und Wohnzimmer pulsieren. Zusätzlich bekommen wir noch eine Nachricht aufs Handy mit einem Bild der Überwachungskamera

    pasted-from-clipboard.png

    Hi zusammen,

    ich stehe vor folgender Problemstellung : wir haben als Türklingel die Balter EVO (https://www.balter.de/komplettsystem…0132682949.html) verbaut (ohne WLAN).

    An der Innensprechstelle kann ein Türgong angeschlossen werden (Siehe Screenshot). Hier würde ich gerne ein Shelly anschließen um das Signal auch an mein Handy weiterleiten zu können.

    pasted-from-clipboard.png

    Wie würdet Ihr das am besten machen? Die BALTER Anlage selbst läuft mit 32v

    Danke für die Hilfe