Freeture.ch

Photography #1

Cool picture from my last vacations in Sardegna, the beach is called Cala Luna and I took it from one of its cave, facing the Mediterranean Sea. this work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

RaZberry antenna hack

I started to play with Z-Wave at home lately. I found an inexpensive Raspberry Pi Hat for that purpose which is simply called the RaZberry. It’s compatible with all the raspi models so far and it comes with the complete Z-Wave stack and exposes a WebUI + APIs to the user. The main issue that I encountered was the range of the antenna, I had a lots of problems to reach devices that were few meters away from the controller just separated by a thin wall, and I hadn’t had any other devices working in that frequency range that could mess with it.

VXLAN tunnel between 2 linux hosts in <5minutes

Ok we only have 5 minutes so: Host A: 10.0.0.1/24 Host B: 10.0.1.1/24 Those hosts are behind multiple routers but the are reachable, and there is no firewall between them. We will create a VXLAN tunnel between those hosts to put them on the same network segment, like if we had a dedicated VLAN connecting the hosts. host A: ip link add vtep100 type vxlan id 100 dev br100 local 10.

systemd units tweaking

I wanted to tweak the way a daemon started on my system. I did that using its systemd unit file /lib/systemd/system/mydaemon.service. Everything worked fine until an upgrade remove my modification. So I was looking for a way to override the configuration without conflicting with the package-manager. I found this great paper about systemd unit files wrote by digitalocean. Basically what you have to do is create a config file on a *.

Kodi + boblightd / quick and dirty raspi2 tuto

I use a custom ambilight-like on my media-center to display shinny colors on my walls. Boblightd is the daemon that connects to the ambilight appliance and opens a socket on the loopback interface of your media-center. Kodi, then has a plugin that connects to this socket and sends commands through it to the ambilight appliance. First we’ll have to install few dependencies: $ sudo apt-get update $ sudo apt-get install build-essential subversion portaudio19-dev libusb-1.