I wrote a small script for a Shelly Plug S Gen 3 to turn off a device 1 when its power consumption is lower then a threshold for a specific amount of time. let threshold = 18 ; /* watts */ let duration = 1 * 60 * 60 ; /* seconds */ let belowThresholdSince = null ; print ( JSON . stringify ( Shelly . getDeviceInfo ())); Shelly . call ( 'Switch.GetStatus' , { id : 0 }, function ( res ) { print (…
I attended 38c3 last year and it was amazing as always. I brought a modified robot vacuum to the event (it has BLDC motors and goes fast). But I forgot the gamepad so I chouldn’t even drive it around :/ So instead of goofing around I goofed around in KiCad and make this 1 : It is an extension module for Framework computers. I own a Framework 13 laptop which has 4 slots to put extension cards…
In my ongoing effort to decrease my dependence on other people’s computers, I finally pulled the trigger and build myself a home-server. That way I can move all my personal data from the so-called cloud to my home. The server is build out of my old desktop computer, which saw little to no usage after I bought myself a new notebook to be more portable for uni. All hardware but the case and power…
My university exams for this semester are mostly done by now. And with all the corona-virus-measures the new semester doesn’t start for another month. Hopefully I will finish some of those procrastinated projects of mine ;) Anyways. Micropython is still on my radar (I even used it in one university assignment and it really shined there). Here is a small script which uploads all files to the…
This year for Christmas i set myself the challenge to not buy anything new to give away as presents. Better for the environment and forces me to get creative 1 with the stuff i already have lying around. I ended up designing something with my 3D-Printer. The filament technically did lie around… not sure if that counts though ;) Anyways, this is what i came up with: It’s a 3D-Printed…
micropython is python for microcontroller. When i first heard about it i wasn’t really sure what to think about it as python is a really high level language and now that should run on a microcontroller ? no way, that has to be a slow mess… Turns out its not :D I mean it is, but for most of (my) projects you really don’t need the speed anyways. Also the prog-mem of the ESP32 is…
Last post i teased the next upgrade of my smart desk project which are some big arcade buttons to control the light even when my network is down. Well… I finished that part over the last few days: The buttons i did choose for the desk are thous big arcade buttons 1 as they produce this satisfying click when pressed. They come with an integrated LED and resistor, but -as they are not…
Automation makes the life easier. At least that’s what it should do… In my case im not sure it actually did simplify my life as a few years later i own way more stuff and tools to build said automation than my small dorm room can handle. Most of the stuff i build is now living on my desk. Among other things that includes my “smart” desk lamp 1 , which is just a normal IKEA…
Documentation is the most boring part of any project. However that doesn’t mean its not important… Everything requires maintenance and so there will come the day when you have to open up the project 1 again and fix or repair something. For me this is always exiting since most of the time i have completely forgotten most of what i have done to do the repair. Having to sit down and…