Skip to content

Change GarageDoorOpener Name

Amruth Pabba edited this page Feb 17, 2016 · 1 revision

Hey, welcome to the rename tutorial!

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!