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":"b1dae23f.4c1df8","type":"tab","label":"Backup ZWave","disabled":false,"info":""},{"id":"c63c702d.146638","type":"ha-get-entities","z":"b1dae23f.4c1df8","server":"2c7b8494.4b702c","name":"Get initial zwave entities","rules":[{"property":"entity_id","logic":"starts_with","value":"zwave.","valueType":"str"}],"output_type":"array","output_empty_results":false,"output_location_type":"msg","output_location":"payload","output_results_count":1,"x":140,"y":220,"wires":[["b6ed1793.1fb048"]]},{"id":"9a58517a.10adb8","type":"inject","z":"b1dae23f.4c1df8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":120,"wires":[["c63c702d.146638"]]},{"id":"13a2784c.82a29","type":"file","z":"b1dae23f.4c1df8","name":"","filename":"","appendNewline":false,"createDir":true,"overwriteFile":"true","encoding":"none","x":810,"y":320,"wires":[[]]},{"id":"b6ed1793.1fb048","type":"split","z":"b1dae23f.4c1df8","name" |
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
#!/bin/bash | |
# Took the good bits from sdesalas/node-pi-zero/ | |
# Switches to unofficial repo since armv6 was removed from main downloads | |
# | |
PI_ARM_VERSION=$( | |
uname -a | | |
egrep 'armv[0-9]+l' -o | |
); |