Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: Panasonic AW-HE130
Preset commands are in here too.
#DEFINE_CONSTANT SIZE 12 #CATEGORY "19" // Camera #DEFAULT_VOLATILE #ENABLE_STACK_CHECKING #ENABLE_TRACE #HELP_BEGIN use port 80 put a 1 for IP or rs422 analog inputs for speed are to set a different speed other than default of 15. analog values need to be between 10 to 40 #HELP_END DIGITAL_INPUT??? IP, RS422, _SKIP_; DIGITAL_INPUT??? pan_left,pan_right; //Cam left right DIGITAL_INPUT??? tilt_up,tilt_dn;??? //Cam Up Down DIGITAL_INPUT ??? zoom_in, zoom_out;??? //Cam Zoom DIGITAL_INPUT??? _SKIP_, pwrOn, pwrOff; DIGITAL_INPUT??? _SKIP_, preset[SIZE,SIZE]; ANALOG_INPUT ??? _SKIP_, PanSpeed, TiltSpeed, ZoomSpeed; STRING_OUTPUT??? cmd$; digital_output??? storingPreset; integer temp, pan_spd, tilt_spd, zoom_spd; integer storePreset, currentPreset; function fnStorePreset() { ??? if(IP) ??? ??? makestring(cmd$, "GET /cgi-bin/aw_ptz?cmd=#M%02u&res=1 HTTP/1.0\n\n", currentPreset-1); ??? else if(RS422) ??? ??? makestring(cmd$, "\x23M%02u\x0d", currentPreset-1); } function fnRecallPreset() { ??? if(IP) ??? ??? makestring(cmd$, "GET /cgi-bin/aw_ptz?cmd=#R%02u&res=1 HTTP/1.0\n\n", currentPreset-1); ??? else if(RS422) ??? ??? makestring(cmd$, "\x23R%02u\x0d", currentPreset-1); } ? //////////////////////////////////////////////////////////////////////////////////////////////////// ?????? push pan_left//1:max-49:min { ??? temp=50-pan_spd;??? //left ??? IF(IP) ??? { ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#P%02u&res=1 HTTP/1.0\n\n",temp); ??? } ??? IF(RS422) ??? { ??? ??? makestring(cmd$,"#P%02u\x0d",temp); ??? } ??? wait(200) ??? { ??? ??? temp=45-pan_spd; ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#P%02u&res=1 HTTP/1.0\n\n",temp); ??? } } push pan_right//51:min-99:max { ??? temp=50+pan_spd;??? //Right ??? IF(IP) ??? { ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#P%02u&res=1 HTTP/1.0\n\n",temp); ??? } ??? IF(RS422) ??? { ??? ??? makestring(cmd$,"#P%02u\x0d",temp); ??? } ??? wait(200) ??? { ??? ??? temp=55+pan_spd; ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#P%02u&res=1 HTTP/1.0\n\n",temp); ??? } } release pan_left,pan_right { ??? CancelAllWait(); ??? IF(IP) ??? { ??? ??? cmd$="GET /cgi-bin/aw_ptz?cmd=#P50&res=1 HTTP/1.0\n\n";??? ??? ??? ??? ??? wait(25) cmd$="GET /cgi-bin/aw_ptz?cmd=#P50&res=1 HTTP/1.0\n\n"; ??? ??? //cmd$="GET /cgi-bin/aw_ptz?cmd=#PTS5050&res=1 HTTP/1.0\n\n"; ??? } ??? IF(RS422) ??? { ??? ??? delay(10);??? ??? ??? cmd$="#PTS5050\x0d"; ??? } } ? //////////////////////////////////////////////////////////////////////////////////////////////////// push tilt_up//51:min-99:max { ??? temp=50+tilt_spd;??? //Up ??? IF(IP) ??? { ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#T%02u&res=1 HTTP/1.0\n\n",temp); ??? } ??? IF(RS422) ??? { ??? ??? makestring(cmd$,"#T%02u\x0d",temp); ??? } ??? wait(200) ??? { ??? ??? temp=45-tilt_spd; ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#T%02u&res=1 HTTP/1.0\n\n",temp); ??? } } push tilt_dn//1:max-49:min { ??? temp=50-tilt_spd;??? //Down ??? IF(IP) ??? { ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#T%02u&res=1 HTTP/1.0\n\n",temp); ??? } ??? IF(RS422) ??? { ??? ??? makestring(cmd$,"#T%02u\x0d",temp); ??? } ??? wait(200) ??? { ??? ??? temp=55+tilt_spd; ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#T%02u&res=1 HTTP/1.0\n\n",temp); ??? } } release tilt_up,tilt_dn { ??? CancelAllWait(); ??? IF(IP) ??? { ??? ??? cmd$="GET /cgi-bin/aw_ptz?cmd=#T50&res=1 HTTP/1.0\n\n"; ??? ??? wait(25) cmd$="GET /cgi-bin/aw_ptz?cmd=#T50&res=1 HTTP/1.0\n\n";??? ??? ??? //cmd$="GET /cgi-bin/aw_ptz?cmd=#PTS5050&res=1 HTTP/1.0\n\n"; ??? } ??? IF(RS422) ??? { ??? ??? delay(10);??? ??? ??? cmd$="#PTS5050\x0d"; ??? } } ? ////////////////////////////////////////////////////////////////////////////////////////////////////v push zoom_in//51:min-99:max { ??? integer temp; ??? temp=50+pan_spd;??? //Right ??? IF(IP) ??? { ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#Z%02u&res=1 HTTP/1.0\n\n",temp); ??? } ??? IF(RS422) ??? { ??? ??? makestring(cmd$,"#P%02u\x0d",temp); ??? } } push zoom_out//1:max-49:min { ??? integer temp; ??? temp=50-pan_spd;??? //left ??? IF(IP) ??? { ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#Z%02u&res=1 HTTP/1.0\n\n",temp); ??? } ??? IF(RS422) ??? { ??? ??? makestring(cmd$,"#P%02u\x0d",temp); ??? } } release zoom_in,zoom_out { ??? IF(IP) ??? { ??? ??? cmd$="GET /cgi-bin/aw_ptz?cmd=#Z50&res=1 HTTP/1.0\n\n";??? ??? ??? ??? ??? wait(25) cmd$="GET /cgi-bin/aw_ptz?cmd=#Z50&res=1 HTTP/1.0\n\n"; ??? ??? //cmd$="GET /cgi-bin/aw_ptz?cmd=#PTS5050&res=1 HTTP/1.0\n\n"; ??? } ??? IF(RS422) ??? { ??? ??? delay(10);??? ??? ??? cmd$="#Z50\x0d"; ??? } } //////////////////////////////////////////////////////////////////////////////////////////////////// push preset { ??? currentPreset = GetLastModifiedArrayIndex(); ??? ??? wait(400, storePresetWait) //4s ??? { ??? ??? storePreset = 1; ??? ??? pulse(200, storingPreset); ??? ??? fnStorePreset(); ??? }??? } release preset { ??? CancelWait(storePresetWait); ??? if(!storePreset) ??? ??? fnRecallPreset(); ??? storePreset = 0; } //////////////////////////////////////////////////////////////////////////////////////////////////// push pwrOn {??? ??? IF(IP) ??? { ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#O1&res=1 HTTP/1.0\n\n");??? } ??? IF(RS422) ??? { ??????? makestring(cmd$,"\x23O1\x0D"); ??? } } ???? push pwrOff { ??? IF(IP) ??? { ??? ??? makestring(cmd$,"GET /cgi-bin/aw_ptz?cmd=#O0&res=1 HTTP/1.0\n\n"); ??? } ??? IF(RS422) ??? { ??????? makestring(cmd$,"\x23O0\x0D"); ??? } } ?? Function Main() { ??? WaitForInitializationComplete(); ??? pan_spd = 15; ??? tilt_spd = 15; ??? zoom_spd = 15; } |
Re: Smart Graphics - Button List
The drop-down list was removed some time ago.? You'll need to do it with a subpage. On Wed, Jan 20, 2016 at 9:48 PM, enidsaldin@... [Crestron] <Crestron@...> wrote:
|
Re: IOS Today in Crestron App
¿ªÔÆÌåÓýI'm hoping they get the presses working as well. I've got it setup for some quick common functionality that would be handy to get to without opening the app. Open/Close garage door, turn off all lights or A/V in a room, etc.? If you're just looking for notifications from the system you can use the API and prowl services together to send IOS notifications. I was having some issues with my HVAC a while back and set it up to give me any extreme temp alarms and regular hourly temp updates from 9-5. I've long since fixed the issue but it's been nice for peace of mind to have those alerts coming. On Jan 21, 2016, at 1:32 AM, drabert@... [Crestron] <Crestron@...> wrote:
|
Re: Samsung Bluray IR discrete power on and off code - HELP please
toggle quoted message
Show quoted text
On Jan 20, 2016, at 3:14 PM, kgossen@... [Crestron] <Crestron@...> wrote:
|
Re: Samsung Bluray IR discrete power on and off code - HELP please
There are a number of ways to do this. First, with the BD plugged into power, use the factory remote and see which functions will turn it on. We find the "play" command usually always works.?
Turn on: Stepper: Send Play Delay 1-3 seconds Send Stop Turn off: Stepper: Send Play Delay 3-6 seconds Send Power toggle Either way, if someone had manually pressed the power button on the BD, it will always turn on and turn off.? |
Re: Samsung Bluray IR discrete power on and off code - HELP please
toggle quoted message
Show quoted text
On Jan 20, 2016, at 1:27 PM, kgossen@... [Crestron] <Crestron@...> wrote:
|
Re: SIMPL# Pro and Sonos
David
Hi tzyata, where can I get that sonos module you are refering to? Does it support Pandora or Spotify natively on ProG?On Wed, Jan 20, 2016 at 6:27 AM, tzyata@... [Crestron] <Crestron@...> wrote:
|
Sony VPLFHZ60 RS232?
Has anyone worked with this or the 65 model?? They seem to have a newer protocol than the Sonys I've worked with previously, and while I could probably whip up a module to handle power & input selection easily enough - I also certainly wouldn't mind saving the time if someone else has one written they can share...
Thanks, ? - Chip |
Re: Its time to replace the desktop PC.....
¿ªÔÆÌåÓýNick,
?
I am in the same boat. Have a PC that is 8 years old. Should replace it
before it fails.
?
In response to your questions:
?
I would swap the i5 instead of i7 processor.
32 GB ram will be more than enough.
SSD drive seems OK. The way SSD prices are falling, you may want to think
of getting a larger SSD.
?
Not sure about the graphics card, will watch to see what others say.
?
?
Tray
?
?
? From: mailto:Crestron@...
Sent: Wednesday, January 20, 2016 10:02 AM
To: Crestron@...
Subject: [Crestron] Its time to replace the desktop
PC..... ?
?
Hi Group, I'm now at the stage where I need to replace my desktop PC. Currently I have an HP Core2 Duo 3.00 GHz system with 6GB RAM and an NVIDIA GeForce GTX260 graphics card running two monitors. I use it for programming (Crestron, Lutron, RTI, KNX), , D-Tools, Autocad (not often), and general MS Office stuff. So what sort of spec should I be going for now? I am thinking i7, 32GB RAM, 500GB SSD Drive, and ?? (insert suggestions here) graphics card... I will be running a Philips 40" 4K display (probably in 1440P) and a dell 24" (in portrait mode for emails etc.) Any suggestions as to spec that I should be aware of? i.e. would I be better with an i5 but add more memory or better graphics card? What graphics card is best bang for the buck? What do you guys currently use spec wise that you are happy with. I am happy to spend ?1K - ?2.5K on it but don't want to go overboard spending money on performance that just may not be required for my intended use. TIA - Nick ? |
Re: Voice Recognition is required by Client
¿ªÔÆÌåÓýMy panel thinks someone says OK Crestron about once or twice a night, and it¡¯s usually audio from the TV that does it. Occasionally someone will be talking and the panel will think it heard the key word. ?I thought there was a way to turn down the sensitivity¡. But I haven¡¯t gotten around to looking for it. ? Caleb Radecky |
Manager, Online Products & Services ? From: Crestron@... [mailto:Crestron@...]
Sent: Wednesday, January 20, 2016 10:52 AM To: Crestron@... Subject: [Crestron] Re: Voice Recognition is required by Client ? ? At the Master's class last year they had it programmed to answer to "OK Crestron" (as opposed to "OK Google").? So, you don't have to press a button unless you want to.? Your mileage may vary with how well it works.?
|
Re: Voice Recognition is required by Client
Another +1 for Voice Pod if you don't have internet. It's not Jarvis but it works pretty well once you learn it's phrases. I would LOVE to work with someone on getting the Amazon Echo to play nice with Crestron but you have to setup a server that they play nice with and that seems like more stuff to support than it is worth.
toggle quoted message
Show quoted text
|