[ https://jira.fiware.org/browse/HELP-17893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fernando Lopez reassigned HELP-17893: ------------------------------------- Assignee: Fermín Galán > [fiware-stackoverflow] fiware-Orion context broker subcription does not send every value even if same previous value > -------------------------------------------------------------------------------------------------------------------- > > Key: HELP-17893 > URL: https://jira.fiware.org/browse/HELP-17893 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Assignee: Fermín Galán > Labels: entity, fiware, fiware-orion, subscription > > Created question in FIWARE Q/A platform on 17-06-2021 at 14:06 > {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/68021651/fiware-orion-context-broker-subcription-does-not-send-every-value-even-if-same-p > +Question:+ > fiware-Orion context broker subcription does not send every value even if same previous value > +Description:+ > I have a script and draco subscription . Script posts sensor values to orion CB and and draco writes sensor values to postgreSQL. I can send and write data succesfully. My problem is if the sequential sensor values comes same draco is not send new data to PSQL. timeStamp attribute keeps current date time and it also change every post. How can i send the same sequential values data to PSQL. > my entity: > "id": "sensor0", > "type": "Sensor", > "dataCount": { > "type": "Number", > "value": 11, > "metadata": {} > }, > "dateLastValueReported": { > "type": "Text", > "value": "01.05.2018-00:55:00", > "metadata": {} > }, > "name": { > "type": "Text", > "value": "Diswasher Power Sensor", > "metadata": {} > }, > "value": { > "type": "Number", > "value": 0.0000333, > "metadata": {} > }, > "time":{ > "type": "Text", > "value": timeStamp, > } > }``` > my subscription > ```{ > > "subject": { > "entities": [ > { > "idPattern": ".*" > } > ], > "condition": { > "attrs": [ > "value" > ] > } > }, > "notification": { > "attrs": [ > "dataCount", > "value" > ], > "attrsFormat": "normalized", > "http": { > "url": "http://localhost:5050/v2/notify" > } > } > }``` -- This message was sent by Atlassian JIRA (v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy