Music, Weather, Spacers, and Media Tiles

So in Incognito/Private Mode, if you access the URL http://picoreplayer:9000/music/current/cover.jpg you are seeing the raw image as expected without having to login at all? Can you post a screenshot of what your Media Tile configuration looks like?

Yes, without having to login

https://imgur.com/a/woLWAkW

Thanks for sharing the album with the various screenshots. :slight_smile: That is odd that the photo isn’t showing.

If you open the browser’s developer tools with F12 and inspect the missing image in the Create Media screen, what does the URL show?

This is what you asked for:

https://imgur.com/a/kqicPdB

thank you in advance :grinning:

Thanks. From what I can tell, everything looks fine with how things are getting setup in SharpTools…

Have you tried in another browser like Google Chrome?

1 Like

Yes. This edge web browser is guilty.
I don`t know why I did not check before. :exploding_head:
Firefox and Chrome work.
Thank you very much for your help. :grinning:

ps

Could you add the ON/OFF function to the media player?
It can be helpful when I turn on the media player and my amplifier can turn on too and other operating buttons.

1 Like

Hi i was trying to add the weather tile to the sharptools tiles and I do all that is instructed nothing happens in the SmartThings app when I click on it it said “can not connect to device. Chance Device and try again”. Can you help me try to set it up see what I did wrong? Also I will like to put like a radio player on the tiles or any music player what can I do? Thanks in advance

WARNING: The WeatherStation 2.0 will likely stop working in February 2019. It is recommended to use the SmartThings provided WeatherStation Tile instead.

Anthony, thanks for the message. Can you clarify what you’ve tried? Since you are on SmartThings, I would recommend installing the community developed SmartWeather Station 2.0. See note above about the SmartWeather Station 2.0 Tile expected to break in February 2019.

The post linked immediately above includes a link to his custom code as well as some instructions on how to install it. Once you’ve installed and configured the device in SmartThings, be sure to authorize it in SharpTools so you can add it to your dashboard. :slight_smile:

For the Media Player tiles, you’ll need to have some sort of device connected to SmartThings which implements the Music Player capability. Do you have any media/music devices connected to SmartThings already?

For the weather tolé what you posted was what I did I took the code added it to SmartThings under crear new device handler saved and published it then I went to devices and added it but when I go to extracted in sharptools to create the wether tile I can’t find it under things i can see other devices that I have created but can’t find that one. Don’t know what I did wrong I thing I followed all the steps correctly

After creating the new weather tile in SmartThings did you authorize it in SharpTools? SharpTools doesn’t have access to new devices until you explicitly authorize them. To do this:

  1. Open your SharpTools User page.
  2. Click the Manage Connections button
  3. Select SmartThings from the modal that pops up
    1. If you are prompted to, login with your Samsung/SmartThings credentials
  4. Select your location from the drop-down
  5. Check the box next to your new device and press Authorize

Note: Once the authorization is complete, it may take a few seconds for SharpTools to sync the new device to your account.

Awesome so I was able to do it and it showed but then it said N/A on the tile. I feel like am almost there lol

If I remember correctly, there are some settings that have to be set in the SmartWeather 2.0 device to get it to refresh… then it might take a few minutes after changing those settings before its next scheduled refresh.

Got it I think I might of seen them I will check it out thanks for all your help

It worked just needed the zip code on the SmartThings settings

1 Like

For the music media i wanted to add like a radio tile or like from Spotify or like from my media player in my computer any like that will work for me or even SoundCloud can that be done?

Is there a way to have Weatherstation Tiles 2.0 display time in the 12 hour format instead of 24 hour?

WARNING: The WeatherStation 2.0 will likely stop working in February 2019. It is recommended to use the SmartThings provided WeatherStation Tile instead.

Probably best suited for the developer of the Weather Station 2.0 device handler in his original thread… but I took a look at the code and it looks like you should be able to change the time format on line 399 by changing the format from 24 hour notation HH:mm to 12 hour notation hh:mm a.

From what I can tell, its using the SimpleDateFormat utility in Java which accepts the time formats noted in their documentation. Try changing Line 399 linked above to something like:

def tf = new java.text.SimpleDateFormat("hh:mm a")

Thanks for the tip, but it did not work. I will try over in the original thread to see if they can help.

You probably wouldn’t see the new format until the next time the data for that device is refreshed (or you manually ‘polled’ the device. I’m assuming you are referring to the sunset and sunrise time… is that right?

I am using this now for road conditions data and the image I am pulling is of course in landscape ratio, and it is difficult to fit inside a portrait tile. It does work though, but ideally I would like to be able to also position it horizontally as then I can better position it to the area I would like to see.

I am not sure if it would be possible to zoom into the image as well ? That could also be nice.

This is how it looks and in the red square is the area I am most intersted in having displayed.

2 Likes