Hello,
I use docker version of MM and want to show a URL with the energy consumption figures of my house.
The URL is shown, but only a small part of it. I added settings in css to change the size of the window, but I want the complete screen(site) to be shown in the window. Is that possible?
The settings for the module in config.js are:
{
module: "MMM-EmbedURL",
position: "bottom_left",
header: "P1 Monitor",
config: {
updateInterval: 120,
embedElementType: "webview",
basicElementType: "div",
embed: [
{
attributes: [
"frameborder=0",
"scrolling=no"
],
embed: [
"http://p1monitor/main-1.php"
]
},
]
},
},
And I made this adjust at the top of the config.js:
let config = {
electronOptions: {
webPreferences: {
webviewTag: true,
},e
},
In custom.css I have added these settings:
.MMM-EmbedURL .embed .embeded {
width: 600px;
}
This is showing on the mirror:
So how can I show the entire site in the window of 600px?
Thanks in advance.
Regards,
Gerben