Thanks for the input - yes, the constants are defined in config.h per Wolgang's original. I'm not actually testing using the RG-11 just yet, thought I would get my logic and programming right on the desk before I move to the actual unit - the RG-11 works by closing a relay when rain is detected so it's a pretty simple "switch" - which I am planning on running in an NO configuration - closing on rain - but do you think I can get my code to work reliably? Not sure if it's an electrical thing or a programming thing or both!
I figured it out! I forgot that teh weatherradio firmware has a delay between changes in state and reporting it and of course I was looking for short term changes - silly me!
I've adjusted the code - I'll spend a little time tidying it up and documenting it and then send to Wolfgang for testing/regression before embarking on the driver itself.
Looking forward to knowing that the contents of my dome remains dry!
can you please point me to a manual or information how to use you weatherradio driver?
How can I use my own weather station with this service? I can not find any description.
Gunter - it's a pretty straight forward driver in that it talks to Wolfgang's custom made Arduino firmware that presents uncallbratied sensors data that you can then fine tune within the driver control panel.
Simplistically that would mean your weather station would need to change how it format its output - probably easier to go through Weather Proxy
I already have it on my list - a RG11 would be the sensor of choice. Since it comes from US, customs for a single sensor is quite high. But if we order two or three of them, that would be a fine idea.
The effort is not that high, we simply need to write a dedicated header file with reading the sensor and translating the data into JSON. But that's straight forward with an Arduino.