Commit Graph

1965 Commits

Author SHA1 Message Date
b016766e87 Fix pisugar2.py to check for "new model" and correctly display charging voice. 2024-12-15 00:10:18 +01:00
387e11a5c5 Add new default plugin (pisugar2) and defaults.
Added new requirement to pyproject.toml to make it work.
2024-12-14 23:28:21 +01:00
913c22193d Updated voice for each language, since AI was removed. 2024-12-12 11:00:53 +01:00
8be4d40960 Set low limit frequency for 2.4Ghz 2024-12-12 10:35:27 +01:00
26fbedd52d Added 6Ghz Wi-Fi channels, in case you use an external dongle that can. 2024-12-12 10:20:57 +01:00
79c590fb38 Added new starting line. 2024-12-12 09:53:31 +01:00
ef3696510b Removed 'on_ai_..' 2024-12-12 09:53:19 +01:00
7b7bbc4aad Remove blink function, we don't use the led blink function anymore. 2024-12-12 09:48:48 +01:00
4d1aa79bfd Removed tensorflow debug from log.py 2024-12-12 08:48:10 +01:00
3ccfbbc940 Small final edit 2024-12-09 20:18:30 +01:00
0c44b02765 Move self._view_on_starting() outside of loading keys exception
When _view_on_starting is inside the try:except:, any display errors, especially from misconfigured plugins, will trigger the exception and delete RSA keys unnecessarily.
By moving _view_on_starting after the except: clause, only errors during key loading will lead to deleted keys. view errors will silently fail.

Signed-off-by: Sniffleupagus <129890632+Sniffleupagus@users.noreply.github.com>
2024-12-06 11:06:38 -08:00
14ae34860f Merge remote-tracking branch 'origin/noai' into noai 2024-12-04 08:07:38 +01:00
b3df38e921 Delete brain from grid as there is no more AI. 2024-12-04 08:07:19 +01:00
9e08a6294c Add session stats reporting to AUTO mode
add MANU session stats to AUTO mode, too

Signed-off-by: Sniffleupagus <129890632+Sniffleupagus@users.noreply.github.com>
2024-12-03 10:36:48 -08:00
ad4b6891a6 Merge branch 'noai' of https://github.com/V0r-T3x/pwnagotchi into noai 2024-12-01 20:37:33 -05:00
260e501628 upgrade to avoid thread overflow
this is creating a thread per plugin. This is avoiding pressure on the system.

The fix was found by Nursejackass
https://github.com/Sniffleupagus/pwnagotchi-snflpgs/blob/snflpgs/pwnagotchi/plugins/__init__.py
2024-12-01 20:37:12 -05:00
ad9f800b13 Merge branch 'jayofelony:noai' into noai 2024-12-01 20:17:14 -05:00
83e9ee6318 fixing log reference 2024-12-01 20:15:38 -05:00
5b20c0fb16 Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:53:51 +01:00
6a217f3684 Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:52:31 +01:00
5bbbcea2af Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:47:01 +01:00
706ae3b152 Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:29:32 +01:00
b6b5e92f6b Revert "Small edit"
This reverts commit 6f16c65132.
2024-12-01 19:14:33 +01:00
85856b2698 Revert "Small edit"
This reverts commit bdc6afd0be.
2024-12-01 19:14:27 +01:00
bdc6afd0be Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 19:10:48 +01:00
6f16c65132 Small edit
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 18:53:14 +01:00
8edf72c8ef Remove builder/data folder, we don't need that anymore.
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-12-01 12:54:06 +01:00
f6f30632f8 Display update for 2.9.2 no AI
display check with 2.9.2
-gfxhat
	sn3218 library missing from the venv, added to /hw/libs/pimoroni/gfxhat/
	cleanup of the code (EPD changed to LCD)
	logging info added for config options (contrast, color)
	touch control work in progress (6 touch buttons with short and long press and LED feedback)
-i2coled
	cleanup of the code (EPD changed to OLED)
	Logging info added for config options (width, height, i2c address)
-oledlcd and oledlcdvert
	working out of the box
	logging info added for available gpio breakouts (buttons)
-displayhatmini
	working out of the box
	logging info added for available gpio breakouts (buttons, rgb LED, i2c bus)
-pirateaudio
	working out of the box
	logging info added for available gpio breakouts (buttons, i2s bus)
