Hi @randpop,
I’m running this plugin together with the fix by wunderbear and a Unitymedia-Fritzbox 6490 with FritzOS 7.02
fritz_access.py does also work an gives a reasonable output.
Regards
Hi @randpop,
I’m running this plugin together with the fix by wunderbear and a Unitymedia-Fritzbox 6490 with FritzOS 7.02
fritz_access.py does also work an gives a reasonable output.
Regards
I’m just cutting the power of the backlight with a relais and MMM-PIR-Sensor. This way the screen is really black and invisible while it’s up immediatly if the sensor detects motion.
@kai I used it until last year, then this issue occured. Maybe check your logs with
pm2 logs MagicMirror --lines=500
to see if you have the same issue.
@chrisfr1976 You need to set up a Grafana Dashboard based on influx. The discussions in the evcc github (for example here) are a good starting point. Then install MMM-GrafanaChart. Config.js as described in the module documentation:
{
module: 'MMM-GrafanaChart',
position: 'top_left', // This can be any of the regions.
config: {
version: "6", // Only add this line if you are using Grafana verison 6 or greater
id: "V9usrR48j", // Only Mandartory if you are using Grafana verison 6 or greater found after /d/ in the url
host: "solarrouter", //Mandatory. See url when displaying within grafana
port: 3000, // Mandatory.
dashboardname: "pv-ubersicht-mirror", // Mandatory.
orgId: 1, // Mandatory.
panelId: 9, // Mandatory.
from: "now-1d", // use any of grafanas time-range-controls
to: "now", //
width: "100%", // Optional. Default: 100%
height: "100%", // Optional. Default: 100%
scrolling: "no", // Optional. Default: no
refreshInterval: 9000 //Optional. Default: 900 = 1/4 hour
}
},
@chrisfr1976 You need to set up a Grafana Dashboard based on influx. The discussions in the evcc github (for example here) are a good starting point. Then install MMM-GrafanaChart. Config.js as described in the module documentation:
{
module: 'MMM-GrafanaChart',
position: 'top_left', // This can be any of the regions.
config: {
version: "6", // Only add this line if you are using Grafana verison 6 or greater
id: "V9usrR48j", // Only Mandartory if you are using Grafana verison 6 or greater found after /d/ in the url
host: "solarrouter", //Mandatory. See url when displaying within grafana
port: 3000, // Mandatory.
dashboardname: "pv-ubersicht-mirror", // Mandatory.
orgId: 1, // Mandatory.
panelId: 9, // Mandatory.
from: "now-1d", // use any of grafanas time-range-controls
to: "now", //
width: "100%", // Optional. Default: 100%
height: "100%", // Optional. Default: 100%
scrolling: "no", // Optional. Default: no
refreshInterval: 9000 //Optional. Default: 900 = 1/4 hour
}
},
@chrisfr1976 I’m using Grafana and MMM-GrafanaChart to display the data on my mirror.
@HeikoGr Thank you! Works great and saves a lot of space.
@HeikoGr , one addition: until 2023, there was a very compact layout of the module (screenshot still in the readme). Then there was this PR, and the new layout is very space consuming with more then one child/student. Maybe it’s feasible to use both layouts (old and new) by a config switch, but I’m a mechanical engineer, not a programmer… but I could test the modifications.
@HeikoGr Great, it works again. Thanks for your effort!
@karsten13 thanks for the hint, I tried several versions, the issue still persists.
@kai I used it until last year, then this issue occured. Maybe check your logs with
pm2 logs MagicMirror --lines=500
to see if you have the same issue.
@davidboisducafe Thanks. And also still running on my mirror.
@sdetweil I used your script
fixuppm2.sh
when I set up the mirror
Now I modified ~/MagicMirror/installers/mm.sh to
#!/bin/bash
# This file is still here to keep PM2 working on older installations.
cd ~/MagicMirror
source venv/bin/activate
DISPLAY=:0 npm start
but that doesn’t work, error occures again because node_helper doesn’t seem to use the venv.
@sdetweil Thanks, so it should look like this?
#!/bin/bash
# This file is still here to keep PM2 working on older installations.
cd ~/MagicMirror
export PYTHONPATH="/home/pi/venv/bin/python"
DISPLAY=:0 npm start