Nuimo Integration

You definitely need 2 config files, but not necessarily 2 sitemaps if you want to control the same things with both Nuimo’s.

To have 2 config files and 2 instances of the software, you’d just add a second systemd unit with a different configuration file path. Example:

nuimo1.service:

[Unit]
Description=Nuimo1 openHAB Integration Service
Requires=network-online.target bluetooth.service
After=network-online.target bluetooth.service rsyslog.service openhab.service

[Service]
ExecStart=/usr/bin/python3 /YOUR_PATH_TO_THIS_APP/main.py
Environment=NUIMO_OPENHAB_CONFIG_PATH=/etc/nuimo-openhab/nuimo1.yml
Type=simple
SyslogIdentifier=nuimo1-openhab

[Install]
WantedBy=multi-user.target

nuimo2.service:

[Unit]
Description=Nuimo2 openHAB Integration Service
Requires=network-online.target bluetooth.service
After=network-online.target bluetooth.service rsyslog.service openhab.service

[Service]
ExecStart=/usr/bin/python3 /YOUR_PATH_TO_THIS_APP/main.py
Environment=NUIMO_OPENHAB_CONFIG_PATH=/etc/nuimo-openhab/nuimo2.yml
Type=simple
SyslogIdentifier=nuimo2-openhab

[Install]
WantedBy=multi-user.target