That sounds perfect!! At a wedding so may get in trouble if I try and sort now lol but will be sure to try very soon!!
Thank you!! All sounds great!! Excited to try all of this!!
Ok, getting this set up and loving it so far!!
Couple questions.
Do people just use full screen mode from a web browser in a tablet?
Is there a way to force the tablet to stay awake? I can k let make it 10 mins in the tablet settings.
Fully Kiosk Browser
Most people use an app called Fully Kiosk Browser for dedicated dashboard displays. If it’s a tablet/phone with Google Play on it, you can download Fully Kiosk Browser directly from the Play Store. If it’s an Amazon Fire Tablet, you can download a version of Fully Kiosk Browser designed for Fire OS directly from the Fully Kiosk Browser website.
For my phones, I usually just use the Add to Homescreen approach as it gives me a fullscreen app-like experience. ‘Add to Homescreen’ is a great approach for when you want to be able to access the dashboards like an app… and Fully Kiosk Browser is better for when you want a dedicated dashboard display that’s always on.
Dashboard Kiosk Mode (hide top navigation)
Fully Kiosk Browser lets you view the dashboard in full screen without any URL bar, navigation buttons, etc. Note that when you are on the list of dashboards in SharpTools.io, if you click the ...
button next to a dashboard, you’ll get an option for ‘View (Kiosk Mode)’ which hides the top navigation and bottom-right ...
button.
You can also just add `?kiosk=true’ to the end of any dashboard URL… this is especially helpful if you’ve already set a Start URL and you just want to view it without the SharpTools.io navigation and menu.
Set Volume
Many devices expose their volume controls as level
… so in your case, you can probably use the setLevel command to set the volume level.
Command Arguments: Advanced
I’d need more detail on what specific device command you’re trying to use or what you’re trying to accomplish. It appears as though the ‘Advanced’ switch in the top-right corner of the device command action has been flipped on.
As you might infer from the name, the ‘Advanced’ switch really is there for advanced use cases. For example, sometimes a device will report back that it has a specific command that accepts a specific number of arguments even though it doesn’t actually accept that many arguments.
For example, many devices report that setLevel
accepts two numeric arguments even though the device handler only accepts a single number (the desired level). In that case, you can use the Advanced switch to customize what arguments get sent.
In the following screenshot, you could turn on the ‘Advanced’ switch and then use the remove icon to completely remove the second argument (eg. ‘Argument 1’):
Nice one! Really loving sharptools!! Will have another crack. Thank you!!
Ok… new issue. So if I want to play a mp3/sound etc… where does this file need to be saved? and how do I access this?
You will have to host the mp3 file somewhere Sonos can access via HTTP protocol. Ex: you can put it in Google Drive, Dropbox, or your local computer, and make sure Sonos has access to it. Then you can add action in rule to playTrack with the uri “https://xxx.xxx/xxxx.mp3” .
Ok, sO I just stuffed a sound in my google drive, so if i just add this ’ https://drive.google.com/open?id=1jrkSJ7mkwC0tF-jcUnX6m1vhi_Oc3QAk ’
It will pick that up? Is that correct?
Yup, and the file seems to be public accessible, so Sonos should be able to play it.
Brilliant! Loving how I can do all this from my office and then test it out when home!!
I mean obviously im hard at work as well lol
It looks like that’s actually a link to the Google Drive file sharing webpage which is the default ‘sharing link’. Sonos needs direct access to the MP3 file.
Even after doing a bit of searching on how to get a direct file link from Google Drive, even that didn’t work with Sonos. But if I downloaded the file from Google Drive and then hosted it on a traditional web server, I could play it fine.
For reference, there are a bunch of different sound files from the Notify with Sound that all seem to work fine - maybe one of those would work for your use case? (Sample MP3 URLs here)
Good catch @josh.
I just tried @David_McNae’s mp3 file in Dropbox, and that appears to be working properly.
So I uploaded the file to dropbox’s public folder, and generated a link like this.
“Dropbox - Police Siren Sound Effect (1).mp3 - Simplify your life”
And I had to replace host name and url parameter to this to get the direct file download url.
“https://dl.dropboxusercontent.com/s/nz4q7ikaaim66gz/Police%20Siren%20Sound%20Effect%20(1).mp3?dl=1”
That works beautifully.
Perfect thank you. Will give it a shot.
HI, @josh @James i am testing out the trial so far loving it!!! clean and very user friendly and fast!!
I am setting up the konnected Alarm Panel and therefore replacing my old alarm keypads, i am trying to accomplish something related to this thread…
I had set up a delay for a about a min when entered via the front door to give time to disarm via the tablet. but my wife and i would like to hear a sound from the tablet it self so we remember to disarm it within the minute (like traditional keypads do)… we dont always see right away our phone alerts or push notification… so is there any solution to this without the need to install a sonos speakers system or another smart speaker… i local sound file on the tablet would be the best option…
let me know what you think the best option for me. thanks
Thanks for the feedback and glad to hear that you are enjoying things. What kind of tablet are you using to display your dashboards?
If you’re using a Fire Tablet or Android Tablet along with Fully Kiosk Browser, you could use that with SmartThings (DTH) or Hubitat (driver) to play a sound. The integration has a variety of neat features like commands for beep()
, chime()
, alarm()
, and playSound()
which might be helpful to you. Each of these commands can play a local sound file stored on the tablet.
Thanks for the fast response!
It’s Fire tablet. So the options are available via fully kiosks features? Because I wasn’t able to figure it out through the Smartthings DTH alone.
Check out the posts linked above which provide a Fully Kiosk Integration for either SmartThings or Hubitat:
These integrations expose your Fully Kiosk Browser tablet as a device in your smart home platform. You can then setup rules either using the built-in rule feature of your smart home platform or using the SharpTools.io Rule Engine to access the custom commands on your new Fully Kiosk Browser ‘device’.