Giter Site home page Giter Site logo

crahan / pwnagotchi-plugins Goto Github PK

View Code? Open in Web Editor NEW
30.0 3.0 2.0 267 KB

Custom versions of the Pwnagotchi memtemp and gps plugins which include Pwnagotchi pull requests #918 and #919.

License: GNU General Public License v3.0

Python 100.00%
pwnagotchi

pwnagotchi-plugins's Introduction

Pwnagotchi plugins

Introduction

Update 2021-04-18: both pull requests (#918 and #919) have now been merged into the main Pwnagotchi codebase.

These are customized versions of the GPS and Memtemp Pwnagotchi plugins and include the functionality introduced in Pwnagotchi pull requests #918 and #919 (pending approval). The plugin versions in this repo are more tailored to my specific use case/liking (e.g. different line spacing defaults) and only include default position values for the Waveshare v2 e-ink display (i.e. hardware I can properly test).

The idea behind pull requests #918 and #919 is to better align the positioning and line spacing of the gps and memtemp plugins (as I use these together) and to provide additional configuration options to tweak their output (e.g. position, linespacing).

If you still want to use this code but you're not using a Waveshare v2 e-ink display and the fallback values don't work for you, I recommend using the new position and linespacing configuration properties to tweak the default position setting. Feel free to submit a pull request with some sane defaults for your display though, so I can update the code accordingly.

Installation

To use these plugins, clone or copy this repository to your Pwnagotchi and point main.custom_plugins in /etc/pwnagotchi/config.toml to the repository folder. Please note that the plugins in this repository are named memtemp-plus and gps-plus so they don't interfere with the default plugins included with the Pwnagotchi code.

gps-plus

gps-plus example

New features:

  • add position configuration option
  • add linespacing configuration option
  • set defaults to properly align with memtemp-plus plugin output

Sample configuration:

main.plugins.gps-plus.enabled = true
main.plugins.gps-plus.speed = 4800
main.plugins.gps-plus.device = "/dev/ttyUSB0"
main.plugins.gps-plus.position = "122,70"
main.plugins.memtemp-plus.linespacing = 12 

memtemp-plus

memtemp-plus example

New features:

  • add position configuration option
  • add linespacing configuration option
  • new freq CPU frequenty field
  • option to configure up to 3 fields with a custom order (i.e. mem, cpu, temp, and freq)
  • set defaults to properly align with gps-plus plugin output

Sample configuration:

main.plugins.memtemp-plus.enabled = true
main.plugins.memtemp-plus.scale = "celsius"
main.plugins.memtemp-plus.orientation = "vertical"
main.plugins.memtemp-plus.fields = "mem,cpu,temp"
main.plugins.memtemp-plus.position = "200,70"
main.plugins.memtemp-plus.linespacing = 12 

pwnagotchi-plugins's People

Contributors

crahan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.