A Home Assistant custom integration for the jbmedia's Light Manager Air.
- Automatic device discovery on your local network
- Full control of:
- Lights (including dimming)
- Blinds/Covers
- Markers
- Scenes
- Radio reception: Receive 433 MHz and 868 MHz radio signals
- Marker status updates: Read an control markers as a switch in Home Assistant
- Weather data: Integration of connected weather channels
- Cover Positioning: Configure covers to display and set their current position based on opening and closing times.
- Marker mapping: Use markers as state proxies for stateless devices.
- Ignore Zones: Configure zones to be ignored in Home Assistant
- Entity Type Conversion: Convert entities to different types (e.g., light to switch)
This integration bridges jb media's Light Manager Air with Home Assistant, unlocking advanced home automation capabilities.
- Copy the
light_manager_air
folder to thecustom_components
directory in your Home Assistant configuration folder. - Restart Home Assistant.
- Add the integration via the UI: Go to Settings → Devices & Services → Add Integration and search for "Light Manager Air".
-
Ensure HACS is Installed If you don’t have HACS installed, follow the HACS installation guide.
-
Add the Custom Repository
- Open Home Assistant and navigate to HACS → Integrations.
- Click the three dots menu in the top-right corner and select Custom repositories.
- Add the following repository URL:
https://github.com/kmifka/hass_lmair
- Select Integration as the category.
- Click Add.
-
Install the Integration
- Search for "Light Manager Air" in the HACS integrations list.
- Click Install to download and install the integration.
-
Restart Home Assistant Restart Home Assistant to apply changes.
-
Add the integration via the UI: Go to Settings → Devices & Services → Add Integration and search for "Light Manager Air".
It is crucial that each combination of zone and actuator name in the Light Manager is unique, as these are used to generate entities in Home Assistant. If the names are not unique, only the first occurrence will be added to Home Assistant, and all subsequent entities will be skipped. Changes to zones or actuators in the Light Manager will result in duplicate or new entries in Home Assistant.
The Light Manager Air relies on polling for updates because it does not support event-based communication. This integration allows you to adjust the polling intervals for:
- Marker Updates: Updates the status of markers (Default:
5000 ms
). - Radio Signals: Checks for 433 MHz and 868 MHz signals (Default:
2000 ms
). - Weather Updates: Retrieves weather data from connected weather stations (Default:
300000 ms
).
You can customize these intervals to suit your needs or disable polling entirely if not required:
- Navigate to Settings → Devices & Services.
- Locate the Light Manager Air integration and click Options.
- Set your desired intervals or disable polling by uncheck the checkbox.
The Light Manager Air can receive radio bus events, which can be used to trigger automations in Home Assistant. The default entity ID for radio signals is event.radio_signal
. Automations can be configured to listen for specific radio signals by using the event trigger. For example, you can set up a trigger in Home Assistant that listens for the radio_signal
event with a specific code:
triggers:
- trigger: event
event_type: radio_signal
event_data:
code: rfit_14734E8A
You can now configure covers to display their current position and set positions based on opening and closing times. To do this, add the following configuration to your configuration.yaml
file:
light_manager_air:
cover_timings:
- entity_id: "cover.jalousie"
travel_up_time: 35.0 # Seconds for full opening
travel_down_time: 32.0 # Seconds for full closing (optional)
custom_stop_logic: true
The custom_stop_logic
option means that the last sent command will be repeatedly sent to stop the actuator. This is particularly useful for actuators that do not have a native stop command or for those where the stop command does not work reliably.
Markers can be used to map the states of actuators, which are by default stateless in the Light Manager Air.
To ensure markers are updated when an actuator is operated, you need to configure the Light Manager in AirStudio. In the actuator management section of AirStudio, select the mapped marker in the "Marker | Sensor" column.
To configure marker mappings, add the following to your configuration.yaml
file:
light_manager_air:
marker_mappings:
- marker_id: 12
entity_id: "light.garden_lights"
- marker_id: 15
entity_id: "cover.bedroom_blinds"
- marker_id: 22
entity_id: "light.dining_room"
- marker_id: 30
entity_id: "light.fountain_pump"
invert: true
You can configure zones to be ignored by adding them to your configuration.yaml
file:
light_manager_air:
ignored_zones:
- "Living Room"
- "Garage"
- "Scenes"
By adding "Scenes" to the ignored_zones
list, all scenes will be ignored and not added to Home Assistant.
Convert entities to different types using the entity_conversions
configuration. This is useful for changing how entities are represented in Home Assistant:
light_manager_air:
entity_conversions:
- zone_name: "Living Room"
actuator_name: "Ceiling Light"
target_type: "switch"