Testing now email@example.com on a
Raspberry Pi 4 with
Will report back as soon as I have something
As for the getDom() method: Is this being called separately for every module or called for all modules when one module requests it?
I see I have to dig deeper into the MM core code…
I think I understand (and like!) what you are trying to do, but the downside is that you’re going to create one hell of a file. The module configs are in a lot of cases much bigger than what the module creator suggests users to change. The clock you’ve shown is a very good example.
However, it might lead to a very promising function, so I’d be happy to support.
I would very much like to see the web interface to be limited to layers with a drop-down function
First layer: all installed modules.
Click on a module -> open dropdown with all config parameters for this module.
(Somehow) limit the possibilities to change config options to prevent semantic errors. E.g. for boolean parameters, the user should only be able to switch between true and false. String parameters should be converted to strings automatically. Numbers be parsed to number and so on…
If you create a web interface that gives the user the possibility to easily change config options AND that prevents semantic errors (e.g. by checking the new input instantly).
…then you’re the hero!!
The more I write about it the more I like it…
Is there somethin on github that I can have a look at already?
I really need to get some sleep, but before I’d like to place a question.
Considering I have a module with a .njk template running, I do not understand what function/procedure is called at which point.
I guess there could be some flowchart to visualize. However, I am not sure, e.g. at which points exactly “getTemplateData” is called.
In my module it seems to be called right at the beginning although I have not invoked any getDom or updateDom yet (at least I don’t now of any…).
Hope the problem is understood and happy for any insight.
Also I have recognized that for some modules the start process is called twice and any setTimeout cycle as well.
This at least counts for the
npm start devmode. So you can have e.g a 10 minute cycle calling an api. This is for several modules called twice in the beginning. Is this linked to the two “sockets” being used for the monitor and for an external browser?
@earlman I have to say I really love the grid concept. I have a monitor sitting in the lower right corner of the mirror and a grid design would look much better.
Can you share your main.css or is it on GitHub?
Sorry just saw the latest reply with all the information I needed. Thanks man!!
@MistriHD it is as it is. Ripping is against their eula. Sean is of course right. The songs you download through their app have a protection so you can’t use them elsewhere. If you download and save an mp3 it’s against the terms. Obviously.
And I for myself would never do such thing.