HAP-NodeJS can run
See original GitHub issueWhen I run " node Core.js" ,it can’t run,like this:
root@raspberrypi:/home/pi/HAP-NodeJS# node Core.js
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
HAP-NodeJS starting...
events.js:163
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::51826
at Object.exports._errnoException (util.js:1034:11)
at exports._exceptionWithHostPort (util.js:1057:20)
at Server._listen2 (net.js:1265:14)
at listen (net.js:1301:10)
at Server.listen (net.js:1392:7)
at EventedHTTPServer.listen (/home/pi/HAP-NodeJS/lib/util/eventedhttp.js:60:19)
at HAPServer.listen (/home/pi/HAP-NodeJS/lib/HAPServer.js:158:20)
at Accessory.publish (/home/pi/HAP-NodeJS/lib/Accessory.js:503:16)
at /home/pi/HAP-NodeJS/Core.js:32:13
at Array.forEach (native)
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
homebridge/HAP-NodeJS: Node.js implementation of ... - GitHub
HAP-NodeJS is intended to be used as a library to easily create your own HomeKit Accessory on a Raspberry Pi, Intel Edison, or...
Read more >@kejadlen/hap-nodejs - npm
Start using @kejadlen/hap-nodejs in your project by running `npm i ... Intel Edison, or any other platform that can run Node.js :).
Read more >Difference homebridge and HAP nodejs - Reddit
You can run multiples of both, so you don't have to choose.
Read more >How to use the hap-nodejs.Characteristic.Manufacturer ... - Snyk
To help you get started, we've selected a few hap-nodejs.Characteristic.Manufacturer examples, based on popular ways it is used in public projects.
Read more >HAP-NodeJS HomeKit Switch - Dr. Michael Kroll
Since the Switch should be driven from a Raspberry Pi running HAPNodeJS the switch should be able to deal with 3.3V GPIOs and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Either you already have an instance of HAP-NodeJS running or port 51826 is occupied by some other programs.
OK thanks