Commit Graph
12 Commits
Author SHA1 Message Date
xenDE 3351c251ef fix gps timestamp parsing
problem on timestamp parsing if microseconds are more then 6 numbers.

will fix bug reported in this pr: https://github.com/evilsocket/pwnagotchi/pull/619

tested with testdata from https://github.com/xenDE/pwnagotchi-plugin-webgpsmap/tree/master/handshakes.gps-map-test

before:

[2019-11-19 00:37:51,946] [INFO] webgpsmap: scanning /root/handshakes.gps-map-test
[2019-11-19 00:37:52,022] [INFO] webgpsmap: Found 4 .(geo|gps).json files from 5 handshakes. Fetching positions ...
[2019-11-19 00:37:52,144] [ERROR] Lng is 0
[2019-11-19 00:37:52,241] [ERROR] Invalid isoformat string: '2019-11-14T12:30:41.097414739+01:00'
[2019-11-19 00:37:52,280] [ERROR] Lng is 0
[2019-11-19 00:37:52,329] [INFO] webgpsmap loaded 2 positions

after:

[2019-11-19 00:48:04,652] [INFO] webgpsmap: scanning /root/handshakes.gps-map-test
[2019-11-19 00:48:04,693] [INFO] webgpsmap: Found 5 .(geo|gps).json files from 6 handshakes. Fetching positions ...
[2019-11-19 00:48:04,760] [ERROR] Lng is 0
[2019-11-19 00:48:04,822] [ERROR] Lng is 0
[2019-11-19 00:48:04,850] [INFO] webgpsmap loaded 3 positions
2019-11-19 00:56:59 +01:00
xenDE e934181606 webgpsmap default disabled
was enabled default by mistake (copy&paste)
2019-11-11 10:59:54 +01:00
xenDE b9a909de2b add handling for empty position data 2019-11-10 21:56:36 +00:00
xenDE a1746da7f1 comment default gpio button command examples 2019-11-10 19:45:43 +00:00
xenDE 1a1a70d6e8 added webgpsmap plugin 2019-11-10 19:34:49 +00:00
xenDE 25eee18e7b verhindern von doppelten ausführungen
i had with the old value 250 many double executions, despite short push switches. The new value 600 prevents this. Tested with volume buttons.
2019-11-09 19:50:47 +01:00
xenDE 1e426f7411 add timestamp to net-pos plugin, https://github.com/evilsocket/pwnagotchi/issues/308
added timestam as "ts" var in both .json files.
tested with old plugin format.
2019-11-04 00:16:50 +01:00
xenDE ca6b71db19 disable plaugin as default
"__enabled__ = False" as default
2019-10-03 20:00:46 +02:00
xenDE fb1d3e9199 show only real mem useage without swap
removed swap size from showed memory
2019-10-03 19:59:35 +02:00
xenDE 9b5a12bd0c default: disable the plugin 2019-10-03 18:52:38 +02:00
xenDE fcd3ae650a eine configurierbare wartezeit hinzugefügt, bevor die werte aktualisiert werden
to protect the display lifetime
2019-10-03 18:46:46 +02:00
xenDE 77b6009349 plugin for add memory infos and cpu temperature to screen
think this should be in default, but disabled
2019-10-03 18:11:42 +02:00