Hi, I bought a sample Danfoss Eco device - bluetooth app controlled standalone radiator valve thermostat, described here:
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.
Im looking for support too
Any luck in getting the code from Github to work and if so how to do it? Thanks
Any news or update regarding this? I’ve just got 1 for Christmas and 2x z spirit, and I’m wondering if I should return this danfoss thermostat.
In advance thanks
This looks the most promising: https://github.com/dsltip/Danfoss-BLE as far as I can see should be do-able but needs some work
Got setpoint and current temperature working, now onto settings and update of setpoint.
Great news! Please share what you have
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 ?
Thanks in advance,
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.
Just added ability to modify the set-point temperature. It works as expected.
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.
examples of other BLE thermostats are e.g. here https://github.com/esphome/esphome-core/blob/dev/src/esphome/esp32_ble_tracker.cpp
when time permits I will look at what is required to build some code for esphome, and maybe we can collaborate on this ?
Did you make any progress on these ? i’m also interested in integrating these TRV in home assistant via esphome Bluetooth.
This one seems promising, running on a RPI B+ and any Linux based system with Bluetooth LE device:
Connect your Danfoss Eco BLE to Home Assistant
Last activity on the feature branch was 2 months ago
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 )
Thanks up front,
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 ^^
Again, thanks a lot =)
@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