You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
thank you for the great work around weews-belchertown skin.
As a newbie, I'm actually doing my first steps with weewx, running in a docker container.
I use weewx-MQTTSubscribe to receive data from my MQTT-Broker.
This already works fine, but I can see no results in the Report.
Maybe I did a wrong configuration, so that the received topics can't be shown in Belchertwon skin. Here is a part of the Debug-Logs:
Feb 20 11:07:43 weewx[19] DEBUG user.MQTTSubscribe: (Driver) MessageCallbackProvider data-> incoming topic: zigbee2mqtt/temp_balkon_02, QOS: 0, retain: 0, payload: b'{"battery":68,"humidity":77.48,"linkquality":143,"pressure":1001.4,"temperature":9.41,"voltage":2945}'
Feb 20 11:07:43 weewx[19] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> incoming zigbee2mqtt/temp_balkon_02: battery: 68.0, humidity: 77.48, linkquality: 143.0, pressure: 1001.4, temperature: 9.41, voltage: 2945.0
Feb 20 11:07:43 weewx[19] DEBUG user.MQTTSubscribe: (Driver) MessageCallbackProvider data-> incoming topic: zigbee2mqtt/temp_balkon_02, QOS: 0, retain: 0, payload: b'{"battery":68,"humidity":77.18,"linkquality":127,"pressure":1001.4,"temperature":9.41,"voltage":2945}'
Feb 20 11:07:43 weewx[19] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> incoming zigbee2mqtt/temp_balkon_02: battery: 68.0, humidity: 77.18, linkquality: 127.0, pressure: 1001.4, temperature: 9.41, voltage: 2945.0
Feb 20 11:07:43 weewx[19] DEBUG user.MQTTSubscribe: (Driver) MessageCallbackProvider data-> incoming topic: zigbee2mqtt/temp_balkon_02, QOS: 0, retain: 0, payload: b'{"battery":68,"humidity":77.18,"linkquality":151,"pressure":1001,"temperature":9.41,"voltage":2945}'
Feb 20 11:07:43 weewx[19] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> incoming zigbee2mqtt/temp_balkon_02: battery: 68.0, humidity: 77.18, linkquality: 151.0, pressure: 1001.0, temperature: 9.41, voltage: 2945.0
Feb 20 11:07:45 weewx[19] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> outgoing zigbee2mqtt/temp_balkon_02: battery: 68.0, dateTime: 1645351663.7800632, humidity: 77.48, linkquality: 143.0, pressure: 1001.4, temperature: 9.41, usUnits: 16, voltage: 2945.0
Feb 20 11:07:45 weewx[19] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is zigbee2mqtt/temp_balkon_02 2022-02-20 11:07:43 CET (1645351663): battery: 68.0, dateTime: 1645351663.7800632, humidity: 77.48, linkquality: 143.0, pressure: 1001.4, temperature: 9.41, usUnits: 16, voltage: 2945.0
Feb 20 11:07:45 weewx[19] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> outgoing zigbee2mqtt/temp_balkon_02: battery: 68.0, dateTime: 1645351663.7851195, humidity: 77.18, linkquality: 127.0, pressure: 1001.4, temperature: 9.41, usUnits: 16, voltage: 2945.0
Feb 20 11:07:45 weewx[19] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is zigbee2mqtt/temp_balkon_02 2022-02-20 11:07:43 CET (1645351663): battery: 68.0, dateTime: 1645351663.7851195, humidity: 77.18, linkquality: 127.0, pressure: 1001.4, temperature: 9.41, usUnits: 16, voltage: 2945.0
Feb 20 11:07:45 weewx[19] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> outgoing zigbee2mqtt/temp_balkon_02: battery: 68.0, dateTime: 1645351663.7914526, humidity: 77.18, linkquality: 151.0, pressure: 1001.0, temperature: 9.41, usUnits: 16, voltage: 2945.0
Feb 20 11:07:45 weewx[19] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is zigbee2mqtt/temp_balkon_02 2022-02-20 11:07:43 CET (1645351663): battery: 68.0, dateTime: 1645351663.7914526, humidity: 77.18, linkquality: 151.0, pressure: 1001.0, temperature: 9.41, usUnits: 16, voltage: 2945.0
Feb 20 11:29:42 weewx[19] DEBUG user.MQTTSubscribe: (Driver) MessageCallbackProvider data-> incoming topic: zigbee2mqtt/temp_balkon_02, QOS: 0, retain: 0, payload: b'{"battery":68,"humidity":76.25,"linkquality":239,"pressure":1001.19,"temperature":9.59,"voltage":2945}'
Feb 20 11:29:42 weewx[19] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> incoming zigbee2mqtt/temp_balkon_02: battery: 68.0, humidity: 76.25, linkquality: 239.0, pressure: 1001.19, temperature: 9.59, voltage: 2945.0
Feb 20 11:29:44 weewx[19] DEBUG user.MQTTSubscribe: (Driver) TopicManager data-> outgoing zigbee2mqtt/temp_balkon_02: battery: 68.0, dateTime: 1645352982.6237662, humidity: 76.25, linkquality: 239.0, pressure: 1001.19, temperature: 9.59, usUnits: 16, voltage: 2945.0
Feb 20 11:29:44 weewx[19] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is zigbee2mqtt/temp_balkon_02 2022-02-20 11:29:42 CET (1645352982): battery: 68.0, dateTime: 1645352982.6237662, humidity: 76.25, linkquality: 239.0, pressure: 1001.19, temperature: 9.59, usUnits: 16, voltage: 2945.0
Feb 20 11:29:44 weewx[19] DEBUG user.MQTTSubscribe: (Driver) No archive topic configured.
Feb 20 11:29:44 weewx[19] INFO weewx.manager: Added record 2022-02-20 11:10:00 CET (1645351800) to database 'weewx.sdb'
Feb 20 11:29:44 weewx[19] INFO weewx.manager: Added record 2022-02-20 11:10:00 CET (1645351800) to daily summary in 'weewx.sdb'
Feb 20 11:29:45 weewx[19] DEBUG weewx.reportengine: Running reports for latest time in the database.
Feb 20 11:29:45 weewx[19] DEBUG weewx.reportengine: Report 'SeasonsReport' not enabled. Skipping.
Feb 20 11:29:45 weewx[19] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Feb 20 11:29:45 weewx[19] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Feb 20 11:29:45 weewx[19] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Feb 20 11:29:45 weewx[19] DEBUG weewx.reportengine: Running report 'Belchertown'
Feb 20 11:29:45 weewx[19] DEBUG weewx.reportengine: Found configuration file /home/weewx/skins/Belchertown/skin.conf for report 'Belchertown'
Feb 20 11:29:45 weewx[19] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', 'user.belchertown.getData']
Feb 20 11:29:45 weewx[19] DEBUG weewx.manager: Daily summary version is 4.0
Feb 20 11:29:45 weewx[19] INFO weewx.cheetahgenerator: Generated 11 files for report Belchertown in 0.80 seconds
Feb 20 11:29:45 weewx[19] INFO weewx.reportengine: Copied 2 files to /home/weewx/public_html/belchertown
Feb 20 11:29:46 weewx[19] DEBUG weewx.manager: Daily summary version is 4.0
Feb 20 11:29:46 weewx[19] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Feb 20 11:29:46 weewx[19] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
An here my (first steps of) configuration in weewx.conf:
[MQTTSubscribeDriver]
# This section is for the MQTTSubscribe driver.
# The driver to use:
driver = user.MQTTSubscribe
# The MQTT server.
# Default is localhost.
host = 192.168.xxx.xxx
# The port to connect to.
# Default is 1883.
port = 1883
# Maximum period in seconds allowed between communications with the broker.
# Default is 60.
keepalive = 60
# username for broker authentication.
# Default is None.
username = None
# password for broker authentication.
# Default is None.
password = None
# Configuration for the message callback.
[[message_callback]]
type = json
# The topics to subscribe to.
[[topics]]
unit_system = METRIC
[[[zigbee2mqtt/temp_balkon_02]]]
[[[Battery]]]
ignore = True
[[[linkquality]]]
ignore = True
[[[temperature]]]
name = outTemp
ignore = False
contains_total = False
conversion_type = float
units = degree_C
[[[humidity]]]
name = outHumidity
ignore = False
[[[pressure]]]
name = pressure
ignore = False
[[[voltage]]]
ignore = True
and
[StdReport]
# Where the skins reside, relative to WEEWX_ROOT
SKIN_ROOT = skins
# Where the generated reports should go, relative to WEEWX_ROOT
HTML_ROOT = public_html
# The database binding indicates which data should be used in reports.
data_binding = wx_binding
# Whether to log a successful operation
log_success = True
# Whether to log an unsuccessful operation
log_failure = True
# Each of the following subsections defines a report that will be run.
# See the customizing guide to change the units, plot types and line
# colors, modify the fonts, display additional sensor data, and other
# customizations. Many of those changes can be made here by overriding
# parameters, or by modifying templates within the skin itself.
[[SeasonsReport]]
# The SeasonsReport uses the 'Seasons' skin, which contains the
# images, templates and plots for the report.
skin = Seasons
enable = false
[[SmartphoneReport]]
# The SmartphoneReport uses the 'Smartphone' skin, and the images and
# files are placed in a dedicated subdirectory.
skin = Smartphone
enable = false
HTML_ROOT = public_html/smartphone
[[MobileReport]]
# The MobileReport uses the 'Mobile' skin, and the images and files
# are placed in a dedicated subdirectory.
skin = Mobile
enable = false
HTML_ROOT = public_html/mobile
[[StandardReport]]
# This is the old "Standard" skin. By default, it is not enabled.
skin = Standard
enable = false
[[Belchertown]]
skin = Belchertown
HTML_ROOT = public_html/belchertown
enable = true
So can you help me with the configuration? Did I forget something important? What else do I have to concider?
I would be gratefull for every kind of help!
By the way, I did a test with running the "Simulator" driver. On that way I coud see exposed values in the graphs on the Belchertown-Skin.
Thanks for your help in advance and best regards - Daniel
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
thank you for the great work around weews-belchertown skin.
As a newbie, I'm actually doing my first steps with weewx, running in a docker container.
I use weewx-MQTTSubscribe to receive data from my MQTT-Broker.
This already works fine, but I can see no results in the Report.
Maybe I did a wrong configuration, so that the received topics can't be shown in Belchertwon skin. Here is a part of the Debug-Logs:
An here my (first steps of) configuration in weewx.conf:
and
So can you help me with the configuration? Did I forget something important? What else do I have to concider?
I would be gratefull for every kind of help!
By the way, I did a test with running the "Simulator" driver. On that way I coud see exposed values in the graphs on the Belchertown-Skin.
Thanks for your help in advance and best regards - Daniel
Beta Was this translation helpful? Give feedback.
All reactions