Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Allow changing settings, time and schedules? #7

Open
fragger42 opened this issue Jan 17, 2021 · 2 comments
Open

Enhancement: Allow changing settings, time and schedules? #7

fragger42 opened this issue Jan 17, 2021 · 2 comments

Comments

@fragger42
Copy link

fragger42 commented Jan 17, 2021

Is it possible to enhance etrv2mqtt to allow full functionality of the app? Currently etrv2mqtt is kind of limited to only set the temperature in manual mode and display some values.

As far as I can see there are the following more possibilities:

  • settings: Allow changing between heating modes (manuel etc.), vacation periods etc.
  • schedules: The thermostats allow setting schedules that run independently on them so you have some kind of autonomity from your smarthome system
  • current time: When you change the batteries, time is lost and needs to be reset. Currently, you need to connect with the Danfoss app to set the time as there is no other possibility to do so.

settings and time seems to be implemented already in cli of libetrv (at least for display but probably it works the same as with temperature?). For the schedule I think there is already something in it (schedule.py) but it looks incomplete to me?

@keton
Copy link
Owner

keton commented Jan 17, 2021

etrv2mqtt is just a protocol translator between Home assistant autodiscovery and libetrv. From the description it sounds like libetrv has to be updated first. Then it would be good idea that someone would test it since I don't have those devices anymore. I'm also not sure that HA has those functionalities within autodiscovered thermostat object.

@fragger42
Copy link
Author

I could test it, that's no problem and I can also program a bit in python but I'm not sure how it would be implemented correctly.

I'm actually using etrv2mqtt with Openhab as this also works fine and MQTT is kind of universal. Autodiscovery doesn't work in Openhab because the MQTT binding of Openhab hasn't implemented a mapping for the Climate control but manually adding the etrvs works very good.

Settings and Time is already available in libetrv with an example for reading (writing would need tests but I don't see why it should not work), I edited my start post a few times and you were a bit too fast I think ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants