@ruffneck2 i don’t know if this change will make it in. I just see that someone submitted the change to be considered.
Read the statement by Michael Teeuw here.
Posts made by sdetweil
-
RE: [MMM-RadioDe] - does not autoplay
-
RE: centering image with a colspan = 2
@wegz15 use the same code u have to make a div object, and then append the image to that, and append the DIV to the dom
var iconCell = document.createElement("tr"); iconCell.colSpan = 3; iconCell.style.textAlign = "center"; iconCell.className = "bright-weather-icon"; row.appendChild(iconCell); var iconDiv = document.createElement("div"); var icon = document.createElement("span"); icon.style.textAlign = "center"; icon.className = "wi-weathericon " + forecast.icon; iconDiv.appendChild(icon); iconcell.appendChild(iconDiv)
-
RE: centering image with a colspan = 2
@wegz15 wrap that cell in a div, which is 3 wide, the center the 2 cell image in the div
-
RE: Magic Mirror Apple MacMini installation guide ?
@drx1984 try this, updated installation script. the original was tied to pi hardware and user pi
from a terminal window
https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer?page=
-
RE: [MMM-RadioDe] - does not autoplay
@ruffneck2 in the update MM uses an upgraded version of the browser that implements a new restriction, use must interact with screen before play is allowed…
fix is to edit the MagicMirror/js/electron.js file and insert the line marked below (approx line 20)
// Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaScript object is garbage collected. let mainWindow; function createWindow() { app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); //< -------- added var electronOptionsDefaults = {
then close and restart mm
i see there is a proposed fix in the next update (July)
-
RE: MM Server Mode in Docker on Raspberry
@Serge ok, so you changed the magicmirror config to use port 80 inside the container
your run command -p should be-p host_port:container_port so -p 80:80
requests to the host port 80 are forwarded to the container port 80
to make sure that MM in the container is working
do
docker inspect 37638fe6e1d0 | grep -i -m 1 \"ipaddress
and look for the ip address assigned to the container
should be"IPAddress": "172.17.0.???
??? is most likely 2
then use your local system browser to go to
http://172.17.0.???:80
skipping the port forwarding
-
RE: Flip vertical orientation
@Madi i think the xrandr command will allow that
-
RE: MM Server Mode in Docker on Raspberry
@Serge said in MM Server Mode in Docker on Raspberry:
docker run -d
–publish 80:8080 \is the container running?
dodocker ps
because the docker run did
docker run -d \ --publish 80:8080 \
the way to access is thru port 80 on the host machine…
(no other app is trying to use port 80 already, right?, webserver)also,
typically --volume doesn’t like relative file system links--volume ~/magic_mirror/config
-
RE: Bluetooth speaker audio not working
@ruhulayaan what modules do you have installed that make sound?