Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: ZeeVee 1.0.1 modules, using custom strings into ZeeVee_ZyperMP_Processor_v1.0.1
¿ªÔÆÌåÓýFor the second scenario¡ what happens if you put the \x20 at the end of the string? It seems like it¡¯s taking the first byte of the new command and treating it as the end of the prior command (and hence the ¡®one step behind¡¯ behavior since it¡¯s not executing the command until it gets the ¡®end¡¯ of the command) ? What do these commands look like? ? How wide is the programmatic trigger? ? Is it possible multiple digitals on the SIO are high simultaneously/going high on the same wave? ? -- Lincoln King-Cliby, CTS, DMC-E-4K/T/D ? From: [email protected] [mailto:[email protected]]
On Behalf Of spannertech@...
Sent: Monday, April 11, 2022 4:48 PM To: [email protected] Subject: [crestron] ZeeVee 1.0.1 modules, using custom strings into ZeeVee_ZyperMP_Processor_v1.0.1 ? I have a use case where I need to do audio breakaway switching so I'm sending custom commands from an SIO into the To_device$ input. I worked with Jay at ZeeVee and these custom commands are doing exactly what I want. The weirdness is this: |
Re: Calling a C# method from Simpl+
hope this helps:
class ListItemDataEventArgs : EventArgs { public ushort Index; public string Data; ListDataEventArgs(int index, string data) { Index = Convert.ToUInt16(index + 1); //from 0 based index, to 1 based index in SIMPL+ Data = data; } ListItemDataEventArgs() { //simpl+ compliance } } class ListWrapper { List DataHolder; public EventHandler OnListItemChange; UpdateSimpl() { for(int i = 0; i< DataHolder.Count; i++) { OnListItemChange.Invoke(this, new ListDataEventArgs(i,DataHolder[i])); } } FetchData() { ... UpdateSimpl(); } } / SIMPL+ Side */ #DEFINE_CONSTANT MAX_ITEMS 32 STRING_OUTPUT data[MAX_ITEMS]; ListWrapper myData; //tie to C# class //Event handler for the myData.OnListItemChange EventHandler ListItemChangeHandler(ListWrapper caller, ListItemDataEventArgs args) { if (args.Index > 0 && args.Index<= MAX_ITEMS) data[args.Index] = args.Data; } FUNCTION Main() { RegisterEvent(myData,OnListItemChange,ListItemChangeHandler); WaitForInitializationComplete(); } |
Re: TV Lift/Elevator compatible with Crestron Home
#crestron
Depending on your region, Nexus 21 have both Crestron and Crestron Home
|
ZeeVee 1.0.1 modules, using custom strings into ZeeVee_ZyperMP_Processor_v1.0.1
I have a use case where I need to do audio breakaway switching so I'm sending custom commands from an SIO into the To_device$ input. I worked with Jay at ZeeVee and these custom commands are doing exactly what I want. The weirdness is this:
If I trigger the digital inputs to the SIO in Simpl debugger, I see the string go out, I see the ZeeVee respond and I hear my audio breakaway switch happening as expected. If I trigger that exact same digital input but from my program, I see the string go out, but this time, no response and no audio switch.? My faith has been rocked in believing that a digital is a digital based upon what I'm seeing. I have a case open with Crestron but no resolution yet.? This is NOT to do with terminations. It seems to work (when it works from Simpl debugger) with either no termination, CR or CR+LF.? Not sure if it¡¯s a clue but: I did try a separate TCP/IP symbol direct to the ZeeVee controller sending out the same commands. This gave unexpected results: when triggered from the program or Simpl debugger, every command was now acknowledged with an error message saying it didn¡¯t recognize the command because the first character of the string was chopped off. (the first word of the string is ¡°join¡± and it was complaining it didn¡¯t know what ¡°oin¡± meant). I tried prefixing the strings with a \x20 (blank character). This prevented error messages and every message was executed, but I noticed switching was happening ¡°1 step behind¡± and I had to send each command twice and it all felt fairly flaky and it didn¡¯t seem like the correct direction to go. TIA for any responses. OP |
Re: TV Lift/Elevator compatible with Crestron Home
#crestron
Future Automation? We have a module for that.
|
Re: Crestron Go not accessing processor remotely (CP4)
#cp4
First off, I would recommend using a VPN instead of port forwarding to access your Crestron system remotely.? Unfortunately the UDM Pro won't do OpenVPN.? But if you do? want to do port forward anyway, at a minimum, I would recommend changing the port numbers.? In particular, the https and ssh ports.? Some ISP will block common ports like these.? The other thing I would do is limit the range of IP addresses that can connect to the UDM -- otherwise your CP4 would likely be prone to relentless attacks from every Tom, Dick, and Harry.
|
resolve dns hostname s#
I have multiple processors on my network, I'd like to resolve the ip addresses by hostname. However, for some reason if I try to point it to another crestron processor, it cannot resolve teh ip. But if I point it to any other devices on my network it returns the ip.?
I can ping the hostname from my computers terminal, but not from within crestron console. Out of ideas on why this wont work. ie Im using this to get the ip address of my tv: IPAddress ipAddress = Dns.GetHostEntry("Samsung").AddressList[0]; CrestronConsole.PrintLine("\nDNS Resolved: {0}", ipAddress); |
Crestron Go not accessing processor remotely (CP4)
#cp4
Processor: CP4
Network: Ubnt Dream Machine Pro with Ubnt L2 switches. DDNS domain is registered on both MyCrestron.com and on the CP4 itself. AUTH/SSL is enabled on both the CP4 and the CrestronGo app. I still do not understand how I'm not able to connect using Crestron Go. Here's how I have everything setup: UDM Port Forwarding Rules:? MyCrestron Domain Test Connection:? This is my first time working with a Ubnt Dream Machine, although it shouldn't be any different from their other routers/controllers. Is there anything I'm missing? |
TV Lift/Elevator compatible with Crestron Home
#crestron
Looking for the easiest/best compatible TV Lift/Elevator brand that's compatible with Crestron and Crestron Home.
Thanks! |
Re: TCP Client Stopped working
Chris,
I don't know if they are related at all, but ... I have still been having issues with EISC connections between 3 and 4 series processors. That is with the 2.7000.00040 firmware installed on the 4-series processor, which was supposed to fix the problem. Just last week, I updated a site to the 2.7000.00052 firmware hoping that would be a permanent fix. It is completely random and definitely a 4-series problem. About once every month or two I have to reboot a CP4 running a D3 program.? It shows connected in the IPT but the CP3 doesn't. If Crestron can't get its own EISCs connecting reliably, that has me concerned with all other ethernet communication. Fun times! Brian |
Re: TCP Client Stopped working
Thanks, Jonathan, Brian and All,
It definitely seems like a highly intermittent issue, might even be a one-off sometimes. I'll be connecting into the site that I've had this issue with and will see if the connection has failed again (been since Friday afternoon). I also have a case relating to this so we will see... Jonathan: It would seen that this has been an issue since the beginning of 4-series... Because of the '1' on the connect input (I'm changing this now) I can't try to restart on this project. Have either of you found that a toggle on the Connect fixes the issue, or does it always require a program restart?? FWIW, I set up a simple TCP client test on both CP3 and CP4 with nothing to connect to them so that they would just keep trying to connect, basically testing if the symbol would give up after a while, and both are still humming along since Friday afternoon. Both still toggle between Waiting and Failed, as expected.? The CP3 client waits a bit longer than the CP4 (20s vs 3s) but both stay on failed for just over 1 min then back to Waiting. On my Vantage site, the TCP client just stayed on WAITING... |
Re: TCP Client Stopped working
I've seen this as well. I have a case open with TB right now for it. What I was able to narrow it down to was if you lose link on the CS side of the processor that is what breaks the TCP/IP client. I was able to reproduce it everytime that way. I wrote 2 dummy demo programs and sent it in, one with a TCP Client and another with a TCP Server and took a video of it failing and a software reset/hardware reset fixing it.
I've never seen this on a 3 Series, only 4 Series, but I can certianly adapt my program to test it over on a 3 series as well. At home I have devices on CS that I'm using a TCP Client for communication and after switch reboots, switch firmware upgrades, power cycles, etc I've never found the devices to not properly reconnect. I just checked my case and no updates since April 1st when they said they would mock up my programs and get back to me. |
Re: TCP Client Stopped working
I've seen this since the very first CP4N we installed right after they came out, and your experience sounds a lot like mine. In S+, you can leave it to stay connected and automatically reconnect and it'll work, but a TCP Client symbol gets stuck waiting. Restarting the program is enough to get it working again. I've tried various catch-and-recover methods that seem to have worked, but I've been trying to make or use S+ or S# modules to handle TCP stuff anyway so I notice the issue less and less as a result. It's definitely not just you it's happening to!
|
Re: TCP Client Stopped working
¿ªÔÆÌåÓý?FTR, I almost never turn the connect off with any device and have not had any particular issues until now...¡° ? Same here. Especially in my home/test-system, i?ve got a lot of TCP Clients in the program pointing to devices that are rarely switched on or connected because i just need them for some specific testing. Never had a problem that the TCP Client wouldn?t connect after the device is connected or switched on. Actually, i?m assuming more issues with permanently activating and deactivtating the TCP Client, but it sounds as if that?s working reliably. So i think i?ll give it a try. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von ckangis ? Olivier, |
Crestron Home + DMP alarm lightweight integration?
#crestronapp
#crestron
Hi, I have a Crestron Home system and a DMP (XR 150/500) alarm. I understand that a full integration of the DMP system into Crestron seems not possible but is there a way to just have the alarm status (Armed or Disarmed) show in the Crestron app? Seems like this output should be pretty easy to obtain but i¡¯m new to this so would appreciate any tips or guidance! Thanks, Doug
|