Trip reactor sensor via LUUP request?

Is the above possible?
I know you can arm a sensor via a HTTP string but is it possible to trip one?

Yes, there is a Trip action (and a Reset action) that can be requested. Both take no parameters:

http://your-vera-local-ip/port_3480/data_request?id=action&DeviceNum=NN&serviceId=urn%3Atoggledbits-com%3AserviceId%3AReactorSensor&action=Trip

where your-vera-local-ip is your Vera’s local IP address (as usual with such things) and NN is the device number of your ReactorSensor.

Since 2.2 and up ReactorSensors implement the urn:upnp-org:serviceId:SwitchPower1 service, you can also use the SetTarget action on them, as you would a light switch/bulb, where newTargetValue=1 (on) means trip and newTargetValue=0 (off) mean untrip/reset. It also supports urn:micasaverde-com:serviceId:HaDevice1/ToggleState to toggle between them.

Note, however, that no matter which way you decide to do it, the trip state is only persistent until the next evaluation of the RS. At that point, the RS will set itself to whatever state its configured conditions would require. When a sensor does such a reevaluation is entirely dependent on the conditions–any change in a value that drives/underlies a condition of the RS will cause a reevaluation.

1 Like

Excellent news - Thanks for your swift reply :slight_smile:

1 Like

Hi Patrick,

Finally had some time to set this up and it is working exactly as documented.
Next question…
Is there any way to trigger a sub-group of a sensor via LUUP, rather than the main sensor?

Thanks,

Chris

No, group triggering is exclusively through logic at the moment. Running group activities as you would a scene has been something I’ve considered, but not yet settled on.