¿ªÔÆÌåÓý

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

http command works when sent from a browser but not when sent from a Crestron system

 

I'm working with someone in England helping them to control their Hunter Hydrawise irrigation system that is connected to a Hubitat Elevation hub from a Crestron system.? Most of the commands being sent to the Hubitat to control the Hydrawise work fine.? Such as:

[Hubitat IP Address]/apps/api/20/devices/100/open?access_token=[Access Token]

However, I'm having problems with the suspendZone command; which takes a date in the format of yyyy-mm-dd.? The Hydrawise will suspend watering until that date.

The format of the command ends up being:

[Hubitat IP Address]/apps/api/20/devices/100/suspendZone/2021-12-31?access_token=[Access Token]

The strange part is when the person I'm working with sends this particular command from a browser to their Hubitat to control their Hydrawise system they are telling me it works fine.. However, when sent from a Crestron processor to their hubitat they are reporting they get the following error: HttpException: HTTP/1.1 404 Not Found

I've looked at the differences between if the command is sent from a browser to webhooks.site and when the url is sent from a Crestron system to webhooks.site.? I'm not seeing anything that jumps out at me that would stop this from working.

When sent from the Crestron system I'm not setting any http header info.

The browser, on the other hand sets the following:

|connection|close|
|---|---|
|sec-gpc|1|
|accept-language|en-US,en;q=0.9|
|accept-encoding|gzip, deflate|
|accept|text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9|
|user-agent|Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36|
|upgrade-insecure-requests|1|
|dnt|1|
|cache-control|max-age=0|
|host|webhook.site|
|content-length||
|content-type||

Any ideas on what could be different that would keep the Hubitat command from being accepted when sent from the Crestron system would be greatly appreciated.

Thanks in advance for the help

Jay


Re: closing an X-Panel

 

Thanks everyone for the ideas.

It looks like VMK-WIN will do what I need and be the simplest to implement, so I'll start with that.

--- On Saturday, July 31, 2021 at 1:49 PM, Geoffrey Reynolds wrote:

It makes far more sense to use something like EventGhost or MCEController
rather than reinventing the wheel. Both of these can respond to commands via
TCP from the Crestron controller and issue whatever command you need to close
an app or kill the process (much cleaner to close the window; killing a process
should be more of a last resort).


On Sat, Jul 31, 2021 at 1:46 PM, Natalie Jackman wrote:

You could write a server program on your machine running the xpanel that works
over tcp and when you send the command it closes the xpanel.


On Jul 31, 2021, at 12:16 PM, Steve Kuehn <steve@...> wrote:
?> >
You might want to look at:


You will have to write a custom windows program with a communication link to
your processor to do it however. But it should not be too hard to do.


Re: Question: Easy way to convert a Crestron Mobile to Crestron App project??

 

Thanks Zac,
Yes, I missed the Convert to Smart Graphics Button in VTP - After a couple tries, it actually worked pretty good I think.
All the text is microscopic, so there's some work to be done there, but overall it's not terrible, at least not like starting from scratch!!

We're still going to discuss a re-write, but this give me a good option - Thanks for all the quick responses!!


Re: closing an X-Panel

 

It makes far more sense to use something like EventGhost or MCEController rather than reinventing the wheel.? Both of these can respond to commands via TCP from the Crestron controller and issue whatever command you need to close an app or kill the process (much cleaner to close the window; killing a process should be more of a last resort).

Geoff

On Sat, Jul 31, 2021 at 1:46 PM Natalie Jackman <natalie.jackman.1981@...> wrote:
You could write a server program on your machine running the xpanel ?that works over tcp and when you send the command it closes the xpanel.


On Jul 31, 2021, at 12:16 PM, Steve Kuehn <steve@...> wrote:

?You might want to look at:


You will have to write a custom windows program with a communication link to your processor to do it however.? But it should not be too hard to do.


Re: closing an X-Panel

 

¿ªÔÆÌåÓý

You could write a server program on your machine running the xpanel ?that works over tcp and when you send the command it closes the xpanel.


On Jul 31, 2021, at 12:16 PM, Steve Kuehn <steve@...> wrote:

?You might want to look at:


You will have to write a custom windows program with a communication link to your processor to do it however.? But it should not be too hard to do.


Re: Question: Easy way to convert a Crestron Mobile to Crestron App project??

 

¿ªÔÆÌåÓý

Crestron Mobile is the old style of panel and Crestron App is smart graphics. They are not compatible. You will have to make a new panel and design it to emulate the old panel.


On Jul 31, 2021, at 12:11 PM, ckangis <chris@...> wrote:

