Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
MYCRESTRON: How Do I Get MC3 TO REGISTER Via Text Console?
Still have trouble with this:
MC3>mycrestron
MyCrestron Status: Not Registered
System Last Successfully Registerd: N/A
Domain: myclientssystem, Password: clientpassword What is the secret code I need to type for the MC3 to ACTUALLY register the above?!?!?!?!? (The domain and password are already waiting to go on Crestron site). TIA -Mark |
Crestron home DEPLOY
#crestron
DEPLOY for Crestron Home not working after recent updates to RMS and CP4r - has anyone experienced this.
Result DEPLOY fails wipes out program in the processor and you have to restart processor with new project then download backup. Resulting in - that if you have made changes to the RMS - it will not be added to your config. |
Help with my very first TCP Client Class VS2019 for 4 series SIMPL# to be used with SIMPL+ Wrapper
Hello, I'm looking for any help to build my first TCP Client in VS2019 to be used on 4 series SIMPL+ wrapper.
For my first test scenario I am running a QSYS project in emulation mode and using VS2019 console app so that I don't actually have to compile and load to a CP4 as I build and test this. Just trying to get the concepts down so I can also start learning to communicate with the Qsys Project and slowly write my own Qsys modules as a way to get better and understand how this is all done in C#.? So far MyTCPClient class is able to send strings to Qsys but I am only able to receive the first message back. After the first response from Qsys comes back I get no more responses unless I close and restart the program. Also, I want to be able to handle disconnects. For example if someone unplugs the Qsys or power cycles it than I would want the CP4 to re connect to it. Here is my TCP Client class so far. Any help with be very much appreciated as I am learning. using?System.Net.Sockets;
public?class?MyTCPClient { ????TcpClient?client?=?new?TcpClient(); ????private?string?_address; ????private?ushort?_port; ????public?MyTCPClient(string?address,?ushort?port) ????{ ????????_address?=?address; ????????_port?=?port; ????????try ????????{?????????????? ????????????client.Connect(address,?port); ????????????MyConsoleWrite.Write("Successful?TCP?Connection?To",?address,?"On?Port",?port.ToString()); ????????} ????????catch?(Exception) ????????{ ????????????MyConsoleWrite.Write("Could?Not?Connect?To",?address,?"on?port",?port.ToString()); ????????} ????} ????public?string?sendMessage(string?message) ????{ ????????string?response?=?""; ????????try ????????{ ????????????//?send?a?string ????????????NetworkStream?stream?=?client.GetStream(); ????????????byte[]?data?=?ASCIIEncoding.ASCII.GetBytes(message); ????????????stream.Write(data,?0,?data.Length); ????????????//receive?a?string ????????????byte[]?responseData?=?new?Byte[256]; ????????????Int32?bytes?=?stream.Read(responseData,?0,?responseData.Length); ????????????response?=?System.Text.Encoding.ASCII.GetString(responseData,?0,?bytes).Trim(); ??????????????????????????? ????????????MyConsoleWrite.Write("sendMessage?is?successful",?_address,?_port.ToString()); ????????????MyConsoleWrite.Write(response); ??????????? ????????} ????????catch?(Exception) ????????{ ????????????MyConsoleWrite.Write("sendMessage?was?not?successful",?_address,?_port.ToString());???????????????? ????????} ????????return?response; ????}??????? } |
Re: Moving to Crestron Home driver development
¿ªÔÆÌåÓýHi Danny, I am far from an expert on this.? I did the development and wrote
the article almost a year ago.? 1) The way I understood it was that a platform driver is for devices where there is a one to many relationship.? For example, I've thought about writing a CH driver for Shelly's lineup of smart home devices.? In my SimplWindows Shelly driver I have a communications manager module that handles bi-directional communications with all the Shelly devices and then there are individual modules for each Shelly device in your home that have inputs/outputs for controlling/feedback of an individual Shelly device.? This would require a platform driver and the added learning curve of fully understanding how platform drivers work is what has kept me from writing one.? An extension driver is for a one-to-one relationship.? For example, I wrote an extension driver to communicate with a Weatherflow smart weather station.? One module for one device. 2) From what I remember you still use the cloud connected
transport to communicate with a device on your local network.? I
believe that is exactly how my Weatherflow extension driver
works.? Whether this is really the way that Crestron intended is
another question.? But, it does work.? Hope this helps Jay On 1/31/2022 9:20 AM, Danny Mavromatis
via groups.io wrote:
Nice! ?I too am interested and have been asked to write a driver. ? |
Re: CP4 Serial Port weirdness
They're all in the rack - >5' cables.
All powered from (1) 20 amp circuit (install inherited...:(? ) All powered thru a single On-Line UPS... It's a weird situation that I've personally never seen before... As mentioned, we've had issues with the UPS and will be replacing it. hopefully that is the center of the issue (among other issues...) |
Re: ZeeVee Zyper 4K Management Platform.
I used this command to get audio to follow video as this installation has discrete RX endpoint for analog audio feed into the DSP:?
No need to send this all the time, just once after the server comes on line.? join videoSource (RX host name) hdmiAudio\x0a\x0d ////////// One last thing, i promise, Could not get RS232 or? CEC to work for display control. Even when bypassing Crestron code and triggering direct from ZV web interface, this did not work for display control.? Spent a lot of time on this and even with MFR assistance, we could not get it to work.? Would recommend direct IP connection for display control.? |
Re: Moving to Crestron Home driver development
Nice! ?I too am interested and have been asked to write a driver. ?
?
I have .NET code of full connection/control of HAI Omni controllers and I had someone ask me to write a Crestron Home driver, googled and found your template.?
?
For the most part I understand the fundamentals, I just now have to find some extra time to start with a project to see how this all works. ??
?
What I¡¯m still a bit unclear, since the HAI does lightings, Climate, thermostats, etc what type of driver it should follow ¡ª I¡¯m suspecting its a "platform driver¡±.
?
And since it¡¯s locally IP controlled, but not ¡°cloud controlled¡± you still use the cloud connected transport, right?
|
Re: ZeeVee Zyper 4K Management Platform.
Oh, one more thing. Use the ZV server web page to confirm the Crestron route commands.?
There is a graphic for each TX and RX in the system and if you mouse over a RX, you will see what is routed to it.? Do not rely on video showing on the display to confirm your code, video endpoint may not always show video routed to it. Use the server web page for confirmation.? |
Re: ZeeVee Zyper 4K Management Platform.
The API for this is rather easy.?
I just did a project with server and about 35 endpoints.? User manual is here if you do not have it already:? This includes the plain text commands for controlling the server, start about page 88.? You have to write into support to get a copy of the Crestron modules.? That said, I only used the processor module (Zeevee_Zyper_4k_Processor_v1.0.1) that connects maintains connection with with the server.? From there, I made my own modules because I could not get the supplied ones to work the way I needed.? The supplied modules seem to link endpoints together via "join number" but not via the server.? Seemed far more direct to tell the -server- to link this end point with that one, which is the case outlined in the API document above.? If your system is small enough, you could use SIO to send commands for each route you may want to send.? I made a S+ array handler that builds a string using the 'join' command, and has delay between route requests.? Command to use for Video:? Join (xmit host name} (receiver host name) (route type)\x0a\x0d join
Joins the specified decoder (display) with the specified encoder (source). The mode
parameter must be specified and defines the type of join to execute.
? analogAudio
Embeds analog audio stream from the encoder on the output of the decoder. The
audio is from the (analog) Audio jack on the encoder.
In order to control what type of audio is being output from the decoder, refer to the set
decoder AnalogAudioOut command.
? fastSwitched
Allows the joining of an encoder and decoder with no video dropout. In order to make
use of this feature, the resolution and frame rate of the ¡°new¡± encoder must be the
same as the previous encoder.
? genlocked
This mode provides a very low-latency, all-purpose method of joining an encoder and
decoder. (ZyPer4K only)
? genlockedScaled
This mode provides a very low-latency, all-purpose method of joining an encoder and
decoder that includes scaling up or down at the decoder/display.
? hdmiAudio
Embeds hdmi-downmix audio from an encoder to specified decoder.
? multiview
Join the configured multiview to a display (decoder) (ZyPer4K only)
? video
Joins video only from encoder to decoder. No audio.
? videoWall
Join the encoder to the named video-wall
? window
Join any portion of a source to any portion of a display
? usb
Creates USB connection between encoder and decoder. Note that multiple
connections are valid.
? none
Special command to disconnect existing connections (joins) Example: join none
decoder fastSwitched
Syntax samples (need carriage return at end of string) join enc dec mode
join none dec fastSwitched? //this breaks a video route
////////////////////////////////// Here is S+ snippet for outbound commands to the server:? INNum = ATOI(IN);
OUTNum = ATOI(OUT);
? ? ? ??
IF (INNum = 0)
? ? ? ? {
MAKESTRING ( Command_TX, "join none %s %s\n", OUT_hostname[OUTNum], RouteCommand? );? //send clear route command
OUT_FB[OUTNum] = 0; //update corresponding analog out FB
? ? ? ? PRINT ("!IN%d OUT%d",INNum,OUTNum);
? ? ? ? }
ELSE IF (INNum > 0)
? ? ? ? {
MAKESTRING ( Command_TX, "join %s %s %s\n",IN_hostname[INNum], OUT_hostname[OUTNum], RouteCommand? );? //send routing command
OUT_FB[OUTNum] = INNum; //update corresponding analog out FB?
? ? ? ? PRINT ("!IN%d OUT%d",INNum,OUTNum);
? ? ? ? }
?
DELAY(DelayTime); //wait before processing next frame
//////////////////////////////////// NOTES: 1 the Delay at the bottom is critical! Found that I had to wait about 2 seconds between route commands or they do not really work.? 2 The server will send an echo of the command sent and very rarely, a 'success' message.? Video/audio can sitll be routed properly without seeing a success message returned. So, do not rely on this.? 3 ZV systems are certified only for specific network switches. If you have a choice, use the Netgear switch recommended by the manufacturer.? 4 Be sure that the ZV endpoints have latest firmware. Older firmware does not seem to route video properly between endpoints.? 5 Be prepared to spend some time on email/phone with ZeeVee support.to get system fully operational .? 6 join type 'none' is how to break a route. When clearing a route, the display may show the ZV default image/info instead of the blank image we are used to seeing with other products.? |
Re: CP4 Serial Port weirdness
How far is the CP4 from the Marantz and APpro?? If they are on a different electrical subpanel you can get surges even though the ground too.? My policy is if an RS232 device is on a different electrical subpanel, different building, or to something outside, I surge protect the RS232 port.? In most cases a simple opto isolator is sufficient.? However, if it is going to a pool or irrigation system, those surges can easily exceed the 2KV rating of opto-isolators. In that case you will need to use fiber or going wireless.
The thing this is strange in your case is, at least for the case of the Marantz, it is just and RX and TX line that normally idles at -5 to -12V.? So disconnecting them does not change the logic level.,? Hence the reason it sounds like a latch up issue. Why don't you monitor the RX and TX lines when the failure occurs and see what side stops communicating.? Also measure the difference between the grounds when disconnected,. It is not atypical to be 60VAC between the grounds of some subsystems if they are not grounded correctly. Good luck, Steve |
Re: TSW760 Grandstream UCM6202 paging/group intercom
Are you getting a busy signal even when setting the Paging/Intercom Group as 1-way Paging? On Mon, Jan 31, 2022 at 8:48 AM dlcollins77 via <dlcollins77=[email protected]> wrote: That's how I have it setup.? For testing I have 2 TSW560's, extensions 1001 and 1002.? They can call each other via extension.? If I setup a Paging/Intercom group under Call features of the UCM web gui, extension 1030 and add extension 1001 as a member, 1002 gets busy signal when dialing 1030. |
Re: Moving to Crestron Home driver development
¿ªÔÆÌåÓýThat?s awesome, Jay! Just scanned through it and it seems to be exactly what i need for starters ¨C this will definitely be my bed-time reading tonight. ? ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von jbasen ? Thorsten I wrote a detailed article on extension driver development for CH for Residential Tech Today.? You can find the article here: The article includes code snippets along with a link to a driver template that can be downloaded from my GitHub. Hope this helps Jay On 1/31/2022 4:15 AM, Thorsten K?hler wrote:
|
Re: DMPS3-300-C not linking Cisco switch?
Do you use the Cisco SG Series switch?
i had the same issue with a DMPS3-150 and a Cisco SG350, turning off Auto Negotiation and POE should do it. You could also try to use like a 10-20 Meter Networkcable or talk to TB, in my case i had to send the DMPS back to Crestron, they did some changes to it and it worked fine after we got it back. |
Re: TSW760 Grandstream UCM6202 paging/group intercom
That's how I have it setup.? For testing I have 2 TSW560's, extensions 1001 and 1002.? They can call each other via extension.? If I setup a Paging/Intercom group under Call features of the UCM web gui, extension 1030 and add extension 1001 as a member, 1002 gets busy signal when dialing 1030.
|
Re: Best option for wireless camera compatible with Crestron Home?
#cctv
Havent tried it in CH, but I personally have several Eufy cameras that are wifi and they also have a RTSP stream. Maybe CH would find that stream and allow it to be added as a camera? They are like $30-40 on Amazon and they work great. Maybe worth a shot.?
|
Re: Moving to Crestron Home driver development
¿ªÔÆÌåÓýThorsten I wrote a detailed article on extension driver development for CH for Residential Tech Today.? You can find the article here: The article includes code snippets along with a link to a driver template that can be downloaded from my GitHub. Hope this helps Jay On 1/31/2022 4:15 AM, Thorsten K?hler
wrote:
|