Hi @akbooer i have tried to install iPhone Detector Plugin on a clean openluup system from here iPhoneLocator in trunk – iPhone Detector Plugin but it does not work for me.
I created the device called “iphone1” with AltUI then restarted openluup. I then get a never-ending series of “device 4 ‘iphone1’ requesting reload” messages in terminal.
After creating the device, AltUi http://localhost:3480/data_request?id=lr_ALTUI_Handler&command=home# gives me a “ERR_CONNECTION_REFUSED” error (I think because it is constantly reloading)
Here is my log (it looks like it is being rewritten at each reload caused by iphone detector plugin.)
HA-MacBook:cmh-ludl mda$ more LuaUPnP.log
2015-11-15 23:17:08.346 :: openLuup STARTUP ::
2015-11-15 23:17:08.347 openLuup.init:: version 2015.11.01 @akbooer
2015-11-15 23:17:08.357 openLuup.scheduler:: version 2015.11.03 @akbooer
2015-11-15 23:17:08.357 openLuup.server:: version 2015.11.01 @akbooer
2015-11-15 23:17:08.378 openLuup.plugins:: version 2015.11.06 @akbooer
2015-11-15 23:17:08.379 openLuup.scenes:: version 2015.10.26 @akbooer
2015-11-15 23:17:08.381 openLuup.chdev:: version 2015.11.01 @akbooer
2015-11-15 23:17:08.382 openLuup.io:: version 2015.10.15 @akbooer
2015-11-15 23:17:08.382 openLuup.luup:: version 2015.11.03 @akbooer
2015-11-15 23:17:08.385 openLuup.rooms:: version 2015.10.15 @akbooer
2015-11-15 23:17:08.385 openLuup.requests:: version 2015.10.30 @akbooer
2015-11-15 23:17:08.390 luup.create_device:: [1] urn:schemas-micasaverde-com:device:ZWaveNetwork:1 / I_ZWave.xml
2015-11-15 23:17:08.392 luup.create_device:: [2] urn:schemas-micasaverde-com:device:SceneController:1 / no-implementation-file
2015-11-15 23:17:08.392 openLuup.init:: loading configuration user_data.json
2015-11-15 23:17:08.392 openLuup.init:: loading user_data json...
2015-11-15 23:17:08.397 openLuup.init:: loading rooms...
2015-11-15 23:17:08.397 openLuup.init:: ...room loading completed
2015-11-15 23:17:08.397 openLuup.init:: loading devices...
2015-11-15 23:17:08.397 openLuup.init:: [1] 'ZWave', urn:schemas-micasaverde-com:device:ZWaveNetwork:1
2015-11-15 23:17:08.399 openLuup.init:: [2] '_SceneController', urn:schemas-micasaverde-com:device:SceneController:1
2015-11-15 23:17:08.399 openLuup.init:: [3] 'ALTUI', urn:schemas-upnp-org:device:altui:1
2015-11-15 23:17:08.423 openLuup.init:: [4] 'iphone1', urn:schemas-upnp-org:device:IPhoneLocator:1
2015-11-15 23:17:08.439 luup.register_handler:: unknown global function name: myIPhone_Handler
2015-11-15 23:17:08.439 openLuup.init:: loading scenes...
2015-11-15 23:17:08.439 openLuup.init:: number of scenes = 0
2015-11-15 23:17:08.439 openLuup.init:: ...scene loading completed
2015-11-15 23:17:08.439 openLuup.init:: loading installed plugin info...
2015-11-15 23:17:08.439 openLuup.init:: ...user_data loading completed
2015-11-15 23:17:08.439 openLuup.init:: running _openLuup_STARTUP_
2015-11-15 23:17:08.439 luup_log:: Hello from my very own startup code
2015-11-15 23:17:08.439 openLuup.init:: startup completed
2015-11-15 23:17:08.439 openLuup.server:: starting HTTP server on 0.0.0.0:3480 tcp{server}: 0x7fd11382c828
2015-11-15 23:17:08.440 openLuup.scheduler:: starting
2015-11-15 23:17:08.440 openLuup.scheduler:3: device startup
2015-11-15 23:17:08.440 luup_log:3: ALTUI: initstatus(3) starting version: v0.96
2015-11-15 23:17:08.455 openLuup.scheduler:3: device startup completed: status=nil, msg=nil, name=nil
2015-11-15 23:17:08.455 openLuup.scheduler:4: device startup
2015-11-15 23:17:08.456 luup_log:4: IPhoneLocator: starting version v2.32 lul_device:4
2015-11-15 23:17:08.456 luup.task:4: status=2 IPhoneLocator : starting version v2.32 lul_device:4
2015-11-15 23:17:08.456 luup.variable_get:4: NO SUCH DEVICE: nil
2015-11-15 23:17:08.456 luup.variable_set:4: No such device ?.urn:upnp-org:serviceId:IPhoneLocator1.UI7Check
2015-11-15 23:17:08.456 luup.variable_set:4: No such device ?.urn:upnp-org:serviceId:IPhoneLocator1.UI7Check
2015-11-15 23:17:08.456 openLuup.luup:4: device 4 'iphone1' requesting reload
2015-11-15 23:17:08.456 luup.reload:4: saving user_data
2015-11-15 23:17:08.464 openLuup.luup:4: exiting with code 42 - after 0.0 hours
I notice these lines but i don’t know what to do about it…
2015-11-15 23:17:08.439 luup.register_handler:: unknown global function name: myIPhone_Handler
...
2015-11-15 23:17:08.456 luup_log:4: IPhoneLocator: starting version v2.32 lul_device:4
2015-11-15 23:17:08.456 luup.task:4: status=2 IPhoneLocator : starting version v2.32 lul_device:4
2015-11-15 23:17:08.456 luup.variable_get:4: NO SUCH DEVICE: nil
2015-11-15 23:17:08.456 luup.variable_set:4: No such device ?.urn:upnp-org:serviceId:IPhoneLocator1.UI7Check
2015-11-15 23:17:08.456 luup.variable_set:4: No such device ?.urn:upnp-org:serviceId:IPhoneLocator1.UI7Check
2015-11-15 23:17:08.456 openLuup.luup:4: device 4 'iphone1' requesting reload
Thanks as always for any help.
-mda