Overview of Addresses and Home Assistant discovery snippets #65
Replies: 9 comments 38 replies
-
It will sadly never be a simple copy/paste. The heatpumps differ to much in what parameters are relevant for each type. The example I made in the wiki for the 300-G (https://github.com/philippoo66/optolink-splitter/wiki/210-Home-Assistant-Integration-of-Optolink%E2%80%90Splitter) has been adapted by several other users. I might be an idea to invite all users of Optolink-Splitter to share their polling list and, if they are using Homeassistant their discovery json. |
Beta Was this translation helpful? Give feedback.
-
Yes, I agree that "copy/paste" sets expectations too high. It would be more accurate to talk about providing additional examples or sharing files, as you suggested. I did the same and tried to adapt the given example from the wiki to the Excel file. As you mentioned, it’s hard to read and challenging for someone who isn’t a developer. That’s why I also thought about sharing such files. Creating a table was just an idea, but sharing files could also be a way to support beginners and non-professionals. The structure and format should be easy to access. Since the Excel file needs to be downloaded and uploaded again, it’s not ideal. However, regardless of the file format, it could be extended with columns for the Another idea I could imagine is creating wiki pages to share complete files in a tree structure organized by device (e.g., CU401B-S). |
Beta Was this translation helpful? Give feedback.
-
That could work. It will need some preparation though. You cannot open up the wiki pages for everyone. At some time this is bound to attract abuse when it becomes wider known. @philippoo66 the wiki has been open to editing for some time now, what is your experience with this? |
Beta Was this translation helpful? Give feedback.
-
There is some info on moderating discussions https://github.com/github/docs/blob/main/content/discussions/managing-discussions-for-your-community/moderating-discussions.md |
Beta Was this translation helpful? Give feedback.
-
I'm afraid creating a pull request is somewhat above the skill set of a casual user. I'd prefer a pinned discussion with a top item inviting viewers to share their polling lists, their way of integrating with Home Automation systems and other suggestions for the wiki. It would then be up to the collaborators to promote a contribution to the wiki. Only collaborators then need write access to the wiki. In this way it would also be possible to maintain a sort of house style for the wiki. |
Beta Was this translation helpful? Give feedback.
-
Hi Phil,
I’ll make the changes, but it will be the middle of next week before I can find time. I did shift a deadline from this week to the next as I had to integrate a new inverter. Installed an SMA Home Storage Battery that needed a hybrid inverter and that hybrid inverter did not present the PV Yield via ModBus. So a change that should have been simple turned out to have more consequences than foreseen. Learned a lot though, but I now need to work on that deadline (that is not even interesting work).
The way you propose the change to the poll_list file is nice, will not break existing installations. I’ll change the create_entities script and put in in the code section. Changing the script to a file dialog is no great effort, but it needs installation of an additional package that is not readily available on older Python versions. So let’s keep it simple with the fixed filename.
Regards,
Frans
From: Phil ***@***.***>
Sent: vrijdag 10 januari 2025 14:46
To: philippoo66/optolink-splitter ***@***.***>
Cc: FransOv ***@***.***>; Mention ***@***.***>
Subject: Re: [philippoo66/optolink-splitter] Overview of Addresses and Home Assistant discovery snippets (Discussion #65)
hi @FransOv <https://github.com/FransOv> !
I'm looking for a tree-structure for the collection page
With heatpumps I'm not sure how best to structure - 200/300 or S/A/G or ... (I don't know nothing regarding heat pumps ;-) )
could you please edit the page to raise a tree!? and perhaps already add the first sammple/s (yours)?!
I think with the splitter I will implement something like
if(file.exists('poll_list.py'):
polldata = poll_list.poll_list
else:
polldata = settings_ini.poll_list
This way we could use poll_list.py's directly copied from the Wiki page.
The create_entities.py script we should add to the project, always using file entities.json
What do you think?!
—
Reply to this email directly, view it on GitHub <#65 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AN2P65YW7ZA3MOSZEGFCAOL2J7FHZAVCNFSM6AAAAABUIUQCSOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZZHAZTMMY> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AN2P6557G4PPNOHQHYXNZUT2J7FHZA5CNFSM6AAAAABUIUQCSOWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAWQDVW.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
Hello together, i'm using HA for about 1 year to control a Vitocal 200-16.A, PV with storage, room temperature and so on... It's realy hard to find out all the addresses, e.g. to see if dwh active, compressor running, one shot dhw, etc... |
Beta Was this translation helpful? Give feedback.
-
I finally found the datapoint for the mixer valve of the divicon on HK2, the third byte of an 8 byte value at 0x0600, 0 to 100%: |
Beta Was this translation helpful? Give feedback.
-
Today also found the Error codes of the Vitocal heatpumps in case of an error situation. It is a 256 bitstring (32 bytes) at 0x0700. The hex position of a one bit in the bitstring (zero-based) is the diagnostic message code. {% set bits=states("sensor.vitocal_errormsg")|list %}
{% set ns=namespace(errors="") %}
{% set ns.pos=[[8,1],[4,2],[2,3],[1,4]] %}
{% for bit in bits %}
{% if bit!="0" %}
{% set q=bit|int(base=16) %}
{% set bx=loop.index*4 %}
{% for px in ns.pos %}
{% if q|bitwise_and(px[0])!=0 %}
{% set ns.errors=ns.errors~'{:X}'.format(bx+px[1])~" " %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{{ ns.errors }} |
Beta Was this translation helpful? Give feedback.
-
Thank you for this great project!
I would love to contribute by sharing my verified data points and also contributing snippets for the Home Assistant discovery. From my point of view, it would be helpful to create a table with the
poll_items
for thesettings_ini
and theJSON
item forHome Assistant
. This way, it would be a simple copy & paste for everyone. Unfortunately, this list here is quite hard to read, and there might be better solutions for GitHub: https://github.com/openv/openv/wiki/AdressenExample entry for the Water storage temperature
Device
settings_ini
JSON
Please let me know what you think about this, and feel free to create a template if possible.
Beta Was this translation helpful? Give feedback.
All reactions