Skip to content

Instantly share code, notes, and snippets.

View andydvsn's full-sized avatar
😎
I may be slow to respond.

Andrew Davison andydvsn

😎
I may be slow to respond.
View GitHub Profile
tell application "System Events"
tell process "Dock"
set frontmost to true
activate
tell list 1
perform action "AXShowMenu" of UI element "OrbStack"
delay 1
key code 126 -- up arrow
delay 1
key code 36 -- return key
b008nddx,b0077lqz,b0077lw4,b0077m17,b008m8ks,b0077mcw,p00bp2g9,p00bp2hb,p00bp2jm,p00bp2ks,p00bp2lz,p00b8qy6,p00bp2vg,b0077s1y,p00bp2y3,p00bp2z8,p00bp30c,p00bp31f,p006cxn0,p00bp2n5,p00bp2p7,p00bp2qk,p00bp2rm,p00bp2t0,p00bpl2p,p00bpl4d,p00bpl5f,p00bpl70,p00bpl8l,p00bplb0,p00bplcp,p00bplf6,p00bplhd,p00bplkm,p00bplmb,p00bplp5,p00bplqr,p00bpls9,p00bpltm,p00bplvw,p00bplx8,p00bply7,p00bpm7x,p00bplz6,p00bpm01,p00bpm0x,p00bpm1r,p00bpm2n,p00bpm3k,p00bpm4d,p00bpm58,p00bpm65,p0g1pbdz,p090t6pp,p090t7kn,p090t7kv,p090t7kx,p090t7l4,p090t7lc,p093sc99,p093sc9y,p093scb6,p093scbg,p093scbs,p093scc5,p090v2wj,p090v2zd,p090v38b,p090v3dh,p090v3lh,p090v3vq,p0fq3s31
/*
*
* 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") {
/**
* 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 November 5, 2020 13:45
Combination key press responses from the QBKG25LM
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 November 5, 2020 13:31
Single key press responses from the QBKG25LM
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 November 5, 2020 13:28
Both keys pressed responses from the QBKG22LM
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 November 5, 2020 13:27
Single key press responses from the QBKG22LM
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
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
--- /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
};