Seems like your unit uses a different memory address for the temperature. There is no official documentation for the API so I am basically reverse-engineering it all. What is the exact model of the unit?
I might be able to fix this but I need some more information for debugging from you.
Please do the following on your PC (not Home Assistant):
- Install python3
- Install pyatrea module with console/terminal pip “pip install pyatrea” or “pip3 install pyatrea”
- Create a new file, debug.py with following content (please change IP and password to your atrea unit):
atrea = pyatrea.Atrea("atrea IP","your atrea password")
status = atrea.getStatus()
if(status == False):
for id, value in status.items():
print(id + " - " + atrea.getTranslation(id) + ":" + value)
- Sign in to your atrea web interface through web browser
- Turn on the unit and let it start so that you can see the temperatures via UI on the webpage
The script above outputs everything that is currently saved/provided by the unit, we are trying to figure out the correct addresses for the outside, inside and supply air temperatures.
Now the important step:
Run the script by executing “python3 debug.py” and note down the temperatures shown in the user interface of the unit.
There should be a memory address which has the same value as temperature shown in the UI, multiplied by 10. (Example: I10202 - The TEa temperature sensor value - the air temperature of the outside or indoor air (according the unit orientation setting):82 - this corresponds to 8.2 outside temperature on my unit)
When you are done, please send me all the reported temperatures you noted down (ideally also a screenshot) and the output of the script. This will help me figure out the difference between our units.