Skip to content

2025.5.1

Latest
Compare
Choose a tag to compare
@Hankanman Hankanman released this 25 May 10:38
d6ee685

This release introduces the highly-requested Wasp in a Box feature, along with a major internal refactor to support virtual sensors, simplify configuration, and improve performance and reliability across the board.

Now on HACS! The component has officially been accepted to the HACS store and is even easier to find and install!

✅ Bugs Fixed

#47 - Can't start due to migration error


🧠 New: Virtual Sensor Framework

  • Virtual Sensors Are Here
    You can now create occupancy logic based on sensor combinations and rules — like motion after a door opens — using the new virtual sensor system.

  • Wasp in a Box
    First out of the gate: a virtual sensor that detects occupancy when someone enters a room (door opens), and then moves (motion detected), even if no motion is detected afterward.
    Perfect for rooms like bathrooms or studies where people might sit still for a while.

  • Highly Configurable
    Set timeouts, weights, and max durations. Works alongside your regular sensors without replacing them.


🔧 Smarter Configuration

  • Refactored Configuration Flow
    The UI for selecting sensors is now cleaner, more modular, and easier to extend.
    Strings and validation are also improved — fewer errors, clearer labels.

  • Auto-Include Primary Sensors
    Your primary_occupancy_sensor is automatically added to the motion sensors if needed, reducing setup friction.


📚 Docs + Screenshots

  • Wasp in Box Documentation
    A new page on the 📘 docs site explains the concept and setup of the new virtual sensor.

  • Updated Overview & Index
    The index now includes GitHub Action badges and links to new technical explanations and UI screenshots.


🧪 Testing & Developer UX

  • CI workflows added for testing, linting, and validation via GitHub Actions
  • Types and constants refined for clarity and maintainability
  • Linter compliance and test coverage improved

This update sets the foundation for more powerful sensor logic, smarter detection, and easier configuration — all without compromising performance or stability.

As always, find full setup guides and technical docs at:
🔗 https://hankanman.github.io/Area-Occupancy-Detection/
📦 https://github.com/Hankanman/Area-Occupancy-Detection

Let me know what you build with Wasp in a Box!
There is a discussion thread here: 🐝📦Wasp in a Box

Full Changelog: 2025.4.3...2025.5.1