Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]plugin for the Waveshare UPS hat C, doesn't work #130

Open
zrays opened this issue May 25, 2024 · 1 comment
Open

[BUG]plugin for the Waveshare UPS hat C, doesn't work #130

zrays opened this issue May 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zrays
Copy link

zrays commented May 25, 2024

pwnagotchi plugin for the Waveshare UPS hat C, doesn't work
https://github.com/hannadiamond/pwnagotchi-plugins

  • "i2c" in raspi-config enabled
  • smbus installed sudo apt-get install -y python-smbus

Copy over ups_hat_c.py into your custom plugins directory
In your config.toml file, add:

main.plugins.ups_hat_c.enabled = true
main.plugins.ups_hat_c.label_on = true  # show BAT label or just percentage
main.plugins.ups_hat_c.shutdown = 5  # battery percent at which the device will turn off
main.plugins.ups_hat_c.bat_x_coord = 140
main.plugins.ups_hat_c.bat_y_coord = 0

it doesn't work

@zrays zrays added the bug Something isn't working label May 25, 2024
@j0p3s
Copy link

j0p3s commented Jun 10, 2024

Same bug here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants