Can't pair android devices

Posted on
Sat Aug 20, 2016 1:19 pm
RonA offline
Posts: 30
Joined: Aug 19, 2013

Can't pair android devices

Can't pair android devices, it appears the web components haven't installed. No plugin for AndroidClientHelper under IWS plugins directory and an error in the log for missing file. I note the name in the log doesn't match the plugin name, plugin is named: DomoPad Mobile Client Plugin.indigoPlugin and log mentions trying to open DomoPad Mobile Client.indigoPlugin.

Attempt to pair device from phone
WebServer undefined page requested "http://xxx.xxx.xxx.xxx:8176/AndroidClientHelper/registerAndroidDevice" from yyy.yyy.yyyy.yyy

Restart Plugin log
Domotics Pad Mobile Client Initializing RPFrameworkPlugin
Domotics Pad Mobile Client Beginning processing of RPFrameworkConfig.xml file
Domotics Pad Mobile Client Found plugin param: indigoPort
Domotics Pad Mobile Client Found plugin setting: remoteCommandPort=9176
Domotics Pad Mobile Client Found plugin setting: pluginCommandQueueIdleSleep=3
Domotics Pad Mobile Client Found device mapping; id: domoPadAndroidClient to class: DomoPadAndroidClient
Domotics Pad Mobile Client Found device mapping; id: domoPadVideoFeed to class: VideoCameraFeed
Domotics Pad Mobile Client Created device parameter for managed device "domoPadVideoFeed": videoFeedUrl
Domotics Pad Mobile Client Found managed action: sendPushNotification
Domotics Pad Mobile Client Processing 2 params for action
Domotics Pad Mobile Client Created parameter for managed action "sendPushNotification": message
Domotics Pad Mobile Client Created parameter for managed action "sendPushNotification": importanceLevel
Domotics Pad Mobile Client Successfully completed processing of RPFrameworkConfig.xml file
Started plugin "Domotics Pad Mobile Client 1.2.19"
Domotics Pad Mobile Client DebugReturning default GUIConfigValue for plugin:databaseConnectionEnabled
Domotics Pad Mobile Client DebugDatabase access enabled:
Domotics Pad Mobile Client DebugDatabase access has been disabled, skipping connection
WebServer undefined page requested "http://localhost:8176/AndroidClientHelper/getVersionInfo" from 127.0.0.1
Domotics Pad Mobile Client DebugCurrent IWS Plugin: v0.0
Domotics Pad Mobile Client DebugIncluded IWS Plugin: v1.2
Domotics Pad Mobile Client Performing update of DomoPads IWS plugin...
Domotics Pad Mobile Client Source IWS directory: /Library/Application Support/Perceptive Automation/Indigo 6/Plugins/DomoPad Mobile Client.indigoPlugin/Contents/Server Plugin/AndroidClientHelper
Domotics Pad Mobile Client Target IWS directory: /Library/Application Support/Perceptive Automation/Indigo 6/IndigoWebServer/plugins/AndroidClientHelper
Domotics Pad Mobile Client ErrorERROR: Source directory not found! AndroidClientHelper IWS plugin install could not complete.
Domotics Pad Mobile Client DebugStarting up connection listener
Domotics Pad Mobile Client DebugEntering deviceStartComm for HuaweiP9 DomoPad; ID=1046786498
Domotics Pad Mobile Client DebugExiting deviceStartComm for HuaweiP9 DomoPad
Domotics Pad Mobile Client DebugVersion check initiated
Domotics Pad Mobile Client DebugPlugin version detected: 1.2.19
Domotics Pad Mobile Client DebugCurrent version is: 1.2.19
Domotics Pad Mobile Client DebugGetting latest release from RogueProeliator/DomoPad-Plugin...
Domotics Pad Mobile Client DebugGET /repos/RogueProeliator/DomoPad-Plugin/releases/latest
Domotics Pad Mobile Client DebugHTTP 200 OK
Domotics Pad Mobile Client DebugLatest release is: 1.2.19
Last edited by RonA on Sat Aug 27, 2016 10:09 am, edited 1 time in total.

Posted on
Sat Aug 20, 2016 8:55 pm
RogueProeliator offline
User avatar
Posts: 2501
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Can pair android devices

Yes, there apparently was a bug in the auto-update routine for the IWS plugin... Please download the v1.3.0 that I just posted and give it a try. Sorry about that!

Adam

Posted on
Thu Aug 25, 2016 11:10 am
RonA offline
Posts: 30
Joined: Aug 19, 2013

Re: Can't pair android devices

Thanks Adam, I have installed the new 1.3.0 version and I no longer see the file location errors for the plugin, but Pairing is still failing from the mobile app with the same error. I can do everything else on the mobile app like view devices and control pages, I just can't pair my phone to the associated device. I also tried looking for the domopad page on the same server the indigo is installed on http://127.0.0.1:8176/AndroidClientHelper/ and after I log in, i get "undefined page requested"

