[HOW TO] CLI install method

Homey Pro only!!!

It does not work this way with Homey (cloud), it only supports CLI run which is there only for development purposes.

Installing Node.js

  • Check Node.js version on Homey: Homey App: Settings - General - About - Node.js version
  • Download Node.js (use Homey’s version or higher) from https://nodejs.org/ and install it on your computer.

Download the app you want to install from GitHub

  • Go to the repository on GitHub (the correct link for the app you want to install is at the bottom of the app store page or given directly through the support topic)
  • On GitHub choose the right branch to install, master is usually the main branch as released in the app store but there could be other branches like a debug branch.
  • From the correct branch click the Clone or Download > Download Zip button to download the app in zip format
  • Unpack the zip file

Setup Node.js

  • Open command prompt and install the Homey CLI tools: npm install -g homey
  • Log in to your Homey from the command prompt homey login (allow access through the webpage that is opened)
  • Navigate to the folder of the app that you have extracted in the previous step
  • For help on the available commands: homey --help

For list (un)selecting Homey:

  • homey homey list
  • homey homey select
  • homey homey unselect

For running app:
homey app run
homey app run --clean
homey app run --path /path/to/my/app/folder

For installing app:
homey app install

Resource

Command Line Interface for Homey App Development

Homey CLI

21 Likes
Homey och energimätning Aeotec
Ikea smart plug - beschikbaar in nld
Cannot include Aeotec Garage Door Opener
Fibaro Motion Sensor does not report/stuck
Home Easy bedienen met Homey
Toon en Homey
Mi Homey
[APP][Pro] TuyAPI / Neo Coolcam wall plug WIFI app
Mi.Light app
Homey Community App Store
[APP][Pro] Tuya Zigbee App
[APP][Pro] Tuya Cloud - This app allows you to connect Homey to the Tuya cloud
Tradfri Remote an Homey?
Homey Pro (early 2023): Einbindung Homematic
Qubino Fil Pilote
[APP][Pro] Insight Trends [Abandoned]
Hot oder Schrott?
[APP][Pro&Cloud] Shelly
Toon en Homey
Robot vacuum and Homey
Heimdall - Let Homey watch over your home
Node.js / Homey HCS
Zigbee logging
Update KlikaanKlikuit
[APP][Pro&Cloud] Shelly
[APP][Pro&Cloud] Shelly
[APP][Pro] TP-Link KASA LAN - Smart Plugs and Bulbs (WIFI)
[APP][Pro] SMA Energy - My home. My energy. Our climate
[APP][Pro] Ubiquiti UniFi Protect
TRÅDFRI Shortcut Button (Dutch: Snelkoppelknop)
Wisselen tussen test en live app
[APP][Pro] Ubiquiti UniFi Protect
Homey pro 2023 - zwave too much traffic error?
LG WebOS better integration
Meross App crashes
H.O.O.P. (Hope) - Homey Object Oriented Programming
[APP][Pro] SMA Energy - My home. My energy. Our climate
[APP][Pro] Insight Trends [Abandoned]
My Nodered flow for setting lights. Is this possible with Homey?
[APP][Pro] Global Caché - Connect IR, Serial, and Relay to Almost Any Network
Homey triggert niet een zeg kaartje als ik een spraak commando uitvoer
Unauthorized Tado thermostat and thermostatic
Vision security app
Add Z-Wave device non-secure?
[APP][Pro] Harmony Hub (v2.0.7)
[APP][Pro] Xiaomi Mi Home App
[APP][Pro&Cloud] Shelly
Heimdall - Let Homey watch over your home
Can't add Fibaro Relay Switch FGS-212 to the Homey 2.0
[APP][Pro] Xiaomi Mi Home App
Heating Schedule App
Fibaro Shutter 3 not supported yet?
The new Homey Pro — Ask Me Anything
MQTT Hub/Gateway
Aeotec Door/Window Sensor 7
Homey 2.0.0 Community App Compatibility List
[APP][Pro] TP-Link KASA LAN - Smart Plugs and Bulbs (WIFI)
[Beginner] Turn electricity off when you shut down PC
Heimdall - Let Homey watch over your home
Het grote Homey 2.0.0 stable discussie topic [NL]
Guide to Connecting gBridge to Homey for Google Assistant
App von GitHub
Plugwise stretch 2 app?
[APP][Pro] TP-Link KASA LAN - Smart Plugs and Bulbs (WIFI)
Welche inoffiziellen Apps nutzt ihr?
Belkin wemo support stopped?
Alternative apps (store) [Not in app store]
[Archived][APP][Pro] OpenWeatherMap
See all actual temperatures in 1 overview
How do I detect a specific computer being turned on and run a flow?
[APP][Pro&Cloud] DoorBird
Greenwave Systems v.2.0 removed power capabilities
Vision security app
Yeelights worden niet meer herkend
Github code to app?
[APP][Pro] Magic Home LED
Oomi devices
[APP][Pro] WeatherFlow's Smart Weather Station
Z-rain delete
Unable to add Fibaro Walli Dimmer
Fibaro motion sensor not recoginised
Hihome slimme stekker
[APP] Yeelights LAN
Yeelight not working
[APP][Pro] Xiaomi Mi Home App
[APP] Prometheus.io exporter
[APP][Pro] Harmony Hub (v2.0.7)
[APP][Pro] SMA Energy - My home. My energy. Our climate
Heimdall - Let Homey watch over your home
Philips Hue GU10 white ambiance alleen simpel zigbee
[APP][Pro&Cloud] Shelly
Fritzbox Bridge
[APP][Pro] SMA Energy - My home. My energy. Our climate
[APP][Pro] Magic Home LED
[APP][Pro&Cloud] Shelly
Icons toevoegen
[APP][Pro] Xiaomi Mi Home App
Adding aeotec siren 6 to homey
Probleem met Ring & Homey
Cannot find/add Ring devices
Ring Doorbell V2
Sending multiple Zwave commands at once
Probleem met Ring & Homey
RGBW LED-strip aansturen met Homey
Forsinkelse (lag) i flows?
Besoin d’aide avec Walli
Developer Code/App zu Homey hinzufügen
Mi Homey
Denon - Heos ''apparaat niet beschikbaar''
Aeotec NanoMote Quad
Ring Doorbell Autorisation button not working
[APP] Denon Heos app form @nlrb [Not in app store]
Zwave device’s as a repeater
[APP][Pro&Cloud] Shelly
Import devices from Home Assistant, MQTT
[APP] Yeelights LAN
Fibaro/Z-wave probleem (unsecure include)
Somfy Protect / Home Alarm (formally known as MyFox)
Sonos Say
Aeotec Home Energy Meter Gen5 - 3 clamp
Change device type
[APP][Pro] Bluesound - Multi-room Music. The Hi-Res Way
Fibaro devices doesn't recognised by Athom
Aeotec doorbell 6 in Aeotec app version 3.0.5 missing
Aren't there airconditioning (airco or AC) devices/apps in Homey?
Netscan app
[APP][Pro] Xiaomi Mi Home App
Fehlermeldung Panasonic TV
[APP][Pro&Cloud] Shelly
Innr FL140C integration
Problemen koppeling Neo Coolcam smartplug
[APP][Pro&Cloud] DoorBird
Toon en Homey
Ring Security - Extend Heimdall with Ring Security products
Update KlikaanKlikuit
Neuer HCS?
Stoom & Gas verbruik uitlezen Rooted Toon
Doorbird koppelen
Aeotec Garage Controller issue
Multiple Ikea Trådfri Gateway dirty hack
Z-Wave unresponsive and unreliable
[APP][Pro] Bluesound - Multi-room Music. The Hi-Res Way
Ring Security - Extend Heimdall with Ring Security products
[APP][Pro] Magic Home LED
Node Red: A widget based dashboard working with Homey trough MQTT
20% korting op alles van Nuki
[APP][Pro&Cloud] Shelly
Need help installing app on Homey from GitHub
[App][Cloud&Pro] Twinkly
[APP][Pro] Bluesound - Multi-room Music. The Hi-Res Way
[APP][Pro&Cloud] Shelly
[APP][Pro] Xiaomi Mi Home App
Ring Doorbell, Camera and Alarm support for Homey
LG WebOs does not work
[APP][Pro] Bluesound - Multi-room Music. The Hi-Res Way
[APP][PRO] ABUS for Homey Pro (2023)
Brel, bi-directioneel
[APP][Pro] Tuya Zigbee App
[APP][Pro&Cloud] Shelly
[APP][Pro] TP-Link Deco
[APP][Pro] Sure Petcare App - (Sureflap Pet Door/Sureflap Cat Flap)
Ring Doorbell, Camera and Alarm support for Homey
Homey Pro ist mit CCU3 verbunden - Batteriestand der Fensterkontakte wird in Homey nicht angezeigt
[APP][Pro] TP-Link KASA LAN - Smart Plugs and Bulbs (WIFI)
[APP][Pro] ID Lock App (v2.0.0)
Homematic App - neue Geräte hinzufügen?
Ring Doorbell, Camera and Alarm support for Homey
Ring Doorbell, Camera and Alarm support for Homey
Neue App Timeline Manager
Apps verschwinden in Homey 19
How do you install this community app?
Homey Community App-Store
[APP][Pro] Flow Checker
iSmartGate app with more than one device
Support for Devolo Siren?
[APP][Pro] Tuya Zigbee App
Usb powered - pir-motion or tilt sensor
[APP][Pro] Tuya Zigbee App
Atag ONE app
[APP][Pro] Universal TUYA Zigbee Device App - test
Homey Community App Store
Multiple Apps not installing/starting
Ring Doorbell, Camera and Alarm support for Homey
[APP][Pro] Tuya Zigbee App
[APP][Pro] ID Lock App (v2.0.0)
2-Draht-Türsprechanlage im Homey einbinden?
LG app - Enter code on TV & use joystick of LG remote
[APP] Aqara & Xiaomi Smart Home - Simplify your life with a smarter home
[APP] Yeelights LAN
[APP] Fibaro - Your home is your castle (by Athom)
[Homey Pro 2016-2019] Firmware Updates
How do you install this community app?
[APP][Pro&Cloud] Shelly
[APP][Pro] Tuya Zigbee App
[APP][Pro&Cloud] Shelly
[APP][Pro] Tuya Cloud - This app allows you to connect Homey to the Tuya cloud
[APP][Pro] Philips Hue Zigbee (Without the bridge)
Homey Community App Store
[APP][Pro] Broadlink App
[APP][Pro&Cloud] Shelly
[APP] Slide - Automate your curtains
Kan niet in loggen alternative app store
Netgear Meural
LG TV koppeling: er wordt steeds om toestemming gevraagd
[APP][Pro] MQTT Hub - Community version
Rolladen KNX - Homey geht - HomeKit nicht
Flow sehr sehr langsam. Warum?
[APP][Pro] Alfen - Optimal Charging, Smarter Homes: Powering Efficiency for You and the Grid
Z-Wave Thermostate fast immer unreachable
iSmartGate app with more than one device
[APP][Pro] Xiaomi mi flora sensor/ropot app
Installing CLI error
[APP][Pro] Nuki Direct
HomeKit not working with iOS 16.2
HomeKit not working with iOS 16.2
HomeKit not working with iOS 16.2
[APP][Pro&Cloud] Shelly
[APP][Pro] OctoPrint
[APP][Pro&Cloud] Shelly
[APP][Pro] Xiaomi Miija (Temperature and Humidity)
Fibaro/Z-wave probleem (unsecure include)
[Abandoned] deCONZ
[APP][Pro&Cloud] Shelly
Kan Shelly app niet installeren op Homey
[APP][Pro] TP-Link KASA LAN - Smart Plugs and Bulbs (WIFI)
[APP][Pro] WeatherFlow's Smart Weather Station
[TUTORIAL][PRO] Install Home Assistant community store app, and Athom app side-by-side
[APP][Pro&Cloud] Shelly
[APP] Aqara & Xiaomi Smart Home - Simplify your life with a smarter home
Greenwave Systems v.2.0 removed power capabilities
Greenwave Systems v.2.0 removed power capabilities
Homey Community Store (HCS) Login Error - Invalid Client ID
[APP][Pro] Xiaomi Mi Home App
Control Eglo Connect / Awox devices with homey

Here can you find a video tutorial about installing apps with Homey CLI:

10 Likes

Here a new video with the current way of installing apps outside the app store

7 Likes

Thanks a lot! With your help, I’m now on 2.1.9

1 Like

@HansieNL Does this mean that I can download an app from GitHub, make changes and install to my Homey?
I want to try a small “fix” in an existing app and see if that work.

That will be correct!

Cool! Then I can try the change on my Homey and if it works I can let the dev know. If it’s not working I can keep quiet and pretend that I didn’t even try. :smiley:

2 Likes

@HansieNL Athom seem to have change where you an see the Node.js version so you might want to update your excellent guide.
Its now under Settings - General - About - Node.js version.

Updated.

2 Likes

I try to install an adjusted version of the Neo Coolcam app, but i keep getting “Homey Offline” after validation:
image
Homey is online and responding.
What am i doing wrong?

Other question: If i have the official app already installed, will a CLI install overwrite that version?

Try searching for cli homey offline. It’s a common issue, in my opinion caused by Homey’s not-so-stellar networking setup. Rebooting Homey and/or your router and/or your WiFi access point might solve it.

Yes, it will. It also will not get updates anymore.

1 Like

Thanks

Please keep it on-topic. Off-topic posts will be deleted without further notice.

@HansieNL could you update this topic with the new homey package for installing apps. I send users from my apps to this topic if they want to debug their issues but it’s now outdated with the new app store and installation process.

2 Likes

Inhaven’t seen the new instructions yet. If you like you can send them via pm and I’ll add them to my post.

1 Like

Helaas lukt mij ook alleen stap 1.
Ik krijg helaas niet het webadres te zien van homey.

Wat doe ik fout? :thinking:

In English please.
Which step do you mean exactly? You have installed node.js, the release you want to install and installed the Homey CLI tools? (npm install -g homey)

this is the error after step 1 (what i’m doing wrong?)

Which version of node.js did you download?
Rather than using the latest, try using the one Homey uses

At moment of writing this is version 8.16.2

https://nodejs.org/download/release/latest-v8.x/

Not saying this is the solution, just to make sure it isn’t