Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: Server for testing
Upload to the HTML directory on your processor and use that.? Or on Windows, install IIS or use a simple server like? On Fri, Feb 11, 2022 at 2:46 PM Brad Wykoff via <bradwykoff=[email protected]> wrote: What is everyone using as a test server that SimplWindows, S+ and C# can all connect to and retrieve data. Trying not to need to purchase an actual server but more virtual. |
Re: HttpsClient => Content-Length issue
Master He
Hi there, "Now on to the next hurdle: POST request. Based on my tests here, looks like Crestron only sends POST messages with Content-Type: application/x-www-form-urlencoded. It seems to be ignoring the fact that I am trying to send data as?Content-Type:?application/json" You can specify the content type in request header, example code: ? ? ? ? ? ? ? ? HttpsClientRequest request = new HttpsClientRequest(); ? ? ? ? ? ? ? ? request.RequestType = RequestType.Post; ? ? ? ? ? ? ? ? request.Url.Parse(fullUrlString); ? ? ? ? ? ? ? ? request.Header.AddHeader(this.credHeader); ? ? ? ? ? ? ? ? request.Header.AddHeader(new HttpsHeader("Content-Type", "application/json")); Cheers,
On Sunday, February 13, 2022, 06:48:21 p.m. PST, fabiodaubermann <fdaubermann@...> wrote:
Hi Troy and MasterHe,
?
Good points indeed. What you said makes?sense:? a GET request should have no body (if we are to follow the standard).
One of the things that threw me off is the inconsistency on the crestron libraries between http and https. Got me into a rabbit hole.
?
The Http library does add a content-length on a GET request, even though it shouldn't (its a bug! not a feature!)
The Https library does not add a content-length on a GET (It's a feature! Not a bug!) and will even freeze if you try to add one (ok so this one might be a bug! not a feature.)
?
Now on to the next hurdle: POST request. Based on my tests here, looks like Crestron only sends POST messages with Content-Type: application/x-www-form-urlencoded.
It seems to be ignoring the fact that I am trying to send data as?Content-Type:?application/json
I'm wondering if I'm missing something obvious.
?
I updated the sample program (on github)? in case you would like to see what I am referring to.
?
|
Re: HttpsClient => Content-Length issue
Hi Troy and MasterHe,
?
Good points indeed. What you said makes?sense:? a GET request should have no body (if we are to follow the standard).
One of the things that threw me off is the inconsistency on the crestron libraries between http and https. Got me into a rabbit hole.
?
The Http library does add a content-length on a GET request, even though it shouldn't (its a bug! not a feature!)
The Https library does not add a content-length on a GET (It's a feature! Not a bug!) and will even freeze if you try to add one (ok so this one might be a bug! not a feature.)
?
Now on to the next hurdle: POST request. Based on my tests here, looks like Crestron only sends POST messages with Content-Type: application/x-www-form-urlencoded.
It seems to be ignoring the fact that I am trying to send data as?Content-Type:?application/json
I'm wondering if I'm missing something obvious.
?
I updated the sample program (on github)? in case you would like to see what I am referring to.
? |
Re: NVidia Shield control from Crestron
Same here to beta test¡have shield pro 2019 and 2015 connect to DM¡ Em sex., 11 de fev. de 2022 ¨¤s 7:37 PM, <richard.k.mullins@...> escreveu: We (Chowmain Software) have just released a Crestron Home driver which doesn't require any hardware, connects immediately and provides controls for pretty much every app and has a list of apps (with app launching, favourites, etc). |
Re: NVidia Shield control from Crestron
¿ªÔÆÌåÓýIf you need any more testers I will help.Andy On Feb 13, 2022, at 4:05 PM, Albert Cunningham <albertlcunningham@...> wrote:
|
Re: NVidia Shield control from Crestron
¿ªÔÆÌåÓýSame!? Happy to beta test, with both 2017 Pro and 2019 versions. |
Crestron CLW-DIMEX-P questions
Hello,
? ?I have a two-fold question. I have a single button CLW-DIMEX-P installed and my MC3 does see it. 1) How do I raise and lower the light levels using an analog initialize which has a 0% to 100% scale by tens, an analog divmod which takes the result from the analog initialize and makes a quotient (the divisor is set at 1%) ? ? ?I also have an analog equate which takes the quotient from the analog divmod and it makes analog values. I also have a sliding bar under the 0% through 100% buttons.? 2) Or, how can I make lighting presets? Now, I have to add that my knowlegde of Crestron is limited. I wrote my Crestron program looking at Youtube videos :)? Thank you for your assistance, dsmith. |
Re: Mobile Pro G app on iPad - archive download error
Hi Ingrid,
this sounds like an issue with the layout archive, it's either corrupt or what I've seen in the past also it contains umlauts/special characters in filenames and or page/subpage names which newer versions of the Crestron Mobile Pro app has issues with. The reason why its working on your old iPad is that there the layout was downloaded before this issue was introduced.? No matter which of the above is true, you need your integrator to have a look at it. |
Re: Mobile Pro G app on iPad - archive download error
I'm not sure what you are asking. The app is downloading the files from the server. I don't know how the Mobile Pro G app works but it needs the files on the iPad in order to display the Crestron configuration for the end user. (This is not a cloud server it is a local server.)?
I am hoping I will not have to upgrade the whole back-end just so I can use newer iPads. The reason they provide the older Mobile Pro G app is supposed to be for the clients which still have older (like 2012) Crestron installation, right? |
Re: NVidia Shield control from Crestron
¿ªÔÆÌåÓýHi, ? please add me to the list. ? Would be great to get rid of the hard dongles. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von richard.k.mullins@... ? We (Chowmain Software) have just released a Crestron Home driver which doesn't require any hardware, connects immediately and provides controls for pretty much every app and has a list of apps (with app launching, favourites, etc). |
Re: NVidia Shield control from Crestron
I too would like to test for personal use at home.? Please let me know. - Tray On Fri, Feb 11, 2022, 6:11 PM <joshua.p.mckown@...> wrote: I'd be very interested to help beta test. |
Re: NVidia Shield control from Crestron
I'd be very interested to help beta test.
For whatever it's worth, I would only be testing on my system at home; my employer never integrates these things (not very applicable to our clientele). I, on the other hand, use my Shield every day, normally controlled via my Crestron system.? |
Re: NVidia Shield control from Crestron
We (Chowmain Software) have just released a Crestron Home driver which doesn't require any hardware, connects immediately and provides controls for pretty much every app and has a list of apps (with app launching, favourites, etc).
When it came out we were asked for a SIMPL version as well, which we now how in the pipeline. The module itself isn't too hard, but I still have to write licencing code so I don't have an ETA just yet. If anyone wants to help us beta test though I'd love to get some help. Just let me know and I'll add you to the list. |