Changes with API or HTTP?

Let's talk about the box itself

Changes with API or HTTP?

Messagepar rauljerico » 07 Avr 2021 21:50

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
rauljerico
 
Messages : 2
Inscription : 22 Juin 2018

Re: Changes with API or HTTP?

Messagepar merguez07 » 08 Avr 2021 07:59

Hi,

open a ticket and give me the number

sincerely
tuto 1 -->Programmation des scripts Eedomus
tuto 2 -->SmartDevice
tuto 3 -->Le déclenchement de règles
scripts -->Météo du jour | GH Thermostat | TotalWatt | Detecfire | smartbattery
Skype Eedomus -->lien vers le skype Eedomus
merguez07
 
Messages : 2351
Inscription : 15 Sep 2017
Localisation : Le Teil en Ardèche


Retour vers The eedomus box

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 0 invité(s)