Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: How to on trinnov using crestron command
#crestron
¿ªÔÆÌåÓýAh, yes - thanks for the heads-up on the latest version. Just downloaded. ? ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von ckangis ? Hi Thorsten, |
Re: How to on trinnov using crestron command
#crestron
Hi Thorsten,
I just found it in my spam folder, Thank you!!? I actually received a later version (2.1.10) from another poster so I'm going to work with that (though there's a few things I need to adjust!) Thank you again and Happy New year!! |
Re: How to on trinnov using crestron command
#crestron
¿ªÔÆÌåÓýHi, ? JFYI ¨C i sent you a direct mail a week ago. Hope that find you well. Just checking via the group. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von ckangis ? Yes, My WoL is working now!? probably like you suggested. I'll pivot to the 12v trigger (that's what we did years ago) |
Re: rtpMIDI
So I went down the rabbit hole on this because I have been interested in doing something like this myself.
I know that this is not?rtpmidi, but on the other hand, every single MIDI device I have ever owned that had USB or network MIDI, also still has the 5-pin old-school DIN-plug MIDI jack.? These jacks work about as reliably as RS232 because they effectively are RS232. Turns out, the old-school MIDI is nothing more than plain n-8-1 serial,?except at a non-standard baud rate (31250) that can't be selected in SIMPL, and also?except at TTL voltages reminiscent of the 0-5v on Crestron's IR-drivers-as-serial. However, realizing this, it would be trivial to use a cheap Arduino Uno board to translate input at a Crestron-compatible baud into output at 31250 baud.? Basically to act as a translating bridge.? Then sending MIDI messages from Crestron is as simple as using a normal SIMPL serial send block, and transmitting the bytes out a Crestron serial port, just like any other serial device. I confirm that in ChatGPT, the prompt "Write me an Arduino Uno sketch that uses SoftSerial to accept serial input at 1200 baud (pin 2 RX, pin 3 TX), and retransmit it as MIDI through the UART at 31250 baud" will provide a correct Arduino program that accomplishes this task (it's like 11 lines long) along with the instructions to flash it over USB to an Arduino board. The Arduino "MIDI shield" that gives you a proper 5-pin MIDI jack from the Arduino Uno's built-in serial port (UART) is less than $20 on Amazon.? The RS232 board that gives you a regular DB-9 serial port compatible with "SoftSerial" is also under $20 on Amazon (search "Arduino RS232 shield").? Arduino "shield" boards stack on top of one another, so you simply make a small tower stacking these two expansion boards on top of the base Arduino Uno.? The "SoftSerial mode" must be selected on the RS232 board, required to software-emulate a second serial port on the Uno because the only hardware serial port (UART) is tied up generating the MIDI signal. Two minor caveats. The slower baud rate is required for the software serial emulation... it's 100% reliable at low baud rates like this... midi messages are very short... you'll be fine sending 3 bytes at 1200 baud.? Don't increase it.? Second, the MIDI shield must be removed or switched off (if it has a switch) until you complete the USB flashing step, because the USB flashing function requires exclusive use of the internal UART (temporarily at least). Fashioning this adapter, you can then send MIDI messages from a Crestron to your heart's content just by looking up the bytes and putting them in a normal Serial Send SIMPL block.? ChatGPT will even give you the bytes (e.g. "What are the bytes I need to send over Serial to send a "Program Change 5" message on MIDI channel 1?")... Sending raw bytes, you can send program changes, control changes, note messages, SysEx messages...basically anything the MIDI protocol allows.? That's hard to beat! Yeah it's not rtpMIDI, and requires old school cables, but if you get this working, there's a good chance it will run for a decade without a single reboot or failure! |
Re: rtpMIDI
If it were me, for a purpose like this, I would buy an Arduino-type board, put a MIDI adapter on it (such as MIDI FeatherWing), and ask ChatGPT for the code to (as an example) "send program change 5 on channel 1 whenever Arduino pin 12 gets connected to ground".? Then you're not dealing with relying on Windows to stay running, or computers that need updating or rebooting.? Arduinos boot in milliseconds, basically the instant they get power.? Their biggest downside is needing to fashion an appropriate enclosure (though, mounting them with magnets and standoffs inside a metal cabinet often works in a pinch!).
I have gotten some amazing results mixing Arduinos with Crestron.? Crestron can easily signal them via contact closure, or via RS232. I understand if messing with Arduino it's not your cup of tea.? But being built from automotive microcontrollers, Arduinos tend to be bulletproof when used for the right application (especially so when compared to leaving a Windows program running to do an automation job). |
Re: Sony STR-AZ3000ES Integration
Thanks Greg_B, and ckangis,
Odd, that was the first Module I try'd, and the RS232 had been work'n previously, so I was stump'd it wasn't going smooth. So then I invested in Changing to the IP Module.? It did compile and upload correctly after I changed out the SonyAVRWebAPILibrary.clz Thanks both fer yer help. |
Device Control Lag via IP
We're working on a project that we've been seeing noticeable command lag when commands are send via IP to a device (AVpro end-points and Sony TVs(IP control) )
We initially thought it was something with AVpro (IR and serial TV control) most noticeable when ramping volume. Then we set up IP control for a Sony TV, Direct IP from the CP4 and same issue. Debugger shows the commands sending and stopping with the button press/release, but the TVs keep going for 2-3s most times. with serial and IP control, they are getting to the right level that we send them to, but it seems like the commands are getting buffered some where and lazily doled out to the TVs. I tried the code on my bench setup and initially I saw the same issues!! but then of course everything started working as expected and I couldn't get it to mis-behave again - This of course is even worse!!! I still have much to review with the network and other testing, but Has anyone else seen something like this recently??? FYI, I have never had these issues and our code is solid. |
Topics in Home Automation - New Article in Residential Tech Today
The Consumer Electronics Show (CES) is not just a show where new smart home devices are announced by manufacturers.? It is a show where new home health devices are shown for the first time.? Both Withings and NuraLogix have announced new, and innovative, health devices at this year's CES.? My latest article digs into the details of these new products.
You can find the article here: For those interested in earlier articles that I've written, you can find those here: I've found a new site to host my blog so for those that want to see even more content I've written about smart home technology you can find that using the link below. The process of exporting all my old content from Blogger and importing it into WordPress was far from perfect. So there are formatting issues with old posts and images that didn't import. I will see what I can do about correcting some of these issues over time. Thanks |
Re: Sony STR-AZ3000ES Integration
Greg B,
You've used this module successfully in the past for ZA (and AZ other than Vol_FB)? If so, I might try it and customize it (it does way too much!) as it is just S+ and it actually includes the source code!!? What a concept... I've about had it with S# and .PKG stuff... |
Re: Sony STR-AZ3000ES Integration
Yeah, well..
I'm at a service call that I should have left 3 hours ago.? The old AVR was RS232, So I would have liked to use that instead of trying to get a LAN Cable to the Device. WiFi is not connecting (and it scares me to use wifi, when we like RS232 so there are no "Network" issues). However, I had already downloaded the STR_ZAXXv1.1_Archive.Zip that you (ckangis) uploaded th the files section. but when I compile I get a pile of "Newton Jason" Version errors. |
Re: Sony STR-AZ3000ES Integration
I have always used the IP version. Its in the files section -?Sony STR-ZAxx v1.1_archive.zip??
Again, everything works great with the AZ series, except for the volume FB (and a couple secondary commands) I discussed the issue with my inside-crestron buddy, who originally fixed a reconnection issue that I found back at the end of 2015, but he said that even he didn't have access to the source code...Which REALLY bugs me about the way things have gone since then... |