Hi at all!
I need to receive the events generated by a particular thing.
i found this api:
// ThingStatusInfoChangedEvent - The status of a thing changed.
curl "http://{openHAB_IP}:8080/rest/events?topics=smarthome/things/{thingUID}/statuschanged"
i don’t have found other information about this api. How to work?
The output is json?
Where i receive notification ? (is an Observer Pattern ?)
Where do you need this? If you’re not building a binding, just create a rule with a Thing status trigger. Or link an Item to the Channel and trigger the rule on an Item state change.
I need to receive event in an android application.
I’m searching for trigger event form item end receive in android app. For now only solution is an item with a rule with action (SendHttp…) and recive this with Android app.
I can’t using cloud for notify the status change.