Skip to content
/ sensor Public

Micro Python with Elasticsearch, Logstash and Kibana Dashboard

License

Notifications You must be signed in to change notification settings

tinytux/sensor

Repository files navigation

sensor

Humidity and temperature logger on Micro Python PYB v1.0

The humidity and temperature is recorded periodically (every 5 minutes) to a log file on the SD card.

Micro Python data logger

Required hardware:

  • Micro Python PYB v1.0
  • Adafruit HIH6130 Humidity Sensor Breakout
  • Adafruit 7-segment LED HT16K33 backpack

image

Source code: micropython

Kibana Dashboard

Elasticsearch, Logstash and Kibana can be used to visualize the log data:

screenshot

(A more advanced dashboard with Docker can be found here)

Usage on Debian Jessie 8:

$ sudo apt-get install default-jre-headless curl
$ git clone https://github.com/tinytux/sensor.git
$ cd sensor/dashboard
$ ./start.sh
$ ./feedlogs.sh ./logdata/logdata.txt

Then visit http://localhost:9292/index.html#/dashboard/elasticsearch/SensorDashboard

Source code: dashboard

About

Micro Python with Elasticsearch, Logstash and Kibana Dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published