Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connection problem with final Alphawerks setup stage
#1
Hi,
I am trying to setup 2 CM3+ modules with NodeRed, will send one to a friend when setup and keep one myself. I followed the instructions in the UCM/Pi manual and managed to get the Raspbian image flashed, IP address established, and connecting to it with a monitor no issue.
On first card, I used the standard image linked from the manual, and then followed the steps here to enable serial port etc. When I did the \"[highlight= initial; font-family: SFMono-Regular, Consolas, \"Liberation Mono\", Menlo, monospace; color: rgb(36, 41, 46); font-size: 13.6px;]curl -sL https://uhai.alphawerk.co.uk/scripts/quickstart | bash -\" command, nothing happened. 
I then installed the Alphawerk image on the 2nd CM3+ module and when I did that \"[highlight= initial; font-family: SFMono-Regular, Consolas, \"Liberation Mono\", Menlo, monospace; color: rgb(36, 41, 46); font-size: 13.6px;]curl -sL https://uhai.alphawerk.co.uk/scripts/quickstart | bash -\" command, it seemed to be working as files were downloaded and a lot of updates seemed to be successful. Then it finished with the errors shown in the attached image.
I have mapped a static IP address to the module in my router\'s settings, and when I went to that address http://192.168.1.68:1080 I get a site can\'t be reached error and the admin page does not load. When I load this page and press the REQ button for 1 second nothing happens (I guess due to the errors in the image?). 
Just in case it\'s relevant, I used \'pi\' as the username and \'raspberry\' as the password to login to the CM3+ operating system. And it was a Windows 10 PC I was using to try to load the admin page in Chrome (in case there could be any issues that side).
Is there anything I need to do differently to get the alphawerk resources installed correctly, or is it a server-side connection issue?
Thanks


Attached Files Thumbnail(s)
   
Reply
#2
Perhap you can ask the question in Slack as most of the discussion anout UCM/Pi is on that platform. are you enrolled?
Reply
#3
Looks like a networking issue. If you are using two different device on the same IP address, you may have problems as your PC will cache the MAC address of the Pi. When you attach the second Pi, it will have a different MAC address and your PC won\'t find it as it\'s looking for the original one.
Try rebooting your PC or assigng a different IP address to the Pi.
Reply
#4
Turns out there were intermittent Virgin Media connectivity issues affecting my connection. I had statically mapped both CM3+ units to separate IP addresses, but it seemed it was failing due to internet connectivity issues.
Anyways, just wanted to say I went to the alphaWerk Slack site, reviewed the videos there, and after uploading my CCLX file, can now see all my Zones etc. in NodeRed. This is absolutely fantastic, the sheer power, and yet simplicity, of it all is incredible, really looking forward to getting some great automations setup.
I do have an issue with accessing the UCM Eth from Comfigurator, and as it seems to have cropped up only since adding the UCMPi, I wanted to check if it may be related? Both the UCM Eth and UCMPi now have ethernet connections to my LAN, and different IP addresses mapped.
I can still see in Comfort Server Manager my UCM Eth on 192.168.1.41 as always, and ports 1001 and 1002 setup with 02 mins timeout. Ports 1 & 2 are listed as idle, and I have now closed CMS so it is not hanging a port. 
When I try to login, I get a \"Login not valid for requested operation\" error, which I believe is an indication the PIN code is incorrect. I have 6 users setup and tried the PIN for each and none work (all worked before adding the UCMPi no problem). 
I was getting an issue with failed to connect to UCM the other day also, was intermittently changing from that to login not valid, but now it is exclusively the latter. Hoping there\'s something simple I\'m not doing, rather than a corruption of the user codes?
Reply
#5
I\'ve just installed an ETH03 alongside my UCM/Pi this morning and it worked fine. Make sure you use port 1001 for the Ehternet and 2001 for the Pi.
Reply
#6
This has been moved from Community Forum to UCM/Pi forum http://www.comfortforums.com/forum138/

Reply
#7
Thanks Sota, where do you set the port for the UCM Pi? In Comfort Server Manager, I see one entry, for the UCM Eth and port 1 is set to 1001, and port 2 is set to 1002 - I usually use one for Comfigurator, the other for the Android app. 
The UCM Pi admin page is http://hostname:1080, any idea where I may need to set the port for the UCM Pi?
Reply
#8
On the UCM/Pi web page under Admin, Pi, you can enable the ports for UCM Eth Emulation [2001], UCM Human Text Inferface [2002], and UCM Trace [2003]. However, I don\'t think you can change the port numbers.
You can then commect Comfigurator through the UCM/Pi by changing the address and port under Options, Settings, UCM Connection.
Reply
#9
Thanks Sota. I have now enabled you ports for UCM Eth Emulation [2001], UCM Human Text Inferface [2002], and UCM Trace [2003]. Any idea what the last 2 do by the way?
I then went into Comfigurator and into Options->Settings->UCM Connection.
I tried it with Network (Local) and Network (Remote) - doesn\'t seem to be any difference between those but I tried them both anyway. I set IP address to 192.168.1.69 (which I can ping no problem) and port to 2001.
I still get the \"Login not valid for requested operation\" error. 


*************UPDATE:  

then I went and clicked Reset button on the Comfort main panel (one on the left, one on the right, not sure which one resets what), the UCM board for the UCM Eth, and on the UCM Eth miniboard. I was then able to login via setting Comfigurator back to 192.168.1.41 (the UCM Eth address) - and both port 1001 and 1002 are working. Any ideas on what issue could be arising that needs a reset to fix?
I still cannot connect from Comfigurator via the UCM Pi, and do not see it in Comfort Server Manager (guessing I should not see it as it should be emulating the existing server instance rather than adding a second?). 
Thanks for any pointers - at least I\'m now up and running with being able to make edits to Comfort via the UCM Eth and at the same time the UCM Pi is working well and I\'m able to start building out my Node Red flows.
Reply
#10
Did you set up different UCM Ids for UCM/ETH03 and UCM/PI?If they have the sane ID then both will not work. 

Preferable set UCM/ETH03 as OD=1 and Pi as ID2
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)