Thanks for the great software! It works amazingly!
Working with a MagicMirror, I did run into an issue when I set it in HTTPS. In that scenario, AlexaPi was not able to connect to it.
I manage to produce a work around by editing 2 files:
config.yaml
under the group "magicmirror:", I added a new variable _mmsecure that can either be true or false and should have the same value as useHttps in Magicmirror's config.js
mm_secure: true | false
depending on where you installed AlexaPi, you would need to find the file, for the default installation
/opt/AlexaPi/src/alexapi/device_platforms/magicmirrorplatform.py
add:
import ssl
search for _self.hb_timer = self._pconfig['hbtimer'] and append this right under it:
Hi Team,
Thanks for the great software! It works amazingly!
Working with a MagicMirror, I did run into an issue when I set it in HTTPS. In that scenario, AlexaPi was not able to connect to it.
I manage to produce a work around by editing 2 files:
config.yaml under the group "magicmirror:", I added a new variable _mmsecure that can either be true or false and should have the same value as useHttps in Magicmirror's config.js
depending on where you installed AlexaPi, you would need to find the file, for the default installation /opt/AlexaPi/src/alexapi/device_platforms/magicmirrorplatform.py
add:
search for _self.hb_timer = self._pconfig['hbtimer'] and append this right under it:
then change the assignment of the variable "address" to (there are 2 of them, change both):
Finally, you need to append some parameters to the call urlopen() in both ocurrances, to look like this:
And... that should do the trick.
I hope it works for you as it did for me!