Page 1 of 1

multiple wallpapers

Posted: 18 Jun 2013 00:26
by Stepfather
Is there a way to set up multiple wallpapers so the flow will randomize from a select number of wallpapers? I was able to do the in another automation app.

Re: multiple wallpapers

Posted: 18 Jun 2013 10:34
by pilusona
Hi Stepfather,
If your requirement is to randomply select pictures from a specific folder and set it as wallpaper, then I think that you can easily do using the following steps:

Trigger: Periodic Timer (every 1h)
Action: Init Variable File List
Variable:
files
File Pattern:
/mnt/sdcards/your/wallpaper/folder/*
Action: Set Wallpaper
Path to wallpaper image
{getRandomElement(files)}

That's it :)
N.B. This is for flow sharing area. So any help or queries, please post it under "User help/bug reports".

Re: multiple wallpapers

Posted: 18 Jun 2013 10:51
by Stepfather
Thanks, this is sort of what I am looking for. I have it set so when I arrive home the wallpaper is selected. Is it possible to set this up after the location is triggered? The trigger would be the location or is there a way to set a trigger within a trigger?

Thanks for your help

Re: multiple wallpapers

Posted: 18 Jun 2013 12:47
by MURTUMA
You should check the catalog from the menu in automagic main screen. There is an example flow to set random wallpaper. Also you can set it to work with any trigger.

Re: multiple wallpapers

Posted: 18 Jun 2013 12:50
by pilusona
Hi Stepfather,
If your requirement is to randomly select pictures when you will arrive your home, then you can do it using the following steps:

Trigger: Periodic Location Update

Condition: Location
Pick your home location.
Check "Entering" only
if true then
Action: Init Variable File List
Variable:
files
File Pattern:
/mnt/sdcards/your/wallpaper/folder/*
Action: Set Wallpaper
Path to wallpaper image
{getRandomElement(files)}

Thanks.