vault backup: 2025-02-03 07:04:13

This commit is contained in:
2025-02-03 07:04:14 +01:00
parent e158386068
commit 7909836706
2019 changed files with 59 additions and 26816 deletions

Binary file not shown.

View File

@@ -1,92 +0,0 @@
# Overview
## Protocols
### DMX
DMX or also called [DMX512](https://en.wikipedia.org/wiki/DMX512) is a technical standard to control stage light in a digital communication network. Oftentimes it also refers to the protocol's standard connector: ![[Pasted image 20231030210630.png]]
One of the big advantages is that you can daisy-chain different DMX devices and thus very effectively build a network of light sources around a physical stage without too many cables. An overview about how daisy chaining works can be seen in the following image:
![[Pasted image 20231030210857.png]]
### Art-Net
[Art-Net](https://en.wikipedia.org/wiki/Art-Net) is a protocol that communicates DMX over UDP and thus physical ethernet cables can be used, or even WIFI. Every light-controller acts as a `node` and the main control unit (often a light desk or computer) is called `server`.
Every `node` as a `subnet`-address that ranges from 0 to 15.
Every `node` can have up to 4 `port`, which are individual connections that can send or receive ArtNet data. Every one of the `ports` has a `universe` identifier between 0 and 15 (not the same as DMX universe).
- **DMX universe = ArtNet SubNet * 4 + ArtNet Universe**
#### Resources
- https://support.troikatronix.com/support/solutions/articles/13000042899-controlling-led-strips-via-artnet
-
# Hardware
## LED Strips
In order to do different light effects we want to be able to address every LED on its own in a daisy chain way. The best known type is the [Adafruit Neopixel](https://www.adafruit.com/category/275).
A good overview about the different LED-strips available: https://www.gindestarled.com/the-ultimate-guide-to-choosing-the-right-addressable-led-strip/
### LED Pixel
Every LED pixel consists of several LEDs (usually RGB(W)), a tiny control chip and passive components. Normally there are 3 connections: power supply, ground and a data line. Every pixel in the system gets an address and the desired LED-control signal is then sent over the data-line and implemented by the tiny LED-controller for each and every pixel.
#### LED Types
- SMD5050: 5mm x 5mm, very bright and up to 3 leds in one
- SMD3528: 3.28mm x 5mm, only one LED, so only one color
- LED Cob ([continuous led](https://www.superlightingled.com/24-volt-addressable-rgbw-led-cob-light-strip-ultra-bright-784ledsm-p-5684.html), also as shown in [this video](https://www.youtube.com/watch?v=T4bbk-P0z7w).)
#### LED Control Chips
There are different LED control chips:
- WS2811
- WS2812
- WS2813b
The WS2812 is the best for us (or WS2813b)
![[Pasted image 20231030224554.png]]
### LED Density
This describes how many LEDs per meter. The denser, the higher the resolution, but the more energy is needed and the more complicated the entire system gets (number of controllers, power supplies, etc.)
### Voltage
LEDs exist in 3 voltages: 5V, 12V and 24V. The higher the voltage, the better, because there will be less voltage drop. If too many LEDs are connected in series the last LEDs in the chain could be less bright if the voltage drop is too large (mostly a problem for 5V LEDs). The solution for this is [power injection](https://www.learnchristmaslighting.com/how-do-i-power-christmas-light-pixels-power-injection-101/).
### Waterproofness
## Connectors and Cabling
Wiring needs to use Fuses, else it can become [very dangerous](https://www.youtube.com/watch?v=hR79ACc9hNs)([video in english](https://www.youtube.com/watch?v=nWC0PkHB8O4) is better).
## Controllers
### DMXKing - LEDMX4 Pro
https://dmxking.com/led-pixel-control/ledmx4-pro
### ESP32
WLED is a firmware for microcontrollers.
Here is a fast introduction https://www.reddit.com/r/WLED/s/YYVw9ggJ1N
Its easy to install and can be modified to use a mic to add sound reactivity. An example can be found [here](https://www.youtube.com/watch?v=KplepH9BT9w&ab_channel=ChrisMaher).
# Add-Ons
## MIDI-Controller
A midi controller can be added to the control unit in order to have a user interface with physical buttons and sliders that can be used during a live event.
# Shopping List
- [ ] Fuse holders and a fuse set
- [ ] LED controller
- [ ] LED strips
## Alkademiker Stock
- 2x [16x16 panel](https://www.aliexpress.com/item/1005002489849443.html?spm=a2g0o.order_list.order_list_main.57.e4a71802KzlRLG)
- 2x [5V, 40A power supply](https://www.aliexpress.com/item/33051556213.html?spm=a2g0o.order_list.order_list_main.52.e4a71802KzlRLG)
- Multiple [JST connectors](https://www.aliexpress.com/item/1005001398935971.html?spm=a2g0o.order_list.order_list_main.45.e4a71802KzlRLG).
-
# Power Supplies
# Software
Madrix
Jinx
RESO
[Resolume](https://resolume.com/download/)
MadMapper
https://github.com/hyperion-project/hyperion.ng
https://kno.wled.ge/basics/tutorials/
# Tutorials
https://learn.sparkfun.com/tutorials/using-artnet-dmx-and-the-esp32-to-drive-pixels/all

Binary file not shown.

Binary file not shown.

View File

@@ -1,13 +0,0 @@
# Project Ideas
- send email when TimeMachine Backup has not completed in X days.
# Brew
# Menubar
https://macmenubar.com/tag/free/
# Alfred
https://www.youtube.com/watch?v=FXV-zwkRMxo&ab_channel=JeffSu
Dropzone: https://aptonic.com/

View File

@@ -1,34 +0,0 @@
---
aliases:
- brew
- homebrew
---
Software can come from several different sources:
1. App Store
2. Just downloaded from the Web
3. Homebrew
4. built locally
Whenever possible I use `brew` to manage software and its dependencies on my mac.
# Automation
The update
# Software Sources
- [ ] alle programme von mas-cli zu homebrew wechseln. #todo/p
- [ ] script das wöchentlich updates zieht via homebrew #todo/p
## Homebrew
### Cheatsheat
1. ```brew update && brew upgrade `brew outdated` ```
2. `brew upgrade && brew upgrade --cask`
Upgrades all packages that have been installed through brew.
### Autoupdate
My mac uses brew to autoupdate every 24 hours.
I used the the [autoupdate package](https://github.com/DomT4/homebrew-autoupdate) and the following command for this:
`brew autoupdate start 86400 --upgrade --cleanup --immediate --sudo`
## App Store
In order to automate the app store interactions there is a command line interface (CLI) called [mas-cli](https://github.com/mas-cli/mas). It allows us to manage the dependencies in an automated manner.
- To update all apps run: `mas upgrade`
- To list all outdated apps run: `mas outdated`

View File

@@ -1,9 +0,0 @@
After upgrading to MacOS 12.7 my time machine backup does not work anymore.
I have read to debug you can look at the logs:
``` bash
printf '\e[3J' && log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 6h | grep -F 'eMac' | grep -Fv 'etat' | awk -F']' '{print substr($0,1,19), $NF}'
```
It couldn't find the disk anymore, even though it was available. Thus, I removed it and re-added it, but it did not recognise the disk as the same. All old backups needed to be deleted and a fresh full backup needed to be done.

Binary file not shown.

View File

@@ -1,19 +0,0 @@
---
title: Jellyfin Installation
created_date: 2024-12-02
updated_date: 2024-12-02
aliases:
tags:
---
# Jellyfin Installation
## Install Script for Scheduled Task
```bash
docker run -d --name=jellyfin \
-v /volume1/docker/jellyfin/config:/config \
-v /volume1/docker/jellyfin/cache:/cache \
-v /volume1/video:/media \
--user 1026:100 \
--net=host \
--restart always \
jellyfin/jellyfin
```

View File

@@ -1 +0,0 @@
I changed the port to 1717.

View File

@@ -1,19 +0,0 @@
---
Owner: CClaudio
---
# vDSM to run it through a VPN
- [https://www.reddit.com/r/synology/comments/ee1hdc/docker_transmissionvpn_vs_virtual_dsm_download/](https://www.reddit.com/r/synology/comments/ee1hdc/docker_transmissionvpn_vs_virtual_dsm_download/)
- [https://www.reddit.com/r/synology/comments/dtxzo6/comment/f6zljpg/](https://www.reddit.com/r/synology/comments/dtxzo6/comment/f6zljpg/)
> [!info] Download Station over VPN
>
> [https://www.reddit.com/r/synology/comments/qsfhf5/download_station_over_vpn/](https://www.reddit.com/r/synology/comments/qsfhf5/download_station_over_vpn/)
## Todos
- [ ] add daily cron job to move movie downloads from downloads to video folder
- [ ] Change firewall settings for vDSM to allow only VPN traffic
- [ ] Enable external access through my main nas

View File

@@ -1,10 +0,0 @@
---
title: Zerotier Installation
created_date: 2024-12-05
updated_date: 2024-12-05
aliases:
tags:
---
# Zerotier Installation
I just followed the installation guide of the official zerotier website.
The only problem that I might encounter in the future is that I have not moved the tun to a shared folder and thus it might be overwritten by an update.

View File

@@ -1,25 +0,0 @@
---
Created time: 2023-07-02T12:35
Project ID: RepairClimbingLight
Status: In progress
---
Overview
Druckknöpfe sind Kabutt
![[image.jpg]]
Links nach rechts
- on/off
- 50%
- 100%
- Gnd
Die aktion passiert immer wenn der Knopf losgelassen wird.

View File

@@ -1,81 +0,0 @@
---
tags:
- DIY
- Repair
Created time: 2022-12-05T19:37
Project ID: RepairKenwood
Status: Not started
---
# Overview
# Kenwood Prospero KM262
The machine has stopped working and has been making clicking sounds whenever it got turned on. This seems to be a relay that is activated in order to allow power to flow to the motor.
## In Search of the Fault
### Other Posts with KM262 Faults
> [!info]
>
> [https://www.fixya.com/support/t15247441-kenwood_prospero_km262_stopped_working](https://www.fixya.com/support/t15247441-kenwood_prospero_km262_stopped_working)
> [!info]
>
> [https://www.fixya.com/support/t20913365-km262_will_not_start](https://www.fixya.com/support/t20913365-km262_will_not_start)
> [!info] Hyperentang's Blog
> First, a correction.
> [https://hyperentang.wordpress.com/page/2/](https://hyperentang.wordpress.com/page/2/)
> [!info] Panne Kenwood km262[résolu]
> Bonjour mon robot c'est arrêté,après vérification il semblerait que la résistance R1 de la carte de commande soit hs , quelqu'un sait t'il les
> [https://forums.futura-sciences.com/depannage/914634-panne-kenwood-km262-resolu.html](https://forums.futura-sciences.com/depannage/914634-panne-kenwood-km262-resolu.html)
> [!info]
>
> [https://www.fixya.com/support/t25382723-put_kenwood_km262_back_together_get](https://www.fixya.com/support/t25382723-put_kenwood_km262_back_together_get)
Especially the last link sounds very familiar to my problem (described below in the section about the sensor).
### Switches
With the multimeter I have probed all the different switches and potentiometers. They all seem to work. I was a bit confused by the main knobs potentiometer, which gave weird readings
### Relay Test
I have found the exact relay which is on the board: Song Chuan [845 - 2C - V](https://www.mouser.com/datasheet/2/378/845-179617.pdf). It is a double pole double throw relay with the following schematics:
![[Untitled.png]]
Relay Schematics - double pole, double throw
The low voltage coil side is rated for up to 24V, whereas the high-power switching side is rated up to 230V and 5A.
I have [tested to energize](https://www.google.com/search?q=test+relay+with+multimeter&oq=test+relay&aqs=chrome.1.69i57j0i512l9.9664j0j1&sourceid=chrome&ie=UTF-8#kpvalbx=_7VmOY-TQMcqJ9u8PxZysyAQ_43) the coil with a car battery (13.3V), which immediately made the clicking sound. The switch did get thrown to the other side (tested with a multimeter, while powering the relay). —> The relay is working.
### Sensor by Food Processor (Name: KW706575, Marking: 137 103b)
There is a sensor which is attached somewhere close to the food-processor that might be the cause. I have found spareparts for it online, but I dont know exactly what it is for.
> [!info] Kenwood Position Speed Sensor
> Buy Kenwood spares for your cooker, dishwasher, fridge, freezer, tumble dryer and washing machine.
> [https://www.4kenwood.co.uk/prospero/km262/position-speed-sensor/product.pl?pid=1352278&path=590704:622774,590797&model_ref=13827737](https://www.4kenwood.co.uk/prospero/km262/position-speed-sensor/product.pl?pid=1352278&path=590704:622774,590797&model_ref=13827737)
> [!info]
>
> [https://de.aliexpress.com/item/1005002331737461.html?spm=a2g0o.detail.1000016.1.1dd238b7Jg2wRM&isOrigTitle=true](https://de.aliexpress.com/item/1005002331737461.html?spm=a2g0o.detail.1000016.1.1dd238b7Jg2wRM&isOrigTitle=true)
> [!info] Kenwood Position Speed Sensor
> Buy Kenwood spares for your cooker, dishwasher, fridge, freezer, tumble dryer and washing machine.
> [https://www.4kenwood.co.uk/prospero/km262/position-speed-sensor/product.pl?pid=1352278&path=590704:622774,590797&model_ref=13827737](https://www.4kenwood.co.uk/prospero/km262/position-speed-sensor/product.pl?pid=1352278&path=590704:622774,590797&model_ref=13827737)
It seems to me that the sensor is the culprit, because whenever I move it somewhere else, it behaves differently and sometimes the motor starts turning very fast, out of nowhere. I managed to get the normal start-up behaviour a few times in a row and as soon as I moved the sensor around it stopped working once again. But it was not very logical and I cannot be certain.
# Research

Binary file not shown.

Binary file not shown.

View File

@@ -1,77 +0,0 @@
- [Customer Control Panel](https://www.customercontrolpanel.de/): To add more VPS instances or to change an instance.
- [Server Control Panel](https://www.servercontrolpanel.de/SCP/): To modify single server.
# SysAdmin
First login:
``` bash
ssh root@v2202403219121260300.supersrv.de
The authenticity of host 'v2202403219121260300.supersrv.de (194.59.207.89)' can't be established.
ED25519 key fingerprint is SHA256:bS+PhQlDWqf8OmtJ5EpLSpipne4gpoUarU/VVR0yYB8.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'v2202403219121260300.supersrv.de' (ED25519) to the list of known hosts.
root@v2202403219121260300.supersrv.de's password:
Permission denied, please try again.
root@v2202403219121260300.supersrv.de's password:
Linux v2202403219121260300 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
_____________________________________________________________________
WARNING! Your environment specifies an invalid locale.
The unknown environment variables are:
LC_CTYPE=UTF-8
This can affect your user experience significantly, including the
ability to manage packages. You may install the locales by running:
sudo dpkg-reconfigure locales
and select the missing language. Alternatively, you can install the
locales-all package:
sudo apt-get install locales-all
To disable this message for all users, run:
sudo touch /var/lib/cloud/instance/locale-check.skip
_____________________________________________________________________
```
# OS
# Apps
## Ideas
Huge list of ideas: https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#miscellaneous
- [Shaarli](https://github.com/shaarli/Shaarli)
- [firefly-III](https://www.firefly-iii.org/) (finance manager)
- [gitea](https://about.gitea.com/)
- gitlab
- https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#document-management---e-books
- calibre-web
- [leon](https://blog.getleon.ai/i-ran-away-from-open-source/)
- [rally](https://rallly.co/) (doodle alternative )
- [e-commerce stuff](https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#e-commerce)?
- [Geneaology](https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#genealogy) für Toni?
- Homeassistant (eher auf NAS)
- [MindMap tool](https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#knowledge-management-tools)?
- [vanDam](https://github.com/Floppy/van_dam): asset manager for 3d files
- [Kasm](https://kasmweb.com/) Ubuntu on the web
- octave online
- overleaf
- note mark (access my obsidian notes from the web?)
- bitwarden / vaultwarden
# TODO
- [ ] Vertrag von ganz am anfang: was ist das, brauche ich das?
- [ ] Oh-My-Zsh installieren + mein VPS setup script als gist speichern
- [ ] Root login with pw verbieten, Server security measures lernen und implementieren
- [ ] Alkademiker.ch darauf hosten
- [ ] Mail alternative finden
- [ ] Opensource booking platform? To do scheduling next time
- [ ] rally.alkademiker.ch für doodles
- [ ]

View File

@@ -1,2 +0,0 @@
# Harddrive
## Drivers: SCSI vs VIRTIO vs IDE