-pitft
	working out of the box
	logging info added for available gpio breakouts (buttons)
-tftbonnet
	working out of the box
	logging info added for available gpio breakouts (buttons, i2c bus)
-minipitft
	working out of the box
	logging info added for available gpio breakouts (buttons, i2c bus)

-minipitft2
	cant test on HW but should work!
	logging info added for available gpio breakouts (buttons, i2c bus)
-argonpod
	cant test on HW but should work!
	logging info added for available gpio breakouts (buttons, IR)
2024-12-01 12:47:34 +01:00
dab9b8c4bb Create gps_listener.py
Receive GPS coordinates via termux-location and save whenever an handshake is captured.

Signed-off-by: Kris Henriksen <krishenriksen@users.noreply.github.com>
2024-11-30 08:25:39 +07:00
4ade52925d Update build 2024-11-29 09:23:20 +01:00
12b386f74e Create wittypi.py
Signed-off-by: Kris Henriksen <krishenriksen@users.noreply.github.com>
2024-11-27 09:01:44 +07:00
fa2b8b97c4 Update package requirements
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-26 07:34:37 +01:00
13bedbc834 adding 3 new displays
gamepi15
gamepi20
spotpear154lcd
2024-11-25 19:56:16 -05:00
131bfc4c1c Display drivers for pwnagotchi
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
Display support for the following screens:
- [Pimoroni GFX Hat](https://shop.pimoroni.com/products/gfx-hat?variant=12828343631955):
ui.display.type = "gfxhat"
Contrast and Backlight color can be imported from config.toml:
ui.display.contrast = 40
ui.display.blcolor = "olive"
Available backlight colors:
white, grey, maroon, red, purple, fuchsia, green,
lime, olive, yellow, navy, blue, teal, aqua
- [Adafruit miniPiTFT](https://www.adafruit.com/product/4484):
ui.display.type = "minipitft"
- [Adafruit miniPiTFT2](https://www.adafruit.com/product/4393):
ui.display.type = "minipitft2"
- [ArgonPod](https://argon40.com/products/pod-display-2-8inch):
ui.display.type = "argonpod"
- [DisplayHatMini](https://shop.pimoroni.com/products/display-hat-mini?variant=39496084717651):
Driver updated to fix issues
- I2C Oled:
Default I2C address changed to 0x3C, because most boards are coming with it by default.
Can be modified in config
ui.display.type = "i2coled"
ui.display.i2c_addr = 0x3C
ui.display.width = 128
ui.display.height = 64

## Motivation and Context
Future plan for LCD and OLED screens:
Change from the pwnagotchis hw libraries for drivers to LumaOLED LumaLCD packages.
Luma Core: https://github.com/rm-hull/luma.core
Luma LCD: https://github.com/rm-hull/luma.lcd
Luma OLED: https://github.com/rm-hull/luma.oled
It has the most used LCD and OLED drivers ready, and adding new screens could be easier in the future.

## How Has This Been Tested?
Except the argonpod and minipitft2 all screens were tested on previous builds,
should work in 2.9.2, but before release I would like to test it with an image.

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I've read the [CONTRIBUTION](https://github.com/evilsocket/pwnagotchi/blob/master/CONTRIBUTING.md) guide
- [x] I have signed-off my commits with `git commit -s`
2024-11-25 17:37:21 +01:00
b9b5ae2fc8 Make pi restart when there are 5 blind epochs instead of 50.
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-24 00:19:32 +01:00
8fba99fa08 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 14:13:23 +01:00
6c3e5229ea Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 13:41:38 +01:00
3486020e54 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-23 13:41:17 +01:00
29ecad81cd Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 14:46:17 +01:00
99f75bf5eb Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 13:17:30 +01:00
f55a08609d Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:51:02 +01:00
4a2b8e71a3 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:50:05 +01:00
4fb7752493 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:40:58 +01:00
e9b4667ffc Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 08:01:59 +01:00
1d216a959c Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-19 19:43:11 +01:00
fa154ee279 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-18 07:54:50 +01:00
34700dd30b Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 21:56:10 +01:00
76045b3564 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 21:09:54 +01:00
e04badc254 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 20:04:18 +01:00
32cea62999 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-09-19 13:46:48 +02:00