Last Updated:

1-Wire Support for Binary Sensors and Switches

S.C.O.R.E.ConvenienceDevice Control

Overview

The newly added support for binary sensors and switches in 1-Wire technology enhances home capability by allowing users to monitor and control devices more effectively. This capability streamlines the integration of various sensors and switches, providing a cohesive user experience in managing home environments.

Convenience icon

Benefits

  • Improved monitoring of home conditions through binary sensors like motion or contact switches.
  • Enhanced capability capabilities by allowing switches to trigger different actions based on sensor input.
  • Increased convenience for homeowners by enabling remote control of devices through the Home Assistant interface.

Intent

The purpose of this capability is to expand the functionality of the 1-Wire system by integrating binary sensors and switches, allowing users to create more complex capability scenarios. The outcome is a smarter home environment that reacts to real-time sensor data.

Preconditions

  • 1-Wire network setup and configuration.
  • Supported binary sensors or switches connected to the 1-Wire system.
  • Home Assistant configured to recognize the 1-Wire devices.
  • Home Assistant installed and configured.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Temperature Sensors.

Actors

  • Homeowner
  • Family member
  • Guest

Trigger

The capability is triggered by a change in the state of a binary sensor, such as motion detected or a switch being turned on/off.

Workflow Diagram

flowchart TD
    A[Sensor State Change] -->|check| B{{Sensor Active?}}
    B -->|Yes| C[Activate Related Switch]
    C --> D[Trigger Capability]
    B -->|No| E[Do Nothing]

Workflow Description

1. Sensor Activation

A binary sensor detects a change, such as motion or a door opening.

2. State Check

The system checks if the sensor is in an active state.

3. Trigger Action

If active, the corresponding switch or capability is triggered.

4. Log Activity

The system logs the action in the Home Assistant logbook for review.

5. User Notification

If configured, the user receives a notification about the activated event.

Postconditions

After the capability completes, the related switch is activated, and any associated capabilities are executed, resulting in changes to the home environment as intended.

Optional Enhancements

  • Integrate voice control for activating switches and sensors.
  • Add custom notifications based on specific sensor triggers.
  • Create complex capability rules that involve multiple binary sensors.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, Z-Wave JSTemperature Sensors, Energy Monitoring

Source Examples