Skip to content

Software that collects sensor data in JSON format and collects in a database MongoDB

License

Notifications You must be signed in to change notification settings

gioditalia/MongoSens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoSens

Java software that collects sensor data in json format and collects in a database MongoDB

#Let's start The key part of the software is mongosens the server.
Also crucial is the configuration file: config.json
alt tag
The first part is used to access the database.

  • "IP":"111.222.333.444"
  • "username":"admin"
  • "password":"secretpass"
  • "userdatabase":"admin"

The second part configures collections used.

It defines the key fundamentals for the sensors and the control of errors.

  • "tag_key":"tags"
  • "update_key":"Last update"
  • "battery_key":"Battery level"
  • "loc_key":["longitude","latitude"]
  • "id_key":"id"

Finally sets the time of collection and minimal configuration to respond to client.

  • "lapse":1800
  • "port":8888
  • "bind_IP":"127.0.0.1"

About

Software that collects sensor data in JSON format and collects in a database MongoDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages