admin

mrt 082018
 

I have just started testing Ubuntu 18.04. The first thing I noticed was how different it handles network interfaces. The way Ubuntu manages network interfaces has completely changed.

Have you heard of NetPlan? Probably not, if you have, then you’re a step ahead of many. NetPlan is a new network configuration tool introduced in Ubuntu 17.10 to manage network settings.

It can be used write simple YAML description of the required network interfaces with what they should be configured to do; and it will generate the required configuration for a chosen renderer tool.

Continue reading »

 Posted by at 16:41
okt 012017
 

De laatste tijd ben ik bezig geweest met het vervangen van mijn KaKu schakelaars. Zo zat er KaKu in mijn hanglampen en werden ook de staande lampen via KaKu bediend. Omdat KaKu via 433mhz werkt en dus geen feedback kan geven heb ik besloten om ze te gaan vervangen. Via het Youtube kanaal van Bruh kwam in in aanraking met Sonoff.

De Sonoff is een WIFI bestuurbare schakelaar gemaakt door het bedrijf itead.
Deze is schakelaar is natuurlijk te gebruiken via de eigen app, maar handiger zou zijn om deze te kunnen aansturen middels Home Assistant icm MQTT. Om dit te bereiken moeten we nieuwe firmware flashen. Dit klinkt moeilijker dan het is.
Continue reading »

 Posted by at 16:30
okt 012017
 

So I ordered one of these Sonoff Wifi Switches off of Amazon. The idea is pretty neat. For around $10 you get a WIFI connected switch that you can control with your phone.

The problem:

I wanted to control my garage door with the Sonoff Wifi Switch but found out that the device passes power through it instead of just closing a contact.  Despite many requests on the manufacturers website forum they have not made the change yet.

The solution:

You can convert the Sonoff Wifi Switch into a dry contact with a Soldering Iron, someSolder and a Cheap Dremel.

Danger:  Make sure the unit is not plugged in before continuing.

Step 1:  Run your finger nail around the base of the unit to separate the cover.  I keep my nails really trimmed so I used a small flat head screwdriver.  It’s fairly obvious where the seam is but if you can’t find it, leave a comment and I’ll add some pictures of the process.

Step 2:  Removed the circuit board.

Step 3:  Removed the pathways with the Dremel from BOTH sides of the circuit board as shown in the picture below.  Hold it up to that light as shown to make sure you did not miss any of the connection.  If you’re gap is too small the voltage will make the jump.

Step 4:  Solder across the gap as shown so that the connection will actually close when the relay switches.  You should be able to see what I’m talking about in the picture below.  You can see the solder pointed to by the red arrow.  If you can’t get the solder to stretch that far, you can use a single strand of copper from a stranded wire to give your solder something to hang on to.

Step 5:  Test your product with a voltage meter to make sure it all went as planned.

 Posted by at 16:17
aug 232013
 

Subdomeinen kunnen worden gebruikt voor het serveren van afbeeldingen. Omdat afbeeldingen meer resources in nemen dan de site, kan dit eenvoudig worden uitgesplitst.
In deze handleiding wordt uitgelegd hoe Nginx ingesteld kan worden zodat het redirect afbeeldingen naar een subdomein redirect. Dit gebeurt allemaal binnen Nginx.

Continue reading »