开云体育

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

Re: Crestron Home Driver Using the Driver SDK

 

Oh boy. I have just literally been going through this the past few days to write a custom Crestron Home driver.??
It's good to hear it's not just me.

Crestron is not my normal thing - I actually have spent my life making developer tools like compilers and debuggers, etc (embedded and non), as well as drivers and such for various devices on various platforms.
So i'm usually on the other end of this - providing the developer stuff necessary to build things and make stuff work.

I've certainly seen worse than the current SDK by far, but yeah.
Particularly the weird combination of rigidness/flexibility in the extension driver model.
Some of it also feels like they used Amazon's mechanical turk with a task like "write a page of samples and documentation", it got distributed to 100 different people, and then they just combined them and that's the manual.

For real questions i actually don't use the manual first or alone.? I actually just use ilspy or dotpeek, and see what the assembly actually does first, then read the manual and put the two together.? It's much easier to understand the manual once you see "what is the current implementation doing".?

That is not a great state.

To the original question of a simple relay driver - i went looking when I started.
On public github, there are only two people who have repositories that contain crestron home extension drivers.? ?
One of them appears to be ... wait for it .. a relay driver.



Now, unfortunately, it's not well commented, and seems to delve into the programmatic functionality.

The other extension retrieves the weather from the web, and may be a simpler example for your purposes:


--Dan


Re: LG OLED TV CCD IP Driver - How to get it to work on a CP3?

 

Thanks rickwookie, I think I got it now!? BTW, YouTube is MediaService3 and Netflix is MediaService 4 here :-)


Re: Samsung HG55690 Power on command not working.

 

Hi Kerry,

Did you ever get this working? If so, what was the fix please.

Thanks
Sam


Re: Crestron Home Driver Using the Driver SDK

 

开云体育

UI is also a big part of it.? Even if the programming works well and the system supports all the wiz-bang ideas the customer came up with making a decent UI takes a special talent that very few programmers have.?

On 2/18/2021 5:29 PM, zac.sparrow@... wrote:

Thanks guys. The other reason I was (and still am) is because I generally pick either the cheapest or the most expensive option.? Home is a middle ground but it seems to me if someone would spend the $ for Home, why not go all the way in.?

The part about dealers struggling with programming does makes sense though. Didn't think of it this way.?


Re: LG OLED TV CCD IP Driver - How to get it to work on a CP3?

 

If you assign signals to all the user attribute feedbacks then you’ll see in debugger the descriptions of each populate when you first load the driver. That’s how you know what goes where.
Same for the media services. As long as you’ve assigned the signals, you’ll see which is for YouTube, Netflix, etc.


Re: Crestron Home Driver Using the Driver SDK

 

Thanks guys. The other reason I was (and still am) is because I generally pick either the cheapest or the most expensive option.? Home is a middle ground but it seems to me if someone would spend the $ for Home, why not go all the way in.?

The part about dealers struggling with programming does makes sense though. Didn't think of it this way.?


Re: LG OLED TV CCD IP Driver - How to get it to work on a CP3?

 

Finally some progress.... once I swapped the assignments for MAC address and Pass Code in the User Attributes it started working. So in case s.o. runs into the same problem:
  • Pass Code => User Attribute 1
  • MAC address => User Attribute 2

I now have control and somewhat feedback: feedback on power state and inputs seems to work well, but volume feedback is kind of useless. For some reason the volume feedback state (it should be a percentage value) keeps reverting back to an earlier value, even though the TB has clearly changed its volume - audible, as well as per display. I am not sure how to resolve this. I have seen similar 'signal garbage' with volume feedback via RS232.?

On a more general note, shouldn't there some kind of documentation for this?? How can one guess what goes where? I did not see anything in the .dat file, which is the closest I have found thus far as documentation. How would I be able to figure out how to launch the build in apps, e.g. YouTube or Netflix that are seemingly supported per .dat file???


Re: Crestron Home Driver Using the Driver SDK

 

开云体育

I'll throw in one more perspective.? Not all dealers are created equal.? There are dealers that have a really good programming staff and others that may otherwise be really good at A/V but don't do programming well.? The best dealers can deliver? a very customized/large system but other dealers struggle and Crestron has to take the phone calls from unhappy homeowners who weren't educated enough to tell the difference until it was too late.? A product like Crestron home levels the playing field and allows a good A/V dealer that doesn't have great programmers to be successful delivering Crestron systems.?

