Comments (2)
Hi,
The way I think of WeeWX drivers vs services is that the driver is the code that communicates with the weather station and services augment the data processed by the driver. So if data is only coming via MQTT, you would run as a driver. If you have a weather station already running as a driver, you would run as a service. Note, I have probably over simplified and the WeeWX docs and forum are the go to place for an expert explanation. Also note, running as a driver is much simpler and when possible the preferred way.
The first step in debugging is to ensure that the MQTT data is ‘arriving’. In the repository there is a utility, mqtt_test.py, that can be used to check that. Some information on using it is here,
https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Using-mqtt_test.py-to-check-MQTT
You could also use mosquitto_sub to check. See, https://mosquitto.org/man/mosquitto_sub-1.html
The advantage of mqtt_test.py is that you pass in the weewx configuration, effectively testing that too.
Once we know the data is ‘arriving’, the next step would be to set debug to 1 in the weewx configuration file and look at the log. If you attach the log, I’d be happy to take a look. Please make sure that is from the start of weewx through 2 to 3 archive intervals.
-rich
from weewx-mqttsubscribe.
Thank you.
I was able to get my installation working with the additional information you posted.
from weewx-mqttsubscribe.
Related Issues (20)
- conversion_type = bool HOT 15
- Data not processed into reports HOT 3
- Setting log level to TRACE ‘turns off’ DEBUG messages HOT 1
- 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
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.