Read the statement by Michael Teeuw here.
MM to periodically run a python or JS script?
Im still relatively new to the world of Magic Mirror and programming as well. As per topic, I have created a script that generates a JSON file as an output and i would like MM to make use of this output in one of my modules.
is this possible?
I am not sure if you still need it, but just in case:
As far as I know there is the “python-shell” library which lets you do exactly that.
Paul-Vincent Roll used it in his facial recognition module, that’s how I found out.
@zichao92 ah nice, that’s way easier aswell. Thanks for letting me know, might come in handy once!