--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
group_wind = km_per_hour
? Or would that cause some miscalculations of wind data?So would the answer be to have weewx-mqtt transmit in METRICWX and then specify in the skin options group_wind = km_per_hour
? Or would that cause some miscalculations of wind data?
[StdRestful]
[[MQTT]]
...
unit_system = METRIC # default to metric
[[[inputs]]]
[[[[outTemp]]]]
name = inside_temperature # use a label other than outTemp
format = %.2f # two decimal places of precision
units = degree_F # convert outTemp to F, others in C
[[[[windSpeed]]]]
units = knot # convert the wind speed to knots
[StdRestful]
[[MQTT]]
...
unit_system = METRIC # default to metric
[[[inputs]]] [[[[dayRain]]]] name = dayRain_mm units = mm
[[MQTT]]
#This section is for the MQTT service setup
server_url = mqtt://192.168.20.121:1883/
topic = weather/41south
unit_system = METRIC
[[[Inputs]]]
[[[[dayRain]]]]
name = dayRain_mm
units = mm
binding = loop
aggregation = aggregate
log_success = False
log_failure = True
--
Log onto your broker from your phone or computer and subscribe to the topic and check for messages. Specifically the dateTime message is what changes the status. Also after a weewx restart it may take it a minute or two to populate all observations.
Nov 21 17:00:15 raspberrypi weewx[6939]: restx: MQTT: Published record 2018-11-21 17:00:00 NZDT (1542772800)
Nov 21 17:00:20 raspberrypi weewx[6939]: cheetahgenerator: Generated 14 files for report StandardReport in 4.81 seconds
Nov 21 17:00:23 raspberrypi weewx[6939]: imagegenerator: Generated 24 images for StandardReport in 2.74 seconds
Nov 21 17:00:23 raspberrypi weewx[6939]: copygenerator: copied 9 files to /var/www/html/weewx
Nov 21 17:00:32 raspberrypi weewx[6939]: cheetahgenerator: Generated 4 files for report Highcharts_Belchertown in 9.49 seconds
Nov 21 17:00:32 raspberrypi weewx[6939]: copygenerator: copied 0 files to /var/www/html/weewx/belchertown
Nov 21 17:00:32 raspberrypi weewx[6939]: Belchertown Extension: version 0.8rc2
Nov 21 17:00:40 raspberrypi weewx[6939]: cheetahgenerator: Generated 12 files for report Belchertown in 7.22 seconds
Nov 21 17:00:40 raspberrypi weewx[6939]: copygenerator: copied 22 files to /var/www/html/weewx/belchertown
Nov 21 17:05:16 raspberrypi weewx[6939]: manager: Added record 2018-11-21 17:05:00 NZDT (1542773100) to database 'weewx.sdb'
Nov 21 17:05:16 raspberrypi weewx[6939]: manager: Added record 2018-11-21 17:05:00 NZDT (1542773100) to daily summary in 'weewx.sdb'
Nov 21 17:05:16 raspberrypi weewx[6939]: restx: MQTT: Published record 2018-11-21 17:05:00 NZDT (1542773100)
Nov 21 17:05:18 raspberrypi weewx[6939]: cheetahgenerator: Generated 14 files for report StandardReport in 1.75 seconds
Nov 21 17:05:19 raspberrypi weewx[6939]: imagegenerator: Generated 12 images for StandardReport in 0.89 seconds
Nov 21 17:05:19 raspberrypi weewx[6939]: copygenerator: copied 0 files to /var/www/html/weewx
Nov 21 17:05:28 raspberrypi weewx[6939]: cheetahgenerator: Generated 4 files for report Highcharts_Belchertown in 9.04 seconds
Nov 21 17:05:28 raspberrypi weewx[6939]: copygenerator: copied 0 files to /var/www/html/weewx/belchertown
Nov 21 17:05:29 raspberrypi weewx[6939]: cheetahgenerator: Generated 12 files for report Belchertown in 1.61 seconds
Nov 21 17:05:29 raspberrypi weewx[6939]: copygenerator: copied 1 files to /var/www/html/weewx/belchertown
This is my MQTT section in weewx.conf, the skin just says "Connected. Waiting for data" and never gets any. I'll have a look for errors[[MQTT]]
#This section is for the MQTT service setup
server_url = mqtt://192.168.20.121:1883/
topic = weather/41south
unit_system = METRIC
[[[Inputs]]]
[[[[dayRain]]]]
name = dayRain_mm
units = mm
binding = loop
aggregation = aggregate
log_success = False
log_failure = True
[[MQTT]]
server_url = mqtt://192.168.20.121:1883/
topic = weather/41south
unit_system = METRIC
[[[Inputs]]]
[[[[dayRain]]]]
name = dayRain_mm
units = mm
binding = loop
aggregation = aggregate
log_success = False
log_failure = True
[[MQTT]]
binding = loop
aggregation = aggregate
log_success = False
log_failure = True
[[[Inputs]]]
[[[[dayRain]]]]
name = dayRain_mm
units = mm
--
[[MQTT]]
#This section is for the MQTT service setup
server_url = mqtt://192.168.20.121:1883/
topic = weather/41south
unit_system = METRIC
binding = loop
aggregation = aggregate
log_success = False
log_failure = True
[[[inputs]]]
[[[[dayRain]]]]
name = dayRain_mm
units = mm
[[[[rainRate]]]]
name = rainRate_mm_per_hour
units = mm_per_hour