New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotori using Weewx (MQTT) - ERROR: Processing MQTT message failed from topic "weewx//loop": #5
Comments
I am using a Raspberry Pi 2 with Debian stretch |
Hi there, thanks for writing in and for using Kotori with weeWX. It's probably just a configuration error you are experiencing. As you can read on [1], the MQTT topic should look like The relevant configuration snippet for
where you would replace If you just want to address a single node without naming this thing at all,
should also be perfectly fine. We hope this helps and are happy to hear if this works for you. With kind regards, |
Hi!! Best Regards |
Hi there, thanks for providing further information about your scenario.
Funny thing, we haven't been aware there's even a weeWX-simulator out there. Good to know!
The parameters can be chosen arbitrarily and designate the data ingress channel. As you can choose the values on your own, you are able to operate an arbitrary number of data ingress channels without configuring anything. For more details about the channel addressing scheme and its background, you might enjoy reading [1]. Recognizing you just want to operate a single data ingress channel, please just choose arbitrary values which might fit your scenario there - like outlined above
and you should be able ingest, process and visualize as intended. Please let us know if this works for you. With kind regards, [1] https://hiveeyes.org/docs/system/acquisition/index.html#addressing |
It worked!! |
Excellent. Enjoy the data acquisition and graphing! If you like it, we are happy to receive stars on this project. |
Let's close this issue but feel free to reopen if you have further questions. |
Hi there again!! Here's the log's of kotori:
|
Mqtt is publishing but i can't get the data to kotori.
|
I also configured (change the Mqtt topic) the file Weewx.ini from kotori:
|
SORRY!! |
Hi there, good to hear you have been able to resolve the issue you have been observing. Suffixing the designated topic with As you can see with https://github.com/daq-tools/kotori/blob/0.22.7/etc/examples/vendors/weewx.ini#L14-L22, just setting the MQTT topic prefix to be the same as the realm with wildcarding will be totally sufficient for Kotori to pick up the data
as long as the MQTT topic is correctly configured on the publisher side (here: WeeWX MQTT Plugin), which looks like that on our systems:
However, it always might happen that some semantics have changed due to more recent software versions, e.g. how the WeeWX MQTT Plugin is actually publishing data. If this is the case, we will be happy to find out. With kind regards, |
While your problem might have been from a different nature (as said: glad that you solved it!), I would also like to point out that warnings like
indicate that Grafana is not running - at least it's not responding on |
Yes, when i had the problem Grafana didn't work but now it works fine. |
Hello there again!! Thank you |
Hello again!! Best Regards. |
Dear @TheOneWhoKnocks96,
That's correct.
I believe the In this manner, the With kind regards, [1] kotori/kotori/daq/intercom/strategies.py Lines 84 to 89 in 5f5d951
[2] https://getkotori.org/docs/handbook/acquisition/protocol/mqtt.html#basic-examples |
Thanks for the response!! |
Hello!!
I have a weather station Vantage Pro 2 console and i'm trying to use Kotori and Weewx to publish data into grafana and store the weather data in InfluxDB.
I'm using an MQTT broker (Mosquitto) to send and receive the data from weewx to kotori.
But i have a problem processing MQTT messages from the topic. The topic that i used is 'weewx/#'.
I am getting this error from
kotori.log
:If anyone could please help...
This is the error (kotori.log):
The text was updated successfully, but these errors were encountered: