
If one of the readings was either positive or not showing voltage then switch pins 2 and 3 at one end and re-measure. Swap the red probe to pin 3 and you should also read a similar negative voltage. Grab multimeter and switch it to under 20v DCīlack probe to pin 5, red probe to pin 2, you should read negative voltage between 6 and 9 volts typically. Make sure both end devices have the DB-9 connector plugged in and both devices are powered up If your ever unsure if X-over cabling is required or if it is straight through do the following. I connect Nec plasma's to Crestron on a weekly basis and i can tell you that the configuration for wiring is 5 wire X-over. Sure you have the Com baud rate and other settings The automation system needs takes care of it without any client intervention.I have not done a NEC in a while, but I remember 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.
#Crestron simpl hex serial
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.
