Hi,

I've just installed the MQTT extension (
https://github.com/weewx/weewx/wiki/mqtt) to get my readings into my home 
automation system (Home Assistant) and it works perfect!
But I have a question about the topics sent.

But I would like to have the total amount of rain the last 7 days. Not rain 
this week, but accumulated amount for the last 168 hours. So I could get a 
notice that maybe it is time to take out the garden hose...

In the available topics I find:

rainRate
rain
rainTotal
rain24
dayRain
hourRain

I figured out that rain24 must be the amount accumulated the last 24 hours. 
The rest is still a guess. (For some reason it has stopped rain the one 
time I want some rain)

I found another thread here about custom topics (
https://groups.google.com/d/msg/weewx-user/NBG_-D-Hghw/Nx6426vtBgAJ) and 
there the author of the extension answered that it is not possible to use 
aggregation templates for this extension. It can only publish LOOP-packages 
or archive records.
I have not stated anything to bind to in my settings, so it should be the 
default, which should be archive records.

About two years ago I wrote my own (not very nice one) "extension" to send 
archive records to my previous automation system (Domoticz). And the only 
three records about rain I could find then was:

rainRate
rain
rainTotal

And if I look in the documentation of weewx (
http://www.weewx.com/docs/customizing.htm#archive_types) I can only find:

rainRate
rain

So my question is; where is rain24, dayRain and hourRain picked up?
And is there any way to publish a topic for lets say: rain7days?

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to