Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:
Description
Created question in FIWARE Q/A platform on 04-10-2021 at 14:10
Please, ANSWER this question AT https://stackoverflow.com/questions/69437937/events-and-actions-in-fiware-ngsi-entities
Question:
Events and actions in Fiware NGSI entities
Description:
Let assume we have an entity corresponding to an IoT controller device, let say a door controller.
We want to define an event that could cause an action (open/close). So we need to send a command to this device.
How would we make this happen? Add an attribute in the entity like for example setDoorStatus that can be written to via the NGSI API? And then have some IoT agent or command handler subscribe to this attribute?
Is there any example of a Data Model where this is done?
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
HD-Enabler | Unknown [ 10910 ] | |
HD-Chapter | Unknown [ 10845 ] | |
HD-Node | Unknown [ 10852 ] |
Assignee | Jason Fox [ jason.fox ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Summary | [fiware-stackoverflow] Events and actions in Fiware NGSI entities | FIWARE.Question.Tech.Events and actions in Fiware NGSI entities. |
HD-Enabler | Unknown [ 10910 ] | |
HD-Chapter | Unknown [ 10845 ] | |
HD-Node | Unknown [ 10852 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
1d 23h 59m | 1 | Backlog Manager | 07/Oct/21 7:31 AM | |||||
|
23h 59m | 1 | Backlog Manager | 08/Oct/21 7:31 AM | |||||
|
31d 2h 57m | 1 | Jason Fox | 08/Nov/21 9:28 AM |
2021-10-05 05:31|CREATED monitor | # answers= 0, accepted answer= False