ActionTiles Support & Ideas Forum

Public Forum for ActionTiles Customers. Please use the Search Box and carefully browse the results to look for existing relevant Topics before opening a new Topic or Private Helpdesk Ticket.

+9
Discuss

Share your favorite Weather Media Tiles?

Den 2 years ago in Media Tiles / Weather & Traffic • updated by JeremyAZ 2 days ago 116



This national weather radar is so far my most useful Media Tile. I configured it for 3x2 tile size. Someday I intend to have a front door camera Media Tile.

Answer
  • If the image in a Post has been placed with a full URL link to the original; just right-click and choose "Copy image address."
  • There might be enough clues in the address to find the source website so you can find variations, such as local weather.
  • When posting, if you used the "<>" (HTML edit feature) to surround the URL of the image source with <pre> and </pre>, then the URL will be show in text instead of the image ... or try the "Code" Formatting option (under the paragraph symbol ¶).

+10
Answered: Discussion Open

Weather Tile widget generation from theweather.com

JB Bentz 10 months ago in Media Tiles / Weather & Traffic • updated 2 weeks ago 20

I found a new resource that could come in handy for AT.  It's a weather widget that can generate an image, rather than just html.  Its fully customization, and may work for other tile sizes.  I just started screwing around with it. check it out:

The source can be found here - https://www.theweather.com/widget/

+5
Discuss & Vote

Live Traffic travel time Tile! Image from query text using Shields.io

Rob Cummings 1 year ago in Media Tiles / Weather & Traffic • updated by Terry (ActionTiles) (Co-Founder) 2 months ago 36

I thought I'd post this to help others. I figured out a way to display the travel time for my wife's commute to work. See the pink tile in the screenshot below...



