Comments (1)
@roe-dl
When you have a chance I am interested in a bit more information. In #126, I inferred that when you set logging_level = TRACE
that DEBUG
level messages where not being logged. In a quick test, it is working for me. I get the following.
2021-04-07 13:52:30 DEBUG (Driver) MessageCallbackProvider data-> incoming topic: weather/loop, QOS: 0, retain: 0, payload: b'{"dateTime": "1617817952", "usUnits": "1", "barometer": "29.481", "inTemp": "78.2", "inHumidity": "30.0", "outTemp": "61.4", "windSpeed": "0.0", "windSpeed10": "0.0", "outHumidity": "60.0", "rainRate": "0.0", "UV": "2.2", "radiation": "362.0", "stormRain": "0.0", "dayRain": "0.0", "monthRain": "0.27", "yearRain": "3.54", "dayET": "0.039", "monthET": "0.49", "yearET": "3.31", "leafWet4": "0.0", "insideAlarm": "0", "rainAlarm": "0", "outsideAlarm1": "0", "outsideAlarm2": "0", "extraAlarm1": "0", "extraAlarm2": "0", "extraAlarm3": "0", "extraAlarm4": "0", "extraAlarm5": "0", "extraAlarm6": "0", "extraAlarm7": "0", "extraAlarm8": "0", "soilLeafAlarm1": "0", "soilLeafAlarm2": "0", "soilLeafAlarm3": "0", "soilLeafAlarm4": "0", "txBatteryStatus": "0", "consBatteryVoltage": "4.52", "forecastIcon": "3", "forecastRule": "192", "sunrise": "1617792240", "sunset": "1617838620", "rain": "0.0", "windGust": "0.0", "pressure": "28.95697086865259", "altimeter": "29.479294637523978", "windchill": "61.4", "heatindex": "60.06", "dewpoint": "47.38835910832877", "inDewpoint": "44.208070019307044", "maxSolarRad": "792.5691074117104", "cloudbase": "3674.463839016188", "humidex": "62.54654085188092", "appTemp": "60.804814555118426"}'
2021-04-07 13:52:30 DEBUG (Driver) TopicManager data-> incoming weather/loop: altimeter: 29.479294637523978, appTemp: 60.804814555118426, barometer: 29.481, cloudbase: 3674.463839016188, consBatteryVoltage: 4.52, dateTime: 1617817952.0, dayET: 0.039, dayRain: 0.0, dewpoint: 47.38835910832877, extraAlarm1: 0.0, extraAlarm2: 0.0, extraAlarm3: 0.0, extraAlarm4: 0.0, extraAlarm5: 0.0, extraAlarm6: 0.0, extraAlarm7: 0.0, extraAlarm8: 0.0, forecastIcon: 3.0, forecastRule: 192.0, heatindex: 60.06, inDewpoint: 44.208070019307044, inHumidity: 30.0, insideAlarm: 0.0, inTemp: 78.2, leafWet4: 0.0, maxSolarRad: 792.5691074117104, monthET: 0.49, monthRain: 0.27, outHumidity: 60.0, outsideAlarm1: 0.0, outsideAlarm2: 0.0, outTemp: 61.4, phenomenon: 62.54654085188092, pressure: 28.95697086865259, radiation: 362.0, rain: 0.0, rainAlarm: 0.0, rainRate: 0.0, soilLeafAlarm1: 0.0, soilLeafAlarm2: 0.0, soilLeafAlarm3: 0.0, soilLeafAlarm4: 0.0, stormRain: 0.0, sunrise: 1617792240.0, sunset: 1617838620.0, txBatteryStatus: 0.0, usUnits: 1.0, UV: 2.2, windchill: 61.4, windGust: 0.0, windSpeed: 0.0, windSpeed10: 0.0, yearET: 3.31, yearRain: 3.54
2021-04-07 13:52:30 TRACE (Driver) TopicManager Added to queue weather/loop weather/loop 2021-04-07 13:52:32 EDT (1617817952): altimeter: 29.479294637523978, appTemp: 60.804814555118426, barometer: 29.481, cloudbase: 3674.463839016188, consBatteryVoltage: 4.52, dateTime: 1617817952.0, dayET: 0.039, dayRain: 0.0, dewpoint: 47.38835910832877, extraAlarm1: 0.0, extraAlarm2: 0.0, extraAlarm3: 0.0, extraAlarm4: 0.0, extraAlarm5: 0.0, extraAlarm6: 0.0, extraAlarm7: 0.0, extraAlarm8: 0.0, forecastIcon: 3.0, forecastRule: 192.0, heatindex: 60.06, inDewpoint: 44.208070019307044, inHumidity: 30.0, insideAlarm: 0.0, inTemp: 78.2, leafWet4: 0.0, maxSolarRad: 792.5691074117104, monthET: 0.49, monthRain: 0.27, outHumidity: 60.0, outsideAlarm1: 0.0, outsideAlarm2: 0.0, outTemp: 61.4, phenomenon: 62.54654085188092, pressure: 28.95697086865259, radiation: 362.0, rain: 0.0, rainAlarm: 0.0, rainRate: 0.0, soilLeafAlarm1: 0.0, soilLeafAlarm2: 0.0, soilLeafAlarm3: 0.0, soilLeafAlarm4: 0.0, stormRain: 0.0, sunrise: 1617792240.0, sunset: 1617838620.0, txBatteryStatus: 0.0, usUnits: 1.0, UV: 2.2, windchill: 61.4, windGust: 0.0, windSpeed: 0.0, windSpeed10: 0.0, yearET: 3.31, yearRain: 3.54
2021-04-07 13:52:31 TRACE (Driver) TopicManager starting queue weather/loop size is: 1
2021-04-07 13:52:31 DEBUG (Driver) TopicManager data-> outgoing weather/loop: altimeter: 29.479294637523978, appTemp: 60.804814555118426, barometer: 29.481, cloudbase: 3674.463839016188, consBatteryVoltage: 4.52, dateTime: 1617817952.0, dayET: 0.039, dayRain: 0.0, dewpoint: 47.38835910832877, extraAlarm1: 0.0, extraAlarm2: 0.0, extraAlarm3: 0.0, extraAlarm4: 0.0, extraAlarm5: 0.0, extraAlarm6: 0.0, extraAlarm7: 0.0, extraAlarm8: 0.0, forecastIcon: 3.0, forecastRule: 192.0, heatindex: 60.06, inDewpoint: 44.208070019307044, inHumidity: 30.0, insideAlarm: 0.0, inTemp: 78.2, leafWet4: 0.0, maxSolarRad: 792.5691074117104, monthET: 0.49, monthRain: 0.27, outHumidity: 60.0, outsideAlarm1: 0.0, outsideAlarm2: 0.0, outTemp: 61.4, phenomenon: 62.54654085188092, pressure: 28.95697086865259, radiation: 362.0, rain: 0.0, rainAlarm: 0.0, rainRate: 0.0, soilLeafAlarm1: 0.0, soilLeafAlarm2: 0.0, soilLeafAlarm3: 0.0, soilLeafAlarm4: 0.0, stormRain: 0.0, sunrise: 1617792240.0, sunset: 1617838620.0, txBatteryStatus: 0.0, usUnits: 1.0, UV: 2.2, windchill: 61.4, windGust: 0.0, windSpeed: 0.0, windSpeed10: 0.0, yearET: 3.31, yearRain: 3.54
2021-04-07 13:52:31 DEBUG (Driver) data-> final loop packet is weather/loop 2021-04-07 13:52:32 EDT (1617817952): altimeter: 29.479294637523978, appTemp: 60.804814555118426, barometer: 29.481, cloudbase: 3674.463839016188, consBatteryVoltage: 4.52, dateTime: 1617817952.0, dayET: 0.039, dayRain: 0.0, dewpoint: 47.38835910832877, extraAlarm1: 0.0, extraAlarm2: 0.0, extraAlarm3: 0.0, extraAlarm4: 0.0, extraAlarm5: 0.0, extraAlarm6: 0.0, extraAlarm7: 0.0, extraAlarm8: 0.0, forecastIcon: 3.0, forecastRule: 192.0, heatindex: 60.06, inDewpoint: 44.208070019307044, inHumidity: 30.0, insideAlarm: 0.0, inTemp: 78.2, leafWet4: 0.0, maxSolarRad: 792.5691074117104, monthET: 0.49, monthRain: 0.27, outHumidity: 60.0, outsideAlarm1: 0.0, outsideAlarm2: 0.0, outTemp: 61.4, phenomenon: 62.54654085188092, pressure: 28.95697086865259, radiation: 362.0, rain: 0.0, rainAlarm: 0.0, rainRate: 0.0, soilLeafAlarm1: 0.0, soilLeafAlarm2: 0.0, soilLeafAlarm3: 0.0, soilLeafAlarm4: 0.0, stormRain: 0.0, sunrise: 1617792240.0, sunset: 1617838620.0, txBatteryStatus: 0.0, usUnits: 1.0, UV: 2.2, windchill: 61.4, windGust: 0.0, windSpeed: 0.0, windSpeed10: 0.0, yearET: 3.31, yearRain: 3.54
So, I am thinking it must be something different in the environment that is causing the bug. So if you don't mind answering a few questions, that would be helpful.
- What version of PYTHON are you using?
- Are you logging to syslog?
- Are you making use of the WeeWX v4
[logging]
capability? - What exact settings in weewx.conf do you have related to logging? re: debug, logging_level, logging_filename
Note, TRACE
level is still experimental, so no hurry.
Again, thanks for your help.
from weewx-mqttsubscribe.
Related Issues (20)
- add apt-get commands to paho-mqtt installation instructions HOT 2
- typos in examples HOT 1
- WeeWxIOError: ('Certificate subject does not match remote hostname.',) when using AWS IoT Core HOT 3
- Support TLS setup for MQTT brokers HOT 4
- Help needed in configuring JSON HOT 2
- 5 Minute Record Ignored rc2 HOT 5
- Rain Cumulative, Should Be Total HOT 9
- Ignore
- Do not run codecov and sonar on pull requests
- Error with date fields HOT 6
- expires_after = None is ignored HOT 1
- Unsubscribed Topics HOT 8
- Need to migrate off of nose HOT 2
- Int Values Stored As Floats in DB HOT 29
- Possible problem with rain and contains_total HOT 2
- problem while installing... HOT 4
- problem reading values... HOT 7
- WeeWX crashes because MQTTSubscribe fails network connect on cold start or reboot HOT 3
- expires_after does not always work HOT 3
- MQTT problems cause WeeWX consuming all the CPU HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weewx-mqttsubscribe.