Description: This video shows Crestron programmers a way to control a device via HTTPS from a SIMPL Windows module. The example is based around a Philips Hue bulb and bridge. There are other modules available (free and paid) to control these lights in a more robust way, this video is intended not as a specific solution but rather to outline how you might establish rudimentary control of a device that implemented a basic form of HTTPS.
The Philips Hue V2 API requires HTTPS and when the link button is pressed in the correct sequence, a unique userid is created that we use to make subsequent authenticated requests. Other HTTPS based devices might employ a more robust authentication method with tokens and revocation based on a communication heartbeat; a device like this should really have a custom SIMPL# module created to manage the communication and authentication overhead.
Example code for this project and other Overworked logic videos available for free at https://owl.proavschool.com
Note - In the video, I reference the HTTPS module found in this GitHub repository:
https://github.com/bitm0de/HttpsUtility