Hi 👋

Welcome to my blog

BIGTREETECH Relay 1.2: Change Timeout and enable turning on by pin

For some applications (like when you want to connect the BIGTREETECH E3EZ* ) you might want to increase the timeout for the shutdown of the BIGTREETECH Relay 1.2* . Especially in the case of the E3EZ the issue is that the power of the PSU is also the power for the Onboard CPU (e.g. CB1* or CM4). So when this power cuts too fast, the PSU would be switched off before the CPU has shutdown....

ESPHome: failed to execute 'open' on 'serialport': failed to open serial port.

Recently i wanted to flash another Wemos D1 Mini but actually had no chance to do it from my Windows 10 PC. Symptom: 1 failed to execute 'open' on 'serialport': failed to open serial port. Solution 1: Downgrade the Driver of the Serial Port to an older one  as described here  . Solution 2: Change the Baud-Rate of the Serial Port via the Device Manager. Right click on the USB serial port > Properties > Port setting > change the bits per second from 9600 to 115200....

Change external url of gitlab

Recently i had moved my gitlab instance to another domain in my private network. With that unfortunately some of the functionality (e.g. git-lfs) didn’t work properly as it was still announcing the old url. The solution was found here  : Edit /etc/gitlab/gitlab.rb Look for the entry external_url which needs to be updated Save Reconfigure gitlab using: sudo gitlab-ctl reconfigure Restart gitlab using: sudo gitlab-ctl restart

Home Assistant: Change file without core running

Recently i managed to change a file in the Home Assistant configuration and then i forgot about that change… a bit later i started the upgrade to the latest version of Home Assistant which doesn’t check if Home Assitant could be started with the current configuration … of course i had managed to break it and so home assistant “core” didn’t start. The solution was to logon either via SSH (if you have the addon installed and configured) or to have access to the console of the Home Assistant OS....

HP Officejet Pro 8620 Semi-Reset

Since a while my printer, HP Officejet Pro 8620, shows that some functions have been locked by the administrator (which i am) but unfortunately i wasn’t able to unlock these. So i went the reset route: Press the “Go Back” (looks like a twisted arrow) button 4-5 times in a row Press “Support Menu” Hit the “down” button to “Reset” Menu Hit the “down” button to “Semi-Full Reset” This will turn off the printer....

Synology: unzip - Command not found

Today i wanted to use the command unzip on my Synology NAS but it couldn’t be found. The solution was easy: Synology only delivers 7zip instead - which is indeed good since it is a bit more universal. So to unpack a zip-file, the command is: 1 7z x filename.zip

Raspberry PI CM4 Disable PCIe after brcm-pcie link down message

On my BIGTREETECH E3EZ i switched from the CB1 to the Raspberry PI CM4. Unfortunately on every boot the following message appeared: 1 brcm-pcie fd500000.pcie: link down The issue is the missing PCIe Port, hence you have to disable the feature to get rid of this message. Create the file disable-pcie-overlay.dts with the following command: 1 wget https://gist.githubusercontent.com/SirUli/de94ddb751b91adfa6809f286a18a382/raw/af010907360153f74edc8f65d415d717378bf037/gistfile1.txt -O /tmp/disable-pcie-overlay.dts You must then convert the file using the following command:...

Crowsnest: libcamera.so.0.0.4: cannot open shared object file

When i started up the latest crowsnest  using the camera-streamer option for the raspberry camera, i encountered the following error when running crowsnest in DEBUG mode: 1 crowsnest: DEBUG: camera-streamer [cam rpi]: /home/pi/crowsnest/bin/camera-streamer/camera-streamer: error while loading shared libraries: libcamera.so.0.0.4: cannot open shared object file: No such file or directory The reason for this is relatively trivial: The library has moved on (currently version 0.0.5) through an OS Upgrade and hence cannot be found....

BIGTREETECH CB1 on E3EZ calculation of gpio pin numbering

When i started using the BIGTREETECH CB1* on the BIGTREETECH E3EZ* i quickly got into the trouble of mapping all the pin descriptions to gpio numbers. Luckily i’m not alone and i found a solution here  . The BIGTREETECH CB1 uses a custom IO pinout for the pins which consists of PA, PB….PG and a number. To calculate a GPIO Number, you need to use the following formula: 1 2 [(PG - PA)*32] + {Pin Number} Where PA = 1, PB =2…....

BIGTREETECH CB1 Time incorrect and drifting

When i started using the BIGTREETECH CB1* i noticed that the system time was almost always wrong. Solution There are different solutions for this but the following one worked the best for me: First remove NTP: 1 sudo apt remove ntp and install the systemd-native timesync service: 1 sudo apt install systemd-timesyncd This should automatically install the service and start it. To make sure, you can check that systemd-timesyncd.service is active (running):...