Page 1 of 1
Plugin Domoticz for Squeezebox / Logitech media server
Posted: Wednesday 07 September 2016 22:48
by Barberousse
Hello,
I wrote a plugin for Squeezebox / Logitech media server to control Domoticz devices from Jive based player screen (Squeezebox radio, Squeezebox Touch, UE Smart Radio with squeezebox firmware).
You can filter for each player which Domoticz devices you want in Extra/Domoticz Control menu. You can associate alarms and snooze to an On/Off switch.
More details here:
https://guillaumezin.github.io/DomoticzControl
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Friday 09 September 2016 23:58
by maxtrash
nice!
but I tried to run it and after adding the URL in the settings and selecting Domoticz control settings it doesn't go to the config page. Any tips?
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Saturday 10 September 2016 11:32
by Barberousse
Did you go in per Player settings (like alarms, etc.) ?
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Tuesday 13 September 2016 0:08
by Barberousse
I changed the repository URL, look at
https://guillaumezin.github.io/DomoticzControl. It prevent HTTPS redirection, that is incompatible with some Logitech Media Server installations.
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Wednesday 14 September 2016 21:27
by Barberousse
I did some correction, starting V1.0.1, settings page should be restored for everyone now
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Saturday 15 October 2016 16:56
by jackisidore
Thanks!
It's working nicely and just what I needed to control switches/speakers/amps from max2play/jivelite.
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Tuesday 15 November 2016 15:55
by kllngtme
The repo doesn't seem to work anymore.
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Tuesday 15 November 2016 20:54
by Barberousse
I changed the repo to
http://domoticzcontrol.e-monsite.com/me ... s/repo.xml because the previous one was closed by provider (not enough activity...)
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Wednesday 16 November 2016 15:32
by kllngtme
Thanks! Might want to update the github.
The functionality works great by the way! I wasn't expecting the alarm/snooze trigger. Great idea!
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Wednesday 16 November 2016 15:50
by Barberousse
I did it to activate my towel drying heater during winter, it is great to have hot towels after the shower
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Thursday 23 November 2017 22:42
by quchi
Hi - not working for me at all - installed Domoticz on same machine and then on a different one, Disabled/enabled the Domoticz controller 1.0.6
Tried from max2play JiveLite, a compiled Jivelite on a different rpi computer
JiveLite on Windows and iPeng on ios - all the same
Loading .... the Domoticz controller and ..nothing
On LMS logs I get when I try from any of the above
Plugins::DomoticzControl::Plugin::_getFromDomoticzErrorCallback (543) No answer from Domoticz after get devices
A google search reveals nothing
"Your search - getFromDomoticzErrorCallback - did not match any documents. "
The only reason I installed Domoticz was that I saw " Domoticz Controller' on my JiveLite screen on max2play install
I w'd love to be able to use it
I do have OpenHAB i played with but not accessible from Max2Play
I do see the LMS server and players on Domoticz devices
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Tuesday 28 November 2017 14:19
by Barberousse
What version of LMS are you using ?
What IP address and port is your LMS on?
Maybe obvious, but if it is different than 127.0.0.1 (LMS and Domoticz on same server) and port 8080, have you setup parameters in logitech media server parameters in "Domoticz Control" setting of the player setting page?
Can you post more detailes messages: in "Advanced" --> "Logging", enable "Save logging settings for use at next application restart", set "plugin.DomoticzControl" to "Debug", save and restart?
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Tuesday 12 December 2017 21:37
by Barberousse
quchi wrote: ↑Thursday 23 November 2017 22:42
Hi - not working for me at all - installed Domoticz on same machine and then on a different one, Disabled/enabled the Domoticz controller 1.0.6
Tried from max2play JiveLite, a compiled Jivelite on a different rpi computer
v1.0.9 should appear shortly and correct a problem where some checkbox values were replaced by default values in paramerters (for instance "Only dashboard devices" and "Only unprotected devices"). Could you tell me if it helps?
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Thursday 28 June 2018 11:10
by Barberousse
Last version (1.1.4) of Domoticz Control can expose values based on devices state to Custom Clock Helper, if you have SuperDateTime (weather.com version 5.9.42 onwards).
Values must be given based on device name or device idx number.
Code: Select all
~nDevicename~Nameofjsonfield~
~iIdxofdevice~Nameofjsonfield~
For instance,
will be replaced by the current temperature reported by Domoticz device named "External Temp Sensor".
same thing if 231 Idx points to the same device.
You can have a look at
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's to read Domoticz JSON documentation or have a look at your available devices fields connecting to http(s)://domoticzurl:domoticzport/json.htm?type=devices
For convenience, you can append functions to change returned value.
Code: Select all
~nDevicename~Nameofjsonfield~truncate~
to truncate a number.
Code: Select all
~iIdxofdevice~Nameofjsonfield~ceil~
for ceil function.
Code: Select all
~nDevicename~Nameofjsonfield~floor~
for floor function.
Code: Select all
~iIdxofdevice~Nameofjsonfield~round~
to round a number as integer.
Code: Select all
~nDevicename~Nameofjsonfield~round~1~
to round a number keeping one decimal (1 can be any positive integer).
Code: Select all
~iIdxofdevice~Nameofjsonfield~shorten~3~
to keep only the three first characters of the value (3 can be any positive integer).
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Friday 21 September 2018 14:06
by kllngtme
Barberousse wrote: ↑Thursday 28 June 2018 11:10
For instance, ~nExternal Temp Sensor~Temp~ will be replaced by the current temperature reported by Domoticz device named "External Temp Sensor".
Ermahgerd!!!! I just saw this now. Fantastic update. I had an issue whenever the Wunderground weather station I was using went down. It would display on my Squeezeboxes, 99.9999% humidity and temperature whenever the station couldn't be polled. This way, it will atleast show the last temp from Domoticz.
Huge deal for me as I have a 10 year old who likes to nag me whenever the Squeezeboxes aren't showing the temperature around the house.
Update: In trying to implement it I've gotten myself confused. Where do I get started? Is it under, the player options for SuperDateTime?
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Friday 21 September 2018 14:26
by kllngtme
I'd like to formally actually say as well, this function has gone a long way with me. I use Squeezebox radios in my kids rooms. After I put the baby down, before I leave the room, I'll go on the SB radio and turn off the hallway light or whatnot before I open the door. Thank you very much for this!
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Friday 21 September 2018 21:10
by Barberousse
I'm glad to hear that one of my pet project is useful to someone else

Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Wednesday 26 September 2018 19:24
by kllngtme
Barberousse wrote: ↑Friday 21 September 2018 21:10
I'm glad to hear that one of my pet project is useful to someone else
I thought I was going to be able to get it going but I can't figure how to get started with use with customer clock helper. Is it done on the player settings in SuperDateTime?
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Wednesday 26 September 2018 20:45
by Barberousse
Hello,
In Settings/Plugins, add
Code: Select all
http://domoticzcontrol.e-monsite.com/medias/files/repo.xml
http://sourceforge.net/projects/sdt-weather-com/files/repo.xml
in "Additional Repositories", apply and restart Logitech Media Server.
Enable "Domoticz Controller", "SuperDateTime Screensaver" and "Custom Clock Helper" and apply.
In "Settings/Advanced/Custom Clock Helper", create a custom clock or import one. To import, choose "Style: import..." in "Clock styles" dropdown menu and copy paste the code from a custom clock. You can find many on
https://forums.slimdevices.com/showthre ... Controller and a Domoticz specific one here:
https://forums.slimdevices.com/showthre ... post916635
To see possible macros, go to "Settings/Player/SuperDateTime" and "Settings/Player/Domoticz" Control Settings. Have a look to
http://wiki.slimdevices.com/index.php/C ... ock_applet too.
On your player, go in "Settings/Advanced/Applet Installer" and enable "CustomClock" then restart. Go in "Settings/Screen/Screensavers/Custom Clock Settings", choose a config slot and set a style on that slot. Now in "Settings/Screen/Screensavers" you can use that style on "When playing", "When stopped", etc.
Re: Plugin Domoticz for Squeezebox / Logitech media server
Posted: Wednesday 12 February 2025 21:15
by Barberousse
Hello,
I changed the repository URL again (not enough activity again, site closed by provider), look at
https://guillaumezin.github.io/DomoticzControl
Hopefully https will fit any installations.