¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: #websocket #lighting SACN SenderDirectSockets spits error trying to open a UDP comm #websocket #lighting

 

¿ªÔÆÌåÓý

Thanks guys I will give it a try.. anyway I don¡¯t think it will resolve the issue because the issues occurs after a program restart and the router is definitely up and running.

?

De: [email protected] [mailto:[email protected]] En nombre de Alex Teague
Enviado el: Tuesday, 7 June 2022 16:08
Para: [email protected]
Asunto: Re: [crestron] #websocket #lighting SACN SenderDirectSockets spits error trying to open a UDP comm

?

+1 on what Robert said. There's a STARTPROGAFTERROUTER setting in the web config as well now. This would only be an issue for you after a reboot, not program restart/reset.?


Series 4 S# Secure WebSocket Server #cp4 #simplsharp #websocket

Cameron Bowman
 

Question up front: Am I taking the right approach? If so, what am I missing?

I'm working a project for a customer who wants a SIMPL# application that, among other things, reads and writes flat files from/to the NVRAM and also provides a UI based on those files.
The target equipment is any physical Series 4 processor. I'm testing on a CP4N, and occasionally on a VC4 when needed.

I've tried a few approaches, and while i'm not married to the approach I'm trying now, it's the closest I've gotten. My guardrails are that the loaded program must be in SIMPL#, and the UI must be accessible from a browser on the local network. I had little luck with the CH5 libraries, but I'm not opposed to stripping out the javascript calls to send/recieve signals, if that really is the best approach. Even then, I would still need a websocket server running on the controller, and I don't see any gain in repurposing those calls.

The approach I've taken on the UI side is to host a application as the front end running out the the HTML directory of the controller. That's all running quite smoothly and with little fuss.
I'm attempting to communicate with a SIMPL# program running on a program slot via a WebSocket Client/Server connection. The purpose of that connection is to send file data back and forth while the program handles reading/writing files and changes.

I've relied heavily on for the majority of this
Some things I've found out:
  • sta's doesn't appear to open the securewebsocket port when the server starts. (nmap shows the port is closed)
  • CCI's ?does open that port. Regardless, I don't seem to be able to establish a connection. (nmap shows the port is open, packet captures show what I believe to be repeated failed attempts, connection attempts time out)
  • I was able to supple an SSL certificate for the WebSocketSharp server and it seemed happy to start up. I haven't seen anything about supplying the SSL cert to CCI's library. I'm not seeing any errors that indicates this is an issue, but it is confusing that it wouldn't be.
  • The pre-compiled CCI WebSocket Example project does work when loaded directly.
  • I did see the Crestron.SimplSharp.CrestronSockets class, but I'm not sure if this is intended to provide the functionality I'm looking for?
At this point, I have to suspect I'm not configuring the CCI Websocket Server correctly. (Quick note: the help file states that it's only compatible with the Series 3 controller, but I did have it working)

To recap the question up top: Am I taking the wrong path here? If not any guidance would be greatly appreciated.


Job Opportunity - Audio Video Systems Engineer / Jr. Crestron Programmer (Olympia, WA, USA)

 

THE POSITION:?LSS (Legislative?Support Services) in Olympia, Washington?is looking for an individual who thrives in providing exceptional customer service. This position is part of our professional Audio Video (AV) team, and would assist with the development, installation, and ongoing support of world-class, custom AV systems for our unique legislative environment. The successful candidate will possess wide-ranging and varied professional AV experience designing, installing, and commissioning a wide range of audio and visual technologies. Such technologies include Campus RF and Fiber-Optic television distribution, Audio DSPs, AV Control systems, Video Matrices, AV-over IP topologies, broadcast television, as well as a complete understanding of networking cabling and switches, including VLANs and QoS as it relates to AV. You should already be on the path towards becoming a Certified Crestron Programmer (ex. Completed CTI-P101 & CTI-P201), but additionally having achieved certifications in other AV-related programming endeavors such as CTS and/or other manufacturer-specific certifications such as Biamp Tesira, Crestron DM, Cisco, et cetera.

Below are two links to postings for more information.?

?




It¡¯s also posted on Indeed, ZipRecruiter and others.?

Please be sure to follow the instructions in the postings if interested in applying.?

?





Re: Ethernet Errors

 

Do tell what mixer and was it setting off storms


On Tuesday, June 7, 2022, Crestron_Programmer <s.marszalek11@...> wrote:
We finally found the issue. It was a soundboard causing all this traffic. Thanks all for your help.


Re: Ethernet Errors

 

We finally found the issue. It was a soundboard causing all this traffic. Thanks all for your help.


Re: #websocket #lighting SACN SenderDirectSockets spits error trying to open a UDP comm #websocket #lighting

 