Logs:
Pairing Request:
2016-08-25 18:05:03.689 WebServer undefined page requested "http://xxx.xxx.xxx.xxxx:8176/AndroidClientHelper/registerAndroidDevice" from yyy.yyy.yyy.yyy
2016-08-25 18:05:08.898 WebServer undefined page requested "http://xxx.xxx.xxx.xxxx:8176/AndroidClientHelper/updateAndroidDeviceStates" from yyy.yyy.yyy.yyy

Plugin restart:
2016-08-25 18:01:07.886 Application Reloading plugin "Domotics Pad Mobile Client 1.3.0"
2016-08-25 18:01:07.888 Application Stopping plugin "Domotics Pad Mobile Client 1.3.0" (pid 80860)
2016-08-25 18:01:07.907 Domotics Pad Mobile Client Debug Entering deviceStopComm for HuaweiP9 DomoPad; ID=1046786498
2016-08-25 18:01:07.909 Domotics Pad Mobile Client Debug Exiting deviceStopComm for HuaweiP9 DomoPad
2016-08-25 18:01:08.998 Application Stopped plugin "Domotics Pad Mobile Client 1.3.0"
2016-08-25 18:01:10.503 Application Starting plugin "Domotics Pad Mobile Client 1.3.0" (pid 30746)
2016-08-25 18:01:12.640 Domotics Pad Mobile Client Initializing RPFrameworkPlugin
2016-08-25 18:01:12.655 Domotics Pad Mobile Client Beginning processing of RPFrameworkConfig.xml file
2016-08-25 18:01:12.679 Domotics Pad Mobile Client Found plugin param: indigoPort
2016-08-25 18:01:12.681 Domotics Pad Mobile Client Found plugin setting: remoteCommandPort=9176
2016-08-25 18:01:12.681 Domotics Pad Mobile Client Found plugin setting: pluginCommandQueueIdleSleep=3
2016-08-25 18:01:12.682 Domotics Pad Mobile Client Found device mapping; id: domoPadAndroidClient to class: DomoPadAndroidClient
2016-08-25 18:01:12.683 Domotics Pad Mobile Client Found device mapping; id: domoPadVideoFeed to class: VideoCameraFeed
2016-08-25 18:01:12.684 Domotics Pad Mobile Client Created device parameter for managed device "domoPadVideoFeed": videoFeedUrl
2016-08-25 18:01:12.684 Domotics Pad Mobile Client Found managed action: sendPushNotification
2016-08-25 18:01:12.685 Domotics Pad Mobile Client Processing 2 params for action
2016-08-25 18:01:12.686 Domotics Pad Mobile Client Created parameter for managed action "sendPushNotification": message
2016-08-25 18:01:12.687 Domotics Pad Mobile Client Created parameter for managed action "sendPushNotification": importanceLevel
2016-08-25 18:01:12.687 Domotics Pad Mobile Client Successfully completed processing of RPFrameworkConfig.xml file
2016-08-25 18:01:12.752 Application Started plugin "Domotics Pad Mobile Client 1.3.0"
2016-08-25 18:01:12.754 Domotics Pad Mobile Client Debug Returning default GUIConfigValue for plugin:databaseConnectionEnabled
2016-08-25 18:01:12.755 Domotics Pad Mobile Client Debug Database access enabled:
2016-08-25 18:01:12.756 Domotics Pad Mobile Client Debug Database access has been disabled, skipping connection
2016-08-25 18:01:12.844 WebServer undefined page requested "http://localhost:8176/AndroidClientHelper/getVersionInfo" from 127.0.0.1
2016-08-25 18:01:12.847 Domotics Pad Mobile Client Debug Current IWS Plugin: v0.0
2016-08-25 18:01:12.848 Domotics Pad Mobile Client Debug Included IWS Plugin: v1.2
2016-08-25 18:01:12.849 Domotics Pad Mobile Client Performing update of DomoPads IWS plugin...
2016-08-25 18:01:12.850 Domotics Pad Mobile Client Source IWS directory: /Library/Application Support/Perceptive Automation/Indigo 6/Plugins/DomoPad Mobile Client Plugin.indigoPlugin/Contents/Server Plugin/Android Client Helper
2016-08-25 18:01:12.851 Domotics Pad Mobile Client Target IWS directory: /Library/Application Support/Perceptive Automation/Indigo 6/IndigoWebServer/plugins/AndroidClientHelper
2016-08-25 18:01:12.910 Domotics Pad Mobile Client AndroidClientHelper successfully installed/updated. Restarting Indigo IWS server to complete install.
2016-08-25 18:01:12.928 WebServer request to restart web server from 127.0.0.1
2016-08-25 18:01:12.932 Domotics Pad Mobile Client Debug Starting up connection listener
2016-08-25 18:01:12.937 Domotics Pad Mobile Client Debug Entering deviceStartComm for HuaweiP9 DomoPad; ID=1046786498
2016-08-25 18:01:12.939 Domotics Pad Mobile Client Debug Exiting deviceStartComm for HuaweiP9 DomoPad
2016-08-25 18:01:12.941 Domotics Pad Mobile Client Debug Version check initiated
2016-08-25 18:01:12.943 Domotics Pad Mobile Client Debug Plugin version detected: 1.3.0
2016-08-25 18:01:12.944 Domotics Pad Mobile Client Debug Current version is: 1.3.0
2016-08-25 18:01:12.945 Domotics Pad Mobile Client Debug Getting latest release from RogueProeliator/DomoPad-Plugin...
2016-08-25 18:01:12.946 Domotics Pad Mobile Client Debug GET /repos/RogueProeliator/DomoPad-Plugin/releases/latest
2016-08-25 18:01:13.043 WebServer disconnecting from Indigo server
2016-08-25 18:01:13.044 Application WebServer client disconnected
2016-08-25 18:01:13.475 Domotics Pad Mobile Client Debug HTTP 200 OK
2016-08-25 18:01:13.477 Domotics Pad Mobile Client Debug Latest release is: 1.3.0
2016-08-25 18:01:15.223 Application WebServer client connected
2016-08-25 18:01:15.236 WebServer started on port 8176 -- digest authentication enabled
2016-08-25 18:01:15.237 WebServer loaded plugin "Event Log Plugin"
2016-08-25 18:01:15.238 WebServer loaded plugin "Find My iDevices"
2016-08-25 18:01:15.239 WebServer loaded plugin "Weather Conditions"
2016-08-25 18:01:15.240 WebServer enabled browser access to plugin path "plugins/Eventlog/css"
2016-08-25 18:01:15.241 WebServer enabled browser access to plugin path "plugins/Eventlog/js"
2016-08-25 18:01:15.242 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/css"
2016-08-25 18:01:15.242 WebServer enabled browser access to plugin path "plugins/Weather-Conditions/css"

