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
- alias: 'Cheerlights to GlowOrb' | |
trigger: | |
platform: mqtt | |
topic: cheerlightsRGB | |
action: | |
service_template: light.turn_on | |
data_template: | |
brightness_pct: 50 | |
rgb_color: | |
- "{{ trigger.payload[1:3] | int(0,16) }}" |
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
LoadPlugin table | |
<Plugin table> | |
<Table "/proc/sys/lnet/stats"> | |
Plugin "lustre" | |
Instance "lnet" | |
Separator " " | |
<Result> | |
InstancePrefix "msgs_alloc" | |
Type gauge | |
ValuesFrom 0 |
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
- alias: Gloworb on for ISS pass | |
trigger: | |
platform: state | |
entity_id: binary_sensor.iss | |
to: 'on' | |
action: | |
service: light.turn_on | |
data: | |
brightness: 100 | |
rgb_color: [0, 0, 255] |
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
#!/usr/bin/python3 | |
from influxdb import InfluxDBClient | |
from ruuvitag_sensor.ruuvi import RuuviTagSensor | |
tags = {'F6:B4:FB:E9:7C:A8':'incubator'} | |
client = InfluxDBClient(host="localhost", port=8086, database="sensors") |
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
/* Arduino control for (ex) server PSU | |
* Andrew Elwell <Andrew.Elwell@gmail.com> August 2016 | |
* Released under BSD licence | |
*/ | |
/* Controls / Pins based on data sheet available at | |
* https://belfuse.com/resources/PowerSolutions/SFP1050/bcd20031_ab_sfp1050-12bg.pdf | |
* | |
* A6/B4/C4/D4 +3.3 standby (power to arduino) | |
* A3/B1/B3/C1/C3/D3 Return |
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
aelwell@a042:/scratch/pawsey0001/aelwell/dnet/a042$ ./dnetc -bench | |
distributed.net client for Linux Copyright 1997-2016, distributed.net | |
Please visit http://www.distributed.net/ for up-to-date contest information. | |
Start the client with '-help' for a list of valid command line options. | |
dnetc v2.9112-521-CFR-16020313 for Linux (Linux 4.4.59-92.24-default). | |
Please provide the *entire* version descriptor when submitting bug reports. | |
The distributed.net bug report pages are at http://bugs.distributed.net/ |
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
/* Artifactory Doorbot - Arduino code to connect to reader | |
and relays. | |
Andrew Elwell <Amdrew.Elwell@gmail.com> | |
Nov 2016 | |
*/ | |
/* Hardware Config - Via IRC with Lt_Lemming | |
* "I've not done the diagram yet, been too busy building it |
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
andrew@mythic:~$ mosquitto_sub -t 'sensors/+/json' -v | |
sensors/garage/json { "temp": 32.40, "humidity": 35.90 } | |
sensors/ESP-10264644/json { "temp": 24.1, "humidity": 56.8 } | |
sensors/garage/json { "temp": 32.50, "humidity": 36.00 } | |
sensors/ESP-10264644/json { "temp": 24.1, "humidity": 56.7 } | |
sensors/garage/json { "temp": 32.40, "humidity": 36.00 } | |
sensors/ESP-10264644/json { "temp": 24.1, "humidity": 56.5 } | |
sensors/garage/json { "temp": 32.40, "humidity": 36.10 } | |
sensors/ESP-10264644/json { "temp": 24.1, "humidity": 56.4 } | |
^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
if wifi.sta.status() ~= 5 then tmr.alarm(6, 10000,0, function(d) dofile('init.lua') end) return end | |
if wifi.sta.status() == 5 then dofile('pub.lua') return end |
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
Current "standard" | |
* 5500 or equivalent az/el rotator controller | |
* serial -> yaesu interface | |
* loadsa cables / boxes | |
New plan | |
* Keep the toggle switches from 5500 (nice n clunky) - even though a pair of centre off sprung would be more logical | |
* keep the analogue meters? 50mm height needed so >1u - UPDATE - No. Aim for 1U. Have a 2nd LCD display for Az/El current position | |
* Add in either LVB tracker or the arduino one http://ava.upuaut.net/?p=372 | |
* Back panel - out with screw contacts and use something like http://www.altronics.com.au/connectors/pluggable-headers/?pins_3=6-pin |