Page 1 of 1
Weatherinfo in the HP10 image
Posted: Thu 09 Nov 2023 11:37 am
by HansR
Does anybody know if it is possible to get the basic weatherinfo (temp, pressure etc...) from the Ecowitt weatherstation via the GW1100 into the HP10 image? That should be a piece of cake for Ecowitt shouldn't it? Just link the GW1100 to the camera, have some magic et voila?
Re: Weatherinfo in the HP10 image
Posted: Sun 12 Nov 2023 3:45 pm
by philpugh
If you mean something like this
https://goosegate.uk/HP10/HP10.jpg then I do this with a rather convoluted process!
1/ I run an extra web file generation every real-time interval using the template file cameraT.txt generating camera.txt for later use
2/ I have a BASH script (HP10.sh) running via crontab every minute - this generates the image you see and logs the files away for processing into a timelapse video after midnight.
3/ There is a Python script (HP10date.py) that is called by HP10.sh to manipulate the HP10 image.
4/ The timelapse is generated by tlapseHP.sh and is run after midnight via crontab
NB the .sh and .py files have an added .txt to allow the transfer here!
Re: Weatherinfo in the HP10 image
Posted: Sun 12 Nov 2023 3:48 pm
by philpugh
Hans: I forgot to mention that I run my webserver on the same RPi4 as my CMX programs (three stations and two cameras)
Re: Weatherinfo in the HP10 image
Posted: Sun 12 Nov 2023 3:51 pm
by HansR
@Phil: Yes I mean something like that. Thanks, that give handles to work with.