I used a Google Maps Distance Matrix API call and displayed the result in a Shields.IO badge. (Check out http://shields.io) Then I added the whole darn deal to the My Media section in Action Tiles.


Here's the link I used, broken into pieces...

Base URL: https://img.shields.io/badge/dynamic/json.svg

Badge Options (no label, pink color, time query, badge style): ?label= &colorA=ff69b4&colorB=ff69b4&prefix=&suffix=&query=$..duration_in_traffic.text&style=flat-square


Google Maps API call: &uri=https%3A%2F%2Fmaps.googleapis.com%2Fmaps%2Fapi%2Fdistancematrix%2Fjson%3Funits%3Dimperial%26departure_time%3Dnow%26origins%3D[origin address]%26destinations%3D[your destination address]%26key%3D[your API key]


You'll have to generate and use a Google API key and the URI has to be encoded with all those silly % escape codes. The Dynamic Generator at the bottom of the Shields.io page will help you out with the pieces. It was a bit of trial and error. Here's what it looks like all put together in the My Media image URL field...


https://img.shields.io/badge/dynamic/json.svg?label= &colorA=ff69b4&colorB=ff69b4&prefix=&suffix=&query=$..duration_in_traffic.text&style=flat-square&uri=https%3A%2F%2Fmaps.googleapis.com%2Fmaps%2Fapi%2Fdistancematrix%2Fjson%3Funits%3Dimperial%26departure_time%3Dnow%26origins%3D[your origin address]%26destinations%3D[your destination address]%26key%3D[your API key]


As everything seems to be, it's a little bit of a hack (text not centered), and the image and text proportion is stretched/crunched from the original (just like weather maps, camera images, etc.) but it seems to be working pretty well. One of the cool things is that it's actually an SVG, so no quality is lost if you make the tile bigger or look at it in a full-screen view. 


Hope this helps!

0

Integrate General Transit Feed Specification (GTFS)

tbarber4 3 months ago in Media Tiles / Weather & Traffic 0

Fringe case but used in many metro areas. Google Transit Feed Spec has a standard for transit times. 

Not sure how the interface would look or the calls for specific stops would be handled (by actiontiles or a call)

+1
Answered: Discussion Open

Help getting Media Tile URL from NOAA satellite?

Willis 5 months ago in Media Tiles / Weather & Traffic • updated by Terry (ActionTiles) (Co-Founder) 4 months ago 4

I found this link:  https://www.star.nesdis.noaa.gov/GOES/GOES16_CONUS_Band.php?band=GEOCOLOR&length=72


Which has a really cool looking weather .GIF loop.  However, the way the site is setup, I cannot turn it into a Media tile.  Anyone have any ideas on how show the loop in a tile?

0

Traffic conditions

Markmm 4 months ago in Media Tiles / Weather & Traffic • updated by JSeaton 4 months ago 1

I'm trying to find a way to add on a tile (Fire tablet) for traffic conditions in Honolulu using this link but I can't get it to work.  Please let me know if this is possible or not.  Also if there is a way to zoom in that would help too.  Thank you


http://www.goakamai.org/home

0
Discuss

Motorway Cameras?

ash stokes 4 months ago in Media Tiles / Weather & Traffic • updated 4 months ago 2

Hi Guys,


Right so I live real close to the M1 and use it for travelling to family/going to work etc.. I used to have a media tile that showed the M1 camera because you can usually see if it's standstill from it. Previously I had to use another website that hosts it as whenever I viewed it on an ipad it'd come up with a different static image that'd never change. Now that websites been taken down and I can only view it by 'https://www.motorwaycameras.co.uk/imagehandlerx/?4947165839360' which doesn't work on ipad/iphones etc.. Does anyone have any workaround? I assume it's because it's using 'https' as the previous url was http.


Cheers.

0
Answered: Discussion Open

Weather Underground API

gsgentry 1 year ago in Media Tiles / Weather & Traffic • updated by Terry (ActionTiles) (Co-Founder) 5 months ago 17

I have a PWS (personal weather station) that feeds with the weather underground. I have my own station ID and API Key... is there any way I can get AT to show some of the information from the PWS?


Thank you!

Answer

Yes,


Create a stock Smart Weather Tile device in the ST IDE, then open your mobile app and specify your station ID in the preferences. Then, this device will display the reading from your station.

+4
Declined

Disable 30 minute refresh of SmartWeather Station Tile?

Nathan Davis 2 years ago in Media Tiles / Weather & Traffic • updated by Terry (ActionTiles) (Co-Founder) 5 months ago 2

I noticed when viewing recent history of the SmartWeather Station Tile in SmartThings that every 30 minutes ActionTiles refreshes/polls the weather information. Is there any way to disable that so that I have full control of when the tile gets refreshed? I have a CoRE piston set up to poll the weather tile on certain events. I know this probably sounds like a dumb request, but like I said I would rather have full control of when the information gets refreshed. Just a personal preference.

+9
Discuss & Vote

Severe weather alert tile

dbnewell 7 months ago in Media Tiles / Weather & Traffic • updated by Terry (ActionTiles) (Co-Founder) 6 months ago 5

Is there a way to build a severe weather tile that uses the smart weather station data from my ST hub?

+1
Answered: Discussion Open

FIXED: See Answer for details! What happened to jggdev.com Weather & News for Media Tiles?

949BFN 11 months ago in Media Tiles / Weather & Traffic • updated by Graeme McNaull 7 months ago 32

Any idea what happened to this website? The weather forecast url for AT worked very well, but it disappeared a few days ago.


The website displays a notice 

Briefly unavailable for scheduled maintenance. Check back in a minute.

Answer

Thanks to everyone for your validation of this migration of @jggdev's tools to ActionTiles's Cloud in Beta mode!!!

But even bigger, super, thanks to John (@jggdev) for his creative and innovative development of this, sharing it with ActionTiles's customers over the past several months, and now licensing it to Thingterfaces LP, the makers of ActionTiles.


We caught and fixed a couple bugs and noted your comments for possible future tweaks, and perhaps eventual new features.

While we might do a "bulk migration" of all the existing http://jggdev.com/* Media Objects in our database, you are now welcome and encouraged to self-migrate.


Please note that stability is not guaranteed. This is a "bonus feature" of ActionTiles. All usage is subject to ActionTiles's Terms of Service as well as any terms associated with the original scripts and/or JGG's website. ActionTiles takes no responsibility for the content provided. Please do not use copyright protected sources.


To migrate:

  1. Replace this portion of your Media Tile URLs: "http://jggdev.com/atiles/" with "https://mtg.actiontiles.com/"

To use:

  1. Instructions for the 3 different generators (weather, news, and calendar) and their optional parameters, currently still reside at: http://jggdev.com  ; but will be moved soon to an ActionTiles KB Article on http://support.actiontiles.com

  2. Please set the Still Image Media Tile "Refresh Rate" to greater than 900 seconds; preferably 3600 seconds or more (1 hour).

Example:

image


Please do not use the Beta URL anymore - unless invited. We may disable the beta server at anytime.

0
Answered: Discussion Open

Weather Forecast Tile for Canada?

John Abraham 9 months ago in Media Tiles / Weather & Traffic • updated by Terry (ActionTiles) (Co-Founder) 9 months ago 2

I’m trying to find a good way to get the weather forecast for my location in Canada.  There doesn’t seem to be a SmartThings device that exposes the high/low forecast for the day without custom code.  (The Accuweather tiles don’t seem to work at all).  Would it be best to pursue a media item from a URL?  


Or am I just missing something obvious?

0
Answered: Discussion Open

State DOT traffic cameras

Jeff Todd 1 year ago in Media Tiles / Weather & Traffic • updated by Lance 10 months ago 7

I think I know the answer to this but I'm going to post anyway.  I'm trying to set up live traffic feeds with no luck.   All the state camera links in Connecticut are "https", not "http".


Am I correct in thinking that ActionTiles does not support "https" media feeds?


Thanks, Jeff

+10
Answered: Discussion Open

Help me to add a "valid url" in order to see Google Traffic as an Refresh still image?

Joshua 1 year ago in Media Tiles / Weather & Traffic • updated by moblsu 11 months ago 11

So this is the URL i want to add so that it posts STILLS of the traffic nearby every X amount of seconds.  

https://www.google.com.ec/maps/@-2.1674177,-79.8821124,5140m/data=!3m1!1e3!5m1!1e1?hl=es

Answer
Mike Liu 1 year ago

Well, this is a bit hacky, but gets the job done for now in the way I need.


I use a local batch file to generate a screenshot of the desired google maps page using phantomjs

 http://phantomjs.org/screen-capture.html


phantomjs traffic.js


Here is an example of a traffic.js file used by phantomjs:


var page = require('webpage').create();
//viewportSize being the actual size of the headless browser
page.viewportSize = { width: 1024, height: 1024 };
//the clipRect is the portion of the page you are taking a screenshot of
page.clipRect = { top: 200, left: 200, width: 800, height: 800 };
//the rest of the code is the same as the previous example
page.open('https://www.google.com/maps/@33.0062365,-96.8176253,11.31z/data=!5m1!1e1', function() {
  page.render('traffic_raw.png');
  phantom.exit();
});


Using ImageMagick tools, my batch file creates a watermark for the current time to apply to the traffic image, so I know when the map data was captured:


convert -size 300x50 xc:grey30 -font Arial -pointsize 20 -gravity center -draw "fill grey70  text 0,0  '%time%'" stamp_fgnd.png
convert -size 300x50 xc:black -font Arial -pointsize 20 -gravity center -draw "fill white  text  1,1  '%time%'  text  0,0  '%time%' fill black  text -1,-1 '%time%'" +matte stamp_mask.png
composite -compose CopyOpacity  stamp_mask.png  stamp_fgnd.png  stamp.png
mogrify -trim +repage stamp.png
composite -gravity north -geometry +0+10 stamp.png  traffic_raw.png traffic.png



Then I have this file uploaded to a website (I just grabbed a free site at 000webhost.com) using curl.

curl -T c:\data\traffic.png ftp://username:password@files.000webhost.com/public_html/


I'll have the batch file run the above every 30 min.


and tell the tile to refresh every 15 min since the timing of the AT sync might not match with the timing of the batch file.


Here's the full screen version of the traffic tile (my AT is 3x3 and is a decent thumbnail of the full image):


...





0

Central Florida weather url Media Tile?

revnmaynard 11 months ago in Media Tiles / Weather & Traffic • updated by Kevin1 11 months ago 2

so I can’t figure out how to add media. I got to weather websites. Go to radar and copy web address. Paste it in my media and it says it’s invalid. I’ve right clicked it to try and get url with no luck. I live in central Florida if anyone can help me

Windows iOS
0
Answered

traffic cam tile keeps on expiring?

johnnytlee 2 years ago in Media Tiles / Weather & Traffic • updated by Terry (ActionTiles) (Co-Founder) 1 year ago 7

i see people's tile setups with traffic cams. the ones i found like on sigalert or trafficland work initially but then after a few hours the image expires. anyone find a better source or a way to keep the traffic cam images from expiring?

0
Answered: Discussion Open

Using jggdev weather link: How to use in Chile?

Andres 1 year ago in Media Tiles / Weather & Traffic • updated by Terry (ActionTiles) (Co-Founder) 1 year ago 2

hi guys. Anyone here know how to customize the jggdev link to use another country? I'm currently in chile the code is cl but using the link.. is not working

For example this link show another country 

http://jggdev.com/atiles/weather.php?backgroundColor=FFFFFF&bodyColor=00FF00&titleColor=000000&country=cl