Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tinytux/sensor
Micro Python with Elasticsearch, Logstash and Kibana Dashboard
https://github.com/tinytux/sensor
Last synced: 3 months ago
JSON representation
Micro Python with Elasticsearch, Logstash and Kibana Dashboard
- Host: GitHub
- URL: https://github.com/tinytux/sensor
- Owner: tinytux
- License: mit
- Created: 2014-11-09T09:53:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T20:12:42.000Z (about 7 years ago)
- Last Synced: 2024-01-17T02:47:07.414Z (6 months ago)
- Language: Python
- Homepage:
- Size: 98.3 MB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-micropython-lib - sensor - MicroPython with Elasticsearch, Logstash and Kibana Dashboard (Database)
README
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](sensor-micropython.jpg "Sensor with Micro Python PYB v1.0")
Source code: [micropython](micropython)
## Kibana Dashboard
Elasticsearch, Logstash and Kibana can be used to visualize the log data:
![screenshot](sensor-dashboard-screenshot.png "Sensor dashboard screenshot")
(A more advanced dashboard with Docker can be found [here](https://github.com/tinytux/solar-dashboard))
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.txtThen visit [http://localhost:9292/index.html#/dashboard/elasticsearch/SensorDashboard](http://localhost:9292/index.html#/dashboard/elasticsearch/SensorDashboard)
Source code: [dashboard](dashboard)