Skip to content

SequentMicrosystems/SM16univin-ha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Sequent Microsystems Sixteen Analog/Digital Inputs Home Assistant Integration

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.

Installation

If you already have HACS, I2C and File editor configured, you can skip to The actual installation

Video tutorials

Prerequirements

  1. Install HACS

  2. 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
  3. 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)

The actual installation

  1. 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 is Integration
    • Once added, you can now search it in HACS menu and download it
  2. 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
  3. Reboot system

  4. Reboot system (yes, it must be done twice)

configuration.yaml

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

configuration.yaml entities

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 for sensor and binary_sensor, default 30s)
  • update_interval: seconds (specify the update interval for datetime(RTC), default 1s)
  • internet_sync_interval: seconds (specify the internet sync interval for datetime(RTC), default 60s)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages