Hi, I bought a sample Danfoss Eco device - bluetooth app controlled standalone radiator valve thermostat, described here: http://www.smartheating.danfoss.com/a-solution-for-every-home/new-danfoss-eco/
So far testing the actual thermostat performance, but interested in integrating these devices to HA. I could only find a sample Node code (not tried yet) to connect to this device:
Looks like it only queries the device and doesn’t change any settings.
Would be great to have this devices supported by HA via local bluetooth connection.
need to tidy up a bit and will put on github and share link here. (probably end of the week)
hope some more experienced developers can make something nice from it.
I am trying to get this up and running on a Raspberry 3+. I tried to pair the Danfoss Eco 014G1112 with the Raspberry using the bluetoothctl CLI tool but this fails.
Failed to pair: org.bluez.Error.AuthenticationCanceled
Is there a way you could post some kind of quick setup guide ?
Just noticed your discussion. As it happens, I’ve done a C# project which reads most of the settings and the schedule data from an Eco 2 thermostat: https://github.com/olefriis/Eco2
It’s Mac-only (using Core Bluetooth), but I’ve done my best to make the code readable, so you should be able to use it for further work, even in other languages. I haven’t implemented writing data back to the thermostats, but I suspect this will amount to encoding and setting the relevant characteristic values through Bluetooth LE.
Hi Ole, that looks great.
In the meantime I’ve learned a bit more about home-assistant en came to the conclusion that instead of building everything myself, my best and quickest option would be to look at esphome which has all the BLE stuff already build and is a nice robust framework for implementing a BLE bridge for the Danfoss ECO2.
Hi together,
did someone make any progress with integrating the Danfoss Eco ?
I really would like to use them, as they are quite cheap and also look like some “normal” thermostats.
I looked at the ESPHome integrations, but didn’t become clever of it ^^ (Quite new to HA, too, so my learning curve is quite high at the moment )
Yes, go to previous posted github repository and read comments in issues tab.
Some users were able to integrate it in HA and have shared their own scripts over the libetrv lib.
I have a simple setup up an running with two raspberry pi zero (needed two to cover the house). https://github.com/AdamStrojek/libetrv/issues/15
I connect to valves only once daily, to get battery state and temperature set point.
Room temperature i get from Xiaomi zigbee sensors, so no need to poll Danfoss for room temperature and loose battery capacity to fast. I have also enabled “child” security, so that you can’t control the valve manually.
Hope to get the ECO2 builtin daily temperature control timer on/off function presented as a mqtt message ( only a “on/off” function, timer’s is easy to setup via phone app).
Well, thanks, I’ll have a look at it these days. As I read across it, I didn’t realy get how to install the requirements in Hass.io and where to put the scripts, but I will try to figure it out
Anyway I ordered one Eco to see how I like them ^^
@rucky … I use two Raspberry Pi Zero’s, for the basement and first floor. They only run Adam’s code and scripts. Hassio just receives the mqtt messages