# iSmartGate app with more than one device

**URL:** <https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955>\
**Category:** Questions & Help\
**Created:** [November 27, 2023, 10:27am UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955 "2023-11-27T10:27:12Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philip\_W\_daSilva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_w_dasilva/32/81772_2.png) [@Philip\_W\_daSilva](https://community.homey.app/u/Philip_W_daSilva)\
**Post date:** [November 27, 2023, 10:27am UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/1 "2023-11-27T10:27:12Z")

</div>

Hi,

I’m using the iSmartGate app and its working fine. My problem is that the app only allows me to connect to one iSmartGate device in the settings and I have two devices? Is there anyway to solve this? Can I for example install a second instance of the app that I configure with my second IsmartGate device?

Thanks for any help in this matter.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 29, 2023, 5:22am UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/2 "2023-11-29T05:22:09Z")

</div>

Hi Philip,

When you’re familiar with CLI installs [(find howto here)](https://community.homey.app/t/how-to-cli-install-method/198), you can install a second iSG app, **but only after you change the app ID a bit** in the  
`.homeycompose/app.json` file;  
Change line 1 into, for example:  
` "id": "com.gogogate.ismartgatephilip"`  
and change line 11 into, for example  
` "en": "ismartgatephilip"`

This should make adding your 2nd iSG device possible

App download:  
[https://github.com/iver56/homey-ismartgate/archive/refs/heads/main.zip](https://github.com/iver56/homey-ismartgate/archive/refs/heads/main.zip)

---

<div class="post-metadata">

**Author:** ![Philip\_W\_daSilva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_w_dasilva/32/81772_2.png) [@Philip\_W\_daSilva](https://community.homey.app/u/Philip_W_daSilva)\
**Post date:** [November 29, 2023, 7:45am UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/3 "2023-11-29T07:45:56Z")

</div>

@Peter_Kawa Thank you so much for taking your time to help me. Highly appriciated. I had a good start. did everything according to instructions. But when I enter “homey app install” I get this:

✖ Command failed: npm ls --parseable --all --only=prod  
npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.  
npm ERR! code ELSPROBLEMS  
npm ERR! missing: fast-xml-parser@^4.0.7, required by com.gogogate.ismartgate@1.0.0  
npm ERR! missing: node-fetch@^2.6.7, required by com.gogogate.ismartgate@1.0.0  
npm ERR! missing: uuid@^8.3.2, required by com.gogogate.ismartgate@1.0.0

npm ERR! A complete log of this run can be found in: /var/root/.npm/\_logs/2023-11-29T07\_43\_03\_896Z-debug-0.log

✖ Error: This error may be fixed by running `npm install` in your app.  
at /usr/local/lib/node\_modules/homey/lib/App.js:874:15  
at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
at async App.\_copyAppProductionDependencies (/usr/local/lib/node\_modules/homey/lib/App.js:871:26)  
at async Promise.all (index 1)  
at async App.preprocess (/usr/local/lib/node\_modules/homey/lib/App.js:826:5)  
at async App.install (/usr/local/lib/node\_modules/homey/lib/App.js:767:7)  
at async exports.handler (/usr/local/lib/node\_modules/homey/bin/cmds/app/install.js:25:5)

Could you please help me with what to do?  
Best regards,  
Philip

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 29, 2023, 10:07pm UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/4 "2023-11-29T22:07:57Z")

</div>

YW, Philip!

The possible fixes / solutions are returned, but you have to read the error message carefully

> [@Philip\_W\_daSilva](#):
>
> ✖ Error: **This error may be fixed by running `npm install` in your app**

(By ‘_install in your app_’ is meant:  
when the path is the app folder, run  
`npm install`  
This way ‘npm’ gets installed into the app code)

There can be several error messages after each command, with a proposed fix.  
In the end, the app should install error free @ Homey

---

<div class="post-metadata">

**Author:** ![Philip\_W\_daSilva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_w_dasilva/32/81772_2.png) [@Philip\_W\_daSilva](https://community.homey.app/u/Philip_W_daSilva)\
**Post date:** [November 30, 2023, 9:58pm UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/5 "2023-11-30T21:58:52Z")

</div>

Thank you @Peter_Kawa I got it to work now 👍

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 18, 2025, 12:29am UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/6 "2025-01-18T00:29:18Z")

</div>

Hi Peter 🙂

I hope this message finds you well…  
I have the same problem as Philip : need for a 2nd instance of ISG App.

1. I followed CLI install protocol : I downloaded Node.js v.22.x (higher than my Homey’s v.18.x) and installed it on my computer.
2. I downloaded the App Zip file in your post to Philip, unzipped it in my Downloads directory
3. Setup Nodejs in Terminal (cmd prompt) : npm install -g homey and logged in with success through the webpage that had opened
4. I navigated in Cmd prompt to my Downloads rep :  
cd /Users/DF/Downloads/homey-ismartgate-main  
and chose when prompted my Homey device as Active Homey
5. I changed (and saved the file ) the App Name on lines 1 & 11 for  
“id”: “com.gogogate.ismartgateGREG”,  
“en”: “ismartgateGREG”
6. Still in Cmd I ran : npm install and addressed 1 moderate severity vulnerability (out of 12 packages) using npm audit fix. I ran again npm install and 0 vuln. where found.

By now I should see IsmartgateGREG as a new App on my Homey, right, or did I miss something ?

Thank you for your wisdom & help !  
GREG

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 19, 2025, 5:19am UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/7 "2025-01-19T05:19:01Z")

</div>

Hi Gregory,

I happened to ‘stumble upon’ your post.  
Pro 2023: you should run `homey app install --remote` next.  
Pro 2016-2019: same command without `--remote`

Next, you’d see a second iSmartGate app instance

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 19, 2025, 11:03pm UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/8 "2025-01-19T23:03:58Z")

</div>

Hi Peter,

and thanks 😉

did not work as planned unfortunately…  
here are screenshots to better understands !  
Tx

Greg

 ![Capture d’écran 2025-01-19 à 23.54.28](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/d/2d79a1a5d04b8fed9ad7906c115cf552ff08664a.png)

 ![Capture d’écran 2025-01-20 à 00.02.30](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/69fff4ce0f0d3ec55fa4b9b757c7dac599086551.png)

 ![Capture d’écran 2025-01-20 à 00.21.37](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f956b519964ddc240243b764fa4fbf1a1c4b01a2.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 19, 2025, 11:53pm UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/9 "2025-01-19T23:53:05Z")

</div>

YW!  
Sorry, but my knowledge ends here, Gregory. What I would do next in this case:  
try to install or run an other app this way, to see if the customised iSmartGate code is the issue, or if there’s something going wrong with the CLI procedure.

---

<div class="post-metadata">

**Author:** ![Gregory\_JENISCH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gregory_jenisch/32/81062_2.png) [@Gregory\_JENISCH](https://community.homey.app/u/Gregory_JENISCH)\
**Post date:** [January 20, 2025, 12:42am UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/10 "2025-01-20T00:42:19Z")

</div>

I had never thought I would see you defeated by the machine ! 😉

would you by any chance know someone who could help me please ?

Tx again Peter !

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 20, 2025, 1:23am UTC](https://community.homey.app/t/ismartgate-app-with-more-than-one-device/95955/11 "2025-01-20T01:23:17Z")

</div>

🤣 yes, you got me silenced hehehe.

I’d ask in the [CLI topic](https://community.homey.app/t/how-to-cli-install-method/198) if I were you!
