I hereby claim:
- I am Elwell on github.
- I am elwell (https://keybase.io/elwell) on keybase.
- I have a public key whose fingerprint is 86FE 807B 075D 6A0E 9D02 A0DE B252 F8D8 F822 3247
To claim this, I am signing this object:
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 |
andrew@mythic:~$ cat bin/get_sunrise.py | |
#!/usr/bin/python | |
# calculate sunrise/sunset times for location | |
# Andrew Elwell <[email protected]> 2013-09-02 | |
import ephem | |
import ConfigParser | |
import paho.mqtt.client as mqtt |
// Reed Switch to MQTT publisher for home | |
// Andrew Elwell, May 2015 | |
#include <SPI.h> | |
#include <Ethernet.h> | |
#include <PubSubClient.h> | |
byte mac[] = { 0x00, 0x04, 0xA3, 0x2C, 0x1D, 0xF1 }; | |
byte server[] = { 10, 1, 1, 251 }; |
// Reed Switch to MQTT publisher for home | |
// Andrew Elwell, May 2015 | |
#include <SPI.h> | |
#include <Ethernet.h> | |
#include <PubSubClient.h> | |
byte mac[] = { 0x00, 0x04, 0xA3, 0x2C, 0x1D, 0xF1 }; | |
byte server[] = { 10, 1, 1, 251 }; |
I hereby claim:
To claim this, I am signing this object:
#include <UIPEthernet.h> | |
EthernetClient client; | |
signed long next; | |
int led = 6; | |
void setup() { | |
pinMode(led, OUTPUT); | |
digitalWrite(led, HIGH); | |
Serial.begin(115200); |
--- issue.item.html-orig 2011-03-20 00:24:03.049357938 +0800 | |
+++ issue.item.html 2014-04-15 01:41:32.974950437 +0800 | |
@@ -74,7 +74,16 @@ | |
<tr> | |
<th i18n:translate="">Assigned To</th> | |
- <td tal:content="structure context/assignedto/menu">assignedto menu</td> | |
+ <td> | |
+ <select name="assignedto"> | |
+ <option value="-1">- no selection -</option> |
read_pv was failing when publishing (hangs after publish), so knocked up a dummy test client with static dictionary | |
andrew@guruplug:~$ ./debug_mqtt.py | |
{'AC_Hz': 2925, 'PV_A': 11, 'Out_W': 3428, 'PV_W': 3355, 'PV_V': 3014, 'kWh_Total': 1851, 'timestamp': 1378793395.40962, 'pid': 6573, 'kWh_today': 17, 'AC_V': 11} | |
loop start | |
^C | |
^C | |
^Z | |
[2]+ Stopped ./debug_mqtt.py | |
andrew@guruplug:~$ killall debug_mqtt.py |
#!/usr/bin/python | |
# script to poll growatt PV inverter and spit out values | |
# Andrew Elwell <[email protected]> 2013-09-01 | |
from pymodbus.client.sync import ModbusSerialClient as ModbusClient | |
import time | |
import sys | |
start = int(sys.argv[1]) |
ldapsearch -LLL -x -h localhost -p 2170 -b GLUE2GroupID=grid,o=glue '(&(objectClass=GLUE2ComputingShare)(GLUE2ComputingShareMaxCPUTime=999999999))' | perl -p00e 's/\r?\n //g' | grep dn: | cut -d"=" -f5 | cut -d"," -f1 | sort | uniq |