Skip to content

Appiko/server-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Releases

No releases published

Packages

No packages published