This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Tuya 4 Button Remote TS004F""" | |
from zigpy.profiles import zha | |
from zigpy.quirks import CustomDevice | |
from zigpy.zcl.clusters.general import Basic, OnOff, Identify, Ota, LevelControl, PowerConfiguration, Time, Groups, Scenes | |
from zigpy.zcl.clusters.lightlink import LightLink | |
from zhaquirks.const import ( | |
MODEL, | |
BUTTON_1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Event 24 fired 2:05 PM: | |
{ | |
"event_type": "zha_event", | |
"data": { | |
"device_ieee": "00:17:88:01:10:5f:bf:41", | |
"unique_id": "00:17:88:01:10:5f:bf:41:2:0xfc00", | |
"device_id": "ebc2f75f64752d42f6517922ceff155b", | |
"endpoint_id": 2, | |
"cluster_id": 64512, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: MQTT Statestream to MQTT Discovery 2021.03 | |
description: Creates an MQTT discovery entry for every entity streamed via MQTT Statestream. | |
domain: automation | |
input: | |
ha_stream: | |
name: HA stream | |
description: The HA statestream topic prefix used | |
mode: parallel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* V4L2 video capture example | |
* | |
* This program can be used and distributed without restrictions. | |
* | |
* This program is provided with the V4L2 API | |
* see http://linuxtv.org/docs.php for more information | |
*/ | |
#include <stdio.h> |