This is a newbie question.
Does anybody know how to pop-up a graphic image in a software remote?
I'm using HouseBot to control a vacation house remote and I want to make a button on the software remote to pop-up the proper weather graphs created by WeatherDisplay and MeteoHub.
The only thing I can find is a image control but this gives a static image on the remote screen.
Is there also a HouseBot manual available somewhere? The tutorials are nice but difficult to use as a manual you can browse trough.
Henk
Weather graphs on software remote
-
- HouseBot Guru
- Posts: 785
- Joined: Wed Apr 02, 2003 8:10 pm
- Location: Pelham AL
Re: Weather graphs on software remote
I'm using a script tied to weather.com. The image control I use is associated with a device and property that is updated with a JPG captured from Weather.com's web site hourly. The image control in my theme is a 'dynamic' rather than 'static' type. Once you select and create the image control in your theme, select the 'dynamic' type from the control's properties dialog box, and point that control to the appropriate device and property that 'contains' the image you want to display.
Hope this helps,
Hope this helps,
Steve
Re: Weather graphs on software remote
I've found the solution to do this in a simple way to avoid scripts.
I've created a "Null device", added a property "User Alpha1" named this "Image file" and added to the value the initial file name for the start graphic.
On the theme for the remote I placed a property change button for each graphic I want to see thats changing the filename used in the "Image file" property of the null device, works great.
I've created a "Null device", added a property "User Alpha1" named this "Image file" and added to the value the initial file name for the start graphic.
On the theme for the remote I placed a property change button for each graphic I want to see thats changing the filename used in the "Image file" property of the null device, works great.
- Attachments
-
- Graphic HB main sreen and weather graphic pop-up
- HouseBot graphic.jpg (378.27 KiB) Viewed 2269 times
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: Weather graphs on software remote
Not sure what you are doing, but it makes a bit more sense to define your alpha property as Type: Path and File Name. You could point it to a default static image and then label it dynamic so you can change the image on the fly using tasks or a script. There should be lot's of example code around here to show how that is done.
Re: Weather graphs on software remote
Richard, thanks for the info but the property includes a path and a file name.
The example code you mentioned is maybe somewhere but info is hard to find on this forum and the help examples in the program are very limited.
No I am trying to find out how to show the status of a mode on a screen of a remote but I can't find anything about that.
The example code you mentioned is maybe somewhere but info is hard to find on this forum and the help examples in the program are very limited.
No I am trying to find out how to show the status of a mode on a screen of a remote but I can't find anything about that.