Integrate Sixteen Analog/Digital Inputs seamlessly with Home Assistant, bringing all your custom functionality into the Home Assistant ecosystem for enhanced control, automation, and ease of use.
If you already have HACS, I2C and File editor configured, you can skip to The actual installation
- Install HACS video for step 1.
- Enable I2C and Install file editor video for steps 2. and 3.
- Install and config card drivers video for steps 4. and 5. (replace SMioplus-ha with SM16univin-ha)
-
Install HACS
- Follow the official instructions
-
Install and run HassOS I2C Configurator add-on
- Install HassOS I2C Configurator
- Select your profile from the buttom left corner and enable
Advanced mode
in User settings - In Settings, Add-ons, Add-on Store, search and install
HassOS I2C Configurator
- Disable
Protection mode
- Start the add-on
-
Install File editor add-on
- In Settings, Add-ons, Add-on Store, search and install
File editor
- Enable
Show in sidebar
(see multiple config options bellow)
- In Settings, Add-ons, Add-on Store, search and install
-
Install SM16univin-ha from HACS
- Open HACS (from the sidebar)
- Click on the 3 dots in the top right corner and select
Custom repositories
- Repository is
SequentMicrosystems/SM16univin-ha
and type isIntegration
- Once added, you can now search it in HACS menu and download it
-
Add SM16univin config in configuration.yaml
- In the sidebar, select
File editor
and start the add-on - Click the folder icon from the top left corner and edit
configuration.yaml
- At the end of the file append the SM16univin config:
SM16univin:
for more information, see configuration.yaml
- Save the file
- In the sidebar, select
-
Reboot system
-
Reboot system (yes, it must be done twice)
configuration.yaml
example:
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
SM16univin:
# + optional configs
- Simple stack 0 config:
SM16univin:
- Specific stack config:
SM16univin:
- stack: 2
- Multiple cards on different stack levels:
SM16univin:
- stack: 0
- stack: 2
- stack: 3
- Only specific entities for different stack levels:
!The following example is provided for illustrative purposes only and does NOT necessarily represent real entities!
SM16univin:
- stack: 0
relay_1:
relay_3:
opto_1:
update_interval: 0.1
- stack: 2
relay:
channels: "1,2,5"
opto_cnt:
chan_range: "2..6"
update_interval: 1
Possible entities:
dig_1: -> dig_16: (type: binary_sensor)
dig_rst_1: -> dig_rst_16: (type: button)
rtc_1: (type: datetime)
dig_cnt_1: -> dig_cnt_16: (type: sensor)
r10k_1: -> r10k_16: (type: sensor)
r1k_1: -> r1k_16: (type: sensor)
u_1: -> u_16: (type: sensor)
dig_cnt_en_1: -> dig_cnt_en_16: (type: switch)
Entity options:
channels: "l,i,s,t"
(comma separated channel numbers)chan_range: "start..end"
(specify inclusive channel range)update_interval: seconds
(specify the update interval forsensor
andbinary_sensor
, default 30s)update_interval: seconds
(specify the update interval fordatetime
(RTC), default 1s)internet_sync_interval: seconds
(specify the internet sync interval fordatetime
(RTC), default 60s)