Thank you so much! Very appreciated!Eduard wrote:I will add this model asapdjgodlike wrote:My SlimDevices Transporter is not being recognized. Is there a way to get it connected?
Logitech Media Server
Moderators: leecollings, remb0
-
- Posts: 32
- Joined: Wednesday 27 January 2016 16:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: RE: Re: Logitech Media Server
Aeon Labs Gen5 USB
Greenwave Powernode 6 NS310
2x Greenwave Powernode 1 NS310
Philips Hue
Logitech media Server
Plugwise Smile P1
Greenwave Powernode 6 NS310
2x Greenwave Powernode 1 NS310
Philips Hue
Logitech media Server
Plugwise Smile P1
Re: RE: Re: Logitech Media Server
Transporter-support is available in next beta...djgodlike wrote:Thank you so much! Very appreciated!Eduard wrote:I will add this model asapdjgodlike wrote:My SlimDevices Transporter is not being recognized. Is there a way to get it connected?
-
- Posts: 32
- Joined: Wednesday 27 January 2016 16:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: RE: Re: Logitech Media Server
Bedankt!!! Thumbs up!Eduard wrote:Transporter-support is available in next beta...djgodlike wrote:Thank you so much! Very appreciated!Eduard wrote: I will add this model asap
Aeon Labs Gen5 USB
Greenwave Powernode 6 NS310
2x Greenwave Powernode 1 NS310
Philips Hue
Logitech media Server
Plugwise Smile P1
Greenwave Powernode 6 NS310
2x Greenwave Powernode 1 NS310
Philips Hue
Logitech media Server
Plugwise Smile P1
-
- Posts: 133
- Joined: Wednesday 11 March 2015 19:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Logitech Media Server
is it possible to send notifications to the Logitech media server?
I would like to send TTS notitifications to my speakers.
I thought this was possible with Sonos..
I would like to send TTS notitifications to my speakers.
I thought this was possible with Sonos..
Re: Logitech Media Server
I think so, in Setup, Settings, Notifications, bottom right :
Logitech Media Server:
This notifier only works when the Logitech Media Server hardware has been added/enabled
Re: Logitech Media Server
Is it possible to use the selector switch with blockly to play favorites, playlists, volume etc?
I have a selector switch, and in blockly i can stop my squeeselite player with the off button, but when i try to play favorites with the level1 button nothing happens.
I have a selector switch, and in blockly i can stop my squeeselite player with the off button, but when i try to play favorites with the level1 button nothing happens.
- Attachments
-
- block.png (16.2 KiB) Viewed 4449 times
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: Logitech Media Server
These are TTT notifications (text on display only)Zycker wrote:I think so, in Setup, Settings, Notifications, bottom right :Logitech Media Server:
This notifier only works when the Logitech Media Server hardware has been added/enabled
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Logitech Media Server
Hi,
I noticed something strange - perhaps... It seems that the event system does not see any update on the sValue after a player is powered on and playing something. The web interface (usually, I've noted some exceptions) shows correct info on the player (.e.g playing artist2 - song2) switch but the sValue is what was when originally starting to play (e.g. artist1 - song1). I tried to build a script to detect if certain web radios are played but without having an update on the sValue I think it is impossible? Or maybe I can read from the json response somehow. But is this something that is just bugging me or do others have this behaviour as well? And if so, could it be somehow fixed to update the sValue during playback too?
I noticed something strange - perhaps... It seems that the event system does not see any update on the sValue after a player is powered on and playing something. The web interface (usually, I've noted some exceptions) shows correct info on the player (.e.g playing artist2 - song2) switch but the sValue is what was when originally starting to play (e.g. artist1 - song1). I tried to build a script to detect if certain web radios are played but without having an update on the sValue I think it is impossible? Or maybe I can read from the json response somehow. But is this something that is just bugging me or do others have this behaviour as well? And if so, could it be somehow fixed to update the sValue during playback too?
Re: Logitech Media Server
I get song info for each song that is played on webradios.Nautilus wrote:Hi,
I noticed something strange - perhaps... It seems that the event system does not see any update on the sValue after a player is powered on and playing something. The web interface (usually, I've noted some exceptions) shows correct info on the player (.e.g playing artist2 - song2) switch but the sValue is what was when originally starting to play (e.g. artist1 - song1). I tried to build a script to detect if certain web radios are played but without having an update on the sValue I think it is impossible? Or maybe I can read from the json response somehow. But is this something that is just bugging me or do others have this behaviour as well? And if so, could it be somehow fixed to update the sValue during playback too?
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Logitech Media Server
The problem from my perspective was not the info on switch itself - that is updating correctly. But from the viewpoint of the event system, it seems that the sValue does not update accordingly. In any case, I realized there is potentially as timing issue if the channel is changed through another medium than domoticz so I decided to check the needed info directly from the server with this kind of script:toreandre wrote:
I get song info for each song that is played on webradios.
Code: Select all
json = (loadfile '/home/pi/domoticz/scripts/lua/json.lua')()
file = assert(io.popen('curl \'url:port/jsonrpc.js\' --data-binary \'{"id":1,"method":"slim.request","params":["player:mac:address",["status","-","1",""]]}\''))
raw = file:read('*all')
file:close()
deviceinfo = json:decode(raw)
nowplaying = deviceinfo.result.current_title
Re: Logitech Media Server
I have two RPis with squeezelite, but sometimes the two clients change name in domoticz.
I have not set a specific mac adress in the config so they both use their hardware mac.
In the log i can se a status update almost like this: "Device squeezelite 1 has changed name to squeezelite 2"
I have not set a specific mac adress in the config so they both use their hardware mac.
In the log i can se a status update almost like this: "Device squeezelite 1 has changed name to squeezelite 2"
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Logitech Media Server
Hi,
does anyone know if it would be possible to somehow toggle the squeezebox On / Off via single json api command? I'd need this for a selector switch. The normal method:
/json.htm?type=command¶m=switchlight&idx=IDX&switchcmd=Toggle
does not work when the status is something else than On or Off (e.g. "Playing" or "Stopped"). Well ok, if it is "Playing" the first press turns it On and if you press again right after then "Off". But what I'd really like would be to turn off also from "Playing" status.
Lua is a good workaround, but I would also need to be able to update the selector level without triggering an action and if the action is behind lua scripts, it will always trigger for the "devicechanged"...
does anyone know if it would be possible to somehow toggle the squeezebox On / Off via single json api command? I'd need this for a selector switch. The normal method:
/json.htm?type=command¶m=switchlight&idx=IDX&switchcmd=Toggle
does not work when the status is something else than On or Off (e.g. "Playing" or "Stopped"). Well ok, if it is "Playing" the first press turns it On and if you press again right after then "Off". But what I'd really like would be to turn off also from "Playing" status.
Lua is a good workaround, but I would also need to be able to update the selector level without triggering an action and if the action is behind lua scripts, it will always trigger for the "devicechanged"...
Re: Logitech Media Server
You can switch on/off a player directly via curl using:
Power on SqueezeBox
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power_on&player=<player-ip>[/url]
Power off SqueezeBox
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power_off&player=<player-ip>[/url]
Power on SqueezeBox
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power_on&player=<player-ip>[/url]
Power off SqueezeBox
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power_off&player=<player-ip>[/url]
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Logitech Media Server
True, and even the Domoticz json calls for "on" and "off" works ok if the above is what is needed. However, in my situation if I want the selector switch to fit nicely inside the "switch area", I can only have a certain amount of buttons and for this reason I would've like to be able to toggle each squeezeboxes' state from one button only. Well, I guess I could do it also in some external script or by creating a few more dummy devices...Eduard wrote:You can switch on/off a player directly via curl using:
Power on SqueezeBox
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power_on&player=<player-ip>[/url]
Power off SqueezeBox
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power_off&player=<player-ip>[/url]
Re: Logitech Media Server
To toggle power you can use:Nautilus wrote:True, and even the Domoticz json calls for "on" and "off" works ok if the above is what is needed. However, in my situation if I want the selector switch to fit nicely inside the "switch area", I can only have a certain amount of buttons and for this reason I would've like to be able to toggle each squeezeboxes' state from one button only. Well, I guess I could do it also in some external script or by creating a few more dummy devices...Eduard wrote:You can switch on/off a player directly via curl using:
Power on SqueezeBox
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power_on&player=<player-ip>[/url]
Power off SqueezeBox
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power_off&player=<player-ip>[/url]
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power&player=<player-ip>[/url]
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Logitech Media Server
Great, thanks a lot!Eduard wrote: To toggle power you can use:
[url]http://<server-ip>:<port>/status.html?p0=button&p1=power&player=<player-ip>[/url]
- Mooseknuckle
- Posts: 43
- Joined: Sunday 08 March 2015 9:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Logitech Media Server
Hi there,
I recently started to use LMS. Thanks to a third party plugin called 'Chromecast bridge" LMS works great with chromecast devices. I noticed that from LMS you can start different favorites (I have multiple dynamic spotify playlists as a favorite) on different Chromecasts but with Domoticz I cannnot select which favorite I want to send, it always starts with the first. I can start a specific favorite with curl but I would really like to use the Domoticz LMS support. Am I doing something wrong or is it possible to implement the item_id for favorites?
Thanks in advance,
I recently started to use LMS. Thanks to a third party plugin called 'Chromecast bridge" LMS works great with chromecast devices. I noticed that from LMS you can start different favorites (I have multiple dynamic spotify playlists as a favorite) on different Chromecasts but with Domoticz I cannnot select which favorite I want to send, it always starts with the first. I can start a specific favorite with curl but I would really like to use the Domoticz LMS support. Am I doing something wrong or is it possible to implement the item_id for favorites?
Thanks in advance,
RPI 3, Philips Hue,Toon Thermostat, Harmony Smart Control, Yeelights
Mysensors wifi gateway + sensors, RFXtrx433E, Kaku stuff, Xiaomi gateway + sensors
Domoticz controlled DIY ambilight, Selectplus chime, Mi-light led controller
Mysensors wifi gateway + sensors, RFXtrx433E, Kaku stuff, Xiaomi gateway + sensors
Domoticz controlled DIY ambilight, Selectplus chime, Mi-light led controller
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: Logitech Media Server
Logitech is working fine from Domoticz.
I am trying to control my players from blockly, On, Off, is working fine. But playing a playlist or setting a volume level is not working. What should I change?
I am trying to control my players from blockly, On, Off, is working fine. But playing a playlist or setting a volume level is not working. What should I change?
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: Logitech Media Server
Hi,
Is there a way to get and change the volume for a player via json command? Trying to add this into homebridge with edomoticz. I can turn the players on and off but would love to be able to control the volume using the same switch. Any ideas? Even if I need to directly get the states from LMS rather than Domoticz.
Cheers guys & girls
Edit:- Found http://192.168.1.26:8080/json.htm?type= ... n=VolumeUp command
Is there a way to get and change the volume for a player via json command? Trying to add this into homebridge with edomoticz. I can turn the players on and off but would love to be able to control the volume using the same switch. Any ideas? Even if I need to directly get the states from LMS rather than Domoticz.
Cheers guys & girls
Edit:- Found http://192.168.1.26:8080/json.htm?type= ... n=VolumeUp command
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: Logitech Media Server
Is there a way to get volume status via a command. I read above there isn't using this plugin however I have seen other plugins able to get the volume data from the players. Wondered if its possible to get the volume data put into the /json.htm?type=devices&rid=IDX outpost. Then it could be used via edomoticz homebridge plugin. Could control the volume via iOS 10 HomeKit app and via Siri. We should be able to increase/decrease the volume however without knowing what the volume is to start with it may be difficult.
Cheers
Cheers
Who is online
Users browsing this forum: No registered users and 1 guest