AlarmDB

The idea came across on demand of my building automation projects. I use a lots of EasyIO FG32+  controllers and they are on my top list as they are the only controllers i have came along that you can fully customize and you know what? It has HTML web server for custom data display and many more… (Will post another story line about these “FG beasts” later ). Unfortunate it does not have alarm console that users could centralized manage ongoing alarms on the building HVAC systems. As I mentioned it is so flexible so some html, javascript, sqlite, and php and you have new feature as some top modern BMS systems does in the market under only DDC controller bonet.

And yes AlarmDB is free to use and sell. Opensource under MIT!

GitHub: https://github.com/automatikas/AlarmDB-EasyIO

 

NEST style thermostat Dashboard widget for Node-red

Yesterday I have found this nice peace of code work form Dal Hundal.  After playing around decided to port  it in NODE-RED so more people could use it and this great peace of work could be used without diving deeper into html and java-script. This became my favorite thermostat widget for my house room temperature control so far i came across on the net.

Fully responsive design. Touch enabled set-point makes it even more cool. Press and hold finger over and it will activate set point sliding function.

Also it has several display modes like heating, cooling and away. It makes it more intractable and user intuitive. For more ECO friendly there is possible to turn on and off that little green leaf.

Let’s try to port this in Node-red. Data exchange is based on topics. You can can push separate payloads with specific topic. If you change the set-point in the web browser it will trigger back payload to node-red with topic “target_temperature” and a value.

  • ambient_temperature, target_temperature are numeric (21.5) payloads.
  • hvac_state is string (off, heating, cooling) payload.
  • has_leave, away are boolean (true, false) payloads.

If you familiar with CSS and JAVA there are more stuff to customize, colors, ranges etc.

Some options in JAVA script:

options = {
 diameter: options.diameter || 400,
 minValue: options.minValue || 10, //Minimum value for target temperature
 maxValue: options.maxValue || 30, //Maximum value for target temperature
 numTicks: options.numTicks || 200, //Number of tick lines to display around the dial
 onSetTargetTemperature: options.onSetTargetTemperature || function() {}, // Function called when new target temperature set by the dial
};

Widget can be rendered anywhere in the page. You just have to include div with thermostat ID.

<div id="Mythermostat"></div>
var nest = new thermostatDial(document.getElementById('Mythermostat')

IF you have more than one thermostat widget make sure they have unique names to avoid  rendering wrong data to wrong divs.

Update 13.08.2019

Thanks everyone for input and bug reports!

Finally got time to move the project to Github.

Data persistence on UI load and style problems are fixed.

Please report bugs on github for better followup.

https://github.com/automatikas/Node-red-Nest-thermostat