Egyras / HeishaMon

Panasonic Aquarea air-water H, J, K and L series protocol decrypt
226 stars 116 forks source link

HTTP REST API sometimes not responding #243

Open Aea263 opened 2 years ago

Aea263 commented 2 years ago

Just started HeishaMon a couple Weeks Ago, I noticed some issues on HTTP REST API, sometimes the http command request didin´t work I check the console but just shows rx commands, is there any way to troubleshoot the HTTP REST API method?.

Thanks in advance

IgorYbema commented 2 years ago

Your automation should have a logic inside to check if a new value (with setcommand) has been acknowledge by checking the received values a few seconds later and try again if it didn't change. Using the rest api is less preferred as the webserver on the heishamon is not always responding properly. Mqtt will guarantee delivery of a request. But also then your automation should check if a command is processed and resend the command if not.