cloudspout-button-panel icon indicating copy to clipboard operation
cloudspout-button-panel copied to clipboard

Parametrisation of openhab2 switch item curl

Open Jusufs opened this issue 3 years ago • 1 comments

Please how to parametrize in Grafana plugin CloudSpout Button Panel according following openhab2 rest api statement: curl --header 'Content-Type: text/plain' --request POST --data 'ON' 'http://openhabIP:8080/rest/items/BasicSwitch4' or curl -X POST --header "Content-Type: text/plain" --header "Accept: application/json" -d "OFF" "http://openhabIP:8080/rest/items/BasicSwitch4".

Version numbers: Grafana 8.2.5, CloudSpout LLC Button Panel, Raspbian buster,

Running on RPi4 4GB

Thanks.

Jusufs avatar May 03 '22 22:05 Jusufs

Solution for Openhab2, maybe also OH3 ??? http://openhabIP:8080/classicui/CMD?BasicSwitch4=TOGGLE

Jusufs avatar May 05 '22 07:05 Jusufs