Reload Tuya Integration Every One Hour on Home Assistant

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).

 

(more…)

Create a sensor that sums up number of people in the house

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.

(more…)

Detect a duplicated tab using JS and jQuery

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 […]