Explore Plans
Mobile menu Close menu
Hager IoTHager IoT

Player state changes

This Trigger fires every time your device player's state changes to the value you specified.

Developer info

API endpoint slug
hager_iot.playerstate

Trigger fields

Cid Dropdown list

Label
Which device?
Slug
cid
Required
true
Can have default value
false

Playerstate Dropdown list

Label
What player state?
Slug
playerstate
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
HagerIot.playerstate.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

NameThe name of the device.

Slug
name
Filter code
HagerIot.playerstate.Name
Type
String
Example
My Device

System serial numberThe system serial number.

Slug
sid
Filter code
HagerIot.playerstate.SystemSerialNumber
Type
String
Example
HGR12345678901234567890

System nameThe system name.

Slug
systemName
Filter code
HagerIot.playerstate.SystemName
Type
String
Example
My System

Player stateThe current player state.

Slug
playerstate
Filter code
HagerIot.playerstate.PlayerState
Type
String
Example
Playing

SourceThe current source.

Slug
source
Filter code
HagerIot.playerstate.Source
Type
String
Example
Stream

TracksNumber of tracks in queue.

Slug
tracks
Filter code
HagerIot.playerstate.Tracks
Type
String
Example
20

IndexCurrent queue index number.

Slug
index
Filter code
HagerIot.playerstate.Index
Type
String
Example
3

TitleThe current title name.

Slug
title
Filter code
HagerIot.playerstate.Title
Type
String
Example
T.N.T.

ArtistThe current artist name.

Slug
artist
Filter code
HagerIot.playerstate.Artist
Type
String
Example
AC/DC

AlbumThe current album name.

Slug
album
Filter code
HagerIot.playerstate.Album
Type
String
Example
High Voltage