Takes the barometer reading that is published with owntracks client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
README.md
baro.htm
cloudy.png
face.png
hand.png
mqttws31.js
rain.png
screenshot.png
shadow.png
sun.png

README.md

Owntracks-Barometer

Quick example of what is possible when using owntracks for iOS, an mqtt broker with websockets enabled and the new pressure reading value.

This webpage subscribes to the owntracks topic owntracks/username/devicename and waits for a message payload in JSON format.

When it recieves the p value which is the barometric pressure in kPa (kilo Pascal) it converts it to hPa (hectopascals)and plots it on the gauge.

The values are at the altitude of the reading, not at sea level, I haven't added that feature. This was just a quick example of something you can do with Owntracks.

All settings: mqtt broker, port and topic are set in baro.htm