Hi all,

I am looking for a URL to get the status of a HomeduinoContactSensor via command line.
I have found something for HomeduinoSwitch which provides the right output but for a switch device:

wget -qO- http://<user>:<pwd>@<ip>/api/device/<device>/getState
“result”: false,
“success”: true

Currently I am working with a workaround to mirror the status of the sensor to a DummySwitch via a rule but this is not very reliable and has not the right performance.

Any idea or chance to provide this with a next Homeduino version?