Skip to main content

Media remote media-remote.1

A remote screen that sends play/pause, previous/next and arrow keys.

← Device types

Use​

For devices that drive a video player, slides or a screen, or for IR transmitters.

On the device​

On connecting, the device announces this type with t= in @$ui and sends @$state whenever its state changes. Apps send commands to <cid>@.

@$name My Media remote:Living room
@$ui t=media-remote.1
@$state (no state)

State keys @$state​

KeyValuesMeaning
_The whole state string to show. The app shows it as received under "current state".

Commands <cid>@​

CommandMeaning
prevPrevious
playTogglePlay/pause
nextNext
upArrow up
downArrow down
leftArrow left
rightArrow right
okOK

{v} is the slider or color value. Even for an unknown command the device should send its current state, so the app does not wait.

Implementation notes​

  • A button command may not change the state. Still send @$state once after handling it so the app stops waiting.
  • The command names match the bayo.tv screen control (#screen).

Default picture​

This type has no default picture.

Examples​

No Arduino example uses this type yet.

Type file​

iosignal/devices/types/media-remote.1.json (rev 1) · CDN

The screen labels in the type file are in Korean; apps show them as written.