Skip to content

project-hermes/hermes-firebase

Repository files navigation

hermes-firebase

Join the chat at https://gitter.im/hermes-firebase/Lobby Build Status Codacy Badge Dependencies

Firebase code for project hermes

To devel

$ npm install -g firebase-tools
$ firebase serve   # Start development server
$ firebase deploy  # Deploy new version of everything

To deploy only the functions

$ firebase deploy -P staging --only=functions

Databse

All data is layed out in Google Firestore document databse

{
    "Sensor": {
        "s2d4t6rdw46yew3f": {
            "Name": "hermes1",
            "Id": 12334,
            "FirmwareV": 0.05,
            "BuildV": 0.01,
            "LastUpdate": 1543742463,
            "Mode": "debug",
            "Dive": {
                "3d3r5fw32r45fgr56yne46ewg": {
                    "Time": 153453533,
                    "Start Lat": 23.24323432,
                    "Start Long": -31.2423424,
                    "End Lat": 23.456435,
                    "End Long": -31.564564,
                    "Duration": 1234345,
                    "Name": "key largo",
                    "Diver": "Brad Bazemore",
                    "Data": {
                        "2s23d43654f4yef53g43q": {
                            "time": 154575673,
                            "temp": 89.34,
                            "depth": 6547
                        },
                        "4r43fr5tr44rfw34tfe4t": {
                            "time": 154575679,
                            "temp": 89.42,
                            "depth": 6553
                        }
                    }
                }
            }
        }
    }
}

Releases

No releases published

Packages

No packages published

Languages