The full graph of all sensors.
The external sensors voltages decreased, but appear to have levelled off. This is probably temperature related.
|Main processes interaction in the PiThermostat code.|
|Django interface for adding ESP8266s. Multiplier is the weighting for the weighted mean calculation, Location is inside or outside and changes only the appropriate weighted mean and the ExpiryTime is how long a temperature reading will last in the weighted mean calculation without an update. If the battery were to go flat on Goliath, then 1 hour after the last reading Goliath would be dropped from both the weighted mean calculation and the front end display.|
|Raspberry Pi with TMP102 mounted (4 wires going to the right angled header at the back of the board). The generic 433MHz sender board is the red unit with the vertical yellow 15cm aerial .|
|django-happenings based calendar. Each time period during a 24 hour window is assigned a Temperature. If there is no user override, then the Required Temperature will be taken from this calendar.|
|Interface running on an iPad.|
|Interface running on a Wall Mounted Android device. Note that the screen auto-refreshes every 60 seconds for this particular interface.|
|ESP8266 running from LiPo battery (18650). Note the ESP is in Deep sleep as the LED is dimly lit. This photograph shows the Adafruit Huzzah ESP8266 development board, but there is no reason that NodeMCU boards could not be used (£5). In addition, we are investigating moving to cheaper temperature sensors (DS18B20) which are available for 50 pence each|
192.168.1.146 - - [03/Nov/2015:09:13:47 +0000] "GET /checkin/18:fe:34:fd:8b:24/temperature/17.1875/ HTTP/1.1" 200 636 "-" "-"The code can be found in Github - https://github.com/tommybobbins/ESP8266-TMP102. The battery life is estimated to be 6 months, but I will verify this accurately and publish the results here.
|ESP8266 in a Wireless Things case. Battery is inside. TMP102 is mounted on the outside of the case.|
|Drayton (Old Thermostat) for boiler control. We sniffed this using a £0.99 433 receiver, two resistors and Audacity.|
|British Gas rebadged Drayton set. We also sniffed these.|
|433 in-situ Transmitter board attached to Raspberry Pi|
|New Thermostat in situ|
|New Thermostat - Pygame based interface, based on Galilean Thermometer. The Right hand control sphere controls the temperature.|
|Thermostat LCARS (web) interface. Written in Django. The left two columns display temperature readouts (Attic, Barab and Cellar are inside, Eden and Forno are in the garden).|
|VelPi. Pi powered velux remote control.|
|Velpi during construction |
with all boards exposed. Raspberry Pi in bottom right, 433 sender board to the left with Ciseco Slice of I/O on top. Sainsmart relay board above (blue), soldered PCB for cable sanity and finally bare VELUX remote. Individual buttons can be seen soldered.
|Velpi: Much neater when the top perspex plate goes on|
Switching on/off Garden features using 433 sender board
So what happened to the original plan of using the 433 sender board to power on/off the garden features? . The same 433 transmitter is being used (with a set of queueing commands in redis) to either send commands to the boiler or to switch on the monolith or the deck lighting. At Christmas time, extra plugs are used to switch on/off lights.
|Energenie 433 receiver which switches on / off individual sockets.|
|Great little case for the kit.|
|Easy to follow instructions.|
|Tools for the job. I ended up not needing the vice, since I bent each leg before soldering and laid it on the floor.|
|Includes a sponge. I didn't use mine, since I wanted to keep it dry for an emergency.|
|PCB, Two resistors, LED, MOSFET and a capacitor. The only component missing from the kit is the line of solder to make the circuit board complete which is not included.|
|Circuit board before line of solder added. Note you have to solder a line of solder into place. This is not easy with a great big soldering iron. Much better to use a fine tipped iron.|
|Tweezers were required. Note the line of solder at the top of the PCB.|