Skip to content

Instantly share code, notes, and snippets.

Feb 10 2021 00:25:02 Installed devices received: [{"i": 0, "t": 3, "c": 1, "b": 0, "f": 2, "h": 1, "d": 0, "p": 16, "v": 0, "x": 1}, {"i": 1, "t": 3, "c": 1, "b": 0, "f": 3, "h": 1, "d": 0, "p": 14, "v": 0, "x": 1}, {"i": 2, "t": 1, "c": 1, "b": 1, "f": 9, "h": 2, "d": 0, "p": 12, "v": 16.75, "a": "288602B542200134", "j": 0.0}, {"i": 3, "t": 1, "c": 1, "b": 0, "f": 5, "h": 2, "d": 0, "p": 12, "v": 15.125, "a": "28DBC6BD42200171", "j": 0.0}, {"i": 4, "t": 1, "c": 1, "b": 0, "f": 6, "h": 2, "d": 0, "p": 12, "v": 16.375, "a": "28FF13F46E1404E2", "j": 0.0}]
Feb 10 2021 00:25:05 Available devices received: [{"i": -1, "t": 0, "c": 1, "b": 0, "f": 0, "h": 1, "d": 0, "p": 13, "x": 1}]
Feb 10 2021 00:25:05 Installed devices received: [{"i": 0, "t": 3, "c": 1, "b": 0, "f": 2, "h": 1, "d": 0, "p": 16, "v": 0, "x": 1}, {"i": 1, "t": 3, "c": 1, "b": 0, "f": 3, "h": 1, "d": 0, "p": 14, "v": 0, "x": 1}, {"i": 2, "t": 1, "c": 1, "b": 1, "f": 9, "h": 2, "d": 0, "p": 12, "v": 16.938, "a": "288602B542200134", "j": 0.0}
@mcinnes01
mcinnes01 / send-camera-snapshot-when-event-type-detected.yaml
Last active January 17, 2024 14:50
Send a camera snapshot when motion event type is detected
blueprint:
name: Send a camera snapshot when motion event type is detected
description: 'This automation blueprint creates a camera snapshot if general motion or a specific motion event object is detected and sends a notification to your phone with the picture.'
domain: automation
input:
motion_sensor:
name: Motion sensor
description: The sensor which triggers the snapshot creation
selector:
entity:
@mcinnes01
mcinnes01 / zigbee2mqtt-snzb-01.yaml
Last active October 13, 2023 21:35
Zigbee2MQTT - Sonoff SNZB-01 Zigbee Wireless Switch
blueprint:
name: Zigbee2MQTT - Sonoff SNZB-01 Zigbee Wireless Switch
description: Automate your Sonoff SNZB-01 Zigbee Wireless Switch via Zigbee2MQTT.
domain: automation
input:
switch:
name: Sonoff SNZB-01 Zigbee Wireless Switch
description: Sonoff SNZB-01 Zigbee Wireless Switch to use
selector:
entity:
[services.d] starting services
[services.d] done.
[00:06:14] INFO: Starting NetDaemon V3 pre-built Runtime using assembly /config/netdaemon3/NetDaemonApps.dll...
[00:06:15 INF] NetDaemon.Runtime.Internal.NetDaemonRuntime: Starting NetDaemon runtime version custom_compiled.
[00:06:15 DBG] NetDaemon.Client.IHomeAssistantClient: Connecting to Home Assistant websocket on ws://supervisor/core/websocket
[00:06:15 DBG] NetDaemon.Client.IHomeAssistantClient: Error connecting to Home Assistant
System.FormatException: The input string '0b0' was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, ReadOnlySpan`1 value, TypeCode type)
at System.Version.TryParseComponent(ReadOnlySpan`1 component, String componentName, Boolean throwOnFailure, Int32& parsedComponent)
at System.Version.ParseVersion(ReadOnlySpan`1 input, Boolean throwOnFailure)
@mcinnes01
mcinnes01 / ai_camera_motion_notification.yaml
Last active October 1, 2024 08:12
Camera Snapshot, AI & Notification on Motion
blueprint:
name: Camera Snapshot, AI & Notification on Motion
description: Take snapshots, analyze with AI, and send notifications on motion detection
domain: automation
input:
camera_device:
name: Camera
description: The camera which creates the snapshot
selector:
entity: