Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: Samsung RS232 Direct Volume commands
¿ªÔÆÌåÓýJust a thought, you could go old skool . . . ? TXA (analog to serial) symbol ? String parameter = \x08\x22\x01\x00\x00? (do not use quotes) ? Volume level is connected to analog input ? Use AOS to generate a pulse on change of volume level, connect to trigger input ? Set format parameter to 258. ? No s+, no PITA, might be too simpl ¡¡¡¡.. ? From: <[email protected]> on behalf of <dontrobthemachina@...> ? Given Jonathons python script, you could use the following to always out the correct string when inputting a volume of 0 - 100: CHANGE VOLUME ? |
Re: Samsung RS232 Direct Volume commands
Given Jonathons python script, you could use the following to always out the correct string when inputting a volume of 0 - 100: CHANGE VOLUME ? |
Re: ONVIF Camera PTZ Control Protocol
This is one of those problems I'd try to solve by using ChatGPT, Raspberry Pi, and Python.? The reason for these is simpl(e): ChatGPT has access to billions of lines of Python code, yet virtually no SIMPL / S+ / S# code, in order to be proficient at giving high quality solutions.? By ChatGPT, I'm referring to the premium version that costs $20/month -- there's a huge quality difference.? ChatGPT will write "hello world" scripts to talk to new hardware and get it about 95% right on the first try, reducing the workload to just filling in that 5% gap.
The basic premise is this:? Can I get ChatGPT to help me write code to get a Raspberry Pi to move that camera the way I'd like?? Generally I can get something new and novel talking in 20 minutes or less to a RasPi, with a fair bit of luck.? When I ask it to write for ONVIF, it already knows how to pull in open-source ONVIF libraries and take advantage of other people's hard work. If I succeed, then it's a simple matter of getting SIMPL to "push the buttons" on that Raspberry Pi over serial or UDP (which works reliably), and then configuring the RasPi to automatically start my middleware upon boot.? Set and forget.? RasPi's weak spots are overheating and corrupting SD cards, both of which are solved just by buying commercial grade (e.g. DIN-rail-mount) RasPi's with inbuilt eMMC memory so that SD cards aren't needed.? Passive cooling works better than fans (because a RasPi with these middleware scripts sits at 0-2% CPU usage all day...they don't generate much CPU heat to need the fan... fans become a mechanical point of failure and I'd like a solution I can set and forget)... |
Re: ONVIF Camera PTZ Control Protocol
Everyone on this tread is asking for a generic ONVIF driver, when I think they should be asking for a Manufacturer specific driver.
I've been using an ICRealtime NVR, and IP module. It actually controls the PTZ cameras better than its own WebGUI. The WebGUI moves it a little roboticly. But when put on the buttons of a HR310, through the module, it drives like an RC Car. |
Re: Samsung RS232 Direct Volume commands
Glad to help. The checksum calculation is a PITA compared to a lot of others, I use this python script for one-off commands:
# Samsung Ex-Link checksum calculator # Jonathan Dean (jonathand@...) # These are some commands VOL_SET_DIRECT = [0x01, 0x00, 0x00] # value is 0x00 to 0x64 POWER_SET = [0x00, 0x00, 0x00] # value is 0x01 for off, 0x02 for on INPUT_HDMI = [0x0A, 0x00, 0x05] # value is 0x00 for HDMI 1, 0x01 for HDMI 2, 0x02 for HDMI 3, 0x03 for HDMI 4 # Set the command you want to use here, either from the predefined ones or build a list of three bytes command = POWER_SET # Set the value you want to use as the argument here value = 2 cmd = [0x08, 0x22, *command, value] cks = (255 - (sum(cmd)) + 1) % 0xff cmd.append(cks) print(f"Checksum is 0x{cks:02X}") print("Full command is " + "".join(f"\\x{x:02X}" for x in cmd)) |
C# Pro Door lock
#programming
#simplsharppro
Does anyone have an example of Home-Connect-DL door lock??
I can't seem to find any info on it. Thanks |
Re: xio cloud deployment steps
I don't feel they did a great job of actually documenting this.
For #2 you are correct, the client needs to create an account then add you as a "Support Provider" under the Settings -> Support Providers tab. You would need to provide them the XIO account number for your companies account that you get by following the XIO cloud link on the crestron home page. I believe this account is auto created for your company. For #1 I would go through the same process to have them create the account then let their trial run out. |
xio cloud deployment steps
I have take all the XiO Cloud courses but have never gone through a formal deployment. I am not clear on the best practice of deploying via XiO Cloud in the following two conditions.
1. Client does no wish to pay for XiO Cloud service but I see benefit of utilizing for quick deployment. Do I simply create a trial version of XiO Cloud, create the rooms, add devices and deploy, and simply let the 60 day trial run up?? 2. If client does wish to pay for service, are they simply adding me (as the programmer etc) to the users of their own person XiO Cloud account (once created after license purchase), which then gives me access to configure the rooms and add as needed? |
Re: Construct and XPanels
I to am dipping my toes into Construct this week. I was sent a test TST-1080 for evaluation and wanted to build out something in Construct before I felt comfortable deploying projects in the wild. I have also had this issue with trying to run an "XPANEL" on my test RMC3 and also my VC4 server. I have been struggling to find any documentation of how to implement ch5z "Xpanels" on processors as well. I am following this topic and hopefully someone with a little more Construct know how hops in.
|
Re: RS-232 codes, macros and Bridge problems with Clipsal control
How you make the first initialization works?
For me I need always to use C-Bus Diagnostic Utility, connect the?c-bus PC5500 and control it there, Once I can control it, I remove the cable connected to my PC and put back the serial from my Crestron processor and its works. but when the unit was powered off, I need to do again this procedure. Is there a string command I need to send for the first initialization?? |