Place holder for a list of FAQs about this plugin
[hr]
Q: How do I find out what the latest version of the plugin is?
A: Go to MiOS Apps , login and then click on the same URL again and you should see versions
[hr]
Q: How to get logs
A: Several methods
a) classic way
- turn on DEBUG 2) open http://Your.Vera.IP.Address/cgi-bin/cmh/log.sh?Device=LuaUPnP 3) let it run for a while so the problem happens 4) in your browser save the file on your disk 5) open with an editor (notepad or whatever ) and search for your iCloud email , change email/pwd so I do not see it , save the file 6) send it to me using PM on this forum
b) using infoviewer
- open InfoViewer, put the pattern to “IPhoneLocator”
- open Infoviewer page then View Logs
- same as above a.4 a.5 a.6
c) using WinSCP / Windows
- use WinSCP
- chose SCP as file protocol
- Hostname = your vera ip address , username=root , Password= your vera password
- once logged in , go to folder /var/log/cmh/
- select file LuaUPnP.log , drag and drop it on your desktop
- same as a.5, a.6
[hr]
Q: How does auto polling mode really works
A: this is explained herebelow
[table]
[tr]
[td]Mode[/td]
[td]Distance[/td]
[td]Speed[/td]
[td]Eta[/td]
[td]Polling[/td]
[/tr]
[tr]
[td]Direct[/td]
[td]calculated from gps coordinate from the last and previous positions[/td]
[td]calculated from ratio distance/polling. if speed is less than MIN_SPEED it is considered null.[/td]
[td]calculated from distance/speed. if speed is null, it assumes a default speed (NOMOVE_SPEED) to make sure polling does not get too infrequent[/td]
[td]With polling map: it uses the polling map, based on device distance.
Without polling map, it takes the ETA, remove from it a default LATENCY parameter to compensate for lateness of iCloud compared to reality, divide the eta by the PollingDivider set by the user. Then the result is normalized to allways be between a MIN_PERIOD and MAX_PERIOD. [/td]
[/tr]
[tr]
[td]Driving, Bicycling, Walking[/td]
[td]Received from Google Matrix API[/td]
[td]same as above.[/td]
[td]ETA is not calculated, it is simply received from the google matrix API and therefore is subject to google calculation and estimation what your speed is based on the mode you selected.[/td]
[td]same as above.[/td]
[/tr]
[/table]
local MIN_PERIOD = 10 -- poll cannot be less than this in sec
local MAX_PERIOD = 3600 -- poll cannot be more than this in sec
local ETA_LATENCY = 30 -- ETA Latency, removes this from ETA to compensate for iCloud latency
local MIN_SPEED = 5/3600 -- 5km/h (in km/s)
local NOMOVE_SPEED = 60/3600 - in km/s, when speed is null or <Min
[hr]
Q: Is it supported on UI7
A: I cannot really garantee this as I personally have no way to test it on UI7. I am not ready (yet) to upgrade in my home and I have only one unit. I did however publish a few fixes starting from version v1.83 up to version v1.91 which should fix issues like : users of UI6 and UI7 have in the Settings tab ( listbox showing “undefined” instead of device names ), SAVE button does not appear
[hr]
Q: How do I create a new instance of the plugin on UI7
A: it seems there is no Create Another button or it must be hard to find as many people have the question. Check a potential answer here => http://forum.micasaverde.com/index.php/topic,16907.msg206741.html#msg206741 it “should” work
[hr]
Please help to create this list but providing any FAQs that you think will be of use to others and they will be added either by @amg0 or I to this first post.