Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: S# Simpl Windows Driver under Crestron Home
Hi Jay,
(Chris - thanks for the mention - definitely significant events, but things are still going on as before in most respects) If the question is fundamentally "can I instantiate/invoke an arbitrary S# driver directly in CH without any other work" then the answer is a flat no.? However, as Caleb says, you can probably repurpose an existing S# assembly for use under CH by providing suitable wrapper code.? I say "probably" because the CCD SDK (which is what CH is expecting a driver to match up to) has a lot of blurred lines around the internal structure.? On one hand, the SDK is highly prescriptive in the class structures for a "CCD" driver and provides a lot of boiler plate implementation to support that (things like command queueing and protocol parsing) and on the other hand you can ignore a lot of the base class implementation a roll your own.? The former approach is encumbered by a largely undocumented SDK(*), and the later is more wild-west, with developers re-inventing wheels in various places; though at least the developer will know what shape their wheels are! "Probably" also because, while CH is 4-Series all the way (at least in terms of CCD support), AVF and SIMPL will need 3-Series support, so if you want the driver to be truly "CCD" compliant in the sense that the driver can be deployed across different platforms, you really need your S# to be in the old S# sandbox. I know other developers like the freedom of the "open" approach, especially when you're limited by things that the SDK/CH teams deem to be unimportant.? Personally, I prefer the "structure" where the SDK is (ideally) heavily tested and does most of the heavy lifting for the driver developer so we can just focus on the specific driver implementation details.? It's nothing like as rosy as that in reality ;-) The significant question here is: Does the S# driver implement a standard CH driver type (Display, Cable Box, BluRay, Security System, etc.) in which case you probably need to adhere to the SDK structure for the consuming apps (CH, AVF, SIMPL Wrappers, other things being hinted at)?to work properly, or are you in Extension Device territory, which is more flexible, because the consuming app doesn't know or care what that driver actually drives, but you also need to add the UI definition yourself, and it's definitely CH only. Long story short; the person using your code isn't going to be able to use it without rolling up their sleeves with the CCD SDK, which I would suggest isn't something you do (with any degree of success) over a quiet weekend. I hope that helps, Oliver * The SDK is documented up to a point; acceptably in places, uselessly in many and not-at-all in most. |
Re: S# Simpl Windows Driver under Crestron Home
¿ªÔÆÌåÓýThanks Caleb! Can you provide a little more detail on how this works.? I've written a few Extension drivers for CH and the architecture vs the simplwindows S# drivers I've written that require an S+ wrapper and communicate with S+ using SignalChangeEvents calls is quite different. Thanks again Jay On 9/11/2022 7:18 PM, Caleb Radecky via
groups.io wrote:
|
Re: S# Simpl Windows Driver under Crestron Home
¿ªÔÆÌåÓýAre you saying you have a S# library for a SIMPL windows module and you want to take the same library and make it run in Crestron Home??
If yes, absolutely you can. Effectively you have a class that is the CH interface that implients all the CH things, and that will talk to your existing implementation.?
Caleb Radecky | Manager, Online Products & Services
Crestron Silver Certified Programmer | DMC-D-4K | DMC-E-4K
ControlWorks Consulting, LLC | Crestron Services Provider | 8228 Mayfield Rd. #6B Rear Cleveland OH 44026
D. 440.771.4809 | O.440.449.1100 X1109 | F.440.449.1106 | http://www.controlworks.com
From: jbasen <jay.m.basen@...>
Sent: Sunday, September 11, 2022 11:40 To: [email protected] Subject: [crestron] S# Simpl Windows Driver under Crestron Home Wondering if there is something I am missing here.? Is there a way to
run a custom driver written in S# that was simply designed for SimplWindows under Crestron home without rewriting it as, for example, an extension driver specifically designed for Crestron Home. The only way I can think of doing that would be to run it on a regular Crestron 3-Series or 4-Series processor and link the 2. Just wondering if there is something I'm missing since I do so little with Crestron Home. Thanks in advance for the help Jay |
Re: D3 Configuration Not Working
Paul Weller
Many thanks guys, all good suggestions. While compromised, I am happy with my current solution. I will see if Crestron can replace the broken plastic plates; it is only 4 screws to remove the plate and while it exposes the circuit board, it is easy enough to do; that will give me some fully functional spare dimmers should I ever need them.
|
Re: S# Simpl Windows Driver under Crestron Home
¿ªÔÆÌåÓýNo problem Chris.? I appreciate any, and all, input.? I'm sure that someone will
know for sure and be able to chime in.? I expect that with
everything going on in Great Britain that Oliver has his hands
full right now.? We're more insulated from the impacts of the war
in Ukraine and I'm sure the death of the Queen has affected
society over there too.? Thanks again Jay On 9/11/2022 4:23 PM, ckangis wrote:
Hey Jay! Sorry, I didn't notice that it was you!!..HaHa, I wouldn't have bothered with a basic post!...:) |
Re: S# Simpl Windows Driver under Crestron Home
¿ªÔÆÌåÓýThanks Chris. I've written a few CH extension drivers along with the article I wrote for Residential Tech Today on the subject ().? Someone is trying to tell me they are using one of the drivers on my GitHub that was written for SimplWindows in Crestron Home.? I didn't think that was possible but there are people here that are much more knowledgeable than I am so I wanted to make sure. Thanks again Jay On 9/11/2022 1:05 PM, ckangis wrote:
Others much more versed in CH extensions will weigh in on your first question, I suspect. |
Re: S# Simpl Windows Driver under Crestron Home
Others much more versed in CH extensions will weigh in on your first question, I suspect.
Regarding using an SMW program to interface with CH, that would definitely be a quick way to get your driver working. At the moment your only simple interface for this kind of things (Unless you get involved with the Ultamation or Control Concepts SMW-CH Integrations) is to use the SMW TRIGGER and LISTEN modules. They work very well; however, you only have Digital Press and FB to work with... |
Re: D3 Configuration Not Working
Yes, The 'P-' units were from the old prodigy world. You've already updated the FW, so there may be no going back. I was going to suggest seeing if D3 allows for adding the P- model but I can't remember (SMW allows it) but its probably a mute point now...
When you say "Acquiring and Unacquiring" did you actually run the UNACQUIREBYTSID routine in the gateway? this is a gateway-specific command that doesn't really have to do with the remote device... Changing the ID for the replacement to a new, unused ID might also be a solution... And regarding the 'air gap'/Programming switches, you should be able to swap one of the old plastic faces from your dead CLWs with the new ones, even the Prodigy units, I think... |
S# Simpl Windows Driver under Crestron Home
Wondering if there is something I am missing here.? Is there a way to run a custom driver written in S# that was simply designed for SimplWindows under Crestron home without rewriting it as, for example, an extension driver specifically designed for Crestron Home.
The only way I can think of doing that would be to run it on a regular Crestron 3-Series or 4-Series processor and link the 2. Just wondering if there is something I'm missing since I do so little with Crestron Home. Thanks in advance for the help Jay |
AVIA DSP - few questions
Hello,
In a few future projects I will have to control AVIA DSP 1281, so I wanted to ask some questions. 1. Is AVIA DSP 1281 able to receive AES67 stream (from NVX)? 2. I heard a while ago that AVIA DSP can hang when quickly selecting presets, is that still a problem? 3. Do you have any general tips regarding controlling AVIA DSP? What would be good to avoid etc? Thanks in advance for your help! |
Re: D3 Configuration Not Working
Paul Weller
Sorry for taking so long to reply; wedding anniversary, visitors etc...
So, after much experimenting, here is what I have discovered, what I think is going on and some questions:
Many thanks all. |
Re: Toolbox - Failed to connect. Link may be broken error.
#toolbox
BR 7279 = Toolbox - "Failed to connect. Link may be broken." Popup Message When Closing Tools
Toolbox team investigated and determined this is a MS Visual C++ / Windows Update issue (not Toolbox issue) The issue will be fixed in a future Windows Update, but a fix was documented in OLH article below (Issue not exclusive to Crestron software or Toolbox) ?
|
Re: Toolbox Error: Failed to connect. Link may be broken.
#toolbox
BR 7279 = Toolbox - "Failed to connect. Link may be broken." Popup Message When Closing Tools
Toolbox team investigated and determined this is a MS Visual C++ / Windows Update issue (not Toolbox issue) The issue will be fixed in a future Windows Update, but a fix was documented in OLH article below (Issue not exclusive to Crestron software or Toolbox) ?
|
Re: Extron DMP 128 plus working module
Hi Daniel,
An oscillator makes sense, since the verbose mode is set back to default once the TCP/IP connection was dropped and is reestablished. EDID: Another argument pro oscillator: TCP/IP connection is closed from the DMP if no command is sent for (default) 300 seconds. When setting up volume control I always test with audio signal present to ensure that the ramp is not too slow and not too fast. I am happy to hear that the module helps you controlling the 9 units. Best regards Crestronfreak55 |
¿ªÔÆÌåÓýThat?s nice. Prices on eBay just went up 200% ? I?ve got two of them in permanent use at home and i?ll give it a try. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von Brian Matson ? Hello all,
So far, everything is working perfectly. |
Re: Let¡¯s have a candid conversation.
¿ªÔÆÌåÓýHa, right ¨C forgot the time a little bit. At that time, I was in enterprise IT and VPNs were pretty common already. But for sure not in residential installs, true. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von wnsanders ? Ha!? It was 2006.? VPN to a client¡¯s house was a bit more challenging at that time.? Much of the software I was using worked better from a local machine as well.? The setup also allowed me, as the programmer, to work with a non-programming resource on-site if a code change was needed.? I think I used Goto MY PC or something like that. ? Its much easier these days. ? Best, ? Noah ? From: [email protected] <[email protected]> on behalf of Thorsten K?hler <thorsten.koehler@...> While i agree in general with your position (as said before), I don?t exactly understand this piece: ¡°I began to eliminate those trips in 2006 by installing computers in the equipment rack with remote access.? The client would call and I would connect to pull logs and reset their system.?¡± ? Why would a computer be required for this? You can do exactly the same with a hardware-processor based system. Just dial in via VPN and then you can do whatever you want. If the gear is connected to a PDU, you can even hard-boot the devices if required. I?ve even done (though smaller) systems completely remote. Send the client the hardware, let him hook it up and then push the program to it. ? For me, VC4 just gives you another option to run Crestron programs with a lot of flexibility. I love that. I?ve got some clients who have a virtualization host running anyway in their home and then you just add another VM for the home automation system. But I also like to have a hardware processor with additional ports for sensors, RS232, IR to directly connect components that are not IP-only. ? So for me it?s not the one or the other, but the one and the other. ? Cheers, Thorsten ? ? Von: [email protected] <[email protected]> Im Auftrag von wnsanders ? Hi Chris, ? I certainly see your point of view, but the old resi market has been invaded by server-based solutions ever since Amazon Alexa, Smart TVs, Phillips, Samsung Hubs, etc. entered the picture.? What I¡¯m proposing is we as an industry explore that same model instead of remaining embedded in the same old excuses.? I feel we passed ¡°change for change sake¡± many years ago and now sit on the front porch mumbling ¡°I remember when¡¡±. ? I do understand though.? I¡¯m in commercial now because of so many years working on the bleeding edge of resi AV.? I¡¯ve spent way too many Friday and Saturday nights at client¡¯s homes because the lighting system or theater (or Jandy pool control)? decided to stop working.? I began to eliminate those trips in 2006 by installing computers in the equipment rack with remote access.? The client would call and I would connect to pull logs and reset their system.? ? I¡¯ve successfully deployed this model in global corporate environments with great success.? Lee was actually a huge part of that effort.? ? VC-4 gives us these same abilities and creates opportunity for residual revenue, which in my mind is a win-win.? Well¡ almost.? As I noted before, they need to fix some things first.? ? Someone with more knowledge please weigh in.? With a headless Linux server there is not much difference in maintenance as its essentially the same OS and code running on a CP4.? Just different hardware.? Right?? ? -Noah ? ? From: [email protected] <[email protected]> on behalf of ckangis <chris@...> "What I¡¯m reading here seems to be mostly fear of change.?" |
Re: Extron DMP 128 plus working module
Hi Crestronfreak55,
I am controlling dmp plus via TCP/IP. In setting up verbose mode to dmp plus, is it necessary to use an oscillator? I did try to latched the digital input of an sio though but ramping didn't work. Anyway I will try to play with timings and see what suits best. Thank you Crestronfreak55 your module does help me a lot to ease my programming work. Can't imagine how many logic to use when controlling 9 dmp plus in one program. Regards, Daniel |
Re: Extron DMP 128 plus working module
Hi Daniel,
I searched for a DMP Plus unit, but we do not have one at this moment. Are you controlling via TCP/IP or serial? Please consider setting the control range and ramp time to reasonable values to avoid the DMP Plus being flooded. Best regards Crestronfreak55 |