?Subject says it all!
I have a client that needs to change an existing Crestron Mobile to the Crestron App. I tried doing a 'Save As' and VTPro rejected it...I get it...
Any one have any tricks??

TIA!


Re: Simpl compiled zipped file is missing sgd

 

Is it possible this is happening when the original SGD files were kept in different directory locations?? I know I've had issues with SIMPL complaining if I move around my vtp files when I'm working on them (like when the file names get too long and I have to move to a temp directory), SIMPL may be looking for the SGD files in that original location and can't find them (even though they were pulled into the archive, and they now live in the local directory)?? Is that what's happening when the archive/unarchive process is happening?


Re: Question: Easy way to convert a Crestron Mobile to Crestron App project??

 

There is a way to do it but the result not be anywhere close to what you had and it would only work for smaller projects.? I tried it on one of my larger Crestron Mobile projects and it quickly mushroomed to a file over 30x larger and very quickly crashed my windows machine. At 700mB, you will get an allocation memory error. If that happens, delete unused graphics and delete commented out pages. When project size gets down to 248MB, you will no longer get allocation errors. Plus no Anchor points in Smart Graphics.

So the short answer is no.? You will be better off starting from scratch.


Re: closing an X-Panel

 

You might want to look at:


You will have to write a custom windows program with a communication link to your processor to do it however.? But it should not be too hard to do.


Re: Question: Easy way to convert a Crestron Mobile to Crestron App project??

 

There is a convert to smart graphics option in VT but I never had to use it and I read many comments that it is sometimes better to start fresh.


Question: Easy way to convert a Crestron Mobile to Crestron App project??

 

Subject says it all!
I have a client that needs to change an existing Crestron Mobile to the Crestron App. I tried doing a 'Save As' and VTPro rejected it...I get it...
Any one have any tricks??

TIA!


Re: Audio Technica ATUC-50CU

 

Hello ardmarkus, I have one of these now, did you ever successfully control this Audio Technica piece?


Re: closing an X-Panel

 

I don't know a reserved join but if Xpanel is running on static Windows machine, you can achieve it by other means.?

For example, tcp/ip connection to EventGhost, MCE-controller, or even Crestron's own windows keyboard/mouse emulation (send Alt+F4 or start a script that kills specific task).


closing an X-Panel

 

Does anyone know of a Reserved Join that will close an X-Panel, or a way to do
it from Simpl?

I need a button on an X-Panel running in Kiosk Mode that can be used to close
it. Join 17242 (Enter Setup) works on touchpanels and mobile apps, but doesn't
work on an X-Panel.

Thanks in advance.


Re: Simpl compiled zipped file is missing sgd

 

You can also take the .sgd_ and make a copy, then rename it to the .sgd and all is good.


Re: Simpl compiled zipped file is missing sgd

 
Edited

I opened a ticket for this issue back on 7/23 (210723-000385) thinking it was just me.? Then I started receiving archives from co-workers missing them as well.? The problem follows the program, not the development environment. Per tech support, it seems to only happen when the program contains crosspoints.


Re: Att: Moderators - I'm getting spam emails from Groups.io

 

Thanks, Tony!
I'm sure the member in question has nothing to do with this issue, just some Digital Age snafu...:)


Re: Simpl compiled zipped file is missing sgd

 

Hi Dave H,
?
?
?
I happen to be experiencing this issue on a project I'm working on today. I just opened a case and uploaded the panel, program and CrestronSysInfo.txt
Case number?
Let me know if you can replicate what I'm seeing.


Re: Simpl compiled zipped file is missing sgd

 

Hi Dave,

Okay, at least on the version of SIMPL I am using (not the latest however), there is a .sgd_ file is in the archive.? But when I import the archive (in a different directory), SIMPL saids it cannot find the SGD file.? However, if I then open the "Manage Smart Graphic Extenders", I can then import the .sgd_ file in the archive.? SIMPL then creates an .sgd2 file and all is okay.

In the original directory, there is a .sgd, .sgd_, and .sgd2 file.? If I take the .sgd and .sgd2 files and add them to the archive, SIMPL no longer complains.

When I get a chance, I will spin up another VM with the latest Crestron software and see if the problem persists.? I might note that VTPRO generates a .sgd file only.? I normally move that file to the SIMPL folder and then import it into SIMPL.? I do that because every time I update the VTPRO file, I either update the folder name to include the date in case of iPad/iPhone projects or the file name in the case of something like a TSR310.? If I don't move the .sgd file to the SIMPL folder, SIMPL can no longer find it.

Thanks,
Steve


Re: VTpro compiling project

 

Hey Dave,

I removed and installed the applications according to your suggestions and it did not help the first time.
Another attempt and compilation was successful.

Thanks for your help, although Crestron should improve the app support.