List of Client commands

  • Mark Guebert
  • Topic Author
  • Offline
  • User
  • User
More
2 years 4 months ago #2047 by Mark Guebert
List of Client commands was created by Mark Guebert
Is there a comprehensive client command list documented anywhere? 

 

Please Log in to join the conversation.

More
2 years 4 months ago #2086 by bitzerjd
Replied by bitzerjd on topic List of Client commands
This would be super helpful. It's hard to design a system when you don't know what commands you can use.

Please Log in to join the conversation.

More
2 years 4 months ago #2103 by davep
Replied by davep on topic List of Client commands
In no particular order

SetLaunchProperties: Define new client settings.
                                    SetLaunchProperties|project~serverip~clientname

SetupWifi:                  Jump to Wifi settings on the SmartRemote
ExitApp:                     Exit the SmartRemote app.
SendIR:                     Send an IR string out the SmartRemote emitter
                                  SendIR|<ir command string>>
Restart:                     Restart the SmartRemote apk

            Internal Audio or Video player transport commands
Stop:                        Stop|<object id> - typically the players unique id
Pause:                     Pause|<object id>
Play:                        Play|<object id>
PlayPause:             PlayPause|<object id>
Volume:                  Volume|<object id>~Up, Down or 0..100
Mute:                      Mute|<object id>~On, Off or Toggle

            Navigation Commands
Home:                   Home - back to the index page
Back:                    Back - return to the previous page
LoadScene:          LoadScene|<page name> e.g. Loadscene|sonos
LoadProject:         LoadProject|<project name>
LastProject:          LastProject - return to the previous project

            Overlay Commands - case sensitive overlay names!
Toggle:                Toggle|<overlay name> - show / hide an overlay
Show:                  Show|<overlay name> - make the overlay visible
Hide:                    Hide|<overlay name> - make the overlay hidden
RefreshPage:      RefreshPage - reload the current page

ShowDimensions:    ShowDimensions - pop up a window showing current page height and width

Macro:                 Run a series of "client" commands using ! delimiter
                            Macro|cmd1!cmd2!cmdN
                           Macro|hide|overlay1!hide|overlay2!show|overlay3

SetClientname:     SetClientname|<new name> - no spaces! a..z and 0..9
DeleteClientname: Remove a stored clientname and revert to a new random name

Toast:                    Pop up a Toast message
                 Toast|type~title~message~time
                          type = success,warning,error,info,mic,speaker,phone = icon shown
                          title = title on dialog
                          message = messsage displayed
                          time = display time in milliseconds
                  Toast|warning~Wake Up~Time to make the donuts~5000

Launch:       Launch|<URL> - open a new window at the specified url

Printpage: Printpage - print the current page

RemoteButton: Simulate a remote hard button press
                RemoteButton|ok
                RemoteButton|back
                RemoteButton|power
                RemoteButton|menu
                RemoteButton|more
                RemoteButton|home
                RemoteButton|mute
                RemoteButton|volumeup
                RemoteButton|volumedown
                RemoteButton|up
                RemoteButton|down
                RemoteButton|left
                RemoteButton|right
                RemoteButton|pageup
                RemoteButton|pagedown
                RemoteButton|rewind
                RemoteButton|playpause
                RemoteButton|fastforward
                RemoteButton|stop
                RemoteButton|f1
                RemoteButton|f2
                RemoteButton|f3

 
The following user(s) said Thank You: bowlingbeeg

Please Log in to join the conversation.

Time to create page: 0.192 seconds