If you are using Home Assistant, either via a virtual machine or directly on a desktop computer, the best way to shut down Home Assistant without causing inconsistencies is to gracefully shut down the host.
I wanted to give a few examples of how to use the time pattern trigger for automation in Home Assistant. This trigger is very powerful and can achieve precise timings of repetitive tasks.
You can read about this trigger here https://www.home-assistant.io/docs/automation/trigger/#time-pattern-trigger
Are you having issues with Tuya integration on Home-Assistant? Well, unfortunately, some versions of HA cause it to stop receiving updates to sensors/devices (lights, air condition, etc.).
Most of the time, reloading the integration via the HA interface solves the problem, but what if it’s needed a few times a day?
Until it’s fixed, I recommend to you add a reload automation to this integration (or any other for that matter, that misbehaves as such).
Not much is commonly known about the importance of the quality of the air we breathe. Unfortunately, probably most of our time is spent in places that do not have clean air. This can be our home (yes! a lot of pollutants are found in-door), office, car or even our back yard.
I found the hard way that having a UPS (Uninterrupted Power Supply) can be very important, especially if your house hosts multiple devices that run on mains that are critical to you. For me, I have multiple servers, Home-Assistant, and of course my Wifi Router.
One of the features of Shelly smart relays and devices is the ability to sever the connection from the physical switch from the actual relay. This opens the possibility to control the switch itself without starting the relay. For instance, you can use the physical switch to turn on another device or service.
One of the most powerful abilities of Home Assistant is the ability to easily create automation based on the current location of our home users.
For instance, start the vacuum cleaner and 9:00 am, only if you’re not home.
This of course can be done with the built-in automation editor, but the condition for the scenario can be rather long, particularly if there is more than one person in the house.
As I wrote here before, the ESP8266 is one of the best controllers for simple tasks. It’s cheap, reliable, and easy to code with Arduino.
Sometimes, even great things as this chip can cause a bit of a headache, like this time around, when I got “connection refused” error when I tried to open an HTTP connection to one of my services.
If you have a web application and you want to easily detect when a user has duplicated your site’s tab this solution is for you. All modern browsers have a “duplicate tab” functionality, which allows users to continue working on pages they were, only in a new tab, thus allowing for multiple instances of the […]
Help Google Image Search detect the license for your images with RDFa’s. If you host images on your site, and you want to specify a license for them use Google recommended RDFa (Resource Description Framework in Attributes – a W3C recommendation) in your HTML. This tip will explain how to do it.