Posted on
Thu Aug 25, 2016 8:38 pm
RogueProeliator offline
User avatar
Posts: 2501
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Can pair android devices

Thanks Adam, I have installed the new 1.3.0 version and I no longer see the file location errors for the plugin, but Pairing is still failing from the mobile app with the same error. I can do everything else on the mobile app like view devices and control pages, I just can't pair my phone to the associated device. I also tried looking for the domopad page on the same server the indigo is installed on http://127.0.0.1:8176/AndroidClientHelper/ and after I log in, i get "undefined page requested"

Can you please restart the Indigo Server and see if that solves it? The web server must be restarted after an IWS change and the plugin attempts to do this behind the scenes for you -- but perhaps it failed to properly do this.

After a restart, go to the root (http://127.0.0.1:8176/) and see if it at least shows the AndroidClientHelper listed at the bottom of the page.

Sorry about the troubles :-(

Posted on
Sat Aug 27, 2016 10:08 am
RonA offline
Posts: 30
Joined: Aug 19, 2013

Re: Can't pair android devices

Tried a full reboot of the mac and fresh start everything. opened the indigo page locally but AndroidClientHelper is not listed. I do have 3 other plugins listed but not yours. I have attached an image of the Plugin Dir in IWS.
Attachments
AndroidClientHelper_Plugin_Dir.jpg
AndroidClientHelper_Plugin_Dir.jpg (36.01 KiB) Viewed 2594 times

Posted on
Mon Aug 29, 2016 11:46 pm
RogueProeliator offline
User avatar
Posts: 2501
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Can't pair android devices

I haven't forgotten about you... In fact, I was just able to somewhat duplicate your situation but haven't had time to determine the issue. One thing I thought of that might help - could you compare the permissions on the AndroidClientHelper versus one of the working plugins?

Adam

Posted on
Tue Aug 30, 2016 9:38 am
RonA offline
Posts: 30
Joined: Aug 19, 2013

Re: Can't pair android devices

RogueProeliator wrote:
I haven't forgotten about you... In fact, I was just able to somewhat duplicate your situation but haven't had time to determine the issue. One thing I thought of that might help - could you compare the permissions on the AndroidClientHelper versus one of the working plugins?

Adam


Just checked and they are all the same, user has read/write, admin and everyone have read only. This was working kind of previously, in that I could Pair the phone but the device would not update. I disabled the plugin and removed it and it's pref files from the system then re-installed fresh, this is when I got the file name errors and the plugin in the web server stopped working not allowing me to pair.


Sent from my iPad using Tapatalk

Posted on
Tue Aug 30, 2016 2:11 pm
RogueProeliator offline
User avatar
Posts: 2501
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Can't pair android devices

I believe I found it... was missing a supporting file in the distribution, which is why existing installations that upgraded did not have an issue... would you please try this release and let me know if it works for you?

https://github.com/RogueProeliator/DomoPad-Plugin/archive/v1.3.2.zip

That solved it in my environment.

Adam

Posted on
Wed Aug 31, 2016 3:15 pm
RonA offline
Posts: 30
Joined: Aug 19, 2013

Re: Can't pair android devices

Hi Adam,

That resolved my issue and I can now open plugin in browser and pair my phone. Thank you for your support in fixing this quickly.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests