r/crestron • • 16d ago

Programming Crestron HTML 5

I want to learn crestron html 5

0 Upvotes

25 comments sorted by

19

u/Wafer-Fragrant 16d ago

And you should.

9

u/Separate_Mango4458 16d ago

Yep, just use Vite, React and TS. Nothing special about Crestron's tooling, nor their documentation. A ch5z file is just a zip of the built HTML5 project and some basic metadata. AI could whip you up a vite plugin to create the archive faster than you could even find Crestron's docs. No point in using crcommlib neither, just use a websocket connected back to a C# or Python program on the controller.

2

u/TremorCrush 16d ago

This is the real answer here.

1

u/Vadim-Ch 16d ago

This works well for individual hard to transfer this kind of project to someone else without WYSIWYGs.

Another problem without expertise in web developments folks get heavy projects without standards. And make sense to mention you have to consider to re-create a bicycle, cover everything- protocol, data flow etc ;)

To learn HTML5 is important, use crcomlib efficient, use CH5 get limitations and frustration.

2

u/ToMorrowsEnd CCMP-Platinum + Crestron C# Certified 16d ago

crcromlib and a single Serial join in and out. just pass a json payload and call it done.

I have panels that works fast and flawless on the horribly out of date 60 series out in the wild that the customer did not want to replace.

-1

u/Separate_Mango4458 16d ago

The problem is definitely lack of expertise. Programming in the AV industry is a joke. AV programmers need to be up-skilled into full stack development. Alas vendors like Crestron have to keep their legacy tooling alive and create things like Construct to support people that can't or won't. AMX have seen the light with MUSE. Time to learn real programming folks.

4

u/MadKod3r 16d ago

All this time Function Block Diagram was fake! Someone better tell the PLC community & how are all these elevators, Street lights & manufacturing working? It's that type of elitists thinking that hurts this community.

3

u/ToMorrowsEnd CCMP-Platinum + Crestron C# Certified 16d ago edited 16d ago

A lot of them out here are beyond full stack. Just got to meet a ton of them at masters. and one of the instructors said that the C# Av programmer are beyond full stack and he's right. never ever met a full stack programmer that can write a driver. Hell I interviewed BS in CS C# programmers that had zero clue how to talk to hardware at all. AV programmers need to be BEYOND any silly full stack web jockey.

5

u/Tilimblueintheface 16d ago

Do you currently work for an AV dealer who is a Crestron partner?

1

u/misterfastlygood 16d ago

I agree. I much prefer a React Vite + TS or Svelte UI.

1

u/Miserable-Wear-6183 16d ago

Where I can learn this

1

u/misterfastlygood 16d ago

There is no one place to learn everything. Its a mixture of tools, processes, software packages, workflows, etc.

Vite, React, and Typescript all have amazing documentation, tutorials, and people who post learning content on you tube.

First you, you should have a primer on Node/NPM. I also suggest you use Claude to get a primer on using the Crestron CrComLib and WebXpanel packages.

1

u/torako 16d ago

same. wish it had better documentation.

1

u/Pale-Struggle6595 16d ago

is there any beginner tutorial for this? explaining from beginning to a working UI? i am still clueless about this

2

u/Separate_Mango4458 16d ago

Depends what you mean by beginner? If you're going to stick with SIMPLWindows then there is probably no point. Any beginner course or web site on React and C# (Or Python) and JavaScript/TypeScript is what you need. Breaking away from digital/analog/smart object joins will set you free and you will learn software industry standard languages rather than some vendor's decades old paradigm that does not translate to anything outside their ecosystem.

1

u/ToMorrowsEnd CCMP-Platinum + Crestron C# Certified 16d ago

correct simpl and construct ae designed for each other. you move to C# you should move to writing JS/CSS/HTML because the Construct Contracts are convoluted messes of tightly coupled code.

1

u/Pale-Struggle6595 15d ago

thank you for the insight. i will start to learn from one of the things you said and find the best for me

1

u/Effective-Ad2736 16d ago

https://www.youtube.com/watch?v=HTtsmsX6Jyc I find this in Italian (I'm Italian), I think there is the same in English

1

u/Pale-Struggle6595 15d ago

great thank you!

1

u/pointofgravity 16d ago

That's great.

1

u/AVstudioInc 13d ago

Have you tried AVstudio Editor NG?

https://marketplace.visualstudio.com/items?itemName=AVstudio.avstudio-editor

We combined visual WYSIWYG development with VS Code, Git, and AI integration. No need to be a full-stack developer, but you still have full access to the code.

And yes, it’s completely free!
We’d love your feedback.

-4

u/Haunting_Skin_2564 16d ago

Just use AI to build what you want. Push it to only use crestron libraries when absolutely necessary

-2

u/Effective-Ad2736 16d ago

Use Crestron Construction, there are some video to start to use it