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
import struct | |
import spidev | |
import sys | |
import time | |
import random | |
import RPi.GPIO as gpio | |
ascii = [ | |
[ 0x55, 0x00, 0x55, 0x00, 0x55 ], | |
[ 0x55, 0x00, 0x55, 0x00, 0x55 ], |
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
diff --git a/addons/io/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitThermostatImpl.java b/addons/io/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitThermostatImpl.java | |
index bac0073..1811b9d 100644 | |
--- a/addons/io/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitThermostatImpl.java | |
+++ b/addons/io/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitThermostatImpl.java | |
@@ -114,8 +114,9 @@ | |
mode = ThermostatMode.OFF; | |
} else { | |
logger.error( | |
- "Unrecognized heating cooling target mode: {}. Expected cool, heat, auto, or off strings in value.", | |
- stringValue); |
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
[{"id":"75dfb95e.2cacb8","type":"tab","label":"Rainforest Eagle Basics","disabled":false,"info":""},{"id":"e281bcec.3a64c","type":"http request","z":"75dfb95e.2cacb8","name":"","method":"POST","ret":"txt","url":"http://<enter.eagle.ip.address>/cgi-bin/post_manager","tls":"","x":510,"y":300,"wires":[["8c096319.ef5ae"]]},{"id":"b86c17aa.3d3578","type":"function","z":"75dfb95e.2cacb8","name":"wifi status","func":"msg.payload = \"<Command><Name>wifi_status</Name></Command>\";\nreturn msg;","outputs":1,"noerr":0,"x":300,"y":180,"wires":[["e281bcec.3a64c"]]},{"id":"f0b5e640.030dc8","type":"inject","z":"75dfb95e.2cacb8","name":"trigger","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"x":130,"y":180,"wires":[["b86c17aa.3d3578"]]},{"id":"165a0fc9.437d8","type":"debug","z":"75dfb95e.2cacb8","name":"","active":true,"console":"false","complete":"false","x":730,"y":420,"wires":[]},{"id":"9324e3d1.99a44","type":"function","z":"75dfb95e.2cacb8","name":"device list","func":"msg.payload |
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
var findIP = new Promise(r => { | |
var w = window, | |
a = new(w.RTCPeerConnection || w.mozRTCPeerConnection || | |
w.webkitRTCPeerConnection)({ | |
iceServers: [] | |
}), | |
b = () => {}; | |
a.createDataChannel(""); | |
a.createOffer(c => a.setLocalDescription(c, b, b), b); | |
a.onicecandidate = c => { |
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
[ | |
{ | |
"id": "1011ec1c.0424c4", | |
"type": "tab", | |
"label": "Door Lock", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "1e9a99ae.9237c6", |