Upgrade Python – Windows Subsystem for Linux – Ubuntu 18.04

sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget -y
cd /tmp
wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tar.xz
tar -xf Python-3.7.4.tar.xz
cd Python-3.7.4
./configure –enable-optimizations
make -j 8
sudo make altinstall

python3.7 –version

OpenWrt on Wifi Pineapple Mark5

mark V*download and flash openwrt   (https://forums.hak5.org/topic/38702-beta-release-firmware-30/?do=findComment&comment=317617)

I downloaded the image to the /tmp
to flash run:
mtd -r write <firmwarefile> firmware

after reboot connect it to a network and:
opkg update
opkg install kmod-usb-uhci
opkg install kmod-usb-ohci
opkg install kmod-usb2
opkg install usbutils
opkg install kmod-usb-storage kmod-fs-ext4 block-mount
opkg install kmod-rtl8187
opkg install luci

Continue reading “OpenWrt on Wifi Pineapple Mark5”

Docker: WordPress with Nginx – PHP-FPM -MariaDB

I’ve created a docker-compose file to run a wordpress stack based on:
Nginx with PHP-fpm and MariaDB.

In the image I change the max_upload to 40MB.

I’m using the latest wordpress:fpm image to build it.
The dockerfile is included on my Github.

I’m using Traefik to expose the nginx container to the outside.
(my network for that is called: Proxy)

Continue reading “Docker: WordPress with Nginx – PHP-FPM -MariaDB”

Raspberry Pi and Docker Swarm

I still had a bunch of Raspberry Pi2 not doing anything for a while.
So I started a new Project to run a little cluster of Raspberry’s

my goal is to run most of my docker containers I use on a daily base of the Pi.

we start with a fresh rasbian-lite image.

First we update all the Pi’s in the cluster:

sudo apt update && sudo apt dist-upgrade -y

Install Docker:

Continue reading “Raspberry Pi and Docker Swarm”

Nice case to carry your tiny whoop with radio and goggles

Handbag Backpack Bag Case for Blade Inductrix Tiny Whoop Eachine QX90 QX95 E010 Fatshark FPV GogglesIf your searching for a solid case ?? this is the right spot..
Take a look at this one.

It’s a sturdy case with room to fit in most radio’s.
There a inlays in the case that you can remove to make everything fit snugly.
Because of this there is also room for 2 tiny whoops.
Below the quads you can store your batteries and other equipment you need ( for example your changer.)

Next to the whoops you can store also you favorite goggles in this case.

Starting a new hobby for a round 250 euro: Flying with Quad-copters

I wanted to try something new and exiting so after many hours watching Youtube video’s and reading forums I decided to go for it and purchase my first Quad copter.

Snapper 6
Snapper 6

The one I selected wasn’t really 250 Euro, the quad costs around 75 but….
That’s not the only thing you need if you’ve never operated an real RC tool.

There are some cheap quads that come with a transmitter to operate it but the quality from that is not really great ( maybe for a kid it’s alright but i expect a little bit more.)
for a transmitter I decided to go for the FrSky X-Lite, that is a nice format to start with with all features you need to control it.

Don’t forget that you also need batteries for you transmitter, you’ll need 18500 for this one. 1 pair should be more then enough for the beginning hopefully.
you also need something to charge the 18500 so I ordered a charger also.

Continue reading “Starting a new hobby for a round 250 euro: Flying with Quad-copters”

OsCam compiled on Raspberry Pi and use for Ziggo TV

I started of with the latest raspbian lite image since I don’t need a GUI for this.

After the image is created you need to copy an empty file with the name ‘ssh’ to the boot partition ( else you can’t ssh into the Pi)

Let’s upgrade it before we start compiling:

sudo apt update && sudo apt dist-upgrade -y
sudo rpi-update

Continue reading “OsCam compiled on Raspberry Pi and use for Ziggo TV”

Aquarium Controller – Custom PCB – Arduino Mega – MySensors – Domoticz – Part2

The PCB is ready. received it last week.
Currently I’m busy with 3d printing the enclosure.
I switched from having 2 Arduino Mega to just one.
Still trying to figure out how I’m going to code this but that will be a challenge for tomorrow.

I’ll also upload the schema for the PCB here( Probably call it MyMegaAquaControl v0.1)


Aftersome testing i can’t get the radio to work even not in simple relay mode.
I’m trying to figure out what whent wrong in the process and hope I can correct it, else I probably have to redesign the complete PCB ( already found another issue with the dimmers so might create a new one soon)


Recently i build a new version based on the Raspberry pi 3a as main compute unit to control the aquarium.

That worked a lot better so far..

more to come.. in part 3 …


Aquarium Controller – Custom PCB – 2x Arduino Mega – MySensors – Domoticz

I always enjoy the view of my aquarium ( still after more then 10 Years)
But 1 thing about this hobby I never liked…
And that is monitoring the water and the actual weekly water changes.

Last year I noticed the project MySensors over @ https://mysensors.org because I was playing around with my home automation system ( https://domoticz.com)

And suddenly the idea came to create an Aquarium Controller based on the MySensors Project and Controlled by Domoticz.
I started ordering all sorts of components from E-bay to play around with and build a little setup that is able to control my LED Strips / the High Power(10W) Leds / and monitor the temperature of the water and the surroundings.(ph and TurbiditySensor are on its way)

On the picture ( it’s probably hard to see because of the cable mess) are 3 small arduino’s 

  • Monitoring Temp
  • controlling Relais ( for 12V PWM LED Drivers)
  • Controlling Fans ( pwm)

This was done to see if all would run stable and kept running for months.
So far I’ve had no issues and all boards are running nicely. So I’m ready for the next phase of the project.

That is to build a custom PCB where I can fit on 2 Arduino Mega’s to control and monitor the majority of the aquarium ( Changing water will be a sepperate PCB – And I still need to figure out the waterpipes I need to create for that.)
Next I downloaded Fritzing and started playing around with the components until i had a nice PCB that I could use ( This process took me about a month.)

What’s all on the board?

  • 2x RGB control
  • 4x PWM Fan Control and FanSpeed Monitoring
  • Turbidity sensor input
  • PH-Probe Sensor input
  • OneWire ( Temp.)
  • 8x Relais Controls
  • ATX PSU Control
  • Connection for backup power 5v( small powerbank ) – just in case the power goes out one of the arduino’s would still keep running.
  • 3x Volt meters ( 12v / 5v / 5vStandby)

I’m now in the process of putting the finishing touches on the PCB( labeling all components correct with their values) 

Issues to resolve before the board can be created:

  1. I should somehow be able to control the  LED drivers over PWM but I’m still working on that part since the driver requires a 12V PWM signal and the arduino send a 5V PWM signal it won’t work. gotta find something for that .. 

More to come Soon…