rellit / resol-vbus-python

Python Script to read RESOL VBUS Data over LAN
MIT License
14 stars 12 forks source link

Question #12

Closed df8oe closed 1 year ago

df8oe commented 1 year ago

I am working with Resol-MX and LAN connection using Python3 (You can look at my fork on my repository). I have strange behaviour that would impact using the script for getting data for a time database...

When I call the script it seems to be "by chance" if I get data of 0x7e11 DeltaSol MX [Regler] or of 0x7e21 DeltaSol MX [Heizkreis 1]. Sometimes I get data of "Regler", sometimes of "Heizkreis1". I already have switched to debug but I am unable to identify the problem. I attach both logs. Can you identify what is going wrong? resol-py_Regler.txt resol-py_Heizkreis1.txt

99technetium commented 1 year ago

did you try to increase the number of expected_packets? I'm pretty new to vbus but it looks like "Regler" and "Heizkreis" are treated as multiple devices and hence packets.

df8oe commented 1 year ago

Thank you for this hint. I have increased number of expected packages and now it is working stable. The reason I was not stumbled over this value was that it sometimes worked before - without changing anything. Very interesting behaviour :)