Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/starwhooper/rpi-esp8266-temphumi-collector
Detect ESP8266 by itself, try to grep the weather information and publish it to website
https://github.com/starwhooper/rpi-esp8266-temphumi-collector
esp8266 macvendors openweathermap
Last synced: 4 days ago
JSON representation
Detect ESP8266 by itself, try to grep the weather information and publish it to website
- Host: GitHub
- URL: https://github.com/starwhooper/rpi-esp8266-temphumi-collector
- Owner: Starwhooper
- License: cc-by-sa-4.0
- Created: 2021-07-16T20:08:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T17:33:03.000Z (about 2 years ago)
- Last Synced: 2023-07-28T18:40:58.485Z (over 1 year ago)
- Topics: esp8266, macvendors, openweathermap
- Language: Python
- Homepage:
- Size: 157 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RPI-ESP8266-temphumi-collector
Detect ESP8266 by itself, try to grep the weather information and publish it to websiteIt also use API from https://macvendors.co
The information from booth sources will be cached, to reduce the workload
![Display](https://github.com/Starwhooper/RPi-ESP8266-temphumi-collector/blob/master/examples/wetter.png)
## install ##
```bash
cd /opt
sudo apt-get install python3-pip && sudo pip3 install getmac
sudo git clone https://github.com/Starwhooper/RPi-ESP8266-temphumi-collector
sudo chmod +x /opt/RPi-ESP8266-temphumi-collector/collect.py
sudo mkdir /opt/RPi-ESP8266-temphumi-collector/cache
```## Update ##
If you already use it, feel free to update with
```bash
cd /opt/RPi-ESP8266-temphumi-collector
sudo git pull origin main
```## Configure ##
copy example configuration at first time:
```bash
cp /opt/RPi-ESP8266-temphumi-collector/config.json.example /opt/RPi-ESP8266-temphumi-collector/config.json
```edit config file
It use API from https://openweathermap.org, please add you API Key in config.json
```bash
sudo nano /opt/RPi-ESP8266-temphumi-collector/config.json
```## start ##
add to cronjob
```bash
sudo crontab -e
*/5 * * * * /opt/RPi-ESP8266-temphumi-collector/collect.py
```