Commit Graph

1396 Commits

Author SHA1 Message Date
560894604c Fixing Makefile and ansible playbook
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-08-26 00:54:31 +02:00
a391afcb61 Fixing Makefile and ansible playbook
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-08-25 00:46:17 +02:00
069c28b77e Added couple of plugins, and some other stuff to work on more than 1 raspberry
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-08-23 14:06:28 +02:00
dbce8d379b defaults edit
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-29 14:51:02 +02:00
a1e2b2307d version 2.0
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-28 23:13:19 +02:00
42bfac163e Small stuff
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-28 23:02:51 +02:00
0f712f0ad2 Small stuff
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-28 22:15:59 +02:00
8329e282d3 Merge remote-tracking branch 'Snuf/master' into pwnagotchi-torch
# Conflicts:
#	bin/pwnagotchi
#	builder/data/usr/bin/pwnlib
#	pwnagotchi/ai/__init__.py
2023-07-24 21:20:37 +02:00
27da741005 Edited to make AI work
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-24 19:47:15 +02:00
702d32292f Update __init__.py 2023-07-23 12:28:20 +02:00
581f622806 Update defaults.toml 2023-07-23 11:54:01 +02:00
5a3ff382ed Small edit
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-21 15:50:23 +02:00
96431650b9 Charset set
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-21 13:53:44 +02:00
ce0d99c46d Minor edits
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-21 10:25:09 +02:00
8a00c1835b Removed unused element
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-21 00:03:38 +02:00
89d99f9f86 New default age/strength plugin
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-20 23:53:19 +02:00
5da9f3598a Changed for torch installation
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
2023-07-20 19:55:56 +02:00
8e10143339 Merge branch 'master' of github.com:Sniffleupagus/pwnagotchi-snflpgs 2023-07-15 16:26:18 -07:00
5805bc02e2 enable color in Image creation with config options 2023-07-15 16:25:09 -07:00
ec49c24b3e Merge remote-tracking branch 'displayHatMini/master' to add support for Pimoroni display hat mini 2023-07-14 14:11:36 -07:00
890d9c27d1 call plugin on_wait and on_sleep during updated partial wait/sleep delays 2023-07-06 01:55:37 -07:00
cd92491e40 move brain.nn backup into ai_worker before training session instead of backing up on every save. keep the "previous trained" brain 2023-07-04 13:18:18 -07:00
24ebc417ad waveshare27inchPartial from https://github.com/daniilprohorov/pwnagotchi.git 2023-07-03 13:25:32 -07:00
0a7064d026 include GPIO for waveshare27inchPartial 2023-07-03 13:25:01 -07:00
f092205bb0 waveshare27inchPartial from https://github.com/daniilprohorov/pwnagotchi.git 2023-07-03 13:23:58 -07:00
397fe5b7a7 logic to not clear display every loop on waveshare27inchPartil 2023-07-03 13:23:01 -07:00
f208d4775b wrap "fetch_stats" updates in try: except: to keep the thread alive in case of temporary failure 2023-07-03 13:21:08 -07:00
c66654b592 in cpu_stat, only sleep when no tag 2023-07-03 13:18:58 -07:00
abb041b228 copied from https://github.com/daniilprohorov/pwnagotchi.git to add waveshare27Partial support to pwnagotchi. I don't know how to do it the right way by applying their commits to my tree. 2023-07-03 13:16:40 -07:00
0abdf54f43 changed channel detection to detect all channels. iwlist only returns the first 32 2023-06-18 20:04:26 -07:00
c52220d98e added support for stable_baselines3 AI backend. stable_baselines3 uses
pytorch instead of tensorflow
2023-06-18 18:56:06 -07:00
d2227b939d changed cutoff for "extended channels" from 140 to 150 to alleviate "shape into shape" ai error
- more of a bandaid than a fix
2023-06-18 18:28:57 -07:00
fc2341b04c when toggling a plugin, changed to save config after running load/unload handlers, in case those change the config 2023-05-21 17:16:58 -07:00
d2c52e2673 save backups of brain files when saving 2023-05-19 11:01:08 -07:00
4b89a3c8dd use a tag on cpu_load for more accurate load over the last epoch 2023-05-19 10:59:41 -07:00
3f9e78af73 Change cpu_load to take a tag, and compute over interval since last call with same tag, instead of a 0.1s sampling 2023-05-19 10:58:20 -07:00
c90855840c keep old version as backup when saving files 2023-04-27 15:00:58 -07:00
62aaf6e3b1 copied cpu_stat from pwnagotchi/__index__.py, and calculate load since previous call, instead of sampling 0.1s while updating
On Pi0 instead of always seeing 100%, I see 40-80% typical, which seems more in line with what is happening on the system
2023-04-19 20:58:37 -07:00
81f371f809 added 'save without restart' button to change variables on the fly. proabably doesn't work with everything. 2023-04-19 18:26:53 -07:00
70bffe5200 changes to support plugins requesting parts of session, and get notice of events 2023-04-04 14:11:23 -07:00
c7b296f1b0 Update displayhatmini.py
update logging info message
2022-11-22 14:53:46 +08:00
0e7b756a6e Update ST7789.py
change spi speed
2022-08-12 01:41:14 +08:00
c3ead8462d Update __init__.py
fix missing lines
2022-08-11 21:05:44 +08:00
7e8dd4cb97 Update displayhatmini.py
cleanup
2022-08-11 14:01:00 +08:00
c6ee189aa0 Update displayhatmini.py
fix: added backlight pin
2022-08-11 13:39:58 +08:00
8652d01634 Update ST7789.py
fix: added backlight pin
2022-08-11 13:39:20 +08:00
8a78311b5f Update ST7789.py
change screen width, height and rotation
2022-08-11 11:48:43 +08:00
ca8a50a496 Update displayhatmini.py
fix class error
2022-08-11 11:30:34 +08:00
fd559d3db5 Update __init__.py
Add Pimoroni Hat Support
2022-08-11 11:29:06 +08:00
caa05d00d9 Create ST7789.py
Add Pimoroni Display Hat Mini Support
2022-08-11 11:22:10 +08:00