[weewx-user] Re: Not using my skin in all graphs (week, month, year)

2020-03-19 Thread Joachim Graf
You can also decide between white and black image dependig on background 
with this code

MEAN=$(identify -format "%[fx:mean>0.60?1:0]\n" 
/home/pi/partwhereclockshouldgoto.png)
if [ $MEAN -lt 1 ]; then
# White
clock_img=/home/pi/Clock/V4/$(printf CHDK_Uhr_%04d.png $minutes)
else
# Black
clock_img=/home/pi/Clock/V2/$(printf CHDK_Uhr_%04d.png $minutes)
fi


Am Donnerstag, 19. März 2020 07:43:14 UTC+1 schrieb Mikael Fredriksson:
>
> Great! Thank you!
>
> Mikael
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a74c4639-3c3d-4847-93ff-e686c5436707%40googlegroups.com.


[weewx-user] Re: Not using my skin in all graphs (week, month, year)

2020-03-19 Thread Mikael Fredriksson
Great! Thank you!

Mikael

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9837169b-8cb6-4f27-ac6b-b8200052dbfd%40googlegroups.com.


[weewx-user] Re: Not using my skin in all graphs (week, month, year)

2020-03-17 Thread Greg from Oz
I found a clock program here:
http://pantburk.info/?blog=89

Then I resized it to the size I needed:
mogrify -resize 75x75 out.png

Then I overlaid that over my wecam picture:
convert  20200312-205401.jpg out.png -geometry +540+5 -composite out.png

Seems to work OK


On Wednesday, 18 March 2020 09:14:40 UTC+11, Greg from Oz wrote:
>
> I like the clock you have on the video.
> How did you do that?
> Can you post the code?
> I have overlaid the time and date but the clock would be nice feature.
>
> My webcam below:
> https://weather.ubeaut.work/WEBCAM/1-hour.mp4?dummy
>
> Thanks
>
> On Wednesday, 18 March 2020 08:04:59 UTC+11, Joachim Graf wrote:
>>
>> Yes, i can share this ;-)
>>
>> Make a picture every minute and put this with name hh:mm.jpg (for the 
>> right order) in the folter "tovideo"
>> then this steps:
>>
>> >>ls /home/pi/tovideo/*.jpg > /home/pi/tovideo/stills.txt
>> >>cat $(cat /home/pi/tovideo/stills.txt) | ffmpeg -r 10 -f 
>> image2pipe -i - /home/pi/upload/day.webm
>>
>> Thats was it and you have the webm
>>
>> Joachim
>>
>> Am Montag, 16. März 2020 12:25:51 UTC+1 schrieb Mikael Fredriksson:
>>>
>>> Btw, can you share how you setup your time shift, would like to make 
>>> that on my page! Got a web camera and can take photos at interval and save 
>>> to FTP. 
>>> Mikael
>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/483e0d61-5810-4e70-8312-1eef353cc914%40googlegroups.com.


[weewx-user] Re: Not using my skin in all graphs (week, month, year)

2020-03-17 Thread Greg from Oz
I like the clock you have on the video.
How did you do that?
Can you post the code?
I have overlaid the time and date but the clock would be nice feature.

My webcam below:
https://weather.ubeaut.work/WEBCAM/1-hour.mp4?dummy

Thanks

On Wednesday, 18 March 2020 08:04:59 UTC+11, Joachim Graf wrote:
>
> Yes, i can share this ;-)
>
> Make a picture every minute and put this with name hh:mm.jpg (for the 
> right order) in the folter "tovideo"
> then this steps:
>
> >>ls /home/pi/tovideo/*.jpg > /home/pi/tovideo/stills.txt
> >>cat $(cat /home/pi/tovideo/stills.txt) | ffmpeg -r 10 -f 
> image2pipe -i - /home/pi/upload/day.webm
>
> Thats was it and you have the webm
>
> Joachim
>
> Am Montag, 16. März 2020 12:25:51 UTC+1 schrieb Mikael Fredriksson:
>>
>> Btw, can you share how you setup your time shift, would like to make that 
>> on my page! Got a web camera and can take photos at interval and save to 
>> FTP. 
>> Mikael
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/07c36a52-6a59-4658-a692-f3f7938ae130%40googlegroups.com.


[weewx-user] Re: Not using my skin in all graphs (week, month, year)

2020-03-17 Thread Joachim Graf
Yes, i can share this ;-)

Make a picture every minute and put this with name hh:mm.jpg (for the right 
order) in the folter "tovideo"
then this steps:

>>ls /home/pi/tovideo/*.jpg > /home/pi/tovideo/stills.txt
>>cat $(cat /home/pi/tovideo/stills.txt) | ffmpeg -r 10 -f 
image2pipe -i - /home/pi/upload/day.webm

Thats was it and you have the webm

Joachim

Am Montag, 16. März 2020 12:25:51 UTC+1 schrieb Mikael Fredriksson:
>
> Btw, can you share how you setup your time shift, would like to make that 
> on my page! Got a web camera and can take photos at interval and save to 
> FTP. 
> Mikael

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4bf77f5b-34e6-4ade-b835-1a39c3489a2c%40googlegroups.com.


[weewx-user] Re: Not using my skin in all graphs (week, month, year)

2020-03-16 Thread Mikael Fredriksson
Btw, can you share how you setup your time shift, would like to make that on my 
page! Got a web camera and can take photos at interval and save to FTP. 
Mikael

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b918d551-5138-4f0e-87c5-3a3fd75769d0%40googlegroups.com.


[weewx-user] Re: Not using my skin in all graphs (week, month, year)

2020-03-15 Thread Mikael Fredriksson
Good to hear!
Isn't always easy to see those things, I've been looking at wrong places many 
times!
And I think Gary's answer is a good way to find out issues!

Mikael
 

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e6ba2d28-b729-4164-a748-a3c1534b4219%40googlegroups.com.


[weewx-user] Re: Not using my skin in all graphs (week, month, year)

2020-03-15 Thread Joachim Graf
Thank you !!!
That was the right hint: I had this also enabled by default:
[[SeasonsReport]]
So there was 2 reports active.
I disabled this report and everthing is fine.

Joachim

Am Sonntag, 15. März 2020 21:01:22 UTC+1 schrieb Mikael Fredriksson:
>
> Not sure what I depends on but I can see that they are not generated at 
> the same time if that can be to some help. Do you have another skin chosen 
> in weewx.conf as well that could generate those images? And I think the 
> latest is always used in the HTML file. So maybe take a look at that.
> /Mikael

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e59db09f-0f9a-4cbd-b2ce-81bb6cdc846a%40googlegroups.com.