Forum eedomus
http://forum.eedomus.fr/

Changes with API or HTTP?
http://forum.eedomus.fr/viewtopic.php?f=37&t=10637
Page 1 sur 1
Auteur:  rauljerico [ 07 Avr 2021 21:50 ]
Sujet du message:  Changes with API or HTTP?

Hi, I was using Eedomus with Home Assistant with RESTful platform https://www.home-assistant.io/integrations/rest/

Since a few months the requests from Eedomus aren't available in HA.

I think is something about chunks and the format of the request...

bash-5.0# curl -X GET -L -I "http://192.168.xxx.xxx/api/get?api_user=xxxxxx&api_secret=yyyyyyyyyyyyyyyy&action=periph.caract&periph_id=zzzzzzz"
HTTP/1.1 200 OK
Date: Wed, 07 Apr 2021 16:40:02 GMT
Server: Apache
Access-Control-Allow-Origin: *
Set-Cookie: PHPSESSID=a1c8c72a46278a28c190f617c8337ba0; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: text/html

I was testing something with the API and it works!

bash-5.0# curl -X GET -L -I "http://api.eedomus.com/get?api_user=xxxxxx&api_secret=yyyyyyyyyyyyyyyy&action=periph.caract&periph_id=zzzzzzz"
HTTP/1.1 200 OK
Date: Wed, 07 Apr 2021 16:40:07 GMT
Server: eedomus
Access-Control-Allow-Origin: *
Vary: Accept-Encoding
Content-Length: 217
Content-Type: text/html; charset=ISO-8859-1

Maybe in any update there has been any changes? Obviously, with the API method my API petitions are overload :P

Any idea?

Thanks
Auteur:  merguez07 [ 08 Avr 2021 07:59 ]
Sujet du message:  Re: Changes with API or HTTP?

Hi,

open a ticket and give me the number

sincerely
Page 1 sur 1 Le fuseau horaire est UTC+1 heure