Closed MSDaytona closed 3 years ago
I am getting the same error. Anyone got any bright ideas?
: [6/30/2020, 8:06:29 PM] Loaded plugin: homebridge-harmonyhub-plugin@0.5.6
: [6/30/2020, 8:06:29 PM] Registering platform 'homebridge-harmonyhub-plugin.HarmonyHub'
: [6/30/2020, 8:06:29 PM] ---
: [6/30/2020, 8:06:29 PM] Loading 1 platforms...
: [6/30/2020, 8:06:29 PM] [homebridge-harmonyhub-plugin] Initializing HarmonyHub platform...
: [6/30/2020, 8:06:29 PM] Loading 2 accessories...
: [6/30/2020, 8:06:32 PM] [homebridge-harmonyhub-plugin] {HarmonyHub} Found <1> hubs
: [6/30/2020, 8:06:32 PM] [homebridge-harmonyhub-plugin] {HarmonyHub} <7d0eceea-c968-4665-81a2-590dbfa1ae61>
Never written js in my life and don't know why self.name() is valid on lines 11 and 13, but invalid on 15 but the code changes below eliminate the error.
hoobs@hoobs:~/.hoobs/node_modules/homebridge-harmonyhub-plugin/lib $ diff activity-service.js activity-service.js.orig
10d9
< let name = self.name()
12c11
< log.debug('{ActivityService} <' + self.id() + '> <' + name + '>')
---
> log.debug('{ActivityService} <' + self.id() + '> <' + self.name() + '>')
14c13
< Service.call(self, name, self.id())
---
> Service.call(self, self.name(), self.id())
16c15
< self.setCharacteristic(HomebridgeCharacteristic.Name, name);
---
> self.setCharacteristic(HomebridgeCharacteristic.Name, self.name());
MSDatona & arfNZ did you resolve this? What did you do? The above code from rem602 is not config.json code.
No I didn't / couldn't. And yes you are right the code from rem602 is not the config.json but the Homebridge output file listing the error code in question. I got he same.
Ah, I just filed a duplicate issue: #38
Sorry for my lack of response. Should be fixed now!
Starting the plug-in I am getting the following log with errors at the end which do not make any sense to me. Who can help me.
Homebridge - Harmony.pdf