Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parametrisation of openhab2 switch item curl #80

Open
Jusufs opened this issue May 3, 2022 · 1 comment
Open

Parametrisation of openhab2 switch item curl #80

Jusufs opened this issue May 3, 2022 · 1 comment

Comments

@Jusufs
Copy link

Jusufs commented May 3, 2022

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
Copy link
Author

Jusufs commented May 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant