Comfort Automation/ Security System Forums
Updated UCM/Pi Install Script - Printable Version

+- Comfort Automation/ Security System Forums (https://www.comfortforums.com)
+-- Forum: Products (https://www.comfortforums.com/forum-3.html)
+--- Forum: UCMs (https://www.comfortforums.com/forum-146.html)
+---- Forum: UCM/Pi (https://www.comfortforums.com/forum-138.html)
+---- Thread: Updated UCM/Pi Install Script (/thread-5486.html)

Pages: 1 2 3 4


- bmistry3 - 08-12-2024

This image


- bmistry3 - 08-12-2024

Also I am using a USB wireless keyboard, not sure if that makes any difference


- Sota - 08-12-2024

When you run the script, do you see any warnings before it errors out at Installing Dependencies? Also, can you run npm --version and post the results.


- bmistry3 - 08-13-2024

npm --version results in 10.2.4
I will try again after work, reimage and run script, if it stops at \"installing dependencies\" I will run manually as you suggest.


- Sota - 08-13-2024

The USB keyboard doesn\'t matter.



- bmistry3 - 08-14-2024

Hello 
I tried it again, ran the install.sh script and rebooted the pi at the same place \"installing Dependencies\" 
I then ran the command manually as suggested above and it showed some errors which are in the attached file.


- Sota - 08-14-2024

I will try to get access to my Comfort alarm and spare CM3+ to try a clean install. However, this may take a week or so, as the alarm is in storage while our house is renovated.
In the meantime, could you try running npm install on each of the packages individually to see if any of them can be installed.


- Sota - 08-14-2024

Also, can you confirm that the RS485 cable is connected from the UCM/Pi to the Comfort alarm system.


- bmistry3 - 08-14-2024

Cable connected and nothing touhed on hardware/cabling side.
See attached text file for details on running manually.
I ran the command manually with the following commands :
npm install epollnpm install mqttnpm install serialport@9.2.8npm install mittnpm install xml2jsnpm install bcryptnpm install expressnpm install express-wsnpm install express-handlebars@3.0.0npm install express-handlebars-layoutsnpm install express-sessionnpm install memorystorenpm install body-parsernpm install cookie-parsernpm install requestnpm install express-fileuploadnpm install xml2jsnpm install fs-extranpm install pathnpm install uid-safenpm install httpsnpm install rpi-gpionpm install osnpm install child_process
and the text file shows details of some errors and final result


- bmistry3 - 08-14-2024

So interesting. I went back into shell before I shutdown and the pi console login register appeared, I registed and I have the PI console up and running and Node-Red also.
will leave this alone until you can check the error/warn messages
Thank You...