Great story about your old science teacher/coach Lincoln.

On 2/18/2021 3:45 PM, Lincoln King-Cliby wrote:

This is from a Commercial guy with Residential coworkers (including helping with development of an extension…which is just plain painful) so take it for what it is:

?

There are (at least two) two types of customers: The fiddly, “I want to be able to do anything and everything with any widget I can think of, for a system of any size or complexity” and the “I want a level of integration and I’ll more or less take what I can get”

?

?

Crestron Home is very well suited for the latter – if you can control the rules of engagement and the client is OK with more or less ‘standard’ functionality, and nothing too crazy as far as size or scope that’s exactly the niche that Crestron Home appears to play nicely with. The tradeoff, of course, is you are given a sandbox and going out of that sandbox is difficult/painful/impossible depending on what exactly you’re trying to do.

?

On the other hand the former is not well suited for Crestron Home, IMO – if you have weird subsystems, a giant property (or interdependent properties), very specific preferences on operation, etc. – that’s where full custom programming makes sense. Of course the tradeoff is higher overall costs.

?

Think of it like “tract home” vs “custom home” – sure in the tract home you might be able to change paint colors, carpet vs wood, etc. but by and large the floorplan is going to be the floorplan, the windows will be where the windows are and it might look like 6 other houses on the block (funny story from high school below)… but the cost per square foot is going to be lower because an architect is copy-pasting, the builders have muscle memory, and the overall attention to detail may not be a strong. On the other hand with a full-custom luxury build… You want 90,000 square feet? Done. Want 2 bathrooms for every bedroom? Done. Need a walk-in closet bigger than some European countries? No problem. Helipad? Sure. But you pay (not just in cash) for that flexibility.

?

Lincoln

?

?

(Ok so, I grew up in suburban Southern California… the land of the endless subdivision. My neighborhood had more variety than some – we had square accent windows and brown trip while the look-alike 3 lots down had rounded windows and grey trim, such variety! Other neighborhoods weren’t as diverse. One of my science teacher/swim coaches in particular, lived in a neighborhood where someone just fell asleep on the Ctrl+V button. One night he was startled to find a somewhat drunken neighbor stumble into his living room… not only did their houses look exactly the same 6 doors apart but they had happened to get locks using the same keys)

?

?

--

Lincoln King-Cliby, CTS, DMC-E-4K/T/D
Commercial Market Director
Sr. Systems Architect | Crestron Certified Master Programmer (Diamond)
ControlWorks Consulting, LLC
Direct: (+1)440.771.4807 | Cleveland: (+1)440.449.1100? | Boston: (+1)508.695.0188 | DC: (+1)202.381.9070? | Fax: (+1)440.449.1106
Crestron Services Provider | Biamp Authorized Independent Programmers | Extron Qualified Independent Programmer

?

From: [email protected] [mailto:[email protected]] On Behalf Of zac.sparrow@...
Sent: Thursday, February 18, 2021 4:46 PM
To: [email protected]
Subject: Re: [crestron] Crestron Home Driver Using the Driver SDK

?

Sorry for the slight off tipic...
I am still trying to understand the purpose of Crestron Home. From Crestron prospective,? to capture more client base with same hardware but handicapped functionality.? Sounds good on paper but if it is so complicated to write a driver,? how are they attacking more vendors or are all drivers written by them? They seemed to be fully committed to it.

From dealer prospective,? limited numbers of vendors and models they can use. Must be a big issue now with the low stock of everything.?
Then when the client says 6 months in "I need this XYZ integrated" (XYZ being whatever the latest gimmick is), how do you tell them it can't be done?

From client's prospective,? cheaper but not customizable and limited life *cough* pyng *cough*

Yet I've seen multiple people that are Crestron savvy switching their personal systems from SIMPL to Home. So confusing.


Re: Crestron Home Driver Using the Driver SDK

 

开云体育

This is from a Commercial guy with Residential coworkers (including helping with development of an extension…which is just plain painful) so take it for what it is:

?

There are (at least two) two types of customers: The fiddly, “I want to be able to do anything and everything with any widget I can think of, for a system of any size or complexity” and the “I want a level of integration and I’ll more or less take what I can get”

?

?

