ESAI-CEU-UCH / raspi-monitoring-system

The monitoring system developed for Raspberry Pi under the project GV/2015/088
MIT License
2 stars 1 forks source link

Creation of Mongo database at ESAINET #4

Closed pakozm closed 9 years ago

pakozm commented 9 years ago

Use this issue to describe the database created at ESAINET for persistence of monitoring data and configuration files.

pakozm commented 9 years ago

Database created with namespace raspimon and following collections:

{
    "_id": ObjectID("5644ab2044344ff66efe25ca"),
    "start_date": Timestamp(1447343054, 0),
    "name": "D361",
    "location": "Despacho 361 for debug purposes",
    "macs": [
        "b827eb7c62d8"
    ],
    "description": "None",
    "stop_date": null
}
{
    "_id": ObjectID("5644afef44344ff66efe25cb"),
    "source": "plugwise",
    "house": "D361",
    "sink": "000D6F000452459C",
    "raspi": "bcaec57122fc",
    "circles": [
        {
            "mac": "000D6F0005671DC3",
            "desc": "Telephone D361 IMF",
            "name": "D361:telephone"
        },
        {
            "mac": "000D6F00004BFA7C",
            "desc": "Raspberry pi bcaec57122fc",
            "name": "D361:raspi"
        }
    ]
}
{
    "_id": ObjectID("5644b63f1268c3d61689f746"),
    "basetime": Timestamp(1447343677, 0),
    "source": "dummy",
    "times": [
        Timestamp(1447343678, 0)
    ],
    "values": [
        10.4
    ]
}