@mumblebaj
you can test the following, I couldn’t test this completely but the cors error was gone in my tests.
First yo need to create own certs, go into the config folder of mm (same folder where config.js is located) and run this command:
openssl req -newkey rsa:4096 \
-x509 \
-sha256 \
-days 3650 \
-nodes \
-out example.crt \
-keyout example.key \
-subj "/C=DE/ST=Hessen/L=Frankfurt/O=MagicMirror/OU=MM/CN=www.example.com"
Then edit your config.js and add the following lines under the line with var config = {
electronOptions: {
webPreferences: {
webSecurity: false
}
},
useHttps: true,
httpsPrivateKey: "config/example.key",
httpsCertificate: "config/example.crt",
(Re)Start mm and test if MMM-Hue works now (there will still be a “mixed content” warning).