Website as Android app via Progressive Web App

Android is developed by Google. Chrome is developed by Google. Both were combined by Google. The result is called “Progressive Web App” and opens up the world of (simple) app development to web devs. How did I do it? Setup HTTPS. My smarthome already has HTTPS, so I could skip this step. Setup a service worker for your site. What’s …

Casing up your projects

My initial thought when starting to get into building my own devices was that I have to start by creating the schematics and use them to design the corresponding PCB. After that, use some kind of 3D modelling software to design the case based on the PCB layout. As a result I procastinated the last step for a long time …

Using the JS beforeunload event for smooth page transitions

It’s pretty simple but a thing that took me a while to realize: One big problem with normal pages compared to webapps are the hard transitions from one page to another. Normal pages reload a new page on every click on a link, resulting in page elements instantly disappearing and appearing. Fading stuff in is pretty common on the web …

Panic and bullshit

A few months ago, I got my hands on a box full of these and these because the batteries leaked and rendered the buttons useless. Before they were thrown away, I grabbed the whole box (about 50 in total), took them home and quickly started designing a new PCB based on the ESP8266. The plan is, as always, to extend …

Block widgets – Android widgets for my smarthome

Automatically I love this word. I love automating things, no matter the cost. For example the PHP framework I’ve written and been using for all my bigger projects automatically generates the tables in the database based on their classes, while the modules containing said classes are automatically distributed to every subscribed project. It’s great having a system to read and …

Short update: Numpad block arrived and assembled!

Door lock. Alarm system activation / deactivation. Protocol execution. These are some of the ideas I had in mind while designing this board. The list of parts is pretty simple: The ESP12 and the numpad (obviously), a MUX to increase the amount of pins on the ESP and an LDO for the power supply. After quickly assembling it I only …

ESP_Basic – Abstracting away the data management chaos

The concept is pretty simple: I have a work and a config mode, depending on the state of a switch when a block boots. In config mode the block spawns a wireless network, and once connected to 192.168.4.1, provides a form to configure the device. Once booted into boot mode, it grabs the data and pushs it to its destination. …

ESP8266 + MFRC522 – Reading RFID chips through the internet

After working with three.js, I decided to start dabbling with Unity (a popular game engine) again a few days ago. C# is more pleasant to work with than JS (though one could use JS to work with Unity as well), and it’s great to not having to solve similar low level problems again and again. But today my MFRC522 blocks …

Smarthome – concept, progress up to now and plans for the future

I can’t really remember when I actually started working on it. I probably slowly drifted into developing the whole thing. 3 years ago, when I applied for my current job as a webdev, I was asked how I’d build a device that sends a mail whenever a specific door is opened. After a few hours of tinkering with an Arduino …

3Dashboard – three.js 3D dashboard

Here’s the result to play with UPS is the bane of my existence. Not only did I have to deal with their low quality API at work (it took me three months of back and forth with their customer service to get the API running), but they also lost the PCBs that I needed for my smarthome project. I couldn’t …