You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Theenoro 147f8f3b55 „README.md“ ändern 9 months ago
config init 1 year ago
controller added a little bit of doc 9 months ago
img added a little bit of doc 9 months ago
static added a little bit of doc 9 months ago
.gitignore init 1 year ago
LICENSE Initial commit 1 year ago
README.md „README.md“ ändern 9 months ago
index.js 0001 1 year ago
package-lock.json init 1 year ago
package.json init 1 year ago
test.js init 1 year ago

README.md

weather-streamoverlay

Requirements

  • raspberry pi
  • sensor hub for raspberry pi
  • nodejs

Install / Config

Config

Copy config/config.example.js to config/config.js and edit the file. API key and City name from : https://openweathermap.org/

Install dependencies

npm install

Run

node index.js

Useage

Navigate in your browser to http://<ip>:8989 or add a Browser source with the url in your streaming software like obs or so. The webclient will get every 10 seconds data from the webserver, every 30 sec it will change from temperature to humidity and back. The outside weather data is cached and will be requested every 10 min, while the insidetemp is almost live data, cause of the 10 secods which I mentioned earlier.

IMG

i = inside - o = outside

temperature

./img/1.png

humidity

./img/2.png