开云体育

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

Re: https Get request through Crestron vs. browser

 

Thank you


Re: DSC PowerSeries Neo

 

Has anyone tested driver with the VC-4-PC-3?


Re: https Get request through Crestron vs. browser

 

开云体育

There are quite a few examples on my GitHub of doing https communications using S#/C# with a product ().? You should be able to simply copy the basic code from one of those to get you started. In this case the specific request setup that I found worked for the national weather service was:

?? ???? ??? ??? request.KeepAlive = false;
?? ???? ??? ??? request.Header.SetHeaderValue("Accept", "text/html");
?? ???? ??? ??? request.Header.SetHeaderValue("Accept-Language", "en-US,en;q=0.9");
?? ???? ??? ??? request.Header.ContentType = "application/json";
?? ???? ??? ??? request.Header.SetHeaderValue("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64");
?? ???? ??? ??? request.RequestType = Crestron.SimplSharp.Net.Https.RequestType.Get;

I'm not sure which ones were critical vs. which ones chrome just included and the nws didn't care about but it worked and that was all that mattered to me.?

Any product that I've written a driver for that communicates with a web service is going to require https.? Ones that have local api's may not.? Also the newer drivers I've written will use newtonsoft for parsing returned json while in older ones I will manually parse the json.

Hope this helps

Jay

On 4/7/2023 11:04 PM, ScubaSteve wrote:

Hi Jay,

how did you get it working? Would love to see the solution. ?Been playing with this on and off when I get time. ?Posted this but no replies as yet.

/g/crestron/message/249489?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2CHttps%2C20%2C2%2C20%2C97628203


Re: https Get request through Crestron vs. browser

 

Hi Jay,

how did you get it working? Would love to see the solution. ?Been playing with this on and off when I get time. ?Posted this but no replies as yet.

/g/crestron/message/249489?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2CHttps%2C20%2C2%2C20%2C97628203


Re: https Get request through Crestron vs. browser

 

开云体育

I got it working.?

Thanks all

Jay

On 4/7/2023 7:01 PM, Crestron_Programmer_84 wrote:

Https requires encryption. You would need to use simpl# for that.?

On Fri, Apr 7, 2023, 7:31 PM jbasen <jay.m.basen@...> wrote:
I'm trying to make an https get request to retrieve some weather
information from the national weather service.? If I paste the url into
the address bar of chrome it works perfectly.? If I make the exact same
https get request through S# (vs2008) on a CP4 I get a response code of
403 - forbidden.

Any ideas on how to get the request to work through a Crestron processor
would be greatly appreciated.

Thanks in advance for the help

Jay







Re: https Get request through Crestron vs. browser

 

Https requires encryption. You would need to use simpl# for that.?


On Fri, Apr 7, 2023, 7:31 PM jbasen <jay.m.basen@...> wrote:
I'm trying to make an https get request to retrieve some weather
information from the national weather service.? If I paste the url into
the address bar of chrome it works perfectly.? If I make the exact same
https get request through S# (vs2008) on a CP4 I get a response code of
403 - forbidden.

Any ideas on how to get the request to work through a Crestron processor
would be greatly appreciated.

Thanks in advance for the help

Jay







Re: https Get request through Crestron vs. browser

 

Using postman can help determine what is needed when making the requests. ?


Re: https Get request through Crestron vs. browser

 

开云体育

Thanks.? I was thinking that was the issue.? But, I know that chrome puts out a lot of header info and I was hoping someone might have an idea on what might be important vs just trying to include everything.

Thanks again

Jay

On 4/7/2023 6:37 PM, cmac_HT wrote:

Are you including all the appropriate header information?
i have done http with both vs2008 and vs2018 with S#Pro and it generally works pretty good. ?

you could use postman to validate your headers and url. ?


Re: https Get request through Crestron vs. browser

 

Are you including all the appropriate header information?
i have done http with both vs2008 and vs2018 with S#Pro and it generally works pretty good. ?

you could use postman to validate your headers and url. ?


https Get request through Crestron vs. browser

 

I'm trying to make an https get request to retrieve some weather information from the national weather service.? If I paste the url into the address bar of chrome it works perfectly.? If I make the exact same https get request through S# (vs2008) on a CP4 I get a response code of 403 - forbidden.

Any ideas on how to get the request to work through a Crestron processor would be greatly appreciated.

Thanks in advance for the help

Jay


Re: HZ-THSTAT SIMPL Feedback

 

I am looking for any feedbacks from the module Crestron HZ-THSTAT Basic Control (ver 1.7) that range from the "AnySpaceSysType_FB"" all the way down to "AutoDeadband_FB". I get no information from any of them. I get feedback from other parts of it and the module is completely connected to the thermostat. I am basically need info on how the thermostat is setup so that the touchscreen knows what to display. It was easy with the CHV module to get those feedbacks.


Re: Needing Suggestions - Connecting multiple buildings with Crestron

 

I’m going to guess that’s a Unicode encoding thing - characters are all 2-byte in Unicode with the high byte (the 2nd byte in little-endian) being zero.

