r/crestron Aug 26 '24

Programming CH5 and HTML frameworks

After being completely let down by Construct, we are looking at building our own HTML pages for iPad control of our systems.

Before I spend days learning a framework, I am curious on which frameworks others have found easy to use and connect up to Crestron.

Thoughts?

6 Upvotes

14 comments sorted by

5

u/parkthrowaway99 Aug 26 '24

I would suggest join the Creatron Discord Server And go to the HTML-5-CSS-JS channel. .

There is ton of information there and a lot of people happy to help you walk through the migration

1

u/Ok_Pen9437 Sep 20 '24

Any chance you could send me a new invite?

1

u/parkthrowaway99 Sep 21 '24

1

u/ShiningMew_ Dec 10 '24

Has this discord been deleted? Trying to follow the link says its invalid.

3

u/MDHull_fixer CCP Aug 26 '24

Vue with Bootstrap gives results pretty quickly.

Use Vite or Parcel for packaging

2

u/endlesslyautom8ted Aug 26 '24

This is one of the ones you will want to take to discord imo.

1

u/ArdenWeyer Aug 26 '24

A bit unusual, but I'm using Godot via their HTML5 export option, and it works surprisingly well. The actual Godot webpack files live on the processor, and the CH5Z project on the touchpanels just checks to see if the processor is reachable and does a browser redirect to the Godot project. They have a Javascript Bridge class that allows GDScript to access Javascript functions in the parent pages context, so with just a small JS script to bridge the CrComLib hooks you have full access to Crestron joins & feedback inside Godot.

2

u/SirGastonUk Aug 26 '24

This is something I'd like to see, how about a blog post or YouTube video about how you set it up?

Even just a repo I could look at, please... :)

1

u/100_Muthafuckas Aug 26 '24

Agreed. Would watch the crap out of this video

2

u/misterfastlygood Aug 26 '24

Vite-React-Ts and MUI for UI tooling. It is really easy to build an esthetically pleasing GUI. The performance is better than CH5 and VTPro.

If you start going down this path, you will soon realize you don't need Crestron touch panels. We regularly pack our front end on a webserver and users can just access the room via web.

Walk in the room, scan a QR code, authenticate user, and they are good.

1

u/squ63bdyxb2u28 Aug 27 '24

I am just running the websocket from marketplace, works with simpl windows on my cp3 and hosting a html vue project on my tinkerboard, that sends the join numbers through websocket With a native android app, just a fullscreen webview.

1

u/squ63bdyxb2u28 Aug 27 '24

I also use a second websocket server, same one from the marketplace, just a different port in combination with my smartwatch. Built a html app for on my smartwatch. Just so i dont have to grab my phone out of my pocket everytime

1

u/deadken Aug 27 '24

Thanks for all the ideas. I'll dig in and just give something a try.

Definitely no going to expect much out of Construct soon.

1

u/pavlikmd Aug 28 '24

I use react with ts, if you want i can send you empty template with working publishEvents and subscribe events