Comments (2)
We could see that as a consecuence of the design. The in-memory store is
designed for quick testing and thus it is not supposed to be used once and
again against a single context broker, unless a careful clean is performed
before shutting the IOTA down. I would suggest, if you are going to reuse
the devices, to activate the MongoDB repository.
El 11 mar. 2016 12:14, "ezequiel-umu" [email protected] escribió:
I have a device which subscribes to configuration value "luminosidad", but
each time I deploy new software, I restart the IoTA MQTT (which is
configured to memory instead of mongodb), I do the device provide again,
and each time I do this I end up with more and more messages in Mosquitto
topic /1234/MQTT/configuration/values:{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120928Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120928Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120928Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120928Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120928Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120928Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120928Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120929Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120929Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120929Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120929Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120929Z"}
{"Boton":" ","luminosidad":"40","prueba":"15","dt":"20160311T120929Z"}This got triggered by a single change in Context Broker. It looks like
each time the IoTA is restarted, it does subscribe to those values again,
but it doesn't clear the subscriptions done before.It is intended? Is there a quick fix?
—
Reply to this email directly or view it on GitHub
#101.
from iotagent-json.
Then I suggest to change default configuration to use mongodb as in:
https://github.com/telefonicaid/lightweightm2m-iotagent/blob/master/config.js
which doesn't cause this behaviour.
Thank you.
from iotagent-json.
Related Issues (20)
- 400 when use ``` "entity_name": "'David:Prueba'" ``` HOT 2
- No plain text command return option HOT 1
- Payload measures are lost after reconnection with Orion.
- iotagent- json should be used in place of iotagent-ul in commandsPolling-test.js HOT 2
- existing entities are overwritten when creating a device HOT 4
- MongoDB connection, authentication failed HOT 9
- Fiware IoT Agent json is changing the service path of incoming messages if it is high load HOT 14
- Support of Content Type: application/soap+xml HOT 4
- iotaJsonTester.js is missing from the repository HOT 3
- Allow ingest ngsiv2/ngsild as measure for iotagent HOT 2
- Differences between `explicitAttrs` behaviour at lib and at agent level HOT 6
- Support \t in Content-Type header HOT 2
- constants.DEFAULT_ATTRIBUTE_TYPE is string instead of Text HOT 3
- include apikey error log at measure procesing HOT 1
- Keep order from a multimeasure to Orion CB HOT 4
- The agent does not send data to the Orion Context Broker with a request payload of 566 KB HOT 9
- Broken link in README.md HOT 2
- Attributes name & static attributes not mapped in Orion when inserted in the Device provisioning phase HOT 6
- modify apikey in a provisioned device HOT 7
- querying devices by static attributes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotagent-json.