Author Topic: V1.91 - Beta => V1.93 public  (Read 4306 times)

Offline amg0

  • Moderator
  • Master Member
  • *****
  • Posts: 3089
  • Karma: +206/-8
V1.91 - Beta => V1.93 public
« on: December 06, 2014, 04:59:04 pm »
ok I have published a beta version called 1.91 which can be installed from here: http://apps.mios.com/test-plugin.php?id=4686&show=versions

I am awaiting some feedbacks from the community and will make a public version from it.

This 1.91 fixes a number of things
  • improved UI7 compatibility but removing the need of the 'Save' button from the javascript settings and map tab
  • fixed the datatype for Distance event notification ( goes above, goes below ) which prevented the event from firing properly in a number of occasions
  • prevent useless duplicate calls to google when the phone has not moved more than 100 meters from its previous location. this will protect google quota, especially when the phone is static in your home base. this only apply to the "Direct" mode though as it would be quite complex for the other modes to implement
  • fixed the scenegroup size ( visible on the device dashboard when you are in edit mode for a scene

I do see the "Distance goes below " trigger firing at every luup restart (if anybody has any idea why, let me know) so if you experiences this behavior of this trigger keeping firing, you should check your VERA if it is not regularly restarting the LUUP engine without you be aware. what I typically do for instance on mine is send me an email in lua startup file so that I know when my box restarts.

Enjoy,
« Last Edit: December 15, 2014, 01:23:43 pm by amg0 »

Offline charlesrg

  • Jr. Member
  • **
  • Posts: 57
  • Karma: +1/-1
Re: V1.91 - Beta
« Reply #1 on: December 09, 2014, 10:20:03 pm »
I would love to test but my UI7 does not get apps from the MiOS apps place. At least I didn't figure it out how to force the version.
Any chance you could release this to production so I can grab it ?

Offline wgheath

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: V1.91 - Beta
« Reply #2 on: December 09, 2014, 11:07:57 pm »
I would also love to have access to the Beta version for testing but I do not have an account for the mios site

Offline amg0

  • Moderator
  • Master Member
  • *****
  • Posts: 3089
  • Karma: +206/-8
Re: V1.91 - Beta
« Reply #3 on: December 10, 2014, 11:30:10 am »
for both of you, if you already have installed an old version, then you already have the icons installed properly.

so then all you need to do is to grab the files from here ( except the icons , so *.xml *.json  *.js *.lua ) http://code.mios.com/trac/mios_iphone-detector/browser/trunk/iPhoneLocator  and upload them into vera , that should upgrade you to v1.91

if you have not installed the icon yet, this is tricky, you need to install the iconIPhone*.png files into /www/cmh/skins/default/icons/ and newbutton_bg.png  into /www/cmh/skins/default/images/cpanel/  using your favorite file transfer / remote login tool ( WinSCP for instance ) and of course knowing how to remote login with root and your password...
« Last Edit: December 10, 2014, 12:26:16 pm by amg0 »

Offline charlesrg

  • Jr. Member
  • **
  • Posts: 57
  • Karma: +1/-1
Re: V1.91 - Beta
« Reply #4 on: December 10, 2014, 10:52:13 pm »
Cool, I just updated it and now most of the functions work.
I will wait a bit and look more into it as I could only find one device from the icloud, but this might just be me.

Offline amg0

  • Moderator
  • Master Member
  • *****
  • Posts: 3089
  • Karma: +206/-8
Re: V1.91 - Beta
« Reply #5 on: December 11, 2014, 01:35:28 am »
Cool, I just updated it and now most of the functions work.
I will wait a bit and look more into it as I could only find one device from the icloud, but this might just be me.

maybe check what you have in the variable IPhoneName. it is a pattern matching. for example '.*' would give you all the devices in the iCloud account, "^iPhone.*" : all devices with names starting with iPhone etc.   see some examples descrived in http://forum.micasaverde.com/index.php/topic,16907.msg130221.html#msg130221

Offline charlesrg

  • Jr. Member
  • **
  • Posts: 57
  • Karma: +1/-1
Re: V1.91 - Beta
« Reply #6 on: December 11, 2014, 09:12:23 pm »
I'm using ^.*$
I think the problem is somewhere else as when I hit refresh it shows my phone there but not my wife's phone. However on icloud.com I can see both.

Overall really like it. Will definitely start using it on advanced triggers like turn on heater if I'm on a 1 mile radius.

Offline seanh

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-4
Re: V1.91 - Beta
« Reply #7 on: December 12, 2014, 01:15:06 am »
I have installed v1.91 for UI7 (updated from 1.85) and entered my icloud username and password, but am getting "No Devices for this account, check network/credentials".  The credentials are also listed correctly in the advanced settings screen.  I double checked that they are the correct ones, so not quite sure where to go from there.

Offline amg0

  • Moderator
  • Master Member
  • *****
  • Posts: 3089
  • Karma: +206/-8
Re: V1.91 - Beta
« Reply #8 on: December 12, 2014, 02:56:16 am »
I have installed v1.91 for UI7 (updated from 1.85) and entered my icloud username and password, but am getting "No Devices for this account, check network/credentials".  The credentials are also listed correctly in the advanced settings screen.  I double checked that they are the correct ones, so not quite sure where to go from there.

the password in the advanced setting tab is not clear text, it must be a base64 encoding, so to enter the password you should really try to use the JS tab "settings", enter account then swith to password box, enter password , then set focus to another box etc

at this point on version before 1.91 you had to save ( and could not on UI7 ) , with v1.91 and above you should be all set there. once done that, reload lua , refresh browser and you should find a base64 encoding of your password in the password variable in the Advanced tab.

Alternative go to https://www.base64decode.org/ encode your password,  copy paste the result in the password variable in the Advanced tab.

Offline w0ss

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: V1.91 - Beta
« Reply #9 on: December 12, 2014, 04:35:29 pm »
where on the vera do the files go?

Offline seanh

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-4
Re: V1.91 - Beta
« Reply #10 on: December 15, 2014, 12:56:11 am »
Hi Amgo,

Tried different things with the password, etc - is it possible the plugin doesnt support specail characters?

Offline amg0

  • Moderator
  • Master Member
  • *****
  • Posts: 3089
  • Karma: +206/-8
Re: V1.91 - Beta
« Reply #11 on: December 15, 2014, 02:41:55 am »
where on the vera do the files go?
it is a bit complicated, I suggest you install from the app store http://apps.mios.com/test-plugin.php?id=4686&show=versions or wait a couple of days where 1.93 will be public.  v1.93 just a few bug fixes over v1.91
if you have a specific reason why you cant install from store, I can then share file locations for manual install. not all .png file for the same place so it is a bit tricky

Offline amg0

  • Moderator
  • Master Member
  • *****
  • Posts: 3089
  • Karma: +206/-8
Re: V1.91 - Beta
« Reply #12 on: December 15, 2014, 02:45:59 am »
Hi Amgo,

Tried different things with the password, etc - is it possible the plugin doesnt support specail characters?

Can you tell me more : what version do you use and how / where did you enter your password ?

In the Advanced Tab, the password field should include a base64 encoding of the password , while in the Settings tab you can type your password normally.  to get a base64 encoding you can use https://www.base64encode.org/

it is possible I have special character issue but normally not. maybe avoid "quote"

Offline amg0

  • Moderator
  • Master Member
  • *****
  • Posts: 3089
  • Karma: +206/-8
Re: V1.91 - Beta
« Reply #13 on: December 15, 2014, 01:23:11 pm »
Version 1.93 is public in the store. just few bug fixes for this 1.91beta generation.
enjoy...

Offline seanh

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-4
Re: V1.91 - Beta => V1.93 public
« Reply #14 on: December 15, 2014, 05:37:28 pm »
App auto-updated to v1.93.  On the main settings page, I enter my icloud username and password and the blue bar at the top comes back with "iCloud Access refused.  Check Credentials?"  I have triple checked and they are the correct credentials.  If I go to the advanced settings tab, it shows the correct user name and the encdoded version of the password.