[SOLVED] How to send command to Player item

Hi!

I want to send a pause command to a Player item. Is this correct? (I couldn’t find any info on that)

Denon_Heos_Player_Control.sendCommand(PAUSE)

In the docs:


and

So this means sendCommand(Pause) or sendCommand(PlayPause)?

sendCommand(PAUSE)

The player item can accept PlayPause type commands which can be of the value PLAY or PAUSE (No quotes they are not string)
It can also accept a command of the NextPrevious type and FastForwardRewind type
They can have the values: NEXt, PREVIOUS, FASTFORWARD and REWIND respectively

A Switch item accept commands of the OnOff type which can have the values ON or OFF

Thank you!

Welcome
Docs, Docs, Docs…

Please mark the thread as solved

Thanks