Page 2 sur 2

Re: Esp8266 ne repond pas aux actionx (ON / OFF) de switch dans Domoticz

Publié : 17 oct. 2023, 17:07
par neo
Peux-tu essayer cette commande ssh à partir de ton serveur domoticz :

Code : Tout sélectionner

curl -i http://x.x.x.x/cm?cmnd=Power%20Toggle
chez moi ça donne ça :

Code : Tout sélectionner

HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: -1
Access-Control-Allow-Origin: *
Accept-Ranges: none
Transfer-Encoding: chunked
Connection: close

{"idx":7,"nvalue":1,"svalue":"","Battery":100,"RSSI":8,"POWER":"ON"}