Repository navigation
FAQ
Ben edited this page Nov 1, 2026
·
7 revisions
HAP-NodeJS uses the debug library for logging output. You can enable
all debug outputs of HAP-NodeJS by setting the debug environment variable like the following: DEBUG=HAP-NodeJS:*.
For example: DEBUG=HAP-NodeJS:* node light.js.
The default mDNS advertiser, ciao, has its own debug output. To see it as well, use DEBUG=HAP-NodeJS:*,ciao:*.
You may want to look at the documentation of debug library for greater
control over debug output.
HAP-NodeJS v2.3.0 supports these Node.js versions:
-
v22.12.0or a newerv22release (supported by Node.js until April 2027) - any
v24release (supported by Node.js until April 2028) - any
v26release (supported by Node.js until April 2029)
Older Node.js versions are not supported.
To fully reset your HAP-NodeJS instance follow the following steps:
- Navigate into the Home App and remove the pairing of your Accessory.
If HAP-NodeJS is still running at that point, this will also remove the pairing on the HAP-NodeJS side and you should be able to pair it again. To fully reset HAP-NodeJS (or if HAP-NodeJS is not running anymore or not reachable) go on with the next steps. - Stop your HAP-NodeJS application.
- Delete the
persistdirectory. By default, this is inside the directory you started your application from. If you set your own folder withHAPStorage.setCustomStoragePath, delete that folder instead. - Restart your HAP-NodeJS application and pair it again in the Home App.
- Raspberry Pi
- Debian, Ubuntu
- CentOS, Fedora, Red Hat
- Arch, Manjaro
- Docker
- Virtual Machine (Windows & macOS)
- Windows
- macOS
- Synology DSM 7
- Other Platforms
- Basic Troubleshooting
- Backup and Restore
- Child Bridges
- Config File
- Connect To HomeKit
- FFmpeg for Homebridge
- HomeKit Glossary of Terms
- iOS Apps
- mDNS Options
- Remote Access
- Useful Links
- Basic Troubleshooting
- Config Options
- Enabling Accessory Control
- Enabling UI with Docker
- Homebridge Service Command
- Manual Configuration
- Reverse Proxy: Apache
- Reverse Proxy: Nginx and SSL
- Manage Homebridge Version
- Manage Homebridge UI Version
- Manage Plugin Version
- Manage Node Version
- Updating To Homebridge v2
Raspberry Pi Image
- Pi Image Home
- Getting Started
- Supported Raspberry Pi Models
- Find the IP Address
- Connect Via SSH
- Connect Via VNC (old)
- Set the Date and Time
- SSL / HTTPS Access
- Disable the WiFi Setup Portal
- Reset WiFi
- Upgrade to the Latest Image
- Update Homebridge and Node.js
- Enable Debug or Insecure Mode
- Install Pi-hole
- Install AdGuard Home
- Install deCONZ (ConBee / RaspBee)
- Migrate From HOOBS
- Fix Eero Router Connectivity
Docker
Synology Package
HAP-NodeJS
- Developer Docs
- API Reference
- Plugin Templates
- Other Links (Internal)
- Other Links (External)