Earth Notes: Open-Source Thermostatic Radiator Valve (OpenTRV)Updated 2020-05-04 08:07 GMT.
Heating accounts for around 60% of UK domestic energy use and 60% of people admit to heating unoccupied rooms. [p2 DECC 2012 2323, p33 DECC 2012 6918]
OpenTRV also allows a simple schedule to be set (no complex displays though!) and tries to anticipate when you'll need heating to improve comfort while boosting efficiency.
OpenTRV is designed to be simple to (retro-)fit to existing UK housing stock with radiator central heating.
Here are some key design principles behind OpenTRV:
- OpenTRV's primary target is UK housing stock already standing, with poor thermal efficiency, and gas-fired central heating with radiators, for which it aims to cut space-heating carbon footprint by 50%, and in many cases repay its cost in a single heating season.
- Basic OpenTRV systems should be cheap (quick payback, 10+ year life) and simple to retrofit by end-users.
- OpenTRV should not require the Internet or smartphones to operate; it should be possible to do basic operations with a simple UI physically at the radiator or its associated control unit.
- OpenTRV systems should gracefully degrade.
- OpenTRV intends to produce permissively-licensed free open reference designs suitable for large manufacturers to produce at low cost.
- OpenTRV intends to keep some or all of its designs suitable for computer / electronics / DIY enthusiasts to tinker with and extend.
- OpenTRV aims to minimise end-user costs by promoting WiFi levels of compatibility, allowing mix-and-match systems to be assembled and upgraded.
- OpenTRV aims to interoperate with such existing systems as OpenEnergyMonitor, X-10/HomeEasy/etc, and to interconnect with home automation systems and give users easy access to sensor data (etc) if they want it, while keeping an eye to privacy and security.
- OpenTRV designs should have sensible failure behaviours, eg for comms and for batteries such as failing if possible with the valve 'on' to prevent frost damage.
Scratching That Itch
Open source projects are said to work best when they really scratch an itch, ie fulfil a requirement or deal with an irritation, that nothing else works for.
As of the start of 2013 I had been trying to put together some electronic/programmable thermostatic radiator values/controls (TRV/PRC). The aim is to follow a temperature programme against time (chronostat), individually call for heat (ie fire up) the central heating boiler when not meeting targets, and that have an occupancy sensor that can drop the target temperature a couple of degrees when a room is (unexpectedly) not occupied (or at least has no active awake human in it).
Why? At the October 2012 DECC smart heating workshop that I presented at there was wide agreement that the ability to retrofit soft heating zones to existing radiator central heating systems would likely be a good thing with a lot of potential to save heating unoccupied spaces, and set appropriate heating levels in occupied areas too, with the potential for a lot of energy savings for little physical upheaval. That implies thermostats per heating zone, possibly even per room, controlling local TRVs to regulate temperature and able to bring on the boiler ("call for heat" or "boiler interlock" are common terms) if any zone needs heat to meet target. Modern building regs in England require at least two zones; this proposal is finer-grained.
In any case, this seemed hard to do, especially the occupancy sensing, and even a couple of major well known manufacturers that I've been talking to that that offered to lend me kit to test or tell me their hardware protocols, have not yet managed to do so.
There seems to be little that operates satisfactorily with fully-open protocols (sometimes a subset of functionality is available, but not enough, or not reliably) so that, for example, I could couple the system with a home automation system or my server or whatever.
The primary aim of the OpenTRV project is to have an unencumbered open design from boiler to rad of which pieces can be substituted at will, eg if cheaper. Licensing is permissive so that existing manufacturers can use our designs, and also so that "makers"/DIYers can use the tech easily.
And all of this is to try to make it easy and cheap and pleasant for everyone to save carbon emissions from heating: I think most people in the UK could halve theirs without hardship, and the UK has crappy housing stock and will for many years to come.
As of autumn 2013 we had working PICAXE and Arduino/AVR implementations, with REV1 and REV2 boxed instances of the AVR solutions deployed in multiple households for testing over winter 2013--2014.
News and Project Updates
See also the OpenTRV project update archive.
- 2020-05-02: The Guardian: 'Hey Google, dim the lights': how smart home devices can save money: Radbot is mentioned!
- 2020-02-18: Radbot at London IOT meetup; see the slide deck.
- 2020-01-28: Best smart thermostats 2020.
- 2019-11: Radbot Seedrs campaign starts!
- 2019-09-29: Radbot won "Energy Efficiency Product of the Year 2019"!
- 2019-07-02: Radbot is on the 2019 UK Energy Innovation Awards shortlist! (Customer Focus)
- 2019-06: BUILD Magazine 2019 Design and Build Awards: Vestemi Limited awarded the title of “Most Innovative in Energy Saving Technology” for Radbot.
- 2019-04-30: How Artificial Intelligence can simplify our everyday lives.
- 2019-03-22: Cut heating costs with Radbots on your radiators: "In my quest to cut our heating costs, I have a new love, and its name is Radbot. Never thought I'd get carried away by radiator valves, but these babies are clever."
- 2018-12-13: the consumer CE-stamped Radbot is now on sale through EDF Energy!
- 2018-03-28: OpenTRV Limited is now Vestemi Limited. The open source project name remains as-is.
- 2018-01-23: an initial investment round and expanded management team is in place today.
- 2017-10-31: Pitching for Cleantech Venture Day; Are apps for energy management dying or irrelevant? @OpenTRV thinks so. Fit n Forget smart thermostat presented at @CleantechDay 10to 1 roi?.
- 2017-09-04: 12 UK internet of things startups to watch: in at number 6!
- 2017-02-02: IoT Tech Expo Special podcast featuring an OpenTRV interview.
- 2017-01-17: Case Study: IoT and Security – Who Needs Either? "[OpenTRV's] method is consistent with the founding values of IoTSF and what we consider to be best practice at the highest level, namely; a security-first approach, right-sized for the application and resilient over its life-cycle."
- 2016-12-10: TRV1.5 20161211-RC3b release, with enhanced setbacks to be able to hit 30% savings against real data.
- 2016-05-24: OTWiki on GitHub.
- 2016-11-16: Scoping review of heating controls reveals amongst other things "zonal control reduced gas consumption by c12% compared to a Building Regulations compliant system".
- 2016-05-23: Indie Manufacturing (January) interview.
- 2016-02-18: Interoperability Hack Day with OEM and others c/o BCS in London, and also see collaboration repo at GitHub.
- 2016-02-29: Going Green in Electronics
- 2016-02-18: London’s First LoRa Base Station: "Peter Karney, Head of Product Innovation at the Digital Catapult, blogs about London’s first LoRa base station being installed on the roof of the Digital Catapult Centre and what benefits it will offer for IoT innovation. Working in close partnership with OpenTRV (one of IoTUK’s Showcase companies) the Digital Catapult has installed and made available to all, a LoRa base station in Central London. LoRa stands for Long Range Radio, and is one of the new radio technologies targeted for M2M and IoT networks."
- 2016-02-18: LoRa driving IoT projects from London base: "We at OpenTRV like to think of this as the missing link in the evolution of the Internet of Things," he said. "Low cost sensors, simplified deployment, cloud based analytics and now free connectivity have reached the point where the combination is so cost effective that the business case moves into the no-brainer category."
- 2016-01-02: The 10 hottest IoT start-ups to watch in 2016.
- 2015-09-30: Speaking at Wuthering Bytes about Health, wealth and buses: IoT and carbon.
- 2015-08-24: Maker Monday interview.
- 2015-08-07: OpenTRV is happy to announce an initial tranche of angel funding to help get manufacturing underway this winter!
- 2015-08-06: refactored radio functionality released today including OTRadioLink V0.7 with interrupt-driven RX and OTProtocolCC V0.3 simple central-control 2-way protocol (CC1).
- 2015-07-23: "Running a tight ship in the digital age" Guardian 'roundtable' discussion including OpenTRV.
- 2015-05-20: finalists for Interop London’s Tech Startup 10!
- 2015-03-27: RS DesignSpark piece from heating to buses via IoT!
- 2015-03-24: at the Shell Enterprise Conference today.
- 2015-03-12: fabulous bit of inventive measurement by someone in the OpenTRV trial as we tried to track down the cause of some boiler short cycling: Results of Monitoring a Vaillant ecoMAX pro 18E Boiler.
- 2015-02-19: OSHUG38 — Scratching the itch: saving the planet, Damon Hart-Davis.
- 2015-02-19: Quantimetrica is going to Embedded World with one of our boards (PDF); we're really looking forward to further dev work with them and their clever voice tech!
- 2015-01-16: Ooooh, apparent first bad (binary) data frame/point to get past the (7-bit) CRC and other checks; claimed room at ~99C at 19:20 for one data point in the binary stream only! From at least 150k binary data frames received. I did check that the unit was not on fire.
- 2015-01-05: first code snapshot uploaded onto very first REV7 board (README) along with correct complaint about RFM23B not being fitted causing panic() as designed.
- 2014-11-23: V0.0.6 of server now logs JSON-format frames; these are sent CRC protected from leaf nodes.
- 2014-11-20: Mike's Tiny Home Area Network Stack!
- 2014-11-19: final pitch for IoT Launchpad to Innovate UK today.
- 2014-11-13: successful preliminary integration with Quantimetrica voice detector for an additional strand of occupancy sensing.
- 2014-10-27: Mark talking about Climate-KIC whose accelerator program we are in.
- 2014-05-19: OpenTRV modules with or without a radiator to control can now be allowed to transmit stats information to be logged centrally such as for this plot of temperatures inside and outside (4o) DHD's house.
- 2014-03-27: OpenTRV doing its magic in Bruno's home.
- 2014-02-18: Have initial code to communicate between a laptop/PC/server and an OpenTRV CLI over serial (using the RXTX lib), to interact with the unit and to gather stats (eg see Linux script.
- 2014-02-02: OpenTRV talk at FOSDEM: slides .odp and other formats, 25m video silent for the first 3m:40 then low quality audio until 8m (smaller .ogv version), Q&A afterwards, addressing OpenTRV.
- 2013-12-22: First boiler control unit install (at BG's house, also his photo).
- 2013-12-16: Did first (pre-trial) install today, and Mark H gave a talk at CleanWeb.
- 2013-12-12: First of batch of REV1 30 boards from PM Services correctly running and fitted into latest box revision today!
- 2013-10-26: Bruno slaved over a 4-layer box design (OpenSCAD source); view and bottom three layers as printed with main REV1 board in place.
- 2013-09-26: OpenTRV won third place at Connecting Homes; OpenTRV Connecting Homes Press Release; the British Gas Connecting Homes competition (pitch event and showcase for 25 startups in the home energy sector); my pitch/presentation.
- 2013-07-22: District heating DHW controlled by OpenTRV V0.9 saves ~1/3rd of energy consumption (down from ~0.23GJ/fortnight to ~0.14GJ/fortnight) by reducing tank losses overnight (thus large temperature drops to as low as ~35°C when not needed: OpenTRV target/max is 53°C while old Danfoss analogue maintained ~47°C). Note that in this graph old analogue stat was refitted ~June 25th for fortnight repeat test, the first half is OpenTRV. See a typical daily temperature curve too; the tank is heated from ~8am--10am. If hot water is needed earlier Bo sets his alarm from an hour before and presses the WARM button to bring the system up to temperature early.
- 2013-07-02: First cut (revision 0) of V0.2-Arduino PCB ordered from iTEADStudio, get .ZIP snapshot bundle of Eagle and Gerber files.
- 2013-05-22: Have FHT8V TX working from V0.2-Arduino (see snapshot) with minimum/idle current still ~3uA@2.6V and a calculated mean of 23uA+ in 'frost' mode assuming 0.1% RFM22 duty cycle for TX, maybe double that in 'warm' mode with LEDs flashing and doubled TX for robustness; well within power budget for 1 (100uA) or 2 (50uA) year operation from NiMH AA hybrids I think.
- 2013-05-10: PICAXE code tagged at V0.1-operational.
- 2013-04-16: Optiboot V5.0 bootloader for ATmega328P running at 1MHz from internal clock suitable for 2xAA power-efficient operation. (README boards.txt content for Arduino 1.0.3 IDE bootloader .hex example low-power blink sketch all as one ZIP file.) IDE 1.6.x boards.txt extension.
- 2013-04-10: Five populated V0.09 PICAXE boards!
- 2013-04-04: Mike populated (and tested) the first V0.09 board!
- 2013-03-11: Hurrah! First PCB design (600dpi PNG) shipped to fab (and components to populate 7 boards ordered). Mike and Bo have been labouring like slaves for this; many thanks! Simple diagnostic code (and README) to test a board for gross faults.
- 2013-02-26: TRV node is controlling local TRV and boiler; soft-zoning ahoy!
- 2013-02-14: Controlling boiler directly and TRV via radio for first soft zone prototype! (r327)
Basic Operation (V0.09, V0.1, V0.2, V1.x)
The V0.2 design (as the V0.09 design also) works as follows:
- Each radiator is fitted by the user with a Conrad FHT8V wireless radiator valve in place of the existing TRV head (eg hand unscrew old TRV head, screw FHT8V on, no plumbing required)
- The OpenTRV unit containing temperature sensor and user controls sits somewhere near the radiator in the room and controls the FHT8V over wireless (868MHz ISM band) to regulate the room/zone temperature as desired.
- An OpenTRV unit near the boiler listens out for the other OpenTRV units opening their local wireless valves, and if any are open, turns on the boiler, thus providing full soft zoning, ie without plumbing changes. (This OpenTRV unit can also control a local radiator for cost efficiency in a small system.)
Key versions from the V0p2 codebase were:
- the REV1 with two buttons on the front
- the REV2 with a Big Red Button the front and a temperature dial
- the REV7 "TRV1.X" all-in-one device, see below
- the REV8 boiler controller, designed in tandem with the REV7
- the REV10 boiler controller and GSM 2G outbound-only internet gateway, often simply used as the gateway
The V1.x all-in-one design replaces the valve head, contains the controls and temperature sensor, and can transmit (securely) to the boiler controller and Internet gateway.
See more OpenTRV hardware photos.
OpenTRV will work better if it can interoperate easily with other open and proprietary systems in the heating and monitoring area, eg Open Energy Monitor and various home-automation (HA) systems.
OpenTRV was conceived for the typical UK combination of gas boiler plus radiators plus limited heating controls.
Bo H as of 2013-05 is using (PICAXE V0.1) OpenTRV to control his domestic hot water (DHW), and hopes to control his radiators too, that get their heat from the local district heating system, which is partly why he joined in with such gusto getting our first PCB layout together! (With the TRV slew rate turned right down, it seems to be working well for him at V0.1-operational tag with tweaks, saving ~33% but not keeping water hot pointlessly overnight.)
General Cheap/Open Sensor and IoT Platform
If we have this right then we can save people a lot of work redeveloping their own easy-to-program low-power reliable sensor platform.
This is an attempt to define some commonly-used terms in OpenTRV to avoid confusion: please send in corrections as needed!
A wiki superset is also available.
- (TRV) valve (base/body)
- Plumbed into a radiator's flow or return pipework to allow automatic regulation of flow of water through the radiator and thus heat into the room. For UK installations the control pin is typically vertical. See two freestanding valve bases.
- (TRV) valve head
- Part that screws on to (usually vertical in UK) TRV valve base to drive the pin and regulate the flow of water and thus heat. In this simplest case this is a purely mechanical component using a wax that expands/contracts in response to room air temperature to regulate room temperature. This part can be replaced by the end user, eg with a wireless radiator valve to make a 'smarter' zoned heating system. See two valve heads.
OpenTRV and associated/halo projects are all about interoperability and to that end we will use or create 'standards' where necessary.
From REV1 of the V0.2 OpenTRV PCB (and REV0 of DD1), we have settled on a main PCB size of 50mm by 50mm with 3mm (M3) mounting holes inset 1mm from each edge at the corners. Standard PCB thickness is 1.6mm. This is in part at least to enable a standard box/enclosure design to be adopted across all units. See for example this from the SVN repository.
All OpenTRV software and hardware designs are licensed permissively, specifically to encourage manufacturers to incorporate elements they find useful to encourage wide adoption, along with research and hobby/DIY use.
As of March 2013 everything was covered by an Apache 2.0 licence. All new hardware design elements thereafter will be under the Solderpad licence which better addresses some of the non-code IP issues. Note that Solderpad-licenced elements can be treated as if licensed under Apache 2.0 if preferred, as the latter is OSI approved.
DHD2013-04-17: broad licensing policy after discussion with Andrew Katz, a lawyer involved with the creation of the Solderpad (0.51) licence, a variant of Apache 2.0 that deals with some of the legal/IP issues beyond copyright and patents that Apache addresses:
- All code (including the generation scripts for 3D shapes): Apache licence.
- Schematics: Solderpad licence (eg paste the text into the schematic like we already have with V0.09 and the Apache licence).
- PCB: Solderpad licence by putting short text eg "Solderpad licence [URL]" linking to the licence text on the PCB legend.
- Generated 3D files (ie output of scripts): disclaim rights, eg add something to the output to the effect
we believe we retain no rights in this, but you may choose to regard this as licensed under Solderpad/Apache if you wish.