Open mlaciak opened 2 years ago
oh, sorry, I must have missed notification about your message. I'm not using T5, T6 in my configuration as I have no sensors connected there so I cannot test that issue.
You could just try the implementation from mvdklip https://github.com/mvdklip/Domoticz-Hewalex - it's very well written there is also an example script (/hewalex_geco/examples/zps_example.py) that should print everything :)
I can confirm this issue - I have connected sensors to T5 and T6 inputs and the controller shows values on the LCD display. It is possible, that I need to change also the Schema to use all 6 sensors - that is my working idea & I just have to find a schema that corresponds with my installation. I will test that later.
Well, it looks like the controller is not sending the T5 & T6 values through RS485. Strange.
I've tried to restart the controller to go through the startup calibration process, but without success.
I have tried the https://github.com/mvdklip/Domoticz-Hewalex code, but with the same results:
python3 zps_example.py
{'date': '2022-09-28', 'time': '19:59:25', 'T1': 12.0, 'T2': 39.0, 'T3': 25.0, 'T4': 39.0, 'T5': 0.0, 'T6': 0.0, 'CollectorPower': 0, 'Consumption': 2.7, 'CollectorActive': False, 'FlowRate': 0.0, 'CollectorPumpON': False, 'CirculationPumpON': True, 'CollectorPumpSpeed': 0, 'TotalEnergy': 6299.8}
So far only the T1-T4 are working.
But the EKO-LAN modem which is sending the data to online server is getting the date from RS485 and it shows the correct values on the webpage
I don't have the EKO-LAN. Could you connect with a separate RS485 cable and sniff the EKO-LAN / GECO communication? And then send the raw data or hex dump it to me with some actual temperature values (mainly T5 and T6) so I can analyze the data. Maybe this way we can figure it out...
Also - have you tried the zps_example.py from https://github.com/mvdklip/Domoticz-Hewalex ? It's possible, that you will get the same result as me - T5, T6=0 but just to be sure...
I don not have access to it at the moment, but i tested zps_example when I was at my parents home and i'm sure that T5 == 0 and T6 == 0 too.
I was running the script, and from what i can see ekontrol is showing T1-T6 (All of them have values) Solar controller also shows T1-T6...unfortunatelly T5 and T6 from the hewalex2mqtt.py is always = 0. I've tried to print values for each iReg
print("---------------" + str(iReg) + "------------" + str(twos_complement(hexstr, 16)))
but none of the values matched T5 or T6. Do we need to have additional request like the one in lines 28-34? If so, how to get that?