parent
e900342568
commit
5aed1738d3
Binary file not shown.
Binary file not shown.
@ -1,26 +0,0 @@
|
||||
---
|
||||
title: Pat winlink on OpenBSD
|
||||
summary: Trying out [pat](https://getpat.io) on my OpenBSD laptop.
|
||||
date: 2023-11-12T14:18:57+01:00
|
||||
#lastmod:
|
||||
categories:
|
||||
- amateur-radio
|
||||
tags:
|
||||
- winlink
|
||||
- openbsd
|
||||
- draft_post
|
||||
|
||||
# showBreadcrumbs: true
|
||||
# showDate: false
|
||||
# showReadingTime: false
|
||||
# showWordCount: false
|
||||
# showPagination: false
|
||||
|
||||
# feed_exclude: true
|
||||
# site_exclude: true
|
||||
|
||||
draft: true
|
||||
|
||||
---
|
||||
|
||||
|
Binary file not shown.
@ -1,65 +0,0 @@
|
||||
---
|
||||
title: UPS Plus on the Raspberry Pi 3
|
||||
summary: >
|
||||
I recently bought a UPS head for my Raspberry Pi 3 that makes
|
||||
use of my akkus of the type 18650.
|
||||
date: 2023-11-25T06:46:12+01:00
|
||||
#lastmod:
|
||||
categories:
|
||||
- amateur-radio
|
||||
tags:
|
||||
- draft_post
|
||||
|
||||
# showBreadcrumbs: true
|
||||
# showDate: false
|
||||
# showReadingTime: false
|
||||
# showWordCount: false
|
||||
# showPagination: false
|
||||
|
||||
# feed_exclude: true
|
||||
# site_exclude: true
|
||||
|
||||
draft: true
|
||||
|
||||
---
|
||||
|
||||
in home dir
|
||||
|
||||
```console
|
||||
$ python3 -m venv .
|
||||
$ curl -LsO https://raw.githubusercontent.com/geeekpi/upsplus/main/install.sh
|
||||
$ bash install.sh
|
||||
```
|
||||
|
||||
if errors occur, install by hand
|
||||
|
||||
edit crontab to use the python version in your bin folder
|
||||
|
||||
```crontab
|
||||
* * * * * /home/dr/bin/python3 /home/dr/bin/upsPlus.py > /tmp/upsPlus.log
|
||||
* * * * * /home/dr/bin/python3 /home/dr/bin/upsPlus_iot.py > /tmp/upsPlus_iot.log
|
||||
```
|
||||
|
||||
get information
|
||||
|
||||
```console
|
||||
$ python3 bin/upsPlus.py
|
||||
------------------------------------------------------------
|
||||
------Current information of the detected Raspberry Pi------
|
||||
------------------------------------------------------------
|
||||
Raspberry Pi Supply Voltage: 5.028 V
|
||||
Raspberry Pi Current Current Consumption: 571.068 mA
|
||||
Raspberry Pi Current Power Consumption: 2570.227 mW
|
||||
------------------------------------------------------------
|
||||
-------------------Batteries information-------------------
|
||||
------------------------------------------------------------
|
||||
Voltage of Batteries: 4.208 V
|
||||
Battery Current (Charging) Rate: 30.000 mA
|
||||
Current Battery Power Supplement: 263.415 mW
|
||||
Successfully set the protection voltage to: 3700 mV
|
||||
------------------------------------------------------------
|
||||
Currently charging via Type C Port.
|
||||
```
|
||||
|
||||
The raspi works when power cable get pulled out.
|
||||
|
Loading…
Reference in new issue