Crestron Home is very well suited for the latter – if you can control the rules of engagement and the client is OK with more or less ‘standard’ functionality, and nothing too crazy as far as size or scope that’s exactly the niche that Crestron Home appears to play nicely with. The tradeoff, of course, is you are given a sandbox and going out of that sandbox is difficult/painful/impossible depending on what exactly you’re trying to do.

?

On the other hand the former is not well suited for Crestron Home, IMO – if you have weird subsystems, a giant property (or interdependent properties), very specific preferences on operation, etc. – that’s where full custom programming makes sense. Of course the tradeoff is higher overall costs.

?

Think of it like “tract home” vs “custom home” – sure in the tract home you might be able to change paint colors, carpet vs wood, etc. but by and large the floorplan is going to be the floorplan, the windows will be where the windows are and it might look like 6 other houses on the block (funny story from high school below)… but the cost per square foot is going to be lower because an architect is copy-pasting, the builders have muscle memory, and the overall attention to detail may not be a strong. On the other hand with a full-custom luxury build… You want 90,000 square feet? Done. Want 2 bathrooms for every bedroom? Done. Need a walk-in closet bigger than some European countries? No problem. Helipad? Sure. But you pay (not just in cash) for that flexibility.

?

Lincoln

?

?

(Ok so, I grew up in suburban Southern California… the land of the endless subdivision. My neighborhood had more variety than some – we had square accent windows and brown trip while the look-alike 3 lots down had rounded windows and grey trim, such variety! Other neighborhoods weren’t as diverse. One of my science teacher/swim coaches in particular, lived in a neighborhood where someone just fell asleep on the Ctrl+V button. One night he was startled to find a somewhat drunken neighbor stumble into his living room… not only did their houses look exactly the same 6 doors apart but they had happened to get locks using the same keys)

?

?

--

Lincoln King-Cliby, CTS, DMC-E-4K/T/D
Commercial Market Director
Sr. Systems Architect | Crestron Certified Master Programmer (Diamond)
ControlWorks Consulting, LLC
Direct: (+1)440.771.4807 | Cleveland: (+1)440.449.1100? | Boston: (+1)508.695.0188 | DC: (+1)202.381.9070? | Fax: (+1)440.449.1106
Crestron Services Provider | Biamp Authorized Independent Programmers | Extron Qualified Independent Programmer

?

From: [email protected] [mailto:[email protected]] On Behalf Of zac.sparrow@...
Sent: Thursday, February 18, 2021 4:46 PM
To: [email protected]
Subject: Re: [crestron] Crestron Home Driver Using the Driver SDK

?

Sorry for the slight off tipic...
I am still trying to understand the purpose of Crestron Home. From Crestron prospective,? to capture more client base with same hardware but handicapped functionality.? Sounds good on paper but if it is so complicated to write a driver,? how are they attacking more vendors or are all drivers written by them? They seemed to be fully committed to it.

From dealer prospective,? limited numbers of vendors and models they can use. Must be a big issue now with the low stock of everything.?
Then when the client says 6 months in "I need this XYZ integrated" (XYZ being whatever the latest gimmick is), how do you tell them it can't be done?

From client's prospective,? cheaper but not customizable and limited life *cough* pyng *cough*

Yet I've seen multiple people that are Crestron savvy switching their personal systems from SIMPL to Home. So confusing.


Re: Crestron Home Driver Using the Driver SDK

 

Sorry for the slight off tipic...
I am still trying to understand the purpose of Crestron Home. From Crestron prospective,? to capture more client base with same hardware but handicapped functionality.? Sounds good on paper but if it is so complicated to write a driver,? how are they attacking more vendors or are all drivers written by them? They seemed to be fully committed to it.

From dealer prospective,? limited numbers of vendors and models they can use. Must be a big issue now with the low stock of everything.?
Then when the client says 6 months in "I need this XYZ integrated" (XYZ being whatever the latest gimmick is), how do you tell them it can't be done?

From client's prospective,? cheaper but not customizable and limited life *cough* pyng *cough*

Yet I've seen multiple people that are Crestron savvy switching their personal systems from SIMPL to Home. So confusing.


Re: Crestron Home Driver Using the Driver SDK

 

开云体育

If you ever make it to Sun Valley I'll be glad to show you around the mountain.?

Having been here for over 10 years now I can attest that you can continue to improve but it takes time on the mountain and ongoing lessons help too.? I know people that are over 80 and ski almost every day.?

On 2/18/2021 2:17 PM, Oliver Hall wrote:

