You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nolim1t
bf21078328
|
5 years ago | |
---|---|---|
.github/workflows | 5 years ago | |
export-image | 5 years ago | |
export-noobs | 5 years ago | |
scripts | 5 years ago | |
stage0 | 5 years ago | |
stage1 | 5 years ago | |
stage2 | 5 years ago | |
.gitignore | 5 years ago | |
CODE_OF_CONDUCT.md | 5 years ago | |
CONTRIBUTING.md | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
build.sh | 5 years ago | |
config | 5 years ago | |
depends | 5 years ago |
README.md
Umbrel Box Base Operating system
Customized Underlying Raspbian Operating System for the Umbrel box (based on https://github.com/RPi-Distro/pi-gen)
Config/Build instructions
- Run
sudo ./build.sh
- Look in deploy/
- Use etcher to deploy
Alternatively, you may check the latest release too and you may find the image built automatically by github (upon tagging).
Config variables
In the config file there are system defaults, which are used when building the image and for automated builds.
- GITHUB_USERNAME - Used if you want to automatically log in to the box without typing a password. This is used at build time.
Then theres other raspbian stuff, that you may find in the Raspbian documentation which will still work.
Post bootup checks
For building an API (or scripting), look in /home/umbrel/statuses for the following files
- disk-partitioned : meaning the disk is partitioned
- service-configured : meaning the umbrel system bootup service is configured and running.
(To add more later as needed)
Console Commands (Cheat codes)
There is some console commands you can run.
Lightning Console Commands
Get Info
docker exec -it "${USER}_lnd_1" lncli getinfo
Wallet Balance
docker exec -it "${USER}_lnd_1" lncli walletbalance
List Channels
docker exec -it "${USER}_lnd_1" lncli listchannels
Opening a channel
# where XXX = sats per byte and YYY = the amount
docker exec -it "${USER}_lnd_1" lncli connect pubkey@host:port
docker exec -it "${USER}_lnd_1" lncli open --sat_per_byte=XXX pubkey YYY
# Return value is the txid
TODO:
See the following list