HBB Integrated Plugin: Sonos ZonePlayer

Posted on
Wed Dec 20, 2017 8:11 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: HBB Integrated Plugin: Sonos ZonePlayer

Colorado4Wheeler wrote:
That's awesome!!! I'm completely willing to diagnose this and work on why it may have worked out how it did but I wanted to first get you to a "before" picture and put another update out and start from that. To start from a broken system and try to fix it is much more difficult than to see the process from start to finish.

I'm going to release 1.0.4 soon with IFTTT support (I'm testing it now) and in doing that found a few Sonos things that needed to be addressed anyway so it works out better in 1.0.4 than in 1.0.1 - 1.0.3. If you want to give it another shot, perhaps tomorrow, then we can set a time, get backups, do an upgrade and I'll be on hand for Skype and remote support. How does that work out for you?


Just got back home and see that you released HB v1.0.4 and after installing it, the Homebridge for Indigo it started to work again. My iOS Home app has still not finished Loading Accessories and Scenes since earlier this afternoon and I went ahead and performed a reset, which took several minutes. The app found the Homebridge for Indigo and after I entered the code, it now says "Homebridge for Indigo copy"? This is not the name in Indigo, why would this name have copy appended?

Now, I have to configure my HomeKit setup from scratch, no rooms and no room photos :( Well, here we go.

Posted on
Wed Dec 20, 2017 9:11 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: HBB Integrated Plugin: Sonos ZonePlayer

Ok, finished setting up my HomeKit iOS Home app and now I see a few other issues.

    Homebridge for Indigo is constantly restarting
    The Homebridge for Sonos is not starting up in Indigo, it shows status OFF
    When I try to Save and Reload HBB, I get a red error message telling me error validating fields.
    In my Support Data Dump below is a 192.168.1.1 IP address, but I am on 10.0.1.0/24 subnet?

#####################################################################
# EPS - Homebridge Buddy #
#####################################################################
# #
# Plugin Version : 1.0.4 #
# Template Version : 3.2.1 #
# Core Engine Version : 2.3.0 #
# Indigo Version : 7.1.1 #
# Indigo API Version : 2.0 #
# #
=====================================================================
= PLUGIN DEVICES =
=====================================================================
*********************************************************************
* 'Homebridge for Indigo' (379862512) *
*********************************************************************
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Attributes +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ address = 031-45-154 @ 51826 +
+ batteryLevel = None +
+ buttonGroupCount = 0 +
+ configured = True +
+ description =






Automatically created by Homebridge Buddy as first Homebridge server

PIN: 031-45-154 +
+ deviceTypeId = Homebridge-Server +
+ displayStateId = onOffState +
+ displayStateImageSel = PowerOn +
+ displayStateValRaw = True +
+ displayStateValUi = on +
+ enabled = True +
+ energyAccumBaseTime = None +
+ energyAccumTimeDelta = None +
+ energyAccumTotal = None +
+ energyCurLevel = None +
+ errorState = +
+ folderId = 0 +
+ id = 379862512 +
+ lastChanged = 2017-12-20 22:13:23 +
+ lastSuccessfulComm = 2017-12-20 22:13:23 +
+ ledStates = [] +
+ model = Homebridge Indigo Server +
+ name = Homebridge for Indigo +
+ onState = True +
+ pluginId = com.eps.indigoplugin.homebridge +
+ protocol = Plugin +
+ remoteDisplay = True +
+ subModel = +
+ supportsAllLightsOnOff = False +
+ supportsAllOff = False +
+ supportsStatusRequest = True +
+ version = None +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Configuration +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ accessory = +
+ actexclude = actexclude : (list)
Item : -none- (string) +
+ actinclude = actinclude : (list)
Item : 108333457 (string) +
+ address = 031-45-154 @ 51826 +
+ autoStartStop = True +
+ auto_hbuser = False +
+ celsius = False +
+ computerip = 192.168.1.1 +
+ countWrappedItems = True +
+ devexclude = devexclude : (list)
Item : -none- (string) +
+ devinclude = devinclude : (list)
Item : 38928904 (string)
Item : 1985977675 (string)
Item : 1396028909 (string)
Item : 1184339668 (string)
Item : 1167530525 (string)
Item : 159491032 (string)
Item : 1661808536 (string)
Item : 815841558 (string)
Item : 348541413 (string)
Item : 172589421 (string)
Item : 1041695452 (string)
Item : 1638443911 (string)
Item : 1986782786 (string)
Item : 1574712331 (string)
Item : 1657061011 (string)
Item : 402175820 (string)
Item : 43695003 (string)
Item : 863733206 (string)
Item : 1123657182 (string)
Item : 6535995 (string)
Item : 1405900416 (string)
Item : 696023983 (string)
Item : 1610388329 (string)
Item : 612924995 (string)
Item : 77256931 (string)
Item : 1374435381 (string)
Item : 1011991683 (string)
Item : 891216773 (string)
Item : 1837678919 (string)
Item : 200485626 (string)
Item : 122970941 (string)
Item : 525877480 (string)
Item : 724743611 (string)
Item : 532458411 (string)
Item : 622109793 (string)
Item : 129072646 (string)
Item : 678921018 (string)
Item : 1958503678 (string)
Item : 1293419681 (string)
Item : 1165331466 (string)
Item : 959383547 (string)
Item : 110480048 (string)
Item : 1322567867 (string)
Item : 1135404416 (string)
Item : 115058887 (string)
Item : 1821924707 (string)
Item : 1671800931 (string)
Item : 1564713498 (string)
Item : 872057431 (string)
Item : 114125224 (string)
Item : 82157364 (string)
Item : 209420487 (string) +
+ hbpin = 031-45-154 +
+ hbport = 51826 +
+ hbuser = DD:22:3D:E3:CE:30 +
+ hideWrappedItems = False +
+ indigoServer = True +
+ invertonoff = invertonoff : (list)
Item : -none- (string) +
+ itemcount = 53 +
+ itunes_control = 0 +
+ name = Indigo +
+ password = password +
+ password2 = password +
+ show_hbuser = True +
+ totalcount = 53 +
+ treatasdoor = treatasdoor : (list)
Item : -none- (string) +
+ treatasdrapes = treatasdrapes : (list)
Item : -none- (string) +
+ treatasfans = treatasfans : (list)
Item : -none- (string) +
+ treatasgarage = treatasgarage : (list)
Item : 1041695452 (string) +
+ treataslock = treataslock : (list)
Item : 951832507 (string) +
+ treatassensors = treatassensors : (list)
Item : 696023983 (string)
Item : 622109793 (string)
Item : 1293419681 (string) +
+ treatasswitch = treatasswitch : (list)
Item : 38928904 (string)
Item : 1184339668 (string)
Item : 1167530525 (string)
Item : 159491032 (string)
Item : 1661808536 (string)
Item : 815841558 (string)
Item : 1985977675 (string)
Item : 348541413 (string)
Item : 172589421 (string)
Item : 863733206 (string)
Item : 1986782786 (string)
Item : 1638443911 (string)
Item : 1374435381 (string)
Item : 891216773 (string)
Item : 1837678919 (string)
Item : 200485626 (string)
Item : 1671800931 (string)
Item : 82157364 (string)
Item : 379080269 (string)
Item : 1821924707 (string)
Item : 1564713498 (string)
Item : 872057431 (string)
Item : 114125224 (string)
Item : 110480048 (string)
Item : 209420487 (string)
Item : 1135404416 (string)
Item : 115058887 (string) +
+ treataswindows = treataswindows : (list)
Item : -none- (string) +
+ username = Administrator +
+ view = server +
+ wrappercount = 0 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ States +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ lastHealthCheck = 2017-12-20 22:13:21 +
+ onOffState = True +
+ restartPending = True +
+ restartTime = 2017-12-20 22:14:23 +
+ statedisplay = +
*********************************************************************
* 'Homebridge Sonos' (56061144) *
*********************************************************************
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Attributes +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ address = +
+ batteryLevel = None +
+ buttonGroupCount = 0 +
+ configured = True +
+ description = +
+ deviceTypeId = Homebridge-SonosZP +
+ displayStateId = onOffState +
+ displayStateImageSel = PowerOff +
+ displayStateValRaw = False +
+ displayStateValUi = off +
+ enabled = False +
+ energyAccumBaseTime = None +
+ energyAccumTimeDelta = None +
+ energyAccumTotal = None +
+ energyCurLevel = None +
+ errorState = +
+ folderId = 0 +
+ id = 56061144 +
+ lastChanged = 2000-01-01 00:00:00 +
+ lastSuccessfulComm = 2000-01-01 00:00:00 +
+ ledStates = [] +
+ model = Homebridge Sonos ZonePlayer +
+ name = Homebridge Sonos +
+ onState = False +
+ pluginId = com.eps.indigoplugin.homebridge +
+ protocol = Plugin +
+ remoteDisplay = False +
+ subModel = +
+ supportsAllLightsOnOff = False +
+ supportsAllOff = False +
+ supportsStatusRequest = True +
+ version = None +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Configuration +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ brightness = True +
+ changehost = True +
+ host = 10.0.1.12 +
+ name = Sonos ZP +
+ port = 0 +
+ searchTimeout = 2 +
+ serverDevice = 379862512 +
+ service = switch +
+ speakers = True +
+ subscriptionTimeout = 30 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ States +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ onOffState = False +
+ status = +
# #
#####################################################################

Posted on
Thu Dec 21, 2017 7:00 am
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: HBB Integrated Plugin: Sonos ZonePlayer

My log is full with those entries:

EPS - Homebridge Buddy Warning Stopping the Homebridge server 'Homebridge for Indigo'
EPS - Homebridge Buddy Starting the Homebridge server 'Homebridge for Indigo', do not try to use Siri until you get a message that the server has started
EPS - Homebridge Buddy Warning Stopping the Homebridge server 'Homebridge for Indigo'
EPS - Homebridge Buddy Starting the Homebridge server 'Homebridge for Indigo', do not try to use Siri until you get a message that the server has started
EPS - Homebridge Buddy Warning Stopping the Homebridge server 'Homebridge for Indigo'

Posted on
Thu Dec 21, 2017 9:04 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: HBB Integrated Plugin: Sonos ZonePlayer

Mlooss, check your PM.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Fri Dec 22, 2017 7:48 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: HBB Integrated Plugin: Sonos ZonePlayer

Colorado4Wheeler wrote:
Mlooss, check your PM.


I replied to your PM, but got home very late yesterday and today was another busy workday. Saw the v 1.0.6 release and installed, which enabled my HBB plug-in, but immediately I started to get tons of Sonos errors. After some troubleshooting I decided to reload the plug-in and now it will not enable again and I get the following error, once again.

Code: Select all
Error                           ReloadPlugin() caught exception: FileIOError -- cannot move: destination file exists


I went ahead and removed my Homebridge Sonos device in Indigo, but no change.

Posted on
Sat Dec 23, 2017 9:52 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: HBB Integrated Plugin: Sonos ZonePlayer

Pretty sure this is an OS issue or maybe it's Indigo trying to install the plugin but can't because the permissions on that file are incorrect. I can still do a remote session with you but need some time windows from you.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Fri Dec 29, 2017 5:16 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: HBB Integrated Plugin: Sonos ZonePlayer

Colorado4Wheeler wrote:
Pretty sure this is an OS issue or maybe it's Indigo trying to install the plugin but can't because the permissions on that file are incorrect. I can still do a remote session with you but need some time windows from you.


Happy Holidays:

You may have been correct, I went through all of my devices and removed some slashes and dashes, I thought I had edited them all already but I must have missed a couple. So farHomebridge v1.0.6 is working now.

I am going to test now the SONOS bridge, cross my fingers, because that is when my issues first surfaced.

Posted on
Fri Dec 29, 2017 5:19 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: HBB Integrated Plugin: Sonos ZonePlayer

mlooss wrote:
You may have been correct, I went through all of my devices and removed some slashes and dashes, I thought I had edited them all already but I must have missed a couple. So farHomebridge v1.0.6 is working now.

I am going to test now the SONOS bridge, cross my fingers, because that is when my issues first surfaced.

WOOT! Back up your entire Indigo folder so you can restore if needed in an instant!

And Happy Holidays right back at ya!

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Fri Dec 29, 2017 9:13 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: HBB Integrated Plugin: Sonos ZonePlayer

As soon as I add the Homebridge for SONOS, the problems starts again. The Sonos bridge is always off and I cannot turn it on. On the other hand, the Homebridge for Indigo (default bridge created) is running and I can turn it on and off. I am also able to reload the Homebridge plug-in and it will load again, previously it would not load ever again.

I now deleted the Homebridge for Sonos device, reloaded the HBB plug-in and the bridge is on but all my devices in the iOS Home app report no response.I then changed one character of the default Home Server MAC address to see if it will trigger the devices in the Home app to update. but nothing again.

With the Homebridge Sonos device still created, when I do a "Save Homebridge Config and Reload" on HBB, it fails with a an error, some syntax message but it goes by really quick in red. I do not have any non-alphanumeric characters in my Sonos names, but when I remove the Sonos bridge, the "Save Homebridge Config and Reload "of HBB works just fine.

Is there anything on the Sonos end I should look into?

Again, HBB worked just fine before creating the Sonos bridge and I configured it according to your screenshot using the manual Sonos ZP settings, basically all I did is change the IP address for my network setup.

Thanks and yes I do have. backup.

Posted on
Sat Dec 30, 2017 3:09 am
Colly offline
Posts: 405
Joined: Jan 16, 2016
Location: Ireland

Re: HBB Integrated Plugin: Sonos ZonePlayer

I've been watching this thread with interest as I initially had some trouble getting my HBB to work properly and was reluctant to play about too much with the Sonos element - the former is all sorted now and working great - thanks C4W for the assistance.
mlooss wrote:
As soon as I add the Homebridge for SONOS, the problems starts again. The Sonos bridge is always off and I cannot turn it on. On the other hand, the Homebridge for Indigo (default bridge created) is running and I can turn it on and off.

I see the same in my setup. I've manually added a Sonos Play 1 but no joy with getting it to function. Just thought I'd let you know it doesn't appear specific to @mlooss. If I can help in any way just ask.

Posted on
Sat Dec 30, 2017 9:22 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: HBB Integrated Plugin: Sonos ZonePlayer

It does help to know there are two people having the same issues. I would definitely want to do a remote session with one of you to see what the cause may be. So this happens only when you try to add a Sonos ZP device but not just generally with HBB right?

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Sat Dec 30, 2017 10:24 am
Colly offline
Posts: 405
Joined: Jan 16, 2016
Location: Ireland

Re: HBB Integrated Plugin: Sonos ZonePlayer

Colorado4Wheeler wrote:
I would definitely want to do a remote session with one of you to see what the cause may be.

I can be available in about 4 hrs from now (and for about 4 hours after that) - when I've the kids in bed. :D

Posted on
Sat Dec 30, 2017 3:32 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: HBB Integrated Plugin: Sonos ZonePlayer

Can you trap the message you get so I can see if it's something in the code?

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Sat Dec 30, 2017 3:46 pm
Colly offline
Posts: 405
Joined: Jan 16, 2016
Location: Ireland

Re: HBB Integrated Plugin: Sonos ZonePlayer

I just get a simple
Code: Select all
   EPS - Homebridge Buddy Error    send "HBB Sonos" on failed

Posted on
Sat Dec 30, 2017 4:24 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: HBB Integrated Plugin: Sonos ZonePlayer

There is nothing to control from within Indigo, that's why the message - you cannot turn on/off the Sonos from Indigo it's 100% HomeKit only, so Indigo is just a way to define the device that will be sent to HomeKit to be controlled 100% from your HomeKit app (Home, Eve, etc).

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Who is online

Users browsing this forum: No registered users and 1 guest