Last Updated:

Modbus Support for Lights & Fans

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

Overview

Modbus integration now allows users to control lights and fans seamlessly through a unified interface, enhancing capability possibilities. This capability streamlines home lighting and ventilation management, providing convenience and energy efficiency.

Convenience icon

Benefits

  • Easily control multiple lights and fans from a single interface, reducing the need for multiple remotes or switches.
  • Automate lighting and fan schedules to improve energy efficiency and create a comfortable living environment.
  • Enhance home capability setups by integrating lights and fans into existing Modbus networks.

Intent

The purpose of this capability is to provide a simple and efficient way to control lights and fans using Modbus, allowing for greater capability in home environments. The outcome is a more integrated and automated home experience.

Preconditions

  • A compatible Modbus device for controlling lights and fans.
  • Home Assistant configured to support Modbus integration.
  • Network connectivity between Modbus devices and Home Assistant.
  • Home Assistant installed and configured.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Smart Switch Lights.

Actors

  • Homeowner controlling their home environment
  • Family members adjusting lighting for comfort
  • Guests using voice commands to operate lights and fans

Trigger

The capability is triggered by a command sent through the Modbus network, which could originate from a user interface or an capability rule.

Workflow Diagram

flowchart TD
    A[User Command] -->|send command| B{Device Response?}
    B -->|Yes| C[Adjust Lights & Fans]
    C --> D[Confirmation to User]
    B -->|No| E[Error Notification]

Workflow Description

1. Send Command

The user sends a command to control lights or fans via the Home Assistant interface.

2. Check Device Response

The system checks if the Modbus device successfully received and processed the command.

3. Adjust Lights & Fans

If the device responds positively, the lights and fans are adjusted according to the user’s command.

4. Confirmation to User

The system sends a confirmation back to the user indicating the action has been completed.

5. Error Notification

If the device does not respond, an error notification is sent to the user for troubleshooting.

Postconditions

After the capability executes, the specified lights and fans are adjusted as per user command, and the user receives confirmation of the action.

Optional Enhancements

  • Integrate voice control using smart assistants like Alexa or Google Home.
  • Create capability rules that adjust lights and fans based on time of day or occupancy.
  • Develop a mobile app interface for remote control of lights and fans.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, Z-Wave JSSmart Switch Lights, Door and Window Sensors

Source Examples