Coder Social home page Coder Social logo

Comments (2)

bellrichm avatar bellrichm commented on July 17, 2024

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.

mattmon avatar mattmon commented on July 17, 2024

Thank you.
I was able to get my installation working with the additional information you posted.

from weewx-mqttsubscribe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.