iPhoneLocator: Alternate Map Servers
-
And having said that, I'm not sure how I can do this.
If I destroy the instances on the Vera, I'll lose them on the Openluup box.
I've installed the AltUI version from Altmarket place on the Openluup box. This displays the tabs correctly but of course has reset everything to google.
Above that, there seems to be no way to create another instance of the locator for my wife's phone.
So I guess two questions remain? How do I create another phone instance under Altui / Openluup?
And how do I get Openluup iPhone locator back on Here? I have SCPed the files from github into /etc/cmh-ludl and /etc/cmh-ludl/files, forced a reload and hard refreshed. They still load Google maps.
Cheers!
C
@CatmanV2 said in iPhoneLocator: Alternate Map Servers:
So I guess two questions remain? How do I create another phone instance under Altui / Openluup?
Just like on the vera (or at least what the vera really does), create a new device and input the device and implementation files for the plugin. You will instantly get a second instance of the plugin. openLuup behaves very strictly like the vera in this area. kudos to @akbooer
And how do I get Openluup iPhone locator back on Here? I have SCPed the files from github into /etc/cmh-ludl and /etc/cmh-ludl/files, forced a reload and hard refreshed. They still load Google maps.
The same way you did it on the vera, replace the one or two files which are different in the /etc/cmh-ludl folder and reload openLuup
-
@CatmanV2 said in iPhoneLocator: Alternate Map Servers:
So I guess two questions remain? How do I create another phone instance under Altui / Openluup?
Just like on the vera (or at least what the vera really does), create a new device and input the device and implementation files for the plugin. You will instantly get a second instance of the plugin. openLuup behaves very strictly like the vera in this area. kudos to @akbooer
And how do I get Openluup iPhone locator back on Here? I have SCPed the files from github into /etc/cmh-ludl and /etc/cmh-ludl/files, forced a reload and hard refreshed. They still load Google maps.
The same way you did it on the vera, replace the one or two files which are different in the /etc/cmh-ludl folder and reload openLuup
@rafale77 said in iPhoneLocator: Alternate Map Servers:
@CatmanV2 said in iPhoneLocator: Alternate Map Servers:
So I guess two questions remain? How do I create another phone instance under Altui / Openluup?
Just like on the vera (or at least what the vera really does), create a new device and input the device and implementation files for the plugin. You will instantly get a second instance of the plugin. openLuup behaves very strictly like the vera in this area. kudos to @akbooer
Oh wow. Thanks!
The same way you did it on the vera, replace the one or two files which are different in the /etc/cmh-ludl folder and reload openLuup
Well I could have sworn blind I'd done that
But apparently I was dreaming...
C
-
So close!
2020-06-22 18:03:17.917 luup_log:26: IPhoneLocator: Entering loop:26:1 2020-06-22 18:03:18.863 luup_log:26: IPhoneLocator: getPeriodForDevice(26) - Distance:0 Auto:0 Base:60==>60 2020-06-22 18:03:18.864 luup_log:26: IPhoneLocator: loop: an error occurred during execution of forceRefresh():[string "L_IPhone.lua"]:575: attempt to index local 'obj' (a nil value) 2020-06-22 18:03:18.864 luup.variable_set:: 26.urn:upnp-org:serviceId:IPhoneLocator1.MsgText was: 2020-06-22 18:02 / 60 s now: forceRefresh error, check logs / 60 s #hooks:0
Any thoughts?
Thanks
C
-
I thought I should give this a try on OpenLuup. I used iPhoneLocator on my Vera some years ago. It worked really well, but then I removed it due to the limitations in the Vera.
The problem I run into is that when I try to create credentials I do not understand how to create an "App code".
On here.com it says:
"App code credentials will continue to be supported for a few products and current Developer Portal accounts where App code credentials have already been generated for an App. New accounts will only be able to use App Code credentials for some legacy products. App code credentials are the least secure of the authentication credential types and we recommend the use of the API Key or OAuth 2.0 Token credentials instead for improved security."Either it is me missing something very obvious or here.com have changed something.
-
I thought I should give this a try on OpenLuup. I used iPhoneLocator on my Vera some years ago. It worked really well, but then I removed it due to the limitations in the Vera.
The problem I run into is that when I try to create credentials I do not understand how to create an "App code".
On here.com it says:
"App code credentials will continue to be supported for a few products and current Developer Portal accounts where App code credentials have already been generated for an App. New accounts will only be able to use App Code credentials for some legacy products. App code credentials are the least secure of the authentication credential types and we recommend the use of the API Key or OAuth 2.0 Token credentials instead for improved security."Either it is me missing something very obvious or here.com have changed something.
-
Thanks for reporting this. I will look at the API key authentication to modify the plugin when I get a few minutes.
-
Thanks for reporting this. I will look at the API key authentication to modify the plugin when I get a few minutes.
-
Sorry to revive an old thread. i've started moving my devices over to openLuup to see if i can just make the vera Plus i own just a zwave handler. I installed the iphone locator from the alt app store, but there seems to be no way for me to enter my google map key. i also downloaded @rafale77 iphone plugin modified for Here maps, and in the UI i still don't see where to enter the keys. am i missing something?
-
-
You got me back looking at the code. If such is the case then it looks like you didn't install the plugin properly.
The plugin should create these variables during startup. It isn't a part of the code I actually touched. Make sure all the files from the plugin repo are present. Also the plugin version seems to be grossly old... The version I modified was 2.52.PS: Looking at the code, I can see some old mistakes from @amg0 which apparently never affected anything...