Problem Statement
I just learned from the other Nodejs-PoolController community that node --version v14.16.1 is not supported on the Nodejs-PoolController. They claim that v14 was just moved to LTS and they haven’t created binaries for all their libraries yet so I need downgrade to 12.x. I haven’t purposely upgrade to v14.x so I wonder if openhab is on v14.x. I checked the community and there was one reference to fronttail. So can someone shed some light on what version of node js we use.
openHAB is written in Java 11 not Javascript. so node js is not used. As someone else posted an optional third-party program apparently does use node js.
It is generally not recommended to run any additional software not needed for OH on a Pi. On a Pi2 I would say that may ne a requirement. The Pi2 has very little resources remaining for other software after openHAB is running.
@Bruce_Osborne, understood on the minimum resource requirement but it didn’t occur to me that mthenw/frontail was a 3rd party node js application until you and @Wolfgang_S commented. Like @Wolfgang_S, I recently reinstall frontail through openhabian since frontail was not displaying event and openhab entries. It turns out that I didn’t need to do that because the problem was with the log4j2.xml file being corrupted, resulting in events and openhab entries not being captured. I guess the next step is to reach out to the owner of that repository regarding the supported node js versions or open a ticket on openhabian. Thanks for the prompt replies.
Node.js is a server side web application server. It’s similar to Jetty (which openHAB uses), Django (Python web app server), Tomcat (a more stand alone Java web app server) etc. Framework 7 is a UI creation framework. Node.js code runs on the server. Framework 7 code runs in the browser. They are not related to each other.
To my knowledge, the only part of actual openHAB code that uses node.js is the openHAB Cloud Server. openHABian has the option to install third party applications that may use node.js (Frontail is the only one I know for sure but I think I remember NodeRed runs on Node.js too). Any concerns about compatibility with node.js versions will have to be taken up with those third party services.
I recently reinstalled frontail manually using the default nodejs package in debian, which was version 10.24.0, and it runs fine, so should most likely work on node 12 as well.