

Or you can place you mouse in the white space of the user database and select "new serial device
CRESTRON SIMPL HEX DRIVER
Otherwise you can use either the Generic Serial serial driver found in equipment view in the Crestron database under Generic\generic serially controlled device If you are using Runco a lot then make a module. I can walk you through it if you'd like, but I'm currently working on a new UI for a 4" fliptop and don't have the time this evening.įirst thing is find out the actual strings you want to send. You should be able to drop in a known good projector module and edit the program in SIMPL, then replace the joins on the good module with your module. I know there is a way to create SB "hooks" in your module, but I've never been a fan thus never took the time to learn it. You're on your own as far as SB integration. You would probably want to add some logic for some pseudo-feedback as well. Everything else can essentially entered into an SIO. I'm not familiar with the particular protocol, but the most complex part of it could be the possibility of a checksum. Once you get into variable feedback for things like lamp hours, color control, etc. The automation system needs takes care of it without any client intervention.It's not that complicated to create a basic module for power/source control. I would hate to have a dealer tell me "well if you want to go into Holiday mode, you will have to remember when the holidays are and make sure you press this button the night before every time." A client should never have to do that. If I'm a client and I am spending upwards of $15K on a home automation system and I ask for a Holiday schedule I better get one.
CRESTRON SIMPL HEX UPDATE
Once it's incorporated into the program it is set and will update itself automatically. My solution requires no end user intervention at all. A person should not have to remember to "press a button" the system should do what the client wants it to do automatically. I think your missing the point of automation. Oh yeah, and mine takes about 45 seconds if you're good, and about 10 minutes if you have to figure it out and have never done it before. You don't have to be a programmer to do it, and you can easily set it for days that aren't Holidays, but that you may not want the lights to turn on. If you deep understanding of parsing and hex it should take you no more than 20min. If you don't then it can take days.Īgain if C4 supports the parsing of text files and hex then an automated Holiday calendar can be created. If you have a deep understanding of parsing and hex it should take you no more than 20min. holidays, etc, I wrote the program so a client can enter dates and holidays manually from the touch panel.Īgain if C4 supports the parsing of text files and hex then an automated Holiday calendar can be created. As far state holidays, personal vacations, non U.S. To write the whole program took me about 15-20min, and it takes the processor < a second to process the file and send the data to a text file that my Simpl program looks for. Breaking down 012Ch - 12 I am stating the following Start at the First Instance(01) of a Comma(2C) using HEX(h) and take up to the 23rd character. What does this give me? The word "Thanksgiving". Using hex I can even break down, rearrange or extract from the line ",Thanksgiving," in the text file using something like 012Ch - 23. I now have a clean text file that I can parse even further if need be, have a Crestron Serial I/O read it, run it through other Serial logic, etc. Parsing Thanksgiving I would end up with the following in a text file. At this point I tell Crestron to add dashes and commas. Get the first STRING after "DTSTART VALUE=DATE:" and holdĪt FIRST Instance if "END:VEVENT" parse and write data. Get the first STRING after SUMMARY: and hold Get first STRING after "DTEND VALUE=DATE" and hold Start at the First Instance of "BEGIN:VEvent"

If I explained it as a Crestron programmer 1, no one would understand it and 2, most importantly, no one would care) I am simplifying it so the basics are understood by all. RRULE:FREQ=YEARLY INTERVAL=1 BYMONTH=11 BYDAY=4THīasically I tell Crestron to do the following. Below is the actual text from a "Holiday". ics file and saves it to a text file so it's readable by the Crestron processor. I created program that parses the data in the. Example New Years, Christmas, Independence Day, etc.Ģ) For the Holidays that have variable dates, such as Thanksgiving, Easter, Labor Day, etc. Again C4 must be able to read and parse a text file.ġ) I hard coded all the Holidays that are always on the same date since they never change. I created a "Holiday" solution for Crestron using the following. I am not a C4 programmer but if C4 support text files, hex, and parsing this should be easy to do.
