

Since Webpack works with all 3, I’m going to stick with CommonJS (cjs) for now since it’s the easiest to use. Window.bridgeReceiveObjectFromNative = CrComLib.bridgeReceiveObjectFromNative Ĭrestron offers their libraries in 3 flavors: CommonJS, AMD, and UMD. Window.bridgeReceiveStringFromNative = CrComLib.bridgeReceiveStringFromNative Window.bridgeReceiveBooleanFromNative = CrComLib.bridgeReceiveBooleanFromNative

Window.bridgeReceiveIntegerFromNative = CrComLib.bridgeReceiveIntegerFromNative (configuration) Ĭonsole.log('Skipping WebXPanel since running on touchpanel') Add an XPanel 3.0 Crestron HTML5 symbol to IP ID 04.Ĭonsole.log(`WebXPanel version: $`) We’ll modify the SIMPL Windows program we wrote in the last post (since it’s easier to update). Just wanted to throw this in somewhere, especially if you already have the code, you can quickly pull down any updates I’ve made.Īnd if you’re typing in everything by hand, good! That’s the way I learn best (especially when I copy something down wrong). This lets me know my repository is up to date and I’m not going to introduce merge conflicts down the line.

Every time I start a new post, I like to open Git Bash and type: $ git pull Hopefully, you’ve already cloned my GitHub repository and can follow along with actual code. Thus, “allow shared session” needs to be turned on. If we sign into our processor using the same browser session, we should be able to stay logged in. Later, when we try to connect our XPanel, it will fail due to the self-signed certificate and try to redirect us to the sign-in page. If you just did a restore, then you’re back to using the self-signed certificate anyway. Technically, you only need to do this if using a non-CA-signed certificate (such as the default self-signed one). The other setting we need to check is: CP4> webserver allowsharedsession on

You’ll lose all the settings on your controller, though. Type restore in Text Console if you need to go this route. If you see that your trial period has expired, you’ll need to do a factory restore to reset it. Issue the following command: CP4> crestrononetpr This may change in the future, but this seems to be how Crestron allows testing right now.Ĭonnect to your controller using Text Console in Toolbox. This won’t work with VC-4 right now unless you also have Room Licenses in XiO Cloud. At long last, Crestron has an updated XPanel that doesn’t rely on Adobe Flash! Unfortunately, there are some issues surrounding it regarding the licensing, but there is a free 60-day trial period that should hopefully get us through this series of posts! Prerequisitesįirst and foremost, you need an actual 3- or 4-series control system (hardware appliance) to play around with the HTML5 XPanel.