+1 on what Robert said. There's a STARTPROGAFTERROUTER setting in the web config as well now. This would only be an issue for you after a reboot, not program restart/reset.?


Re: Proper way to split a Simpl program across multiple program slots

 

Thanks for responding.? I picked up this thread because it was the only one talking about CHE.? You're right though, I should have started a new thread.? I was able to find someone who had the modules, it came as an exe install.? I did play with this when it came out, but it seemed very beta to me, so I didn't mess with it any further.??


Queue for data from Evertz Magnum controller #splus

 
Edited

I have looked through the various queue examples available here (Serial String Pacer.usp & SerialStringQueue.usp) and would like to modify one for the specific data we are receiving from our Evertz Magnum controller but I am SIMPL+ challenged.

When we send switch commands to the controller we receive a lot of responses with the status of the various switch destinations and that data is in a format of:
.UV637,0\0xD.UV641,0\0xD, etc

We usually get ~45 individual replies which are chunked, at least in debugger, into 8 to 10 responses at a time after making a bunch of switches and need a queue to take all that data in and send out the individual replies one at a time.? The switching module we were left with seems to get overwhelmed (speculation as there is not anything in the controller logs) if it gets too many responses at once.? The queue we had been trying to use that was written by a former developer seems to take in all the data but as it empties itself it sends back out only ~5.5 total commands to the switch symbol per dequeue cycle and was not really designed to process the data getting sent to it.

