Skip to content

Post index page

Getting started with home automation

How to get started with home automation

Home automation is a fun topic and in this post I will describe what you would need to get your own home automation running. For me, there are a few prerequisites: - Having home automation does not mean there should be wires everywhere or be an eye sore. - In the event that the controller/server goes offline, the controlled entities should still work with their switches. ie, the light switch looks normal and still control the room light per normal.

Requirements

We need to get a few things to make this work. For a basic start we can use the following components.

How to extract video (mp4) and photos (png) from moving photos (HEIC) using Python3

Overview

Much like other mobile users, I have come to enjoy the feature referred to as moving photos. For those of you who might not be familiar, it is a feature which adds a short video to your photos as you take the photo. When viewing the photo, it gives you the option to also view the short video clip associated with that photo. The challenge I was facing was related to what happens to the video portion after the photos has been edited, or more specifically, how to get the video out of the photo before losing it.