I would like to read to value of an switch item via http.
The return of the http call should only be the item value, no complicated XML structure or so.
I know that I can write via the “http://openhab.IP:8080/CMD?MySwitch=ON”, but now I need the oposite and the return should only be “ON” if possible.
Does anyone has a suggestion for me?
Thanks a lot.