zigpy zha-device-handler quirk merge request: zigpy/zha-device-handlers#3681
This file contains hidden or 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
FROM docker.io/library/php:8.1-fpm | |
LABEL vendor="Mautic" | |
LABEL maintainer="Mautic core team <>" | |
# Install PHP extensions | |
RUN apt-get update && apt-get install --no-install-recommends -y \ | |
ca-certificates \ | |
build-essential \ | |
git \ |
This file contains hidden or 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
# Original: https://community.home-assistant.io/t/presence-sensor-light-automation/564590 | |
blueprint: | |
name: Presence-activated Light (vinzent) | |
description: Turn on a light when presence is detected. | |
domain: automation | |
source_url: https://github.com/antoniopacheco/presence_light/presence_light.yaml | |
input: | |
presence_entity: | |
name: Presence Sensor | |
description: Presence sensor device |
This file contains hidden or 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
"""Luminance motion sensor ZG-Z204ZS""" | |
import math | |
from typing import Dict, Final | |
from zigpy.profiles import zha | |
from zigpy.quirks import CustomDevice | |
from zigpy.zcl.clusters.general import ( | |
Basic, | |
PowerConfiguration, |
This file contains hidden or 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
"""Luminance motion sensor ZG-204ZS""" | |
from typing import Dict, Final | |
from zigpy.quirks.v2 import QuirkBuilder | |
import zigpy.types as t | |
from zigpy.zcl.clusters.measurement import IlluminanceMeasurement, OccupancySensing | |
from zigpy.zcl.clusters.security import IasZone | |
from zigpy.zcl.clusters.general import Identify |
This file contains hidden or 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
""" | |
* TS0601 ZG-204ZM | |
* _TZE200_kb5noeto | |
* Works with HA 2024.11 - updated by @txip (Update 2) | |
* https://de.aliexpress.com/item/1005006174074799.html ("Color": Mmwave PIR) | |
* https://github.com/13717033460/zigbee-herdsman-converters/blob/6c9cf1b0de836ec2172d569568d3c7fe75268958/src/devices/tuya.ts#L5730-L5762 | |
* https://www.zigbee2mqtt.io/devices/ZG-204ZM.html | |
* https://smarthomescene.com/reviews/zigbee-battery-powered-presence-sensor-zg-204zm-review/ | |
* https://doc.szalarm.com/zg-205ZL/cntop_zigbee_sensor.js | |
* https://github.com/Koenkk/zigbee2mqtt/issues/21919 |
This file contains hidden or 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
time python3 /tmp/test.py | |
/usr/local/lib/python3.6/site-packages/kubernetes/config/kube_config.py:509: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. | |
config_dict=yaml.load(f), | |
^CTraceback (most recent call last): | |
File "/tmp/test.py", line 5, in <module> | |
response = kubernetes.client.ApisApi(client).get_api_versions(_request_timeout=0.5) | |
File "/usr/local/lib/python3.6/site-packages/kubernetes/client/apis/apis_api.py", line 55, in get_api_versions |
This file contains hidden or 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
# ausearch -m AVC,USER_AVC,SELINUX_ERR --start today -i | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:11:45.153:807656) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=2) exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?' | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:12:59.848:807742) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=3) exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?' | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:20:17.465:808721) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=4) exe=/usr/lib/systemd/systemd sauid=root hostname=? addr=? terminal=?' | |
---- | |
type=USER_AVC msg=audit(02/07/2018 10:25:37.738:809410) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=5) exe=/usr/lib/systemd/systemd sauid |
This file contains hidden or 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
{ | |
"name": "[email protected]", | |
"attributes": { | |
"urn:mspac:": { | |
"authenticated": true, | |
"complete": true, | |
"values": [ | |
{ | |
"raw": "BQAAAAAAAAABAAAAmAEAAFgAAAAAAAAACgAAABYAAADwAQAAAAAAAAwAAABcAAAACAIAAAAAAAAGAAAAFAAAAGgCAAAAAAAABwAAABAAAACAAgAAAAAAAAEQCADMzMzMiAEAAAAAAAAAAAIAiEIPkNN50wH/////////f/////////9/IN2nFdN50wEgnRFAnHrTASBdAQvUmtMBDAAMAAQAAgAAAAAACAACAAAAAAAMAAIAAAAAABAAAgAAAAAAFAACAAAAAAAYAAIAAwAAAFEEAAABAgAAAQAAABwAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABgAgAAIAEAASACQAAgAoAAIAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAGAAAAdABoAG8AbQBhAHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAFIEAAAHAAAAAwAAAAAAAAACAAAARABDAAkAAAAAAAAACAAAAE0AWQBEAE8ATQBBAEkATgAEAAAAAQQAAAAAAAUVAAAARB7qgl6PkrbZdawfAAAAAADotY/TedMBDAB0AGgAbwBtAGEAcwAAACoAEAAcAEAAAAAAAAAAAAB0AGgAbwBtAGEAcwBAAG0AeQBkAG8AbQBhAGkAbgAuAGwAbwBjAGEAbAAAAAAAAABNAFkARABPAE0AQQBJAE4ALgBMAE8AQwBBAEwAAAAAAHb///8g02CaVJFO5afZuTKMj3CnAA |
This file contains hidden or 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
--- a/manifests/server/service.pp 2017-04-10 13:29:34.307586169 +0200 | |
+++ b/manifests/server/service.pp 2017-04-10 13:28:03.756056508 +0200 | |
@@ -9,6 +9,7 @@ | |
$user = $postgresql::server::user | |
$port = $postgresql::server::port | |
$default_database = $postgresql::server::default_database | |
+ $connect_settings = $postgresql::server::default_connect_settings | |
anchor { 'postgresql::server::service::begin': } | |
NewerOlder