I have a ShellSensor which is updated at regular intervals as usual. The interval is set to onec per day or once per week e.g… Is it possible to trigger the command on demand between the cycles by rules. Currently I can not set the value attributes of ShellSensors in a rule. Is this right?
-
How to update Sensor value?
-
@duongtn34
It is possible to trigger the ShellSensor command via the REST API. See “callDeviceAction” at https://pimatic.org/api/actions/. Further below you can see the HTTP request pattern for the REST call, i.e.I thought the command is defined as an action, but it is not.GET /api/device/:deviceId/:actionName
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law