Bonjour,
Dans Jeedom Script j'ai mis:
Type script: JSON
Requête: curl -k -v -X GET -H "Accept:application/json" -H "X-Version: 1.0" -H "X-Token:1818d9e666ee92a39097c7302999c1b9"
Options (URL du ficher JSON): "http://api.flukso.net/sensor/f6276e2f33731d5776bd610f8b85078c&interval=month&unit=watt"
ERROR:
1.Message de script: Echec de la requete http: Curl error: malfommed.
2. Message de http.com Erreur curl: maformed sur la commanden après 4 relance(s)
Bien à vous
"&" != "?" - you did not send a correct query - manual page 12/13; https://www.flukso.net/files/flm02/manual.pdf - to not keep most forum members out of the discussion, could you switch to English, please?
Better use the MQTT variant anyway - see https://www.flukso.net/content/r223-release-notes and https://www.flukso.net/content/mqtt-mq-telemetry-transport
Yes it is better for me english. I changed & dans ?...
"http://api.flukso.net/sensor/f6276e2f33731d5776bd610f8b85078c?interval=month&unit=watt"
I don't know if Jeedom suport MQTT... I dont know to use it. There are examples?
If Jeedom uses PHP for mapping protocols (see https://wiki.jeedom.fr/index.php?title=Plugin) then anything supported by PHP can be used; and then it is just one G**gle search away --> http://mqtt.org/wiki/doku.php/mosquitto-php