Closed yovesmlmt closed 2 years ago
Hello @yovesmlmt, Thank you for the link. That document is the localapi integration guide. I have to review it for the changes with the localapi that is already integrated in python-airzone, but in the meantime, have you already tried to configure this plugin using the localapi part?
Would you mind making a request to the localapi url using the zone = 0 as parameter to check if it still returns the list of zones?
hi sorry but i'm quite a newbie to APIs. I am trying to install postman or something similar in some windows to use the GET commands. But I'm pretty lost. If I find the answer to your request, I will send it to you as soon as possible
Hello, You can use any rest client (curl for example) or chrome extension like this(https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo?hl=es-419) that allows you to make the request. You should be able to make a POST request to your http://localapiipserver:3000/api/v1/hvac with the following body as JSON:
{
"systemID": 0,
"zoneID":0
}
(The systemID number is the one that is shown in the airzone app)
Hello, I have tried to POST from the chrome extension that you indicated and the server does not respond.
http://192.168.1.190:3000/api/v1/hvac
The point is that I ping it without problem.
ping 192.168.1.190
Pinging 192.168.1.190 with 32 bytes of data: Reply from 192.168.1.190: bytes = 32 time = 201ms TTL = 64 Reply from 192.168.1.190: bytes = 32 time = 114ms TTL = 64 Reply from 192.168.1.190: bytes = 32 time = 122ms TTL = 64 Reply from 192.168.1.190: bytes = 32 time = 8ms TTL = 64
I don't know if I have to do something in the gateway to activate the local API
I just saw that my webserver is WiFi.
It may be that that is why the documentation I sent you does not work.
If someone has an ethernet cable webserver, they can help you.
Hello @yovesmlmt So the wifi webserver doesn't have localapi capabilities?
Also, I was just asking you to check the api to confirm that it works the same as the one I have already implemented.
From what I'm seeing, it doesn't seem like my wifi module has localAPI integration. I have to open the Airzone console to secure the wifi module that I have
That is the error that gives me. I do not know if I have launched the parameter correctly. The versión of my gateway is 3.36, upgrade by Arirzone.
Hello @joasara Would you mind try with SystemID = 1?
The same result.
Can you confirm that your system ID is 1? Also can you test using zoneID 1
I confirmed that my system ID is 1. In the second test, i try but the result is the same.
It should work :( I suggest to ask Airzone :( Can you test the "integration" part, at least o check if that is working: post to api/v1/integration with the body
{ "driver": "integrador"}
Last try could be using a different rest client, and double checking the body (write it directly { "systemID": 1, "zoneID":0} (Be Careful with the double quotes when you copy and paste)
Nothing. I try again but i dont have result. I open a ticket to Airzone. In other forum say that is a error from the new firmware of webserver. I tell you when their respond.
https://github.com/max13fr/Airzonecloud-HomeAssistant/issues/19#issuecomment-969062735
I have good news. The SAT of Airzone say that is an error of LocalAPI in the new version of firmware. They have updated this service. Now, i have Airzone configure in HomeAssistant again.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Hello. Here I send you a link of the documentation for the Flexa 3.0 API
https://doc.airzone.es/producto/Gama_AZ6/Airzone/Comunes/Manuales/MI_AZ6_WSCLAPI_A4_MUL.pdf
Thank you for your work and I hope you integrate it in the not too distant future.
Greetings