Lol - I can draw metaphors with the best of ‘em!
I love skiing, but I’m not that great, and age is starting to out-strip my ability. ?The result being injury!


Re: Crestron Home Driver Using the Driver SDK

 

Lol - I can draw metaphors with the best of ‘em!
I love skiing, but I’m not that great, and age is starting to out-strip my ability. ?The result being injury!


Re: Extron DMP 128 crestron module

 

Hi Rogelio,

Please have a look at the example that is part of the zip file.
To make the module work, a few things need to be ensured:
- Verbose mode 3 needs to be enabled
- Before controlling the volume, the value needs to be polled once

BTW: When controlling a stereo input, I suggest to use a group. Configure the group(s) in the DSP Configurator.
By doing so you can make sure that left and right channel always have the same level.

Questions or feedback welcome

Crestronfreak55


Re: Kaleidescape access from multiple control systems

 

开云体育

Cool, thanks!

Cheers, Thorsten

?

Von: [email protected] <[email protected]> Im Auftrag von Mitch Bigelow
Gesendet: Donnerstag, 18. Februar 2021 14:27
An: [email protected]
Betreff: Re: [crestron] Kaleidescape access from multiple control systems

?

Yes, I've had 4 connections open to a player before.


Re: Socket Error on Weather module

 

I have a TPMC-8X-GA and I am also seeing the Ethernet socket error. I just finished chatting with Crestron and the tech said it's a bug and they are working to fix it.


Re: Crestron Home Driver Using the Driver SDK

 

开云体育

Thanks Oliver.

I guess I have to start reading and follow the path that Crestron has laid out rather than the way I usually learn new things.

P.S. - I didn't know you were a skier.? You gave it away with your "off-piste" reference?

On 2/18/2021 3:30 AM, Oliver Hall wrote:

The reason I (and others) have said that Extension Devices are easier to implement than other CCD device types is kind of a "bad thing" if you're looking to be a CCD purist.
It's largely because you have greater opportunity to NOT follow the CCD SDK architecture and go off-piste.

CCD has a specific architecture which is (very roughly) a base driver class, coupled with a transport (e.g. TCP, Serial, ...) and a device (or device family) specific protocol (e.g. the language the device speaks).? These classes are dependant upon one another and need to interact in some very specific ways to work properly, such as device instantiation and removal - what does my device do at start-up, how do I clean up after myself, are commands fire and forget, or do we need to maintain a connection, what happens when the connection is broken, and so on.? In the case of a Display, Cable box or AVR, you really need to stay in your lane for this stuff - but it's often not apparent (from the docs/samples) how you're supposed to do that.

As Caleb pointed out - you find your way through a lot of trial and error, which isn't where we want to be as driver developers.

Extension devices are a bit different - because the consuming app (i.e. Crestron Home) doesn't have any understanding of what the driver actually *does*, it's easier (or less improper) to break out of the CCD mould and implement your transport and protocol any way you like, and if you already have that code from a SIMPL#/S+ version, then it's either that, or re-write the older driver code from scratch in a CCD conformant architecture.

Even so, Extension devices have other elements that "normal" drivers don't - such as the UI definition, translation files, and - most likely - a heavier reliance on User Attributes (a CCD way of passing in custom data).? They all come with their own ways to trip you up on your first few outings... or even after a few years!

And before anyone asks - yes - the frustrations and challenges and suggestions on where improvement can/should be made is all reported back to Crestron, directly into the drivers team & product managers.


Re: Topics in Home Automation - New Article in Residential Tech Today

 

开云体育

Thanks so much for pointing that out.? It is very weird, the link says the right thing but goes to the wrong place.? This link should work.

Thanks again

Jay

On 2/18/2021 5:52 AM, mark kaye wrote:

i think the link is going to the previous article on shelly?


Re: C# http server - realtime data fed to html. #simplsharppro

 

Thanks Troy I’ve started going down that road.?


Re: PTZ Optics

 

Use the module I linked to previously, then the UDP client in Simpl, enter the IP in the config, open it and enter the correct UDP port, connect the string.

--

?

?

Jeffrey Franck – CTS, DMC-E-4K, Master Technology Architect
Conference Technologies, Inc.?
248 N. Cleveland
Wichita, KS 67214
Direct: 316-247-9690
Office: 316-651-0119?
JFranck@...

?


Re: Topics in Home Automation - New Article in Residential Tech Today

 

i think the link is going to the previous article on shelly?