Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
I may be slow to respond.

Andrew Davison andydvsn

😎
I may be slow to respond.
View GitHub Profile
View sp600_110.groovy
/*
*
* Salus SP600 Smart Plug Driver v1.10 (17th November 2020)
*
*/
metadata {
definition (name: "Salus SP600 Smart Plug", namespace: "Salus", author: "Andrew Davison", importUrl: "https://raw.githubusercontent.com/birdslikewires/hubitat/master/drivers/salus_sp600.groovy") {
View zigbee-aqara-wall-switch-expanded.groovy
/**
* Copyright 2020 Markus Liljergren (https://oh-lalabs.com)
*
* Version: v1.0.0.1025fudge
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
@andydvsn
andydvsn / QBKG25LM_combopress.txt
Created Nov 5, 2020
Combination key press responses from the QBKG25LM
View QBKG25LM_combopress.txt
dev:1192020-08-30 00:05:35.111 infoButton 5 was pushed
dev:1192020-08-30 00:05:35.107 infoMultistate - endpoint: 52, taps: 1, physicalButton: 5, physicalButtons: 3, button: 5
dev:1192020-08-30 00:05:35.103 infoMultistate - description:read attr - raw: BCFA3400120A5500210100, dni: BCFA, endpoint: 34, cluster: 0012, size: 0A, attrId: 0055, encoding: 21, command: 0A, value: 0100 | parseMap:[raw:BCFA3400120A5500210100, dni:BCFA, endpoint:34, cluster:0012, size:0A, attrId:0055, encoding:21, command:0A, value:0001, clusterInt:18, attrInt:85, valueParsed:1]
dev:1192020-08-30 00:05:34.786 infoOn/Off Button press - description:read attr - raw: BCFA0300061600001000F5002300FABC03, dni: BCFA, endpoint: 03, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 00F5002300FABC03 | parseMap:[raw:BCFA0300061600001000F5002300FABC03, dni:BCFA, endpoint:03, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:03BCFA00, encoding:23, attrId:00F5,
@andydvsn
andydvsn / QBKG25LM_presses.txt
Created Nov 5, 2020
Single key press responses from the QBKG25LM
View QBKG25LM_presses.txt
dev:1192020-08-29 23:45:15.616 warnUnhandled Event PLEASE REPORT TO DEV - description:read attr - raw: BCFA01FCC008FC001000, dni: BCFA, endpoint: 01, cluster: FCC0, size: 08, attrId: 00FC, encoding: 10, command: 0A, value: 00 | msgMap:[raw:BCFA01FCC008FC001000, dni:BCFA, endpoint:01, cluster:FCC0, size:08, attrId:00FC, encoding:10, command:0A, value:00, clusterInt:64704, attrInt:252, valueParsed:false]
dev:1192020-08-29 23:45:13.615 infoOn/Off Button press - description:read attr - raw: BCFA0300061600001000F5002300FABC03, dni: BCFA, endpoint: 03, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 00F5002300FABC03 | parseMap:[raw:BCFA0300061600001000F5002300FABC03, dni:BCFA, endpoint:03, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:03BCFA00, encoding:23, attrId:00F5, consumedBytes:7, attrInt:245]], valueParsed:false]
dev:1192020-08-29 23:45:06.927 warnUnhandled Event PLEASE REPORT TO DEV - description:read attr - r
@andydvsn
andydvsn / QBKG22LM_bothkeys.txt
Created Nov 5, 2020
Both keys pressed responses from the QBKG22LM
View QBKG22LM_bothkeys.txt
dev:1162020-08-30 00:06:48.029 errorjava.lang.NullPointerException: Cannot invoke method parse() on null object on line 643 (parse)
dev:1162020-08-30 00:06:48.012 infoOn/Off Button press - description:read attr - raw: 0C12060006100000100000001001, dni: 0C12, endpoint: 06, cluster: 0006, size: 10, attrId: 0000, encoding: 10, command: 0A, value: 0000001001 | parseMap:[raw:0C12060006100000100000001001, dni:0C12, endpoint:06, cluster:0006, size:10, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:01, encoding:10, attrId:0000, consumedBytes:4, attrInt:0]], valueParsed:false]
dev:1162020-08-30 00:06:47.596 errorjava.lang.NullPointerException: Cannot invoke method parse() on null object on line 643 (parse)
dev:1162020-08-30 00:06:47.578 infoOn/Off Button press - description:read attr - raw: 0C12030006160000100000F02300120C03, dni: 0C12, endpoint: 03, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0000F02300120C03 | parseMap:[raw:0C120300061600
@andydvsn
andydvsn / QBKG22LM_singlekey.txt
Last active Nov 5, 2020
Single key press responses from the QBKG22LM
View QBKG22LM_singlekey.txt
dev:1162020-08-29 23:53:12.601 infoSending temperature event (Temperature: 15.0 °C)
dev:1162020-08-29 23:53:12.594 debugKNOWN event (Xiaomi/Aqara specific data structure) - description:read attr - raw: 0C120100005A01FF42296410006510006E20006F20000121E40C03280F0521090008211C360A2191FC9923000000009B210000, dni: 0C12, endpoint: 01, cluster: 0000, size: 5A, attrId: FF01, encoding: 42, command: 0A, value: 296410006510006E20006F20000121E40C03280F0521090008211C360A2191FC9923000000009B210000 | parseMap:[raw:0C120100005A01FF42296410006510006E20006F20000121E40C03280F0521090008211C360A2191FC9923000000009B210000, dni:0C12, endpoint:01, cluster:0000, size:5A, attrId:FF01, encoding:41, command:0A, value:[raw:[openClose:00, switch2:00, unknown10:00, unknown11:00, battery:0CE4, deviceTemperature:0F, RSSI_dB:0009, unknown3:361C, routerid:FC91, gestureCounter3:00000000, unknown9:0000], openClose:false, switch2:false, unknown10:0, unknown11:0, battery:3300, deviceTemperature:15, RSSI_dB:9, unknown3:13852, routerid:64657, gestur
View joggler-sound-fix-v2.6.33-v3.patch
joggler-sound-fix-v2.6.33-v3.patch forward ported to .34
---
sound/pci/hda/patch_sigmatel.c | 197 +++++++++++++++++++++++++++++++++++++++-
1 files changed, 194 insertions(+), 3 deletions(-)
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index a0e06d8..3839294 100644
--- a/sound/pci/hda/patch_sigmatel.c
View patch_sigmatel_of1v1.patch
--- /home/andy/Desktop/kernel14/69/linux-4.14.69-original/sound/pci/hda/patch_sigmatel.c 2018-09-09 18:56:02.000000000 +0100
+++ /home/andy/Desktop/kernel14/69/linux-4.14.69/sound/pci/hda/patch_sigmatel.c 2018-09-20 02:16:46.487316835 +0100
@@ -135,6 +135,7 @@
STAC_M3,
STAC_M5,
STAC_M6,
+ STAC_OPENFRAME1,
STAC_925x_MODELS
};
@andydvsn
andydvsn / alsa.conf
Last active Sep 11, 2018
Sound Config on OpenFrame OS
View alsa.conf
#
# ALSA library configuration file
#
# pre-load the configuration files
@hooks [
{
func load
files [
@andydvsn
andydvsn / 3.18.2op4-fine
Last active Sep 10, 2018
alsa-info from kernels 3.18 and 4.14
View 3.18.2op4-fine
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.64
!!################################
!!Script ran on: Sun Sep 9 02:24:48 UTC 2018
!!Linux Distribution
!!------------------