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.


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