Announcement
Collapse
No announcement yet.
Jon00 BBC Weather V4
Collapse
X
-
Hi Jon, thanks very much, I'm using your scripts for this and it's working great.
Two quick questions.
Firstly whats the best way of displaying the 5 day forecast from within HS Touch? I've tried status tracking but this did not work.
Also I would like to supress certain aspects from weatherspeak, (eg pressure) but still have them as a virtual device, how do you advice I do this?
Thanks again
Jim
Comment
-
To display the 5-day forecast as shown as the virtual device in HSTouch, download my HTML to image utility and configure it to take a snapshot of the respective 5-day virtual device.
You can add this script to the main BBC weather event as a second action but make sure you set the BBC weather script to 'Wait for script to finish', so that the capture will not happen until it is completed downloading etc. The generated image can then be used in HSTouch. The images above were done this way.
As for speaking, the script can be modified to suit. What series of letters are you using in the weatherspeak script parameters so I can help you remove the pressure element?
Comment
-
Jon, have the weather image numbers changed since upgrading? I've only come to notice just as I was going to post a screenshot of my weather screen but found the icons are slightly out of sync. The page you linked me to before (http://www.bbc.co.uk/weather/bbcweat.../symbols.shtml) has gone. I am reading the DayImage0 value out and status tracking it to the weather icons, its just for Sunday on this shot you can see it is showing the image for Clear (value 1) whereas I had Sunny down as value 0.
Jim, anyway this is an alternative way of doing things, have another set of devices - read them all out of the Jon00BBCWeatherV4.ini file with a script and then status track them.Last edited by mrhappy; August 17, 2012, 10:00 AM.
Comment
-
To remove the pressure from the speech output, open up Jon00BBCWeatherSpeakV4.vb in a text editor.
Find the line:
hs.speak ("The pressure is " & CurrentConditionPressure & .....
Add a remark in front of this line i.e.
'hs.speak ("The pressure is " & CurrentConditionPressure &
Save the page. The pressure will now not be spoken.
Comment
-
Hi
I've had some internet related problems, meaning comms have not been very good today :-(
Because of this the V4 weather script has struggled to pull data from the BBC. In my HSLog I have entries showing this error:
Error - Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer HS2\html/images/BBCWeather/v4/n/a.gif
I assume this is because the V4 script can't pull weather data and then when I look at the HS Status page it is trying to put N/A (from N/A.gif) on the failed weather items.
I have a file called na.gif but not n/a.gif in images\BBCWeather\v4 as I doubt windows would allow the filename. Does the V4 code ask for a file called n/a.gif?
Thanks
Comment
Comment