Hi - I think the issue you've got is it's a multi-file typescript library. You may have some luck installing it and then using just the dist/index.js file (which is the compiled JS bundle), but looking at it, it pulls in a bunch of extra modules from elsewhere as well - some of which look pretty heavyweight.
I'm afraid there's a very good chance that there's just too much code to fit on an Espruino device. I'm sure you could make an Espruino device into a HomeKit device, but you may have to implement it from scratch I'm afraid (at least hap-nodejsĀ's dependencies look a bit heavy to me)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi - I think the issue you've got is it's a multi-file typescript library. You may have some luck installing it and then using just the
dist/index.js
file (which is the compiled JS bundle), but looking at it, it pulls in a bunch of extra modules from elsewhere as well - some of which look pretty heavyweight.I'm afraid there's a very good chance that there's just too much code to fit on an Espruino device. I'm sure you could make an Espruino device into a HomeKit device, but you may have to implement it from scratch I'm afraid (at least
hap-nodejsĀ
's dependencies look a bit heavy to me)