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
Optolink platform to integrate Viessmann heating units into Home Assistant #4453
base: dev
Are you sure you want to change the base?
Conversation
Hey there @j0ta29, CODEOWNERS = ["@j0ta29"] And run (message by NeedsCodeownersLabel) |
@j0ta29 how do you connect the Optolink adapter to the ESP? I would like to help with testing, but I only have a USB adapter with vcontrold in use. |
@tunip , thanks for offering help. I'm still working on the documentation, where I plan to integrate information for the hardware stuff. |
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
@jesserockz , thanks for your review and feedback.
Yes, that is correct.
You mean the Text Components invented in release 2023.11? |
Esphome is one thing but there is no relevant entity type in HA to sync from... |
@adorobis , what about that? -> https://www.home-assistant.io/integrations/schedule/ |
Oh, interesting. I didn't know it existed :) A bit limited though - only on/off for a weekly schedule as far as I can see. But for thermostat type of schedule should be good enough. |
----------- ========= BREAKING CHANGES ========= -----------
Refer to updated PR documentation https://deploy-preview-2737--esphome.netlify.app/components/optolink |
The |
I'm trying to figure out, whether/how I could access the daily schedule of my warm water production on my Vitocal 333. These datapoints are separate per day and values are 24 bytes. In the controller I can set 4 different values for every hour. The documentation states "5+3" with 5-bit hour and 3 bit minutes in 15min raster. This seems not right, as I can set only one value per hour and the "value" has to be encoded there. I assume the last 3 (2?) Bits are the value 0-3. However, I found no way to really glimpse at those values, as none of the options allows me to read a 24 Byte record and display any value, not even the unaltered hex bytes. Is it possible to get a RAW (HEX/DEBUG) return as Text(?) without limiting the possible values to either 9 (text_sensor / RAW) or 56 (DAY_SCHEDULE)? Maybe the high-level OptoLink component is not the optimal tool to explore uncharted voids in datapoint land, but I have just that piece of hardware. |
I also suspect that the documentation „5+3“ is wrong. In my version of ecnEventType.xml there is a statement „every quarter of an hour gets 2 bits“. These two bits encode the operation mode. Try to configure a sensor with 4 byte and the address of the datapoint and you should get the time slot 0:00 AM to 4:00 AM of Monday. Feel free to open a pull request at https://github.com/j0ta29/esphome/issues so we can add support for 168 byte schedules and continue the discussion at that place. |
I was not aware that I can request smaller or bigger byte length than documented. The individual weekdays have their own datapoints from 0x901c to 0x9022 (MO to SU), 24 bytes each. I try and report back for verification with the known values. I seem to refer to the same exnEventType table but interpreted the values wrongly. did not work out. :-(
does compile, but is rejected from the interface. I presume, length "4" is not supported with this datapoint (is defined as 24) I cannot set bytes to "24", as this does not compile - would result in a HUGE integer... I guess, I have to poke around with other software, as the component is not meant to request arbitrary length from arbitrary address to get "raw" data for debugging purpose. I tried the VitoWIFI documentation but this has limited examples too. Nothing larger than 4 Bytes. |
@adorobis I try this , but it does not work. With this, I got no more sensors and no more log :
This didnt do anything , I think it is an aynchronous timer :
|
What does this implement/fix?
Monitor and control your Viessmann heating components via an Optolink adapter controlled by ESP microcontroller
Types of changes
Related issue or feature (if applicable): N/A
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#2737
Test Environment
Example entry for
config.yaml
:Checklist:
tests/
folder).If user exposed functionality or configuration variables are added/changed: