My problem is i am using custom polling maps, depending on if i am steady, going away or coming close. Now looking at my iphonelocator device, quite ofthen the polling map jumps, from coming close to going away for example. So what i would like to do is confirm the iconlocator, by saying if i had 2 refreshes and they are both the same icon code, then change the polling map. Here is what i am using at the moment:
The scenes change the polling map. So i could just say check that the iconcode has been the same for example for 5 minutes. That should be easy. But, if i am further away, there might not have been a refresh. So somehow i would like the polling refresh rate currently used to determine the time needed to confirm the iconcode. So if the current polling time is 900 seconds, the iconcode should be the same for 901 seconds to run the scene. If polling time is 120 seconds, it should be the same for 121 seconds and so on.
[quote=“mikee123, post:1, topic:179271”]My problem is i am using custom polling maps, depending on if i am steady, going away or coming close. Now looking at my iphonelocator device, quite ofthen the polling map jumps, from coming close to going away for example. So what i would like to do is confirm the iconlocator, by saying if i had 2 refreshes and they are both the same icon code, then change the polling map. Here is what i am using at the moment:
The scenes change the polling map. So i could just say check that the iconcode has been the same for example for 5 minutes. That should be easy. But, if i am further away, there might not have been a refresh. So somehow i would like the polling refresh rate currently used to determine the time needed to confirm the iconcode. So if the current polling time is 900 seconds, the iconcode should be the same for 901 seconds to run the scene. If polling time is 120 seconds, it should be the same for 121 seconds and so on.
Is that possible ?[/quote]
seems difficult today, maybe analyzing the string in the variable MsgText (which is a string like 2014-02-18 20:46 / 2014-02-18 20:56 / 600 s) and looking for last “/” character, after wich is the next polling period chosen by the plugin. quite ugly but … why not
Best Home Automation shopping experience. Shop at Ezlo!