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

How to determine byte position in composed datapoints? #97

Open
philippoo66 opened this issue Feb 7, 2025 · 5 comments
Open

How to determine byte position in composed datapoints? #97

philippoo66 opened this issue Feb 7, 2025 · 5 comments

Comments

@philippoo66
Copy link
Owner

e.g. with CU401B_S we have 19 1-byte values at addr. 0x1410:

Image

so from what do we know which byte belongs to which value?

we are missing some info like 'BytePosition'...

initially I thought perhaps EventTypeOrder of ecnEventTypeEventTypeGroupLink might be the key but this seems to be a dead end

Image

@FransOv
Copy link
Collaborator

FransOv commented Feb 8, 2025

I think comparing the result of 0x1410 from different systems in different states might help. This is from a Vitocal 300-G with two heating circuits HK1 and HK2 both heating at the time:
1;0x1410;00000300000000000000000000000101000100
The 3 in there is intriguing as all values should be either 0 or 1.
That was yesterday.
Now if I switch HK2 off It looks like:
1;0x1410;00000100000000040400040000000100000100
Switching HK2 on again:
1;0x1410;00000300000000040400040000000101000100
The 4's seem to be related to an error situation that existed: Error 81, a fanthom error originating from the NC-Box. When I reset the error, the 4's disappear.
I fear determining the order of the bytes is not sufficient to decode this datapoint.

@meks007
Copy link

meks007 commented Feb 23, 2025

i'm currently trying to get frost protection from 0x1410, this is what 1410 looks like right now with frost protection currently ON.
one heating circuit, turned on but not heating right now:

1;5136;000001000100000000000000000001000000

will be taking another value tomorrow when it's warmer.

@meks007
Copy link

meks007 commented Feb 24, 2025

so this is it with frost protection on and off
000001000100000000000000000001000000 <-- on
000001000000000000000000000001000000 <-- off

byte 5 is frost prot for heating circuit 1

@ChrisOertel
Copy link

Die Frage ist ja, wie man das sicher rausbekommt, was was ist und ob es generell gilt und auch noch Gerätespezifisch ist. Für meine vitoCal 222 hab ich mich für folgendes entschieden (Heizkreis 1), was zu Deiner Erkenntnis passt:

Ist der Frostschutz generell eingeschaltet => (4,"WP.HK1.FrostschutzEingeschaltet (1410_2)",0x1410,19,'b:2:2'),
Ist der Frostschutz jetzt gerade aufgrund der Außentemperatur aktiv => (4,"WP.HK1.FrostschutzAktiv (1410_4)",0x1410,19,'b:4:4'),

@philippoo66
Copy link
Owner Author

finding the byte positions empirically might be a way BUT I think the position assignment should be documented somewhere in the SQL/xml data, don't you 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

4 participants