This command should give more information on the PID found:
ps -Flww -p
E.g.
ps -Flww -p 64879
Perhaps there are easier ways, but this should do.
This command should give more information on the PID found:
ps -Flww -p
E.g.
ps -Flww -p 64879
Perhaps there are easier ways, but this should do.
Try this to find out what is using port 5000:
sudo netstat -apln | grep -w 5000
And did you update the bash program?
https://github.com/schris88/MMM-Hoymiles-Wifi?tab=readme-ov-file#enter-dtu-ip-address-of-dtu
The
};
needs to be
},
So a comma iso of a semicolon.
I have almost the exact environment and Raspberry Pi.
I am running MM version 2.33.0, but that should not matter IMHO.
Btw, have 8Gb, and you ?
vcgencmd get_config total_mem
Can you open the RTSP URL in VLC and then open Window - Media Information ?
Then the Codec Details tab and please provide the Codec, Video resolution and Frame rate information.
I have H.264, 2560x1440, 25.
And can you try to change the config to this (add 2 lines):
windows: [
{
windowSize: { width: 990, height: 557 },
windowPosition: { x: 471, y: 20 },
rtspStreamOverTcp: true,
noSound: true,
streams: [
'rtsp://admin:Camadmin@172.16.0.37:554/cam/realmonitor?channel=1&subtype=0'
]
}
]
From looks the RTSP URL you are using a Dahua cam, right ?
Maybe you can try subtype=1 ??
Or another channel perhaps.
I do not know the relation between channels and resolutions.
Try to find a lesser resolution to see if it makes it better.
Also good to know how many other applications are streaming, for example Synology Surveillance Station.
You may have seen this example config.
I am using this for my Axis P1448-LE.
It works okay, but is sometimes lagging, not stuttering.
There is also a section on data gathering:
https://github.com/evroom/MMM-MPlayer?tab=readme-ov-file#data-gathering
You can supply me with this data and your config, then I can have a look at it.
Can you please provide me with the output of:
$ grep Version /home/admin/MagicMirror/modules/MMM-MPlayer/node_helper.js
And the commands found in this section of the README:
https://github.com/evroom/MMM-MPlayer?tab=readme-ov-file#data-gathering
I have a feeling you have placed the config from the old version into the ‘new’ version.
Or in other words: you installed version 2…0.1, without changing the config accordingly, which has changed quite a bit.
See https://github.com/evroom/MMM-MPlayer?tab=readme-ov-file#config-example
You only had to change the 1 into a 0.
Not to move the lines around, especially not the ones with export.
#!/bin/bash
export WAYLAND_DISPLAY=wayland-0
export XDG_RUNTIME_DIR=/run/user/1000
wir-randr --output HDMI-A-1 --on
But you are slowly getting there :-)
Wax on, wax off
Screen on, screen off.
@Sam-0 said in cron job hdmi on and off:
should it be modified in this way?
output HDMI-A-1 --on
Into
output HDMI-A-0 --on
No, like this:
export WAYLAND_DISPLAY=wayland-0
In both scripts.
So as stated before you most probably need to change wayland-1 to wayland-0 in your scripts.
Give it a try.
Furthermore the .lock file may cause a problem, but I guess this will show in your error log.
And temporarily change the times in your cronjob to speed things up a bit.
Waiting till ten and midnight is not really necessary :-)