DISCLAIMER: This software is neither affiliated with nor endorsed by either Control4 or Hatch.
This suite brings Hatch sleep devices into Control4. It controls the sound machine and RGB night light on Hatch Rest+ and Restore devices through the Hatch cloud, with no separate bridge or Home Assistant instance required.
The suite is split into an account driver and per-function companion drivers. The account driver owns a single cloud connection for the whole account (Hatch login, then AWS IoT over an MQTT-over-WebSocket link to the device shadows), discovers the devices on the account, and exposes a connection for each device function. The companion drivers present those functions to Control4: the sound machine as a media service with a room audio endpoint, and the night light as a standard light. This keeps one connection per account no matter how many devices or rooms are involved.
- Control4 OS 3.3+
- A Hatch account (the email and password used in the Hatch mobile app)
- One or more supported Hatch devices already set up in the Hatch app: Rest+ (Rest+ 2nd gen / riot) and Restore
The account driver, and the driver to add first. Enter your Hatch account email and password and it connects to the Hatch cloud, discovers the devices on the account, and creates a connection for each device function. The sound machine and night light drivers bind to those connections, so the account driver is the only place credentials are entered and the only cloud connection that is opened.
Key features:
- One cloud connection for the whole account, shared by every device and room
- Automatic discovery of the devices on the account
- Live device state (playback, volume, light color and brightness) kept in sync from the Hatch device shadows
- Reconnects on its own after a network drop or controller restart
Presents one device's sound machine as a Control4 media service with its own room audio endpoint, so it behaves like any other listening source.
Key features:
- Browse and play the device's sounds and favorites from the room
- Now-playing, stop, and volume in the standard Control4 listening session
- Play Sound, Play Favorite, and Stop programming commands
- Adds itself as a room audio endpoint, so no external amplifier is needed
Presents one device's RGB night light as a standard Control4 light (light_v2).
Key features:
- On, off, brightness, and full color from the light UI and from programming
- Color handled with Control4's built-in color model, so it matches the rest of the lighting in a project
Presents one device's sound machine volume as a standard Control4 light (light_v2) dimmer, where brightness is the volume percentage and the load being on means the sound machine is playing.
Key features:
- Volume as a dimmer, for integrations that only understand lights. Apple Home has no equivalent of a media service, so this is the only way to put Hatch volume in front of it
- Turning it on starts a sound or favorite chosen in a property, so the button always plays something
- Tracks changes made in the Hatch app in both directions, with no programming
Note: This is redundant in native Control4, where the Hatch Sound Machine already carries volume in the room's audio session. Add it only for a lights-only integration.
-
Download the latest
control4-hatch.zipfrom Github. -
Extract and install the desired
.c4zdriver files. -
Use the "Search" tab in Composer Pro to find the driver by name and add it to your project.
Add the Hatch account driver first and enter your account credentials, then add the companion drivers for the device to the room it is in and bind each to the matching connection on the account driver.
- Add the Hatch account driver to your project.
- Enter your Hatch account Email and Password. The driver connects to the Hatch cloud and populates Connection Status and the discovered Devices.
- Add a Hatch Sound Machine, Hatch Night Light and/or Hatch Volume
to the room with the device, and bind each one's
Hatch Deviceconnection to the matching device connection exposed by the account driver.
Each companion driver includes its own documentation accessible from within Composer Pro. Refer to the individual driver documentation for its property, connection, and programming reference.
Enables or disables automatic driver updates. Default is On.
Selects which release channel automatic updates pull from. Default is
Production.
Email address for your Hatch account (the one used in the Hatch mobile app).
Password for your Hatch account.
Displays the current status of the connection to the Hatch cloud.
Lists the Hatch devices discovered on the account. Bind the companion drivers (Hatch Sound Machine, Hatch Night Light, Hatch Volume) to these device connections.
Displays the current status of the driver.
Displays the current version of the driver.
Sets the logging level. Default is 3 - Info.
Sets the logging mode. Default is Off.
Checks for and installs the latest driver versions from the configured Update Channel.
Drops and re-establishes the connection to the Hatch cloud.
Clears the driver's stored state and reconnects.
Parameters:
- Are You Sure? [ No | Yes ] - Confirmation to reset the driver.
If you have any questions or issues integrating these drivers with Control4, you can file an issue on GitHub:
https://github.com/finitelabs/control4-hatch/issues/new
- Added Control4 load groups to the Hatch Night Light and Hatch Volume. Each joins a load group and follows the group's level, ramps and sync.
- Fixed the Hatch Night Light sometimes going to its old brightness when its color is changed right after its level.
- Fixed the Hatch Night Light sometimes coming on in its old color, instead of one set while it was turning off.
- While the account has lost its connection to Hatch, or a device is offline, the Hatch Night Light and Hatch Volume show offline and keep their level and keypad button LEDs, where they used to show off.
- The Hatch Night Light and Hatch Volume show a change in Control4 as soon as it is sent, and put it right within 5 seconds if Hatch does not take it.
- On while the Hatch Volume plays a sound keeps it playing, where it used to start the chosen favorite again.
- After a driver restart or a reconnect the Hatch Night Light and Hatch Volume report their brightness, and the Night Light its color, to Control4 as they find them, even when they have not changed.
- A command for the brightness or color the Hatch Night Light and Hatch Volume already show no longer fires a change event in Control4 programming.
- The Hatch Night Light and Hatch Volume answer brightness queries with the level they last reported, also during a fade or while the device can't be reached.
- Binding the Hatch Night Light or Hatch Volume to a different device shows it offline until the new device reports.
- Fixed the Hatch drivers sometimes showing a light or sound as off, or at the wrong level, while the device was on.
- Fixed a color set while the Hatch Night Light was off turning the light on, and its next turn-on now comes on in that color.
- Fixed the Hatch Sound Machine sometimes turning itself off, or leaving a now-playing card that could not be controlled, after a driver update or account reconnect while it was playing.
- Fixed the Hatch companion drivers sometimes showing the account as connected after it lost its connection to Hatch.
- Fixed an automatic update sometimes leaving the companion drivers on the previous version, where they could stop responding until the next update.
- Changed the Hatch Night Light and Hatch Volume to show off while the connection to Hatch is lost, and their state again once it reconnects.
- Removed the scene, on mode, Default On and ramp options from the Hatch Night Light and Hatch Volume, since neither driver acted on them.
- Added the Hatch Volume driver, which presents a device's volume as a dimmer for integrations that only control lights.
- Added a Turn On Plays property to Hatch Volume, which picks the sound or favorite that turning it on plays.
- Added Started Playing and Stopped Playing events to the Hatch Sound Machine, which also fire for playback started from the Hatch app or the device itself.
- Added Programming conditionals to the Hatch Sound Machine for whether it is playing, and for which sound or favorite is playing.
- Sounds and favorites now refresh on their own when they change in the Hatch app, with no driver reload.
- The Hatch Sound Machine now behaves as a normal room source, so starting it takes the room and selecting another source stops it.
- Fixed a reconnect or credential change on the account driver briefly reporting its companion drivers as disconnected, and a deliberate stop being reported as a disconnect.
- Fixed the Hatch Night Light never reporting itself online, which could leave it grayed out and unusable in Navigator.
- Fixed stopping the sound machine turning off the whole room, which ended a video session in rooms with a TV.
- Fixed a second room off being sent behind the one you pressed, which could switch a TV with a power toggle back on.
- Fixed starting the sound machine from the device itself taking a room the TV was holding, which switched a TV with a power toggle back on. It now takes a room only when you start it from Control4.
- Fixed Hatch Volume listing favorites that share a name as identical entries, where choosing either one started the first. Repeats now carry their touch ring number, matching the Hatch app.
- Fixed the sound machine reporting its volume continuously rather than only when it changed, which made Programming watching the volume run constantly.
- Fixed the companion drivers showing their last known state as live, and reporting themselves reachable, while the account driver had no cloud connection or had not yet found the device.
- Hatch account driver, which signs in to the Hatch cloud, finds the devices on the account and shares one connection among them, reconnecting on its own after a network drop or controller restart.
- Hatch Sound Machine companion, which plays a device's sounds and favorites as a Control4 media source in its room with no amplifier needed, with now playing, cover art, volume and mute.
- Hatch Night Light companion, which presents a device's night light as a standard Control4 light with on and off, brightness, full color and Advanced Lighting Scenes.
- Play Sound, Play Favorite and Stop programming commands, with sound and favorite lists populated from the device's own catalog.
- Cover art on the now-playing card and in the browse lists, for sounds and favorites.
- Support for Rest+ and Restore, including Restore's own sounds.

