Bi-monthly release with major changes to INDI properties and client API in addition to new drivers and improvements.
# read config files
for file in ['/etc/weatherradio.ini',
'/usr/local/share/weatherradio/weatherradio.ini']:
self.config.read(file)
Please Log in or Create an account to join the conversation.
Establishing connection SUCCEEDED to "Device:1"@192.168.2.245:7624
Reading weather data from "Weather Radio"@192.168.2.245:7624
Reading weather parameter...
Reading weather parameter... (succeeded)
Reading sensor data from "Weather Radio"@192.168.2.245:7624
#-----------------------------------------------------------------------
# Configuration file for weather radio.
#-----------------------------------------------------------------------
[WeatherRadio]
# INDI server delivering weather data
INDISERVER = 192.168.2.245
INDIPORT = 7624
# RRD storage holding time series data
RRDFILE = /usr/share/weatherradio/weather.rrd
# RRD storage holding time series for raw sensor data
RRDSENSORSFILE = /usr/share/weatherradio/sensors.rrd
# path to the JSON files holding the data
DATAPATH = /usr/share/weatherradio/html/data
# path to the directory holding web cam images and videos
MEDIADIR = /usr/share/weatherradio/html/media
#-----------------------------------------------------------------------
# configure INDI devices - create for each a separate section and
# let its name start with Device
#-----------------------------------------------------------------------
[Device:1]
# INDI device name
INDIDEVICE = Weather Radio
# INDI device connection mode: Ethernet or Serial
INDIDEVICEMODE = Ethernet
# INDI serial device port (only necessary for Serial mode)
###INDIDEVICEPORT = /dev/ttyUSB0
# INDI IP address (only necessary for Ethernet mode)
INDI_IP_ADDRESS = 192.168.2.155
# INDI IP port (only necessary for Ethernet mode)
INDI_IP_PORT = 80
# Geo Coordinates - Latitude (as decimal)
GEO_COORD_LAT = 45.5
# Geo Coordinates - Longitude (as decimal)
GEO_COORD_LONG = -75.75
# Geo Coordinates - Elevation (as decimal)
GEO_COORD_ELEV = 60.0
# [Device:2]
# INDIDEVICE = Rain Radio
# INDIDEVICEMODE = Serial
# INDIDEVICEPORT = /dev/ttyUSB0
# INDI_IP_ADDRESS = 172.28.4.42
# INDI_IP_PORT = 80
# GEO_COORD_LAT = 43.916876
# GEO_COORD_LONG = 5.716624
# GEO_COORD_ELEV = 650.0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
{"weather":{"Davis Anemometer":{"init":true,"direction":98,"avg speed":0.320915908,"min speed":0.22614342,"max speed":0.552159548,"rotations":8},"RG11 Rain Sensor":{"init":true,"mode":"drop detect","count":0,"drop freq":0},"BME280":{"init":true,"Temp":32.72999954,"Pres":1012.715942,"Hum":80.35742188},"MLX90614":{"init":true,"T amb":49.36998749,"T obj":3.249993801},"TSL2591":{"init":true,"Lux":60971.78516,"Visible":63550,"IR":19968,"Gain":0,"Timing":1}}}
Please Log in or Create an account to join the conversation.
rrdtool fetch weather.rrd AVERAGE -s -6h
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.