Minim Alarm is a custom component to connect your Minim Alarm with Home Assistant.
Minim Alarm target is to provide you with all the sensors and the Alarm control panel of Home Assistant needed to manager your system.
- List all the Binary Sensors expsosed by Minim
- Create your Alarm control panel using your custom scenarios
- Manage the configuration via GUI
Minim Alarm is installable via HACS (Home Assistant Community Store) adding the name of the repo to the custom repo. If you want to try and add a custom repository to HACS do the following:
- Click on the 3 dots in the top right corner.
- Select "Custom repositories"
- Add the URL to the repository ( https://github.com/nidble/minim_alarm/ ).
- Select the correct type (Integration).
- Click the "ADD" button.
-
Download the custom component files: Download the necessary files for the custom component. In this case the latest release of this component: https://github.com/nidble/minim_alarm/releases/latest
-
Place the files in your Home Assistant configuration directory: Move the downloaded folder into your Home Assistant's
custom_components
directory.- If it doesn't exist, create it within your main Home Assistant configuration directory.
- The final file structure should look something like this:
<config directory> └── custom_components └── minim_alarm └── __init__.py └── sensor.py └── ... other files
-
Restart Home Assistant: Restart Home Assistant to load the new custom component.
-
Go to the integration dashboard and search inim (or click here):
-
Click on add integration
-
Fill the popup with all the informations.
- Add the
panel
to the panels
Note: The client ID can be anything from "homeassistant" to an UUID, just do not include special characters or spaces.
To gather the DeviceID follow the steps here
To discover your device ID you can use the method MinimCloud.get_devices_list from pyMinim library. To do so you can use the script in the tool path following the example:
git clone https://github.com/nidble/pyinim
cd pyinim
python -m venv venv
source venv/bin/activate
pip install -r tools/requirements.txt
python tools/inim_cli.py --username <YOUR_INIM_USERNAME> --password <YOUR_INIM_PASSWORD> --list deviceid
python tools/inim_cli.py --username <YOUR_INIM_USERNAME> --password <YOUR_INIM_PASSWORD> --list scenarios
python tools/inim_cli.py --username <YOUR_INIM_USERNAME> --password <YOUR_INIM_PASSWORD> --list areas
pip install virtualenv # (if you don't already have virtualenv installed, see https://virtualenv.pypa.io/en/latest/installation.html)
virtualenv venv # to create your new environment (called 'venv' here)
source venv/bin/activate # to enter the virtual environment
pip install -r requirements.test.txt
This project has no relation with the Inim company.
This integration is using python module pyinim which is an unofficial module for achieving interoperability with Inim APIs.
Author is in no way affiliated with Inim.
All the api requests used within the pyinim library are available and published on the internet (examples linked above) and the pyinim module is purely just a wrapper around those https requests.
Author does not guarantee functionality of this integration and is not responsible for any damage.
All product names, trademarks and registered trademarks in this repository, are property of their respective owners.