Page 1 of 1

Dummy Motion Sensor Actions not working

Posted: Wednesday 22 January 2025 22:14
by Jemand
Hi

I have a dummy motion sensor which is controller through the api. This works but if I set the motion sensor to "on" the on-Action is not triggered. The motion sensor show the motion symbol in the overview but the acition url is not getting called. The same for the "off" action.

This is how I set it active of not active: .../json.htm?type=command&param=udevice&nvalue=1&idx=9043 // or $nvalue=0 for inactive.

Is this not gonna work through the api?

Re: Dummy Motion Sensor Actions not working

Posted: Wednesday 22 January 2025 22:26
by Jemand
Okay, I found the solution. I have to use this api command:
For on:
.../json.htm?type=command&param=switchlight&idx=9043&switchcmd=On
For off:
.../json.htm?type=command&param=switchlight&idx=9043&switchcmd=Off