Sleepy Weim

Python: Crop Image

While getting the images is important on it’s own, I ran into the issue of sizing with ActionTiles. The tiles I’m using to display pictures are 2×3, so they are basically a perfect size for a landscape oriented image. And even though I have a tablet that is larger than most, the size of each tile is not huge. Looking at the weather images, there was a whole lot of border that I really didn’t

Python: Fetch Image

Grabbing an image from a URL is fairly simple. In this script I create two string objects, define them with the URL, and then use the Retrieve method to save them into the folder.

ActionTiles: Show Local Weather

After I had played with some of the basics of getting tiles in place to control my smart lighting (Philips Hue), I wanted to get some more dynamic content. I wanted pictures and changing tiles and cool looking things to impress, but also to be useful. Reading through the forums, I found that people had copied links from their local news stations for weather imagery.

ActionTiles and Scripting

I’m writing this mostly for me, but obviously by putting this up here, I’m also writing it for you. A couple of friends turned me onto ActionTiles for home automation and use on a tablet, but it took a bit for me to spin it up to a point I was happy with.