Skip to content

AC Infinity integration for Home Assistant for UIS based controllers

License

Notifications You must be signed in to change notification settings

dalinicus/homeassistant-acinfinity

Repository files navigation

homeassistant-acinfinity

hacs_badge

codecov Tests

HACS/HASS Code Style CodeQL

This is a custom component for Home Assistant that adds support for AC Infinity grow tent devices within the Smart UIS Controller cloud ecosystem.

Compatibility

This integration is compatible with the following UIS Controllers

  • Controller 69 Wifi
  • Controller 69 Pro
  • Controller 69 Pro+

This integration requires the controller be connected to Wifi, and thus is not compatible with bluetooth only devices such as Controller 67 or the base model of Controller 69, as they do not sync directly to the UIS Cloud

Installation

HACS

This integration is made available through the Home Assistant Community Store default feed. Simply search for "AC Infinity" and install it directly from HACS.

HACS-Instal

Please see the official HACS documentation for information on how to install and use HACS.

Manual Installation

Copy custom_components/acinfinity into your Home Assistant $HA_HOME/config directory, then restart Home Assistant

Initial Setup

Add an integration entry as normal from integration section of the home assistant settings. You'll need the following configuration items

  • Email: The e-mail registered with your AC Infinity account.
  • Password: The password for this account.

Initial-Setup

Additional Configuration

After adding an integration entry, the following additional configurations can be modified via the configuration options dialog.

  • Polling Interval (Seconds): The time between update calls to the AC Infinity API. Minimum allowed polling interval is 5 seconds.
  • Update Password: When provided, updates the password used to connect to your AC Infinity account. Requires Home Assistant restart.

Additional-Configuration

Data Available

This integration will create a device for each AC Infinity Controller on the configured user account. Each device will have the following sensors created.

  • Humidity
  • Air Temperature
  • Vaper Pressure Deficit (VPD)

Sensors will also be created for each PORT on a controller, even if no device is attached. The UIS protocol is device type agnostic, so each port will be treated the same regardless of what is plugged (or not plugged) into it.

  • Status - Is there a device plugged in on that port
  • Power - Current Power supplied to the connected device

AC-Infinity

Controller Settings

The following controls will be created for each UIS Controller attached to the configured account.

  • Calibrate Temperature: Adjusts the temperature reading from the sensor probe, up to ±10C or ±20F
  • Calibrate Humidity: Adjusts the humidity reading from the sensor probe, up to ±10%
  • VPD Leaf Temperature Offset: Adjusts the leaf temperature in VPD calculation, up to ±10C or ±20F

Note: If the preferred unit of temperature is changed on the UIS Controller, a reboot of Home Assistant is required to update the user interface controls with the correct min/max values. That being said, these fields should still continue to function correctly when interfacing with the UIS API, even without a reboot.

Device Settings

The following controls will be created for each PORT on each UIS controller, even if no device is attached to a given port. The UIS protocol is device type agnostic, so each port will be treated the same regardless of what is plugged (or not plugged) into it.

The mode can be changed via the mode control. The following documentation is split into controls relevant to each mode.

  • On: Device is always set to the on speed
  • Off: Device is always set to the off speed
  • Auto: Device toggled based on temperature and/or humidity triggers
  • Timer to On: Device is turned on after a set duration
  • Timer to Off: Device is turned off after a set duration
  • VPD: Device is toggled based on VPD triggers
  • Cycle: Device is toggled after set intervals
  • Schedule: Device is toggled based on a schedule

On Mode

  • On Speed: The speed/intensity of the device while in on mode

Off Mode

  • Off Speed: The speed/intensity of the device while in off mode

Auto Mode

  • On Speed: The speed/intensity of the device while in on mode
  • Off Speed: The speed/intensity of the device while in off mode
  • Auto High Temp Enabled: Enable or disable high temp trigger while in Auto mode
  • Auto High Temp Trigger: If trigger is enabled, device will be turned on if temp exceeds configured value.
  • Auto Low Temp Enabled: Enable or disable low temp trigger while in Auto mode
  • Auto Low Temp Trigger: If trigger is enabled, device will be turned on if temp drops below configured value.
  • Auto High Humidity Enabled: Enable or disable high humidity trigger while in Auto mode
  • Auto High Humidity Trigger: If trigger is enabled, device will be turned on if humidity exceeds configured value.
  • Auto Low Humidity Enabled: Enable or disable low humidity trigger while in Auto mode
  • Auto Low Humidity Trigger: If trigger is enabled, device will be turned on if humidity drops below configured value.

Timer to On

  • On Speed: The speed/intensity of the device while in on mode
  • Off Speed: The speed/intensity of the device while in off mode
  • Minutes to On: Device will be turned on after the configured number of minutes

Timer to Off

  • On Speed: The speed/intensity of the device while in on mode
  • Off Speed: The speed/intensity of the device while in off mode
  • Minutes to On: Device will be turned off after the configured number of minutes

Cycle Mode

  • On Speed: The speed/intensity of the device while in on mode
  • Off Speed: The speed/intensity of the device while in off mode
  • Cycle Minutes On: The amount of minutes the device will stay in on mode before switching to off mode
  • Cycle Minutes Off: The amounto f minutes the device will stay in off mode before switching to on mode

Schedule Mode

  • On Speed: The speed/intensity of the device while in on mode
  • Off Speed: The speed/intensity of the device while in off mode
  • Schedule Start Time: The time that the device will switch into on mode daily
  • Schedule End Time: The time that the device will switch into off mode daily

VPD Mode

  • VPD High Enabled: Enable or disable high VPD trigger while in VPD mode
  • VPD High Trigger: If trigger is enabled, device will be turned on if VPD exceeds configured value.
  • VPD Low Enabled: Enable or disable low VPD trigger while in VPD mode
  • VPD Low Trigger: If trigger is enabled, device will be turned on if VPD drops below configured value.