Noob Question Squeezebox Server

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
Boredcat
Posts: 46
Joined: Friday 17 March 2017 10:31
Target OS: Raspberry Pi
Domoticz version: 3.9639
Location: Netherlands
Contact:

Noob Question Squeezebox Server

Post by Boredcat » Wednesday 26 September 2018 11:32

Maybe a complete dumb question..

I am using a Squeebox Server (Works perfect in Domoticz). Now I wanna try to have my Alexa speak which song is played.

Speech works in Alexa and Domoticz. But the issue is that I have no idea how to get the playing song into a variable.

When I check the JSON (/json.htm?type=devices&rid=7) (LMS is IDX 7). I see that in data field there is the song. So domoticz must be aware of the song begin played.



Any idea's or guidance .. (I am not a big programmar.. stopped at Turbo Pascal ..)
Spoiler: show

Code: Select all

"result" : [
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
        [b] "Data" : "Dixie Chicks - Desire (1993)",[/b]
         "Description" : "",
         "DimmerType" : "none",
         "Favorite" : 0,
         "HardwareID" : 3,
         "HardwareName" : "Logitech",
         "HardwareType" : "Logitech Media Server",
         "HardwareTypeVal" : 60,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0000002",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2018-09-26 11:25:33",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 15,
         "Name" : "Woonkamer",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
RFXCom(E) - Yeelight Lights - KaKu / Alexa HA Bridge
Windows 2012 / Windows 2012R2 / Xpenology/ Pi 3 / Milight / Home build ESP8266 / Sonoff

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests