It looks like you do have the hubkey, but there's no appname or appkey.
appname should be generated by the plugin, appkey obtained from the gateway for the generated appname
I'll check why you may be missing the appname - that's pretty strange. Can you also check for any errors in the console window?
Announcement
Collapse
No announcement yet.
Gateway showing as 'Unauthorised'
Collapse
X
-
Interestingly, I can’t seem to find a bin\AKIkea folder at all. My Linux navigation may be letting me down. Will work out how to do a proper search when I get some time later.
*EDIT: it IS there - see below*
The new logging says:Apr-05 11:39:50 AK Ikea [163]: Not ok: hubkey '', app '', appkey: '' Apr-05 11:39:49 AK Ikea Warning [163]: [newIkea] New Receiver (127.0.0.1): Setting new IP address: 192.168.1.97:80 Apr-05 11:39:28 AK Ikea [0]: * Set Ikea [newIkea] New Receiver (127.0.0.1) (HSPI_AKIkea.DeviceIkeaBridge) Same: False Apr-05 11:39:28 AK Ikea Saved device: newIkea (newIkea), id: Unknown, url: 127.0.0.1:80 Apr-05 11:38:56 AK Ikea Warning Running on 'linux' - using Locator.MonoZeroconf.DeviceLocator Apr-05 11:38:56 AK Ikea ERROR Locator.MonoZeroconf.DeviceLocator: FATAL CreateListener: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. Apr-05 11:38:55 Plug-In Finished initializing plug-in AK Ikea Apr-05 11:38:55 Starting Plug-In AK Ikea loaded in 2842 milliseconds Apr-05 11:38:55 Starting Plug-In Plugin AK Ikea started successfully in 840 milliseconds Apr-05 11:38:55 AK Ikea UpdateConfiguration: scheduled Apr-05 11:38:54 Starting Plug-In Initializing plugin AK Ikea ... Then, once the key is entered:Apr-05 11:38:54 Info Plugin AK Ikea has connected. IP:127.0.0.1:45073 (obvs the XXXX is the Security Key)Apr-05 11:40:33 AK Ikea [163]: Not ok: hubkey ‘XXXXXXXXXXXXXXXX', app '', appkey: ‘’
Have tried multiple variations (0/O etc), case sensitive, but same error. Will keep trying to see if I’m just being an idiot.
Thanks,
R.
Leave a comment:
-
Originally posted by rahaaas View PostPlug-in now loading successfully.
I’ve changed the IP Address, and entered the ‘Security Code’ from the bottom of the Gateway (should be this as opposed to the Homekit code, right?), but now just getting this in Devices.
Code:Apr-04 16:41:10 AK Ikea Warning [163]: [newIkea] New Receiver (127.0.0.1): Setting new IP address: 192.168.1.97:80 Apr-04 16:40:58 AK Ikea [0]: * Set Ikea [newIkea] New Receiver (127.0.0.1) (HSPI_AKIkea.DeviceIkeaBridge) Same: False Apr-04 16:40:58 AK Ikea Saved device: newIkea (newIkea), id: Unknown, url: 127.0.0.1:80 Apr-04 16:40:55 AK Ikea Warning Running on 'linux' - using Locator.MonoZeroconf.DeviceLocator Apr-04 16:40:55 AK Ikea ERROR Locator.MonoZeroconf.DeviceLocator: FATAL CreateListener: No Zeroconf providers could be found or initialized. Necessary daemon may not be running.
On Linux it's using Avahi service which is usually part of Linux distro. You can check if you have Mono.Zeroconf.Providers.AvahiDBus.dll in bin\AKIkea folder. Or if there are still any initialisation errors in the console window.
But again, it shouldn't be related to the authorisation issue.
Leave a comment:
-
Gateway showing as 'Unauthorised'
Plug-in now loading successfully.
I’ve changed the IP Address, and entered the ‘Security Code’ from the bottom of the Gateway (should be this as opposed to the Homekit code, right?), but now just getting this in Devices.
And this in the device config:
Here's what the Log has to say:
Code:Apr-04 16:41:10 AK Ikea Warning [163]: [newIkea] New Receiver (127.0.0.1): Setting new IP address: 192.168.1.97:80 Apr-04 16:40:58 AK Ikea [0]: * Set Ikea [newIkea] New Receiver (127.0.0.1) (HSPI_AKIkea.DeviceIkeaBridge) Same: False Apr-04 16:40:58 AK Ikea Saved device: newIkea (newIkea), id: Unknown, url: 127.0.0.1:80 Apr-04 16:40:55 AK Ikea Warning Running on 'linux' - using Locator.MonoZeroconf.DeviceLocator Apr-04 16:40:55 AK Ikea ERROR Locator.MonoZeroconf.DeviceLocator: FATAL CreateListener: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. Apr-04 16:40:54 Plug-In Finished initializing plug-in AK Ikea Apr-04 16:40:54 Starting Plug-In AK Ikea loaded in 2718 milliseconds Apr-04 16:40:54 Starting Plug-In Plugin AK Ikea started successfully in 833 milliseconds Apr-04 16:40:54 AK Ikea UpdateConfiguration: scheduled Apr-04 16:40:53 Starting Plug-In Initializing plugin AK Ikea ... Apr-04 16:40:53 Info Plugin AK Ikea has connected. IP:127.0.0.1:59203
Thanks,
R.Tags: None
Leave a comment: