Closed manucarrace closed 4 years ago
It worked to me with a device provisioned like: just with different object_id per attribute an then sending measure:
mosquitto_pub -h localhost -t /json/mhbgcrkex4j4rif2rlq3uo5ut/contador12/attrs -m '{"cont1": 34}' -u iota -P 'XXXX'
It seems that multientity plugins is not working well when attributes object_id is the same, since that plugin relies sometimes in that value https://github.com/telefonicaid/iotagent-node-lib/blob/master/lib/plugins/multiEntity.js#L176
Once PR https://github.com/telefonicaid/iotagent-node-lib/pull/878 has been merged, can this issue be closed?
A device with the following data:
When a measure is sent to the iotagent, only the first two entities are properly updated. The rest of entities are not updated with the value of the attribute.
Device was provisioned with:
If we change the name of the attribute "vol" by a specific name for each entity (lets say vol1, vol2, vol3 and vol4) it works.