As I liked Jeff's and Chris's blogs, I decided to use one myself.
It's called Aether, and so far I'm pretty happy with it. It is easy to install (took me about 15 minutes), and especially easy to use. I like the fact that all you need is a browser to edit pages, and add new ones.
For those not familiar with blogs, it's kinda like a wiki, where you can change content online.. you should try it
Right now a lot of my attention (besides the EMC Project) goes to Photography, so you find the most stuff in there.
22 January 2010, 20:16 UTC in projectsradio
For a while I looked online for a radio to put in the kitchen. Nothing fancy, just a wireless connected streaming radio. I found quite a few, but neither was just about right for me (either you couldn't edit your own station URL's, or it was too expensive, or just a crazy colour...
So while googling around I stumbled across MightyOhm's report, and I decided to build my own..
26 December 2022, 20:14 UTC in projectsrpi4+docker stuff
Just some snippets so I remember what I did..
RPi OS
Raspberry Pi OS - 64bit, lite, installed from Imager 1.7.3.Installed to a SD card, configured user pi pass, and wifi credentials
sudo apt-get update
Since I got an error:
N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.5' to '11.6'
I had to:
sudo apt-get update --allow-releaseinfo-change then the regular sudo apt-get upgrade
docker
Using loosely the instructions from Raspi-docker
Download the right script and install Docker on the Raspberry Pi environment.
curl -fsSL https://get.docker.com -o get-docker.sh
Then run the script with the help of the below command:
sudo sh get-docker.sh
after an odd error, and a restart (iptables was not running because of a kernel upgrade, and docker-ce was failing configuration stage), running it again made it work
add user pi to the group docker: sudo usermod -aG docker pi
then log in again and check docker is running: docker version, docker info and docker run hello-world
Output
pi@rpi4:~ $ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
7050e35b49f5: Pull complete
Digest: sha256:c77be1d3a47d0caf71a82dd893ee61ce01f32fc758031a6ec4cf1389248bb833
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(arm64v8)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
portainer
First install portainer, to admin dockers via GUI
pi@rpi4:~ $ docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/docker_data/portainer_data:/data portainer/portainer-ce
then connect to ip:9000, and setup admin user with password > 12 chars
iobroker
follow the instruction from buanet
However, there are some caveats:
- Create new docker container / Portainer/Containers/Add container
- Name: "iobroker", Image: "buanet/iobroker:latest", Map additional port: 8081/8081, Advanced/Volumes - container: "/opt/iobroker", Bind, host: "/opt/docker_data/iobroker_data", Capabilities: enable SYS_ADMIN, enable DAC_READ_SEARCH
- + copy a backup manually into /opt/iobroker
- Deploy the container - this will restore the data from the backup if existing
- Takes a while to install and start, check the log
- Access "http://ip:8081". For me this failed, because the backup had a different IP. Had to stop the container, edit the config .js by hand, and restart the container
upgrades
- Iobroker updates: via webpage
- JS controller updates, via command line:
- start container cmd (via portainer)
- pkill -u iobroker
- iobroker update
- iobroker upgrade self
- restart container
9 March 2020, 20:27 UTC in projectsOpenVPN and certificate ramblings
Just some infos for me to remember what to do when certificates expire.
21 January 2020, 13:48 UTC in projectsWindows 10 1803 / 1903 and NT style domains..
Since 1903 Windows 10 doesn't really offer a GUI way of adding a workstation to an NT Style domain. As I've been using Samba for a while, and still haven't upgraded to an AD (Active Directory) DC (domain controller) I was put in front of the task of adding 2 new workstations to the old NT style domain. In win10 (1903) I only found one way to do so (not documented in Samba's wiki):
Use PowerShell as an Administrator, and type the following code:
Add-Computer -ComputerName Server01 -LocalCredential Server01\Admin01 -DomainName Domain02 -Credential Domain02\Admin02 -Restart –Force
In order for this to work you need to:
- Name the computer first (Server01 in the example above) and restart
- Install the win7/8/10 registry updates (DomainCompatibilityMode=1, "DNSNameResolutionRequired"=dword:00000000)
- Install the win10 registry update for passwords:
Windows Registry Editor Version 5.00 |HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Protect\Providers\df9d8cd0-1501-11d1-8c7a-00c04fc297eb| "ProtectionPolicy"=dword:00000001
30 December 2017, 21:07 UTC in projectsTasmota Fireplace on a witty cloud
Just a writeup of one of my latest projects.. emulating a fireplace with WS2812 LEDs
13 December 2017, 9:35 UTCSenior Alfons de Brabanel
2 December 2017, 19:30 UTC in projectsSonoff Touch specifics
8 November 2017, 10:54 UTC in projectsFHEM + Sonoff + MQTT/mosquitto + Amazon echo/Alexa
21 April 2017, 5:22 UTC in projectsWindows Live Mail 2012
19 July 2015, 22:06 UTC in photographyAirshow 2015
28 January 2015, 11:10 UTC in projectsolder robot
17 January 2014, 8:20 UTC in projectsRunning EMC1 on windows
27 October 2013, 21:11 UTC in projectsThermal leaking?
17 October 2013, 20:12 UTC in projectsbbb_parport
26 May 2013, 19:54 UTC in photographyWeekend train ride