Hi All, I've had my weewx site up and running since last summer and have been quite happy with the 5-minute update interval. However, this past week I found some time to add a bit of live (loop) data to the site. It doesn't serve much of a practical purpose but I get a kick out of live wind data for some reason.
Anyway, I couldn't find an extension that would allow for what I wanted without having to go the route of InfluxDB or MQTT (both awesome but overkill for this). So what I ended up doing was modifying the WeeRT extension to just obliviously post loop data to an endpoint. On the receiving end, I created a PHP script that uses an often forgotten PHP shared memory feature to store the loop data in memory instead of writing the data to disk. So this is a Raspberry PI/SD card friendly. No special PHP configuration is needed. Just a basic Apache/PHP, Nginx/PHP, or Whatever/PHP setup will work fine. You can see this in action here: https://griffinparkweather.com/ And the extension can be found here: https://github.com/doubleohwhatever/weepost 99.9% of the credit for the extension should go to the author of the WeeRT extension. I just modified it to do what I described above and am sharing it in case someone finds it useful. -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/942ed034-36ca-4e53-8108-3a0220501bc7%40googlegroups.com.
