Skip to content

TamataSpiru Design App

Romain Tourte edited this page Feb 20, 2017 · 1 revision

Index.js

WebServer in NodeJS, Access with webclient onto http://localhost:8080

node Index.js

/config

Main config file to paramater General Info, Alerts, Sensors, Actors

Config Raspi Camera

/lib

Library in charge of managing Sensors and Relays

  • getTemperature()
  • getRed()
  • getGreen()
  • getBlue()

Library in charge of managing Relays ( Light, Heat, Bubler )

  • setLight(boolean)
  • setBubler(boolean)
  • setHeat(boolean)

/systools

Scripts uses peer Crontab app to schedule task and recording data

/views

Front-End interface in ejs.

  • indexW3.ejs Main page for TamataSpiru WebApp
  • dashboard.ejs Get a view for Kibana Dashboard and Graphics
  • schedW3.ejs Scheduling tab On/Off for light, heat, bubler
  • alertsW3.ejs Define Alert Max and Min for Temperature, Light...
  • remoteW3.ejs Remote acces Tab to Start/Stop actors, take a snapshoot.