SpaceWeather: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (add barometer subproject) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
Op MQTT kan je subscriben op: | Op MQTT kan je subscriben op: | ||
mosquitto_sub -h mosquitto.revspace.nl -t "revspace/weather" -v | mosquitto_sub -h mosquitto.revspace.nl -t "revspace/weather/#" -v | ||
of | |||
mqtt-simple -h mosquitto -s "revspace/weather/#" | mqtt-simple -h mosquitto -s "revspace/weather/#" | ||
Line 20: | Line 23: | ||
===Code=== | ===Code=== | ||
Code: https://github.com/jelly/SpaceWeather/tree/master/publisher | Code: https://github.com/jelly/SpaceWeather/tree/master/publisher | ||
===Barometer=== | |||
Barometer to show the current pressure in the Space. Design ideas https://canvas-gauges.com/documentation/examples/ |
Latest revision as of 13:37, 26 September 2016
Project SpaceWeather | |
---|---|
Mooi weertje he? | |
Status | In progress |
Contact | Jelly |
Last Update | 2016-09-26 |
Het space weather project publiceert het huidige weerbericht en een voorspelling voor de komende 3 uur op MQTT.
MQTT
Op MQTT kan je subscriben op:
mosquitto_sub -h mosquitto.revspace.nl -t "revspace/weather/#" -v
of
mqtt-simple -h mosquitto -s "revspace/weather/#"
De MQTT data komt van de openweathermap en wordt met een Python scriptje via een cronjob op een shell account naar MQTT gepushed.
Code
Code: https://github.com/jelly/SpaceWeather/tree/master/publisher
Barometer
Barometer to show the current pressure in the Space. Design ideas https://canvas-gauges.com/documentation/examples/