Skip to content

Latest commit

 

History

73 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ele Services

Alerting

Make sure to place the sense-ele-firebase-service-account.json file at the root.

Run npm start

Check nodes/gateways

Set the hausra key and graphql endpoint as environment variable

export HASURASECRET=HASURA_KEY

export GQLENDPOINT=GRAPH_QL_ENDPOINT

Saving it in ~/.bash_profile is a better option

Run the checkNodes / checkGateways

node cron/checkNodes.js '10 mins' 1

This should most likely be called every x mins as a cron job.

About

Server functions

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages