herikw / home-assistant-custom-components

Atag One Custom components for Home-Assistant
GNU General Public License v3.0
11 stars 5 forks source link

Water pressure not shown in ATAG intergration #44

Open papabak opened 2 months ago

papabak commented 2 months ago

My ATAG One is been connected to a Weheat Blackbird heatpump last February. Since this connection the ATAG integration in Home Assistant still works fine with the exception of the water pressure being 0 instead of a real value. What can be the cause of this? The water pressure still shows on the ATAG instrument itself.

I reinstalled the integration but that was not the solution.

Before the heatpump was installed the water pressure was correctly reported by the integration.

Core: 2024.8.3 Supervisor: 2024.08.0 Operating System: 13.1 Frontend: 20240809.0

herikw commented 2 months ago

Hi papabak, Are you using the atag_one_ch_water_pressure sensor? Please check the last update time to see if it is updating correctly. Also have a look at the logs to see it any error is displayed there.

image

papabak commented 2 months ago

Hi Herik,

Indeed that is the sensor that previously reported the CH water pressure. It shows a flat line at 0.0 bar. The other sensors from the ATAG report a nice curve. This started when the ATAG is connected to the WeHeat Blackbird heatpump in februari. Regretfully the HA log doesn’t go that far in the past.

[Image.png]

Verzonden vanuit Outlook voor iOShttps://aka.ms/o0ukef


Van: Herik @.> Verzonden: Wednesday, August 28, 2024 5:18:48 PM Aan: herikw/home-assistant-custom-components @.> CC: papabak @.>; Author @.> Onderwerp: Re: [herikw/home-assistant-custom-components] Water pressure not shown in ATAG intergration (Issue #44)

Hi papabak, Are you using the atag_one_ch_water_pressure sensor? Please check the last update time to see if it is updating correctly. Also have a look at the logs to see it any error is displayed there.

image.png (view on web)https://github.com/user-attachments/assets/f509e660-7fff-47e3-bc4e-780ff7bdf075

— Reply to this email directly, view it on GitHubhttps://github.com/herikw/home-assistant-custom-components/issues/44#issuecomment-2315653683, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXKSE3ZLP7PB6OUCSQB32ELZTXS5RAVCNFSM6AAAAABNGPQR4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGY2TGNRYGM. You are receiving this because you authored the thread.Message ID: @.***>

papabak commented 1 month ago

Hi HerikW, do you have a suggestion how to get the ATAG CH water pressure to be reported in HA again?

herikw commented 1 month ago

Hi papabak,

It's difficult to troubleshoot for me because I do not have a similar configuration with a heatpump. What you can try is to run the following powershell script on any windows device in your network. Replace the IP address with the IP address of your ATAG One thermostat. This way we can determine if your ATAG is returning the correct value when using a API call. Look for the value of ch_water_pres in the output

Open a powershell command line and run the following:

$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" $headers.Add("Content-Type", "application/json")

_$body = @" { "retrieve_message": { "seqnr": 0, "account_auth": { "user_account": "", "mac_address": "11111111-2222-3333-4444-555555555555" }, "info": 8 } } "@_

$response = Invoke-RestMethod 'http://**192.168.100.27**:10000/retrieve' -Method 'POST' -Headers $headers -Body $body $response | ConvertTo-Json

Or if you want to use CURL

_curl --location 'http://**192.168.100.27**:10000/retrieve' \ --header 'Content-Type: application/json' \ --data '{ "retrieve_message": { "seqnr": 0, "account_auth": { "user_account": "", "macaddress": "11111111-2222-3333-4444-555555555555" }, "info": 8 } }'