Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: WOL not working on CP4
The issue is with listening on ports < 1024 (ie TCP servers).? Way back in the annals of Unix, someone decided that only root should be allowed to run services on ports < 1024 - this is what passed for a security model back when you could trust anyone who had root on any machine.? :)? Still an issue, but a little less likely to cause widespread problems since it doesn't affect TCP clients. On Thu, Jan 7, 2021 at 7:53 PM Jason Mussetter <j.mussetter1@...> wrote: It's never been a problem to do this on 3-series that I'm aware of.? Is this is a new limitation for 4-series?? How on earth would you write a S+ module to use the most common IP control port ever, TelNet port 23 if so.? There is a ton of equipment that uses port 23 for IP control.? Will any module or program that needs to communicate to ports under 1024 not compile on 4-series? |
wake on lan
#crestron
hi,
i'm trying to send wake on lan command from the crestron. the computer is in a different subnet, but we managed to connect the networks, so there is a ping between the controller and the computer. is there a specific command for this ? thank you, assaf |
Re: WOL not working on CP4
¿ªÔÆÌåÓýHi, ? TB confirmed the issue and it?s now filed as a bug. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von Thorsten K?hler ? Hi, thanks for the information, guys. At least i now know the underlying problem. These are the things that really eat up your working hours¡ I filed a ticket at TB ¨C let?s see what they say. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von dblpnt ? Yeah, known issue... |
Re: LiftMaster MyQ Garage Door openers
I have used this also, and it works well. I also tried the module posted by ckangis and it also works well so far.? What's missing is the status of the door or a change in the status of the doors. Right now we use magnetic contacts, but can be a pain on retro work.
Add me to the interested camp as well! |
Re: WOL not working on CP4
¿ªÔÆÌåÓýHi, thanks for the information, guys. At least i now know the underlying problem. These are the things that really eat up your working hours¡ I filed a ticket at TB ¨C let?s see what they say. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von dblpnt ? Yeah, known issue... |
Re: Sending an email address to a PC
I got a better idea. Make a script (batch file) that starts the app that will get the data. You have to experiment with getting focus to the right field etc. If regular batch script can't accomplish that, I have a software saved somewhere that can be used to automate this. Instal?SW-VMK-WIN?to execute that script. Then send the string either with DM USB or?CBL-USB-RS232KM-6. |
Re: Sending an email address to a PC
Take a look at Microsoft power apps (power automate). You might be able to do something there with a form thru OneDrive. The paid versions had ssh module I believe. With Free version, you could read a file from the processor SFTP possibly.
But it will be tricky if timing is important.? |
Re: Multi-zone streaming appliance
¿ªÔÆÌåÓýLooks like a really nice step up from a Genie2 and 4k minis :-) ? From: <[email protected]> on behalf of ckangis <chris@...> ? Yeah, its a server and media streamer, but I believe that it has remote modules which would give you a scalable way to serve out multiple plays... |
Re: WOL not working on CP4
I have had no issues communicating on lower ports using c#.? I was even able to move the default webserver to a new port and use 80/443.? My 3 series simpl code worked fine on the 4 series and it had modules using control over port 23. On Thu, Jan 7, 2021, 7:54 PM Jason Mussetter <j.mussetter1@...> wrote: It's never been a problem to do this on 3-series that I'm aware of.? Is this is a new limitation for 4-series?? How on earth would you write a S+ module to use the most common IP control port ever, TelNet port 23 if so.? There is a ton of equipment that uses port 23 for IP control.? Will any module or program that needs to communicate to ports under 1024 not compile on 4-series? |
Re: WOL not working on CP4
It's never been a problem to do this on 3-series that I'm aware of.? Is this is a new limitation for 4-series?? How on earth would you write a S+ module to use the most common IP control port ever, TelNet port 23 if so.? There is a ton of equipment that uses port 23 for IP control.? Will any module or program that needs to communicate to ports under 1024 not compile on 4-series?
-- Jason Mussetter Control Systems Designer Mussetter Programming Services |
Re: WOL not working on CP4
There are ways in Linux to give a program access to a port below 1024 without giving it root access -- at least in node.js running on a ubuntu version of Linux there is.? In order to give node the ability to run a webserver on port 80 without giving it root privileges, I have to run the following commands:
sudo apt install libcap2-bin sudo setcap cap_net_bind_service=+ep /usr/local/bin/node Not sure of the details of why it works.? I just know it does. I am sure there is something similar for Android.? But unless Crestron gives you root access to their OS, there is no way for us to install that package. |
Re: WOL not working on CP4
It looks like you have a permission issue with line 168 of you your SIMPL+ code.
Per Wikepedia, WOL uses either port 7 or 9. While I cannot say for sure what your issue is, you should know that the CP4 is a Linux/Android base OS.? There are all types of permission levels you have to grant to your program in Linux. In particular, any Ethernet port below 1024 requires root access and it is almost certain that your lowly SIMPL+ program does not have root access.? So if line 168 of your code is doing something that is using port below 1024, it is probably not going to fly.? Assuming that is your issue, you are probably going to have to contact Crestron TB to see how to resolve the issue.? One possible fix is to use the SIMPL UDP symbol to send your WOL -- that symbol may be able to access ports below 1024. |
Re: CP2E connection issues
I actually tried restarting the computer and was able to connect to the CP2E and already changed it to the 10.0.0 address range.? Still got a few changes to make but should be easier than reverting back to 192.168.? Thanks for the help. On Thu, Jan 7, 2021 at 1:54 PM RobertF <r_finley@...> wrote: First glance is now you have to update your IP net mask setting on *everything*.? |