We would like to try and fill the queue elements up with the individual responses based on the \0xD delimeter (which can't be thrown away) but I am not really sure what changes to make to either of the aforementioned SIMPL+ modules to do what we want to try.

James


Re: Proper way to split a Simpl program across multiple program slots

 

Ahh!
Well, I never used the HE frame-work, but I think that I remember a thread here about the module suite being hosted on Code-Blue.?
I don't know anything about it but others might be able to direct you. You might want to do a separate post with a specific title...


Re: Proper way to split a Simpl program across multiple program slots

 

They appear as Crestron modules, so they don't get put in the compiled or archive zip files.??


Telenet TV-Box driver

 

Hi,

Who would like to share the Telenet TV-Box IR driver (not digicorder) ?
Model is a HUMAX 200BC-STB-TN.

The remote is using RF, but the box also accepts IR.

Thanks
Best regards
Chris


Re: Proper way to split a Simpl program across multiple program slots

 

No Compiled.zip file??


Re: Biamp Tesira X400 - VOIP dialer not controlled via Crestron

 

Yes, I also got this to work. Hot fix CLZ with 3.2 modules.?
Inbound and outbound calls work. Did find that caller ID name shows the number instead. My be specific to my phone system, though.?

On Fri, Jun 3, 2022, 5:09 PM <monticellog@...> wrote:
That's definitely a network issue. Have been using the new clz for a while with no call issues


Re: Biamp Tesira X400 - VOIP dialer not controlled via Crestron

 

That's definitely a network issue. Have been using the new clz for a while with no call issues


Programmer for Hire

 

Greetings everyone,

My name is Chris Cates and I am a certified Crestron Programmer based out of Edmonton, Alberta, Canada. This may not be the right place to be looking for work as everyone on here is most likely a programmer, but thought better to put something out there than nothing at all.? If anyone knows of a better place, please let me know in the replies.

I've been working as a Crestron programmer for over 15 years in both the residential and commercial sectors.? I am currently seeking full-time employment in my city, but am willing to do some contract work for any companies who may be overloaded with custom programming projects (if that even exists with all the hardware delays).

Please let me know if I can be of any assistance.? You can see samples of my work at:

Cheers,

Chris Cates
Creative Programming


Re: Biamp Tesira X400 - VOIP dialer not controlled via Crestron

 

I have been able to control the VOIP with the new CLZ provided by Biamp, but we haven't been able to register or make calls.
Anyone else experiencing the same thing?


Re: Proper way to split a Simpl program across multiple program slots

 

On Sat, Dec 9, 2017 at 08:08 AM, mark kaye wrote:
Crestron Home Elements
I got handed an older project that has CHE in it.? The modules are missing.? Anyone have any idea where I can get these?


Re: Program starts then stops. SimplWindows, Simpl+ and S#

 

That was the issue. Something so simple I overlooked that.


Re: Program starts then stops. SimplWindows, Simpl+ and S#

 

What is your simpl+ file named? I've seen it choke if it's named the same as the clz or any dll.


Re: Program starts then stops. SimplWindows, Simpl+ and S#

 

Same results.
Here is the current error log after clearing the code, clearing SPlsWork folder, recompling Simpl+ and SimplWindows, uploaded code and sent ProgReset in text console.

1. Ok: LogicEngine_1 # 2022-06-03 15:02:27 #? TLDMInterfaceReadInMessageQueueSize - Queue size read. Size = 500?
?
? 2. Ok: AppWatchdog # 2022-06-03 15:02:28 # process LogicEngine launched with process Id 5080
?
? 3. Ok: LogicEngine_1 # 2022-06-03 15:02:28 # Loading program from /simpl/app01
?
? 4. Ok: LogicEngine_1 # 2022-06-03 15:02:28 # Loading Program /simpl/app01/TriplePlayServer Testing.bin.
?
? 5. Ok: LogicEngine_1 # 2022-06-03 15:02:28 # CeGetThreadPriority is an empty function.? This is the 1 call
? 6. Ok: LogicEngine_1 # 2022-06-03 15:02:29 # CresStore: setting log level to 16
? 7. Error: SimplPlus[App01] # 2022-06-03 15:02:29 # Got load exception System.TypeLoadException: Could not load type of field 'UserModule_TRIPLEPLAYSERVER.UserModuleClass_TRIPLEPLAYSERVER:MYSERVER' (17) due to: Could not resolve type with token 0100000a from typeref (expected class 'TriplePlayMyServer.Trip
? 8. Error: SimplPlus[App01] # 2022-06-03 15:02:29 # lePlayLoader' in assembly 'TriplePlayServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:TriplePlayServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type:TriplePlayMyServer.TriplePlayLoader member:(null)
? at System.Reflec
? 9. Error: SimplPlus[App01] # 2022-06-03 15:02:29 # tion.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00029] in <2ad40006e9c141b299c9c7c533021a74>:0?
? at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.
? 10. Error: SimplPlus[App01] # 2022-06-03 15:02:29 # Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] in <2ad40006e9c141b299c9c7c533021a74>:0?
? at System.Reflection.RuntimeConstructorInfo.Invoke (System.Refl
? 11. Error: SimplPlus[App01] # 2022-06-03 15:02:29 # ection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <2ad40006e9c141b299c9c7c533021a74>:0?
? at System.Reflection.ConstructorInfo.Invoke (System.Object[] parame
? 12. Error: SimplPlus[App01] # 2022-06-03 15:02:29 # ters) [0x00000] in <2ad40006e9c141b299c9c7c533021a74>:0?
? at Crestron.Logos.SplusManager.SplusManager.LoadModule (Crestron.Logos.SplusManager.SPLUS_INTERFACE_MODULE_REGISTER_MESSAGE_STRUCT regMsg) [0x004c1] in <2c56f446fdf845d0aba277348e2a898b>:0?
?
? 13. Error: LogicEngine_1 # 2022-06-03 15:02:29 # SplusIntfc: Registration failed = 2
?
? 14. Error: LogicEngine_1 # 2022-06-03 15:02:29 # Could not find SIMPL+ module TriplePlayServer.dll in S-1.
?
? 15. Fatal: LogicEngine_1 # 2022-06-03 15:02:29 # Unable to Load SIMPL+ Module(s) - terminating program load.
?
? 16. Fatal: LogicEngine_1 # 2022-06-03 15:02:29 # Exception [SIMPL+ Module Not Found] in CControlSystem occured
?
? 17. Ok: SimplPlus[App01] # 2022-06-03 15:02:32 # WaitForSingleObject handle: 283 failed! Timeout = -1
?
? 18. Error: LogicEngine_1 # 2022-06-03 15:02:32 #? Simpl Plus Manager terminated. Restarting program?
?
? 19. Ok: AppWatchdog # 2022-06-03 15:02:56 # WDG: LogicEngine(1) missed 5 periods for process 5080
?
? 20. Ok: AppWatchdog # 2022-06-03 15:03:01 # WDG: LogicEngine(1) missed 6 periods for process 5080
?
? 21. Fatal: LogicEngine_1 # 2022-06-03 15:03:02 # Unable to stop S+ exit thread.?
?
? 22. Ok: LogicEngine_1 # 2022-06-03 15:03:02 # Crestore loop thread exiting.
?
? 23. Notice: TLDM # 2022-06-03 15:03:03 # **Program 1 Stopped**
?
? 24. Ok: TLDM # 2022-06-03 15:03:03 #? RegisterAllOrSpecifiedProgram: Application at Id 1 stop status sent to XIO Cloud ..
?
? 25. Ok: LogicEngine_1 # 2022-06-03 15:03:03 # Logic Engine exiting.
?
? 26. Error: AppWatchdog # 2022-06-03 15:03:03 # WDG: LogicEngine shutting down unexpectedly. Do Not Start=0
?
? 27. Ok: AppWatchdog # 2022-06-03 15:03:04 # process LogicEngine launched with process Id 5080
?
? 28. Ok: LogicEngine_1 # 2022-06-03 15:03:04 #? TLDMInterfaceReadInMessageQueueSize - Queue size read. Size = 500?
?
? 29. Ok: LogicEngine_1 # 2022-06-03 15:03:04 # Loading program from /simpl/app01
?
? 30. Ok: LogicEngine_1 # 2022-06-03 15:03:04 # Loading Program /simpl/app01/TriplePlayServer Testing.bin.
?
? 31. Ok: LogicEngine_1 # 2022-06-03 15:03:04 # CeGetThreadPriority is an empty function.? This is the 1 call
? 32. Error: AppWatchdog # 2022-06-03 15:03:05 # App 1 was not part of active list of apps
?
? 33. Ok: LogicEngine_1 # 2022-06-03 15:03:05 # CresStore: setting log level to 16
? 34. Error: SimplPlus[App01] # 2022-06-03 15:03:05 # Got load exception System.TypeLoadException: Could not load type of field 'UserModule_TRIPLEPLAYSERVER.UserModuleClass_TRIPLEPLAYSERVER:MYSERVER' (17) due to: Could not resolve type with token 0100000a from typeref (expected class 'TriplePlayMyServer.Trip
? 35. Error: SimplPlus[App01] # 2022-06-03 15:03:05 # lePlayLoader' in assembly 'TriplePlayServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:TriplePlayServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null type:TriplePlayMyServer.TriplePlayLoader member:(null)
? at System.Reflec
? 36. Error: SimplPlus[App01] # 2022-06-03 15:03:05 # tion.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00029] in <2ad40006e9c141b299c9c7c533021a74>:0?
? at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.
? 37. Error: SimplPlus[App01] # 2022-06-03 15:03:05 # Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] in <2ad40006e9c141b299c9c7c533021a74>:0?
? at System.Reflection.RuntimeConstructorInfo.Invoke (System.Refl
? 38. Error: SimplPlus[App01] # 2022-06-03 15:03:05 # ection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <2ad40006e9c141b299c9c7c533021a74>:0?
? at System.Reflection.ConstructorInfo.Invoke (System.Object[] parame
? 39. Error: SimplPlus[App01] # 2022-06-03 15:03:05 # ters) [0x00000] in <2ad40006e9c141b299c9c7c533021a74>:0?
? at Crestron.Logos.SplusManager.SplusManager.LoadModule (Crestron.Logos.SplusManager.SPLUS_INTERFACE_MODULE_REGISTER_MESSAGE_STRUCT regMsg) [0x004c1] in <2c56f446fdf845d0aba277348e2a898b>:0?
?
? 40. Error: LogicEngine_1 # 2022-06-03 15:03:05 # SplusIntfc: Registration failed = 2
?
? 41. Error: LogicEngine_1 # 2022-06-03 15:03:05 # Could not find SIMPL+ module TriplePlayServer.dll in S-1.
?
? 42. Fatal: LogicEngine_1 # 2022-06-03 15:03:05 # Unable to Load SIMPL+ Module(s) - terminating program load.
?
? 43. Fatal: LogicEngine_1 # 2022-06-03 15:03:05 # Exception [SIMPL+ Module Not Found] in CControlSystem occured
?
? 44. Ok: SimplPlus[App01] # 2022-06-03 15:03:08 # WaitForSingleObject handle: 283 failed! Timeout = -1
?
? 45. Error: LogicEngine_1 # 2022-06-03 15:03:08 #? Simpl Plus Manager terminated. Restarting program?
?
? 46. Ok: AppWatchdog # 2022-06-03 15:03:16 # WDG: LogicEngine timed out starting
?
? 47. Notice: TLDM # 2022-06-03 15:03:17 #? Event rcvd is 8?
?
? 48. Ok: AppWatchdog # 2022-06-03 15:03:36 # WDG: LogicEngine_1(1) missed 5 periods for process 5140
?
? 49. Fatal: LogicEngine_1 # 2022-06-03 15:03:38 # Unable to stop S+ exit thread.?
?
? 50. Ok: LogicEngine_1 # 2022-06-03 15:03:38 # Crestore loop thread exiting.
?
? 51. Notice: TLDM # 2022-06-03 15:03:39 # **Program 1 Stopped**
?
? 52. Ok: TLDM # 2022-06-03 15:03:39 #? RegisterAllOrSpecifiedProgram: Application at Id 1 stop status sent to XIO Cloud ..
?
? 53. Ok: LogicEngine_1 # 2022-06-03 15:03:39 # Logic Engine exiting.
?
? 54. Error: AppWatchdog # 2022-06-03 15:03:39 # WDG: LogicEngine_1 shutting down unexpectedly. Do Not Start=1
?
Total Errors Logged = 54
?