posted v 7-37-38
fixed:
in Line '5889' has error=''key TxPower not found in dict'' in version 7.37.37.
Should also fix BLE not updating.
Don't know how this thing/bug/code got there. Must have been sometime after midnight...
Karl
textIn = unicode(eval(textIn))
id | ts | lastarrivalathome | lastleavefromhome | engine | location | motion | status
----+----------------------------+---------------------+---------------------+---------+----------+----------+-------------------
1 | 2017-02-07 22:34:09.511881 | | | | | |
2 | 2017-02-07 22:37:09.565165 | 2017-02-07 22:37:09 | | off | home | stop | home/off/stop
3 | 2017-02-08 11:40:50.499639 | | | on | | leaving | home/on/leaving
4 | 2017-02-08 11:41:28.730227 | | | off | | stop | home/off/stop
5 | 2017-02-08 11:41:35.9926 | | 2017-02-08 11:41:35 | unknown | away | left | away/unknown/left
6 | 2017-02-08 13:47:44.185121 | 2017-02-08 13:47:44 | | off | home | arriving | home/off/arriving
7 | 2017-02-08 13:47:51.149195 | | | on | | | home/on/arriving
8 | 2017-02-08 13:48:30.508188 | | | off | | stop | home/off/stop
9 | 2017-02-08 14:20:58.171321 | | 2017-02-08 14:20:58 | unknown | away | left | away/unknown/left
10 | 2017-02-08 14:21:13.700842 | 2017-02-08 14:21:13 | | off | home | unknown | home/off/unknown
11 | 2017-02-08 14:21:39.404607 | | | | | stop | home/off/stop
12 | 2017-02-08 14:41:48.127854 | | 2017-02-08 14:41:48 | unknown | away | left | away/unknown/left
13 | 2017-02-08 14:42:05.06825 | 2017-02-08 14:42:05 | | off | home | unknown | home/off/unknown
14 | 2017-02-08 14:42:29.183145 | | | | | stop | home/off/stop
15 | 2017-02-08 18:32:14.255388 | | 2017-02-08 18:32:14 | unknown | away | left | away/unknown/left
16 | 2017-02-08 18:32:40.475219 | 2017-02-08 18:32:40 | | off | home | unknown | home/off/unknown
17 | 2017-02-08 18:33:07.925744 | | | | | stop | home/off/stop
=======use this as a python script in an action group action :=====
plug = indigo.server.getPlugin("com.karlwachs.piBeacon")
plug.executeAction("Display" , props ={
"outputDev":"s-14-displayrgb"
,"device":"OUTPUT-Display"
,"restoreAfterBoot":False
,"intensity":100
,"repeat":2
,"resetInitial":""
,"scrollxy":"left"
,"showDateTime":"0"
,"scrollPages":3
,"scrollDelay":0.02
,"scrollDelayBetweenPages":1
,"command":'['+
'{"reset": "", "postion": [0, 32, 256], "width": "64", "type": "hBar", "display": "wait", "fill": "[0, 0, 0]"}'+
',{"reset": "", "text": "......", "postion": [0, 1], "font": "6x9.pil", "type": "text", "display": "wait", "fill": "[50, 50, 50]"}'+
',{"reset": "", "text": "......", "postion": [0, 16], "font": "8x13.pil", "type": "text", "display": "wait", "fill": "[50, 50, 50]"}'+
',{"reset": "", "text": " Temp[C]", "postion": [64, 1], "font": "6x9.pil", "type": "text", "display": "wait", "fill": "[0, 255, 0]"}'+
',{"reset": "", "text": " 21.4", "postion": [64, 16], "font": "8x13.pil", "type": "text", "display": "wait", "fill": "[0, 255, 0]"}'+
',{"reset": "", "text": " Hum[%]", "postion": [128, 1], "font": "6x9.pil", "type": "text", "display": "wait", "fill": "[0, 0, 255]"}'+
',{"reset": "", "text": " 33", "postion": [128, 16], "font": "8x13.pil", "type": "text", "display": "wait", "fill": "[0, 0, 255]"}'+
',{"reset": "", "text": "P[mBar]", "postion": [192, 1], "font": "6x9.pil", "type": "text", "display": "wait", "fill": "[255, 0, 0]"}'+
',{"reset": "", "text": "-0.6", "postion": [192, 16], "font": "8x13.pil", "type": "text", "display": "immediate", "fill": "[255, 0, 0]"}]'
})
======= end =====
Users browsing this forum: No registered users and 39 guests