Commit Graph

380 Commits

Author SHA1 Message Date
83f741bbb0 fix: gpio needs to be a number
fixes gpio id as string in config
https://github.com/evilsocket/pwnagotchi/issues/643
2019-11-23 02:05:01 +01:00
c4a007e72a cleanup, fixes and add handling of .paw-gps.json
cleanup logging, increase cache item count from 1024 to 2048, add handling of corrupt long/lat position null, added handling of .paw-gps.json files - tested with master
2019-11-20 15:45:16 +01:00
0ee0aaff37 Update to using .paw-gps.json files
Remove old link due to it not being too good, update file extension to .paw-gps.json for better support on problems with webgpsmap.
2019-11-19 15:38:11 +02:00
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
b1ad247e11 Merge pull request #1 from evilsocket/master
pull
2019-11-18 17:19:52 +01:00
7138f6469b fix: apparently for the led, 0 is ON and 1 is OFF
Signed-off-by: Jeremy O'Brien <neutral@fastmail.com>
2019-11-18 08:57:10 -05:00
2dc36651df Add link to better guide to paw-gps.py
Got permission from LeonT for this
2019-11-18 13:27:30 +02:00
43c5ab7ecf - Fix the temperature symbol when using something other than celsius
- Add defaults so we don't throw an exception if an invalid scale is
selected. Bad things happen if you spell fahrenheit wrong.
2019-11-16 01:29:02 -05:00
8ed2950eb5 Merge pull request #607 from Arttumiro/patch-1
Fixes to paw-gps.py
2019-11-15 12:05:58 +01:00
16afa87112 Merge branch 'master' into add-spacing-to-gps 2019-11-15 12:05:00 +01:00
59ae35372e fixed check for nonzero lat/long 2019-11-14 21:15:12 -05:00
56cc872daa Update paw-gps.py 2019-11-14 22:29:58 +02:00
6e1490da78 Fix on_handshake, whole plugin should work now
Add the else: so if the ip is set in the options the plugin actually works.
2019-11-14 22:29:43 +02:00
69597103b5 use f-strings and double quotes in gps plugin 2019-11-14 15:57:43 +01:00
96ca5dd8e3 decrease spacing in gps ui 2019-11-14 15:46:12 +01:00
3efa3a935a Merge pull request #601 from benleb/add-gateway-option
add gateway option to bt-tether
2019-11-14 11:04:30 +01:00
8965ad9272 change default ip of paw-gps, it needs port too.
Change default ip from 192.168.44.1 (which is the ip address of an android on bt tether) to 192.168.44.1:8080 so it has the default port paw-gps opens on, which is 8080.
2019-11-14 11:45:39 +02:00
9e656d4ea6 show gps coords of last handshake in ui 2019-11-13 15:38:21 +01:00
1d255b577d add gateway option to bt-tether 2019-11-13 15:37:20 +01:00
a02c1d6d92 small typo fix 2019-11-13 09:17:18 +01:00
0f3d9db01d Fixed a small typo in bt-tether 2019-11-12 11:46:04 +01:00
19abc17816 Merge pull request #581 from dwi/patch-1
Small UPS Lite typo fix
2019-11-12 11:39:59 +01:00
4b9ebc2512 Merge pull request #586 from benleb/patch-2
shift word
2019-11-12 11:39:16 +01:00
f4b886cf7b fix baudrate option name 2019-11-12 08:37:36 +01:00
0eb8e1829e shift word 2019-11-12 07:40:48 +01:00
b903f636d2 Blinking works now freely 2019-11-11 19:04:56 +01:00
dwi
52b40f049e Small UPS Lite typo fix
Fixing dfd534ac41 that fixes #521
2019-11-11 17:43:20 +01:00
e87bcc4744 Merge pull request #577 from benleb/patch-1
fix completely broken gps plugin
2019-11-11 17:36:12 +01:00
dfd534ac41 fix: fixed ups_lite plugin layout (closes #521) 2019-11-11 17:35:45 +01:00
313fd66634 fix completely broken gps plugin :D 2019-11-11 14:12:38 +01:00
c939af4248 Merge pull request #575 from xenDE/master
added webgpsmap plugin
2019-11-11 11:00:57 +01:00
b9a909de2b add handling for empty position data 2019-11-10 21:56:36 +00:00
1a1a70d6e8 added webgpsmap plugin 2019-11-10 19:34:49 +00:00
229e2671e8 fixed memtemp location for inky display
Signed-off-by: Josh Bauer <joshbauer3@gmail.com>
2019-11-10 14:08:33 -05:00
92c1b6b005 blinking with static colors 2019-11-10 13:44:35 +01:00
eddfdb3ebc Plugin for the Pimoroni Button Shim
this plugin enabled support for the 5 buttons of the shim. the rgb led is not supported yet. an example for config.yml lloks like this

      buttonshim:
        enabled: true
        buttons:
          - "date >> /home/pi/buttonA.txt"
          - "date >> /home/pi/buttonB.txt"
          - "date >> /home/pi/buttonC.txt"
          - "date >> /home/pi/buttonD.txt"
          - "date >> /home/pi/buttonE.txt"
2019-11-10 08:54:04 +01:00
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
1da59b50b4 Add Fahrenheit and Kelvin temperature scales to memtemp.py 2019-11-08 19:50:33 -05:00
b50acd364c Add webcfg 2019-11-08 17:55:48 +01:00
9bc7fcccb3 new: the grid plugin now triggers an on_unread_inbox event that other plugins can intercept (see led plugin) 2019-11-08 15:49:49 +01:00
bd61196c3c new: the auto-update plugin now triggers an on_updating event that other plugins can intercept (see led plugin) 2019-11-08 15:47:12 +01:00
89450ec1bd new: implemented led plugin (closes #522) 2019-11-08 15:31:40 +01:00
09f80cc842 fix: fixed typo in the example plugin 2019-11-08 14:08:43 +01:00
ad80fab554 Merge pull request #545 from dadav/fix/webhook_arguments
Changed webhook arguments, added exception handling, added logrotation
2019-11-07 11:06:14 +01:00
b7380018f1 Changed webhook arguments and add exception handling 2019-11-07 11:03:37 +01:00
2ea8e7fe6b misc: moved non-core and problematic plugins to separate repository (closes #542) 2019-11-07 10:59:40 +01:00
5712f5cd51 Fix arguments 2019-11-07 07:37:41 +01:00
323c9a74cc Merge pull request #531 from deveth0/deveth0-netpos-logging
Additional Logging for net-pos plugin
2019-11-06 11:24:14 +01:00
61d8e28aad Bug Fix on AircrackOnly Plugin preventing it to load
Unnecessary/Wrong call to the super init method prevents AircrackOnly to load during startup
2019-11-06 01:46:48 +02:00
9dc7c92c86 Additional Logging for net-pos plugin to simplify search for broken files
I currently have some broken net-pos files on my device and the logging does not provide enough information to find the invalid files. I'd suggest to log the path.
2019-11-05 21:54:37 +01:00