xLights is a sequencer for Lights. xLights has usb and E1.31 drivers. You can create sequences in this object oriented program. You can create playlists, schedule them, test your hardware, convert between different sequencers.
I am suggesting the following code (or similar) be used to connect to websockets when using the xSchedule Web Interface to determine if a Secure Web Socket is needed vs a standard Web Socket. This is useful is a user is a using a tunneling protocol (Ngrok, Portmap.io, ect.) that is using the HTTPS web protocol to connect to xScheduleWeb.
The following code would need to be implemented in two spaces: The guestbuttons.html page and the webSocket.js file within the xschedule web directory. (and any other files that are using the default url = 'ws://' that I am unaware of)
I am suggesting the following code (or similar) be used to connect to websockets when using the xSchedule Web Interface to determine if a Secure Web Socket is needed vs a standard Web Socket. This is useful is a user is a using a tunneling protocol (Ngrok, Portmap.io, ect.) that is using the HTTPS web protocol to connect to xScheduleWeb.
The following code would need to be implemented in two spaces: The guestbuttons.html page and the webSocket.js file within the xschedule web directory. (and any other files that are using the default
url = 'ws://'
that I am unaware of)