it’s impossible to say more without seeing the code though.


Re: HZ-THSTAT SIMPL Feedback

 


which feedback signals are you looking for?


HZ-THSTAT SIMPL Feedback

 
Edited

I have a existing system with numerous CHV-THSTATs and they are starting to fail in numerous ways so we are switching them out for HZ-THSTATs. When adding them into the existing SIMPL programming most things on the HZ-THSTAT module (version 1.7) are self explanatory and transfer over from the CHV module (old programming that is being removed) but I am getting no feedback from all the setup outputs in the HZ module?(or anything from SLOT6 on the thermostat).?Without that feedback its hard to display the necessary buttons and current state like I did with the CHV module. Does anyone have experience with this type of situation, what am I missing? Thanks in advance!


Re: DSC PowerSeries Neo

 

hopefully this helps

Settings for Simple side are

NEO IP address 0.0.0.0
NEO passcode uses that password string input (from user name and password section user name is blank) - Alarm PIN 4 digits usually
Integration ID =User attribute 1 on module serial input -? number usually looks something like this 221004161323
Intgration Access = User attribute 2 on module serial input -?number usually looks something like this 123467845?
Default Keypad Partition = User attribute 3 on module analog input - usually value of 1

These settings you have to get from the alarm system



path of module I used
\\user\\SecuritySystem_DSC_PowerSeries-Neo_IP.pkg

make sure file is in that folder on processor

with that you just have to make sure the things that are setup on the alarm side are correct as per instructions


Re: Needing Suggestions - Connecting multiple buildings with Crestron

 

I am working on getting others involved so have a discussion with this IT Dept (hopefully get them fired) but in the meantime. I created a Simpl+ UDP module and connected to a XSIG but on Tx side I see \xC0\x05\x00\x04 but on the far side Rx is receiving \xC0\x00\x05\\x00x00\x00\x04\x00 not certain why since the UDP module is from Help file example.


Re: Global Cache

 

Was this using the module or tcp/ip client?


Re: DSC PowerSeries Neo

 

开云体育

This module will not run on 3 series processors, that's what I meant.


On April 7, 2023 4:40:42 AM CDT, "lo via groups.io" <lo@...> wrote:
I'm lost with what you mean by "Neo module is 4 series only?"?

I'm using an AP4, 4 series processor if that's what you mean? It still didn't work.

There's no such thing as DSC Neo 4.x, currently it's v1.1 for it's control panel, thus I'm really not sure what you mean by 4 series. Please enlighten.


Re: TSRs unreachable...Sort of

 

开云体育

Some wifi solutions allow to lock a client device to a dedicated AP.
Perhaps that might be a solution for this issue?

?

Cheers,
Thorsten

?

?

Von: [email protected] <[email protected]> Im Auftrag von ckangis
Gesendet: Freitag, 7. April 2023 16:37
An: [email protected]
Betreff: Re: [crestron] TSRs unreachable...Sort of

?

On Fri, Apr 7, 2023 at 10:25 AM, @johnmax wrote:

Sometimes they latch onto other access points that were once connected

We have been setting up dedicated 2.4g SSIDs on each AP (Crestron-Family, Crestron-MBed, etc.) and then set each TSR to the closest AP. this way they don't roam...That has seemed to work well, though a PITA...

FTR, the issue that I'm noting on this post is that some of these units though pingable and On-line with the processor (i.e. communicating on the network) get in some sort of funky state that won't allow me to manage remotely, requiring the client to manually reboot...


Re: Needing Suggestions - Connecting multiple buildings with Crestron

 

开云体育

?Changing IP/Hostnames every two months is not a security solution.?

Exactly! Actually, it?s pretty ridiculous and seems to be a measure coming from an IT-department that is not quite up-to-date.
However, I guess the problem is that they will most likely not be open to any suggestion coming from an “A/V” guy. But at least asking what?s the rationale behind the requested changes would be a good start.

?

Cheers,
Thorsten

?

Von: [email protected] <[email protected]> Im Auftrag von Neal Fink
Gesendet: Freitag, 7. April 2023 17:04
An: [email protected]
Betreff: Re: [crestron] Needing Suggestions - Connecting multiple buildings with Crestron

?

If IT insists on changing IP and Hostname, you are pretty much stuck. Autodiscovery, as suggested by Lincoln and others is a good alternative to using IP Addressses in IP table. But, that’s no help if hostnames change. Having IT create DNS entries for devices would work, but if they have some odd security requirement to scramble device addresses, they would probably want to change the FQDN as well.

If your IT department is reasonable/cooperative, maybe they can explain the real motivation for making these changes every 2 months. Perhaps there are other options to achieve security requirements without “breaking” all your Crestron systems.?

Depending on their goals, an option (that would also provide actual security) would be to isolate the Crestron devices behind a firewall or use managed switches to create Allow lists to prevent unknown devices from reaching the Crestron processors. “Zero trust” is the current trend in network security. In simple terms, this means nothing can access a device without permission. Changing IP/Hostnames every two months is not a security solution.?