-
Notifications
You must be signed in to change notification settings - Fork 40
Change GarageDoorOpener Name
This page has instructions on how to change the name of the Garage Door Opener accessory.
Ensure your existing setup works
The first command you want to run is: cd /home/pi/HAP-NodeJS/accessories
This command returns you to HAP-NodeJS accessories folder.
The second command you want to run is: sudo nano GarageDoorOpener_accessory.js
This command opens the GarageDoorOpener file so you can edit.
Next you want to scroll down to line 11, which says: displayName: "Garage Door Opener",
Change whatever is in the quotes to what you want your Garage Door Opener to be called.
Next you want to scroll down to line 21, which says: initialValue: "Garage Door Opener",
Change whatever is in the quotes to what you want your Garage Door Opener to be called.
Completing these steps finishes the renaming process. Hope that helps!