MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bill22
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    B
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 1
    • Posts 35
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-NINA

      @Jalibu Danke für die Updates. Funktioniert bei mir auch.

      posted in Utilities
      B
      bill22
    • RE: MMM-NINA

      @Jalibu
      Danke für das Update.
      Ich kann bestätigen das das Filtern (exclude) funktioniert. Meldung erscheint dann nicht mehr.
      Thanks for the update. I can confirm that the filter (exclude) is working for me.

      Das Downgrade der Warnstufe scheint aber immer zu erfolgen. Auswahl funktioniert nicht.
      Downgrade of Warning is applied always. Selection true false does not work.

      downgradeLhpServerity müsste aber ohne das r sein = downgradeLhpSeverity. Vielleicht deshalb.
      Maybe because of typo “r” in Severity.

      @requiemmg
      Exclude:
      Nach ändern in Großschreibung “LHP” und Neustart ging es bei mir.
      After changing to capital “LHP” and restart, it worked for me.

      posted in Utilities
      B
      bill22
    • RE: MMM-NINA

      @Jalibu

      Den Versender zu filtern wäre schon mal eine Möglichkeit.

      Alternativ:
      Hochwasserinformation als (Vor)-Info sehen, bei Gefahr folgt wohl eh eine separate Gefahren-Meldung.
      Zumindest scheint es beim aktuellen ags 065350015015 Beispiel so.

      Falls dem so ist, könnte man als wählbare Option alle (“Severe”) Meldungen, sofern sie vom LHP kommen, vor Ausgabe in “Minor” konvertieren um normal anzuzeigen.

      "headline": "Hochwasserinformation Rheinland-Pfalz",
                      "provider": "LHP",
                      "severity": "Severe", //>>wird automatisch in "Minor" gewandelt
      

      –

      Noch ein anderer Punkt. Siehst Du eine Möglichkeit den Corona Warn Status mit entsprechender aktueller Übersicht und Zusammenfassung anzuzeigen?

      f76f8r64ee867urg6535473684798576.png

      Link zum Beispiel auf BBK Seite

      Geht ja auch per iFrame, schicker wäre es natürlich direkt im Modul…

      posted in Utilities
      B
      bill22
    • RE: MMM-NINA

      @jalibu alles klar, dann bin ich nicht alleine :-) Danke.

      Vielleicht kann man das über das Filtern der verschiedenen BBK Warnstufen abfangen.

      (Auf der Seite findet sich auch ein Bezug auf die entsprechenden DWD Stufen)

      Hochwasserinformationen sollten demnach separat sein.

      posted in Utilities
      B
      bill22
    • RE: MMM-NINA

      Hi @jalibu,

      Thank you for this very useful module!

      I am using v1.3.0 and found that “Warnstufe: Hochwasserinformation” (normally yellow in NINA App) will also be displayed in red, same as severe level “Gefahr”.

      a4g2hg4qfhw8h085587756g745324237.png
      Not sure if this can be filtered differently, I tried to play around with the CSS file but had no luck.

      You may check this actually with referring to:
      ags: “065350015015” with both active notifications

      • “Gefahr” (red)(Jan 4)
      • “Hochwasserinformation” (yellow)
      posted in Utilities
      B
      bill22
    • RE: Control MMM-Podcast2 with MMM-KeyBindings / MMM-Remote-Control

      Hi guys,
      would like to check again if anybody can help on my described topic to trigger the MMM-Podcast2 with the Fire TV Remote?

      Best regards
      Bill

      posted in Troubleshooting
      B
      bill22
    • Control MMM-Podcast2 with MMM-KeyBindings / MMM-Remote-Control

      Hey there,
      wonder if anybody can help me on the following topic:

      I am running MM 2.10 on a Raspberry Pi 3B+ with various modules updated to the last versions.
      So far all good but struggling with the connection between those three modules:

      • MMM-Podcast2
      • MMM-Remote-Control
      • MMM-KeyBindings

      My objective is to start the Podcast with the Amazon Fire TV Remote.

      At the moment i can start/stop the MMM-Podcast2 by sending a command from a browser:

      (Same works with the other controls options for MMM-Remote-Control (Reboot, Shutdown, Toggle Full Screen,…) either with the command line ior the menu displayed by MMM-Remote-Control in a browser )

      Start Podcast:

      192.168.xxx.xxx:xxxx/remote?action=NOTIFICATION&notification=BUTTON_PRESSED
      

      So far i have connected the Fire TV Remote to the Raspberry and it shows “connected” within the Bluetooth Menu on the Desktop.

      Checking in Terminal with:

      ls /dev/input/
      

      shows:
      event0 mice

      cat /proc/bus/input/devices | grep "Name"
      

      says:
      “Amazon Fire TV Remote Keyboard"

      Therefore i haven’t changed anything in the 99-btremote.rules file of the MMM.KeyBindings module:

      SUBSYSTEM=="input", ATTRS{name}=="Amazon Fire TV Remote", ENV{DEVNAME}=="*event*", SYMLINK+="input/btremote"
      

      i can see also the activity from the Fire TV remote while testing in terminal with

      evtest
      

      I have tried several configs but i was unable to locate the correct settings in the config to execute the Podcast trigger.

      As far as i understood, the standard KeyBinding entry should just like this in the MM config to use the Fire TV Remote:

      {
         module: 'MMM-KeyBindings',
          		config: {
              
         
                                }
       },
      

      In addition there should be an additional KeyBinding entry inside the config part of the MMM-RemoteControl, right?
      (As the notification server function has been discontinued inside the KeyBinding part and it is recommended to do that via MMM-Remote-Control…)

      I have checked the forum discussions and found plenty on information how to link an external keyboard as well as switching screen on/off but no direct discussion about the Fire TV remote to trigger something like the podcast via MMM-Remote-Control module.

      Maybe i missed something here but appreciated if someone can point out the right approach/what to add in the config to make it work.

      Bill

      posted in Troubleshooting
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom

      Hi and sorry for the late response.

      Sounds pretty good and promising!

      How do you “rotate” your SAT channels? Does it change based on time (after x seconds)?
      For me it could be good enough to have a few channels to change, of course better to select from a small list.

      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom
      me neither

      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom

      if we could find one, it could be probably used to start/stop the stream. On the other hand it could be an option to define several “stand alone streams” and call those individually. Position of the streams could be even offset to each other…Just a thought…

      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom

      seems to be quite tricky with that stream…

      But thank you for all your efforts so far and again great that we did it at least to run stand alone…!

      You are right, channel changing options seems to be a limitation using avm_stream. I wonder if there is a way of “operating” the avm_stream, at least to switch one particular channel/stream on and off without using the terminal…?

      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom
      omx_stream1 remain online, but the uptime shows 0s only (mm is up for 36 min):

      │ App name    │ id │ version │ mode │ pid   │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
      ├─────────────┼────┼─────────┼──────┼───────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
      │ mm          │ 1  │ N/A     │ fork │ 2976  │ online │ 1       │ 36m    │ 0%  │ 2.3 MB   │ pi   │ disabled │
      │ omx_stream1 │ 0  │ N/A     │ fork │ 10391 │ online │ 1073    │ 0s     │ 0%  │ 2.2 MB   │ pi   │ disabled │
      
      ps -eaf | grep omxplayer | grep -v grep
      
      pi@raspberrypi:~ $ ps -eaf | grep omxplayer | grep -v grep
      pi        1770   820  0 18:17 ?        00:00:04 leafpad /home/pi/omxplayer.log
      pi       13794   781  1 20:05 ?        00:00:00 bash /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25 rtsp://192.168.178.1:554/?avm=1&freq=394&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,266,593,594,595,598,1801,1802,1803
      pi       13823 13794  0 20:05 ?        00:00:00 /usr/bin/omxplayer.bin --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25 rtsp://192.168.178.1:554/?avm=1&freq=394&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,266,593,594,595,598,1801,1802,1803
      pi@raspberrypi:~ $
      

      tried to use

      pstree -ap < pid >
      

      but the PID is constantly changing; therefore no output

      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom

      pi@raspberrypi:~ $ pm2 status
      ┌─────────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
      │ App name    │ id │ version │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
      ├─────────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
      │ mm          │ 1  │ N/A     │ fork │ 2976 │ online │ 1       │ 2m     │ 0%  │ 2.3 MB   │ pi   │ disabled │
      │ omx_stream1 │ 0  │ N/A     │ fork │ 5123 │ online │ 71      │ 1s     │ 0%  │ 2.6 MB   │ pi   │ disabled │
      └─────────────┴────┴─────────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~ $ pm2 status
      ┌─────────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
      │ App name    │ id │ version │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
      ├─────────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
      │ mm          │ 1  │ N/A     │ fork │ 2976 │ online │ 1       │ 4m     │ 0%  │ 2.3 MB   │ pi   │ disabled │
      │ omx_stream1 │ 0  │ N/A     │ fork │ 7749 │ online │ 141     │ 1s     │ 0%  │ 2.5 MB   │ pi   │ disabled │
      └─────────────┴────┴─────────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~ $ pm2 status
      ┌─────────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
      │ App name    │ id │ version │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
      ├─────────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
      │ mm          │ 1  │ N/A     │ fork │ 2976 │ online │ 1       │ 4m     │ 0%  │ 2.3 MB   │ pi   │ disabled │
      │ omx_stream1 │ 0  │ N/A     │ fork │ 7831 │ online │ 143     │ 1s     │ 0%  │ 2.5 MB   │ pi   │ disabled │
      └─────────────┴────┴─────────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
      
      pi@raspberrypi:~ $ pstree -ap `pgrep omxplayer | head -1`; pstree -ap `pm2 status | grep omx_stream1 | awk '{print $10}'`
      systemd,1 splash
        ├─PM2 v3.5.1: God,781      
        │   ├─bash,2976 /home/pi/mm.sh
        │   │   └─npm,2977                    
        │   │       ├─sh,2991 -c sh run-start.sh
        │   │       │   └─sh,2992 run-start.sh
        │   │       │       └─node,2993 /home/pi/MagicMirror/node_modules/.bin/electron js/electron.js
        │   │       │           ├─electron,3000
        │   │       │           │   ├─electron,3002
        │   │       │           │   │   └─electron,3039
        │   │       │           │   │       ├─{Chrome_ChildIOT},3045
        │   │       │           │   │       ├─{CompositorTileW},3049
        │   │       │           │   │       ├─{CompositorTileW},3050
        │   │       │           │   │       ├─{CompositorTileW},3051
        │   │       │           │   │       ├─{Compositor},3048
        │   │       │           │   │       ├─{File thread},3047
        │   │       │           │   │       ├─{GpuMemoryThread},3046
        │   │       │           │   │       ├─{ScriptStreamer },3071
        │   │       │           │   │       ├─{TaskSchedulerBa},3041
        │   │       │           │   │       ├─{TaskSchedulerBa},3042
        │   │       │           │   │       ├─{TaskSchedulerFo},3043
        │   │       │           │   │       ├─{TaskSchedulerFo},3044
        │   │       │           │   │       ├─{TaskSchedulerFo},7868
        │   │       │           │   │       ├─{TaskSchedulerSe},3040
        │   │       │           │   │       └─{electron},3065
        │   │       │           │   ├─electron,3036
        │   │       │           │   │   ├─{Chrome_ChildIOT},3063
        │   │       │           │   │   ├─{TaskSchedulerBa},3059
        │   │       │           │   │   ├─{TaskSchedulerBa},3060
        │   │       │           │   │   ├─{TaskSchedulerFo},3061
        │   │       │           │   │   ├─{TaskSchedulerFo},3062
        │   │       │           │   │   ├─{TaskSchedulerSe},3058
        │   │       │           │   │   ├─{Watchdog},3057
        │   │       │           │   │   ├─{llvmpipe-0},3053
        │   │       │           │   │   ├─{llvmpipe-1},3054
        │   │       │           │   │   ├─{llvmpipe-2},3055
        │   │       │           │   │   └─{llvmpipe-3},3056
        │   │       │           │   ├─{AudioThread},3033
        │   │       │           │   ├─{CacheThread_Blo},3038
        │   │       │           │   ├─{Chrome_IOThread},3017
        │   │       │           │   ├─{CompositorTileW},3032
        │   │       │           │   ├─{CrShutdownDetec},3021
        │   │       │           │   ├─{D-Bus thread},3019
        │   │       │           │   ├─{NetworkChangeNo},3018
        │   │       │           │   ├─{TaskSchedulerBa},3023
        │   │       │           │   ├─{TaskSchedulerBa},3024
        │   │       │           │   ├─{TaskSchedulerFo},3025
        │   │       │           │   ├─{TaskSchedulerFo},3067
        │   │       │           │   ├─{TaskSchedulerFo},8081
        │   │       │           │   ├─{TaskSchedulerSe},3022
        │   │       │           │   ├─{TaskSchedulerSi},3030
        │   │       │           │   ├─{TaskSchedulerSi},3031
        │   │       │           │   ├─{TaskSchedulerSi},3073
        │   │       │           │   ├─{electron},3008
        │   │       │           │   ├─{electron},3009
        │   │       │           │   ├─{electron},3010
        │   │       │           │   ├─{electron},3011
        │   │       │           │   ├─{electron},3013
        │   │       │           │   ├─{electron},3014
        │   │       │           │   ├─{electron},3015
        │   │       │           │   ├─{electron},3016
        │   │       │           │   ├─{electron},3034
        │   │       │           │   ├─{gdbus},3007
        │   │       │           │   ├─{gmain},3006
        │   │       │           │   ├─{inotify_reader},3020
        │   │       │           │   └─{sandbox_ipc_thr},3001
        │   │       │           ├─{node},2994
        │   │       │           ├─{node},2995
        │   │       │           ├─{node},2996
        │   │       │           ├─{node},2997
        │   │       │           ├─{node},2998
        │   │       │           └─{node},2999
        │   │       ├─{node},2978
        │   │       ├─{node},2979
        │   │       ├─{node},2980
        │   │       ├─{node},2981
        │   │       ├─{node},2982
        │   │       ├─{node},2983
        │   │       ├─{npm},2986
        │   │       ├─{npm},2987
        │   │       ├─{npm},2988
        │   │       └─{npm},2989
        │   ├─bash,8279 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
        │   ├─{PM2 v3.5.1: God},916
        │   ├─{PM2 v3.5.1: God},917
        │   ├─{PM2 v3.5.1: God},918
        │   ├─{PM2 v3.5.1: God},919
        │   ├─{node},784
        │   ├─{node},785
        │   ├─{node},786
        │   ├─{node},787
        │   ├─{node},788
        │   └─{node},789
        ├─agetty,502 --noclear tty1 linux
        ├─avahi-daemon,364
        │   └─avahi-daemon,386
        ├─bluealsa,607
        │   ├─{bactl},633
        │   ├─{gdbus},635
        │   └─{gmain},634
        ├─bluetoothd,558
        ├─cron,358 -f
        ├─dbus-daemon,365 --system --address=systemd: --nofork --nopidfile --systemd-activation
        ├─dbus-daemon,968 --fork --print-address 5 --print-pid 6 --session
        ├─dhcpcd,413 -q -b
        ├─hciattach,539 /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:fc:c6:fc
        ├─lightdm,449
        │   ├─Xorg,511 :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
        │   │   ├─{InputThread},653
        │   │   ├─{llvmpipe-0},645
        │   │   ├─{llvmpipe-1},646
        │   │   ├─{llvmpipe-2},647
        │   │   └─{llvmpipe-3},648
        │   ├─lightdm,656 --session-child 14 17
        │   │   ├─lxsession,672 -s LXDE-pi -e LXDE
        │   │   │   ├─lxpanel,817 --profile LXDE-pi
        │   │   │   │   ├─chromium-browse,1784
        │   │   │   │   │   ├─chromium-browse,1805
        │   │   │   │   │   │   └─chromium-browse,1808
        │   │   │   │   │   │       ├─chromium-browse,1967
        │   │   │   │   │   │       │   ├─{Chrome_ChildIOT},1980
        │   │   │   │   │   │       │   ├─{CompositorTileW},2029
        │   │   │   │   │   │       │   ├─{CompositorTileW},2030
        │   │   │   │   │   │       │   ├─{CompositorTileW},2031
        │   │   │   │   │   │       │   ├─{Compositor},2024
        │   │   │   │   │   │       │   ├─{Font_Proxy_Thre},1984
        │   │   │   │   │   │       │   ├─{GpuMemoryThread},1983
        │   │   │   │   │   │       │   ├─{TaskSchedulerFo},1979
        │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2830
        │   │   │   │   │   │       │   └─{TaskSchedulerSe},1976
        │   │   │   │   │   │       └─chromium-browse,2050
        │   │   │   │   │   │           ├─{Chrome_ChildIOT},2054
        │   │   │   │   │   │           ├─{CompositorTileW},2058
        │   │   │   │   │   │           ├─{CompositorTileW},2059
        │   │   │   │   │   │           ├─{CompositorTileW},2060
        │   │   │   │   │   │           ├─{Compositor},2057
        │   │   │   │   │   │           ├─{Font_Proxy_Thre},2056
        │   │   │   │   │   │           ├─{GpuMemoryThread},2055
        │   │   │   │   │   │           ├─{Media},2463
        │   │   │   │   │   │           ├─{MemoryInfra},2104
        │   │   │   │   │   │           ├─{ScriptStreamer },2088
        │   │   │   │   │   │           ├─{TaskSchedulerFo},2053
        │   │   │   │   │   │           ├─{TaskSchedulerFo},2958
        │   │   │   │   │   │           ├─{TaskSchedulerFo},6650
        │   │   │   │   │   │           ├─{TaskSchedulerFo},7786
        │   │   │   │   │   │           └─{TaskSchedulerSe},2051
        │   │   │   │   │   ├─chromium-browse,1837
        │   │   │   │   │   │   ├─{Chrome_ChildIOT},1899
        │   │   │   │   │   │   ├─{TaskSchedulerFo},1897
        │   │   │   │   │   │   ├─{TaskSchedulerFo},1898
        │   │   │   │   │   │   ├─{TaskSchedulerSe},1896
        │   │   │   │   │   │   ├─{Watchdog},1895
        │   │   │   │   │   │   ├─{llvmpipe-0},1890
        │   │   │   │   │   │   ├─{llvmpipe-1},1891
        │   │   │   │   │   │   ├─{llvmpipe-2},1892
        │   │   │   │   │   │   └─{llvmpipe-3},1893
        │   │   │   │   │   ├─{AudioThread},1831
        │   │   │   │   │   ├─{Bluez D-Bus thr},1822
        │   │   │   │   │   ├─{BrowserWatchdog},1838
        │   │   │   │   │   ├─{CacheThread_Blo},1834
        │   │   │   │   │   ├─{Chrome_HistoryT},1889
        │   │   │   │   │   ├─{Chrome_IOThread},1815
        │   │   │   │   │   ├─{CompositorTileW},1830
        │   │   │   │   │   ├─{CrShutdownDetec},1823
        │   │   │   │   │   ├─{LevelDBEnv},2146
        │   │   │   │   │   ├─{NetworkChangeNo},1821
        │   │   │   │   │   ├─{TaskSchedulerFo},2044
        │   │   │   │   │   ├─{TaskSchedulerFo},2671
        │   │   │   │   │   ├─{TaskSchedulerFo},2832
        │   │   │   │   │   ├─{TaskSchedulerFo},7990
        │   │   │   │   │   ├─{TaskSchedulerSe},1810
        │   │   │   │   │   ├─{TaskSchedulerSi},1833
        │   │   │   │   │   ├─{TaskSchedulerSi},1835
        │   │   │   │   │   ├─{TaskSchedulerSi},1888
        │   │   │   │   │   ├─{TaskSchedulerSi},1894
        │   │   │   │   │   ├─{chromium-browse},1809
        │   │   │   │   │   ├─{extension_crash},1966
        │   │   │   │   │   ├─{gdbus},1820
        │   │   │   │   │   ├─{gmain},1819
        │   │   │   │   │   ├─{gpu-process_cra},1836
        │   │   │   │   │   ├─{inotify_reader},1814
        │   │   │   │   │   ├─{renderer_crash_},1904
        │   │   │   │   │   └─{sandbox_ipc_thr},1803
        │   │   │   │   ├─lxterminal,2945
        │   │   │   │   │   ├─bash,2947
        │   │   │   │   │   │   └─pstree,8300 -ap
        │   │   │   │   │   ├─gnome-pty-helpe,2946
        │   │   │   │   │   ├─{gdbus},2955
        │   │   │   │   │   └─{gmain},2948
        │   │   │   │   ├─oosplash,2160 --writer
        │   │   │   │   │   ├─soffice.bin,2178 --writer --splash-pipe=5
        │   │   │   │   │   │   ├─{PipeIPC},2188
        │   │   │   │   │   │   ├─{SelectionManage},2193
        │   │   │   │   │   │   ├─{gdbus},2191
        │   │   │   │   │   │   ├─{gmain},2190
        │   │   │   │   │   │   ├─{rtl_cache_wsupd},2182
        │   │   │   │   │   │   ├─{soffice.bin},2197
        │   │   │   │   │   │   ├─{soffice.bin},2198
        │   │   │   │   │   │   ├─{soffice.bin},2199
        │   │   │   │   │   │   ├─{soffice.bin},2200
        │   │   │   │   │   │   ├─{soffice.bin},2201
        │   │   │   │   │   │   ├─{soffice.bin},2202
        │   │   │   │   │   │   ├─{soffice.bin},2203
        │   │   │   │   │   │   └─{soffice.bin},2204
        │   │   │   │   │   ├─{osl_executeProc},2177
        │   │   │   │   │   └─{rtl_cache_wsupd},2172
        │   │   │   │   ├─(sh,864)
        │   │   │   │   ├─{gdbus},844
        │   │   │   │   ├─{gmain},843
        │   │   │   │   └─{menu-cache-io},921
        │   │   │   ├─lxpolkit,809
        │   │   │   │   ├─{gdbus},832
        │   │   │   │   └─{gmain},831
        │   │   │   ├─openbox,807 --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
        │   │   │   ├─pcmanfm,820 --desktop --profile LXDE-pi
        │   │   │   │   ├─leafpad,1770 /home/pi/omxplayer.log
        │   │   │   │   │   ├─{gdbus},1772
        │   │   │   │   │   └─{gmain},1771
        │   │   │   │   ├─leafpad,2133 /home/pi/.npm/_logs/2019-07-11T21_30_10_606Z-debug.log
        │   │   │   │   │   ├─{gdbus},2135
        │   │   │   │   │   └─{gmain},2134
        │   │   │   │   ├─{gdbus},846
        │   │   │   │   └─{gmain},845
        │   │   │   ├─ssh-agent,778 x-session-manager
        │   │   │   ├─{gdbus},791
        │   │   │   └─{gmain},790
        │   │   ├─{gdbus},660
        │   │   └─{gmain},659
        │   ├─{gdbus},453
        │   └─{gmain},451
        ├─menu-cached,853 /run/user/1000/menu-cached-:0
        │   ├─{gdbus},856
        │   └─{gmain},855
        ├─polkitd,835 --no-debug
        │   ├─{gdbus},840
        │   └─{gmain},838
        ├─rngd,409 -r /dev/hwrng
        │   ├─{rngd},410
        │   ├─{rngd},411
        │   └─{rngd},412
        ├─rsyslogd,359 -n
        │   ├─{in:imklog},389
        │   ├─{in:imuxsock},388
        │   └─{rs:main Q:Reg},390
        ├─ssh-agent,830 -s
        ├─systemd,664 --user
        │   ├─(sd-pam),667         
        │   ├─dbus-daemon,681 --session --address=systemd: --nofork --nopidfile --systemd-activation
        │   ├─gvfs-afc-volume,888
        │   │   ├─{gdbus},892
        │   │   ├─{gmain},890
        │   │   └─{gvfs-afc-volume},889
        │   ├─gvfs-goa-volume,880
        │   │   ├─{gdbus},882
        │   │   └─{gmain},881
        │   ├─gvfs-gphoto2-vo,876
        │   │   ├─{gdbus},879
        │   │   └─{gmain},877
        │   ├─gvfs-mtp-volume,884
        │   │   ├─{gdbus},887
        │   │   └─{gmain},885
        │   ├─gvfs-udisks2-vo,857
        │   │   ├─{gdbus},863
        │   │   └─{gmain},862
        │   ├─gvfsd,792
        │   │   ├─{gdbus},794
        │   │   └─{gmain},793
        │   ├─gvfsd-fuse,797 /run/user/1000/gvfs -f -o big_writes
        │   │   ├─{gdbus},814
        │   │   ├─{gmain},813
        │   │   ├─{gvfs-fuse-sub},821
        │   │   ├─{gvfsd-fuse},811
        │   │   └─{gvfsd-fuse},812
        │   └─gvfsd-trash,930 --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
        │       ├─{gdbus},933
        │       └─{gmain},932
        ├─systemd-journal,103
        ├─systemd-logind,361
        ├─systemd-timesyn,324
        │   └─{sd-resolve},360
        ├─systemd-udevd,137
        ├─thd,395 --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
        ├─udisksd,869 --no-debug
        │   ├─{cleanup},874
        │   ├─{gdbus},872
        │   ├─{gmain},870
        │   └─{probing-thread},873
        ├─wpa_supplicant,400 -u -s -O /run/wpa_supplicant
        └─wpa_supplicant,457 -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
      bash,8330 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
        └─bash,8340 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
            └─node,8341 /home/pi/MagicMirror/node_modules/.bin/which xset
                ├─{node},8342
                ├─{node},8343
                ├─{node},8344
                ├─{node},8345
                ├─{node},8346
                └─{node},8347
      
      
      
      pi@raspberrypi:~ $ pstree -ap `pgrep omxplayer | head -1`; pstree -ap `pm2 status | grep omx_stream1 | awk '{print $10}'`
      systemd,1 splash
        ├─PM2 v3.5.1: God,781      
        │   ├─bash,2976 /home/pi/mm.sh
        │   │   └─npm,2977                    
        │   │       ├─sh,2991 -c sh run-start.sh
        │   │       │   └─sh,2992 run-start.sh
        │   │       │       └─node,2993 /home/pi/MagicMirror/node_modules/.bin/electron js/electron.js
        │   │       │           ├─electron,3000
        │   │       │           │   ├─electron,3002
        │   │       │           │   │   └─electron,3039
        │   │       │           │   │       ├─{Chrome_ChildIOT},3045
        │   │       │           │   │       ├─{CompositorTileW},3049
        │   │       │           │   │       ├─{CompositorTileW},3050
        │   │       │           │   │       ├─{CompositorTileW},3051
        │   │       │           │   │       ├─{Compositor},3048
        │   │       │           │   │       ├─{File thread},3047
        │   │       │           │   │       ├─{GpuMemoryThread},3046
        │   │       │           │   │       ├─{ScriptStreamer },3071
        │   │       │           │   │       ├─{TaskSchedulerBa},3041
        │   │       │           │   │       ├─{TaskSchedulerBa},3042
        │   │       │           │   │       ├─{TaskSchedulerFo},3044
        │   │       │           │   │       ├─{TaskSchedulerFo},8553
        │   │       │           │   │       ├─{TaskSchedulerSe},3040
        │   │       │           │   │       └─{electron},3065
        │   │       │           │   ├─electron,3036
        │   │       │           │   │   ├─{Chrome_ChildIOT},3063
        │   │       │           │   │   ├─{TaskSchedulerBa},3059
        │   │       │           │   │   ├─{TaskSchedulerBa},3060
        │   │       │           │   │   ├─{TaskSchedulerFo},3061
        │   │       │           │   │   ├─{TaskSchedulerFo},3062
        │   │       │           │   │   ├─{TaskSchedulerSe},3058
        │   │       │           │   │   ├─{Watchdog},3057
        │   │       │           │   │   ├─{llvmpipe-0},3053
        │   │       │           │   │   ├─{llvmpipe-1},3054
        │   │       │           │   │   ├─{llvmpipe-2},3055
        │   │       │           │   │   └─{llvmpipe-3},3056
        │   │       │           │   ├─{AudioThread},3033
        │   │       │           │   ├─{CacheThread_Blo},3038
        │   │       │           │   ├─{Chrome_IOThread},3017
        │   │       │           │   ├─{CompositorTileW},3032
        │   │       │           │   ├─{CrShutdownDetec},3021
        │   │       │           │   ├─{D-Bus thread},3019
        │   │       │           │   ├─{NetworkChangeNo},3018
        │   │       │           │   ├─{TaskSchedulerBa},3023
        │   │       │           │   ├─{TaskSchedulerBa},3024
        │   │       │           │   ├─{TaskSchedulerFo},3025
        │   │       │           │   ├─{TaskSchedulerFo},3067
        │   │       │           │   ├─{TaskSchedulerSe},3022
        │   │       │           │   ├─{TaskSchedulerSi},3030
        │   │       │           │   ├─{TaskSchedulerSi},3031
        │   │       │           │   ├─{TaskSchedulerSi},3073
        │   │       │           │   ├─{electron},3008
        │   │       │           │   ├─{electron},3009
        │   │       │           │   ├─{electron},3010
        │   │       │           │   ├─{electron},3011
        │   │       │           │   ├─{electron},3013
        │   │       │           │   ├─{electron},3014
        │   │       │           │   ├─{electron},3015
        │   │       │           │   ├─{electron},3016
        │   │       │           │   ├─{electron},3034
        │   │       │           │   ├─{gdbus},3007
        │   │       │           │   ├─{gmain},3006
        │   │       │           │   ├─{inotify_reader},3020
        │   │       │           │   └─{sandbox_ipc_thr},3001
        │   │       │           ├─{node},2994
        │   │       │           ├─{node},2995
        │   │       │           ├─{node},2996
        │   │       │           ├─{node},2997
        │   │       │           ├─{node},2998
        │   │       │           └─{node},2999
        │   │       ├─{node},2978
        │   │       ├─{node},2979
        │   │       ├─{node},2980
        │   │       ├─{node},2981
        │   │       ├─{node},2982
        │   │       ├─{node},2983
        │   │       ├─{npm},2986
        │   │       ├─{npm},2987
        │   │       ├─{npm},2988
        │   │       └─{npm},2989
        │   ├─bash,10219 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
        │   │   └─bash,10221 /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 361, 1018, 603 --live --video_queue 4 --audio_queue 4 --fps 25...
        │   │       └─node,10222 /home/pi/MagicMirror/node_modules/.bin/which fbset
        │   │           ├─{node},10223
        │   │           ├─{node},10224
        │   │           ├─{node},10225
        │   │           ├─{node},10226
        │   │           ├─{node},10227
        │   │           └─{node},10231
        │   ├─{PM2 v3.5.1: God},916
        │   ├─{PM2 v3.5.1: God},917
        │   ├─{PM2 v3.5.1: God},918
        │   ├─{PM2 v3.5.1: God},919
        │   ├─{node},784
        │   ├─{node},785
        │   ├─{node},786
        │   ├─{node},787
        │   ├─{node},788
        │   └─{node},789
        ├─agetty,502 --noclear tty1 linux
        ├─avahi-daemon,364
        │   └─avahi-daemon,386
        ├─bluealsa,607
        │   ├─{bactl},633
        │   ├─{gdbus},635
        │   └─{gmain},634
        ├─bluetoothd,558
        ├─cron,358 -f
        ├─dbus-daemon,365 --system --address=systemd: --nofork --nopidfile --systemd-activation
        ├─dbus-daemon,968 --fork --print-address 5 --print-pid 6 --session
        ├─dhcpcd,413 -q -b
        ├─hciattach,539 /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:fc:c6:fc
        ├─lightdm,449
        │   ├─Xorg,511 :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
        │   │   ├─{InputThread},653
        │   │   ├─{llvmpipe-0},645
        │   │   ├─{llvmpipe-1},646
        │   │   ├─{llvmpipe-2},647
        │   │   └─{llvmpipe-3},648
        │   ├─lightdm,656 --session-child 14 17
        │   │   ├─lxsession,672 -s LXDE-pi -e LXDE
        │   │   │   ├─lxpanel,817 --profile LXDE-pi
        │   │   │   │   ├─chromium-browse,1784
        │   │   │   │   │   ├─chromium-browse,1805
        │   │   │   │   │   │   └─chromium-browse,1808
        │   │   │   │   │   │       ├─chromium-browse,1967
        │   │   │   │   │   │       │   ├─{Chrome_ChildIOT},1980
        │   │   │   │   │   │       │   ├─{CompositorTileW},2029
        │   │   │   │   │   │       │   ├─{CompositorTileW},2030
        │   │   │   │   │   │       │   ├─{CompositorTileW},2031
        │   │   │   │   │   │       │   ├─{Compositor},2024
        │   │   │   │   │   │       │   ├─{Font_Proxy_Thre},1984
        │   │   │   │   │   │       │   ├─{GpuMemoryThread},1983
        │   │   │   │   │   │       │   ├─{TaskSchedulerFo},1979
        │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2830
        │   │   │   │   │   │       │   └─{TaskSchedulerSe},1976
        │   │   │   │   │   │       └─chromium-browse,2050
        │   │   │   │   │   │           ├─{Chrome_ChildIOT},2054
        │   │   │   │   │   │           ├─{CompositorTileW},2058
        │   │   │   │   │   │           ├─{CompositorTileW},2059
        │   │   │   │   │   │           ├─{CompositorTileW},2060
        │   │   │   │   │   │           ├─{Compositor},2057
        │   │   │   │   │   │           ├─{Font_Proxy_Thre},2056
        │   │   │   │   │   │           ├─{GpuMemoryThread},2055
        │   │   │   │   │   │           ├─{Media},2463
        │   │   │   │   │   │           ├─{MemoryInfra},2104
        │   │   │   │   │   │           ├─{ScriptStreamer },2088
        │   │   │   │   │   │           ├─{TaskSchedulerFo},2053
        │   │   │   │   │   │           ├─{TaskSchedulerFo},2958
        │   │   │   │   │   │           ├─{TaskSchedulerFo},6650
        │   │   │   │   │   │           └─{TaskSchedulerSe},2051
        │   │   │   │   │   ├─chromium-browse,1837
        │   │   │   │   │   │   ├─{Chrome_ChildIOT},1899
        │   │   │   │   │   │   ├─{TaskSchedulerFo},1897
        │   │   │   │   │   │   ├─{TaskSchedulerFo},1898
        │   │   │   │   │   │   ├─{TaskSchedulerSe},1896
        │   │   │   │   │   │   ├─{Watchdog},1895
        │   │   │   │   │   │   ├─{llvmpipe-0},1890
        │   │   │   │   │   │   ├─{llvmpipe-1},1891
        │   │   │   │   │   │   ├─{llvmpipe-2},1892
        │   │   │   │   │   │   └─{llvmpipe-3},1893
        │   │   │   │   │   ├─{AudioThread},1831
        │   │   │   │   │   ├─{Bluez D-Bus thr},1822
        │   │   │   │   │   ├─{BrowserWatchdog},1838
        │   │   │   │   │   ├─{CacheThread_Blo},1834
        │   │   │   │   │   ├─{Chrome_HistoryT},1889
        │   │   │   │   │   ├─{Chrome_IOThread},1815
        │   │   │   │   │   ├─{CompositorTileW},1830
        │   │   │   │   │   ├─{CrShutdownDetec},1823
        │   │   │   │   │   ├─{LevelDBEnv},2146
        │   │   │   │   │   ├─{NetworkChangeNo},1821
        │   │   │   │   │   ├─{TaskSchedulerFo},2044
        │   │   │   │   │   ├─{TaskSchedulerFo},2671
        │   │   │   │   │   ├─{TaskSchedulerFo},2832
        │   │   │   │   │   ├─{TaskSchedulerSe},1810
        │   │   │   │   │   ├─{TaskSchedulerSi},1833
        │   │   │   │   │   ├─{TaskSchedulerSi},1835
        │   │   │   │   │   ├─{TaskSchedulerSi},1888
        │   │   │   │   │   ├─{TaskSchedulerSi},1894
        │   │   │   │   │   ├─{chromium-browse},1809
        │   │   │   │   │   ├─{extension_crash},1966
        │   │   │   │   │   ├─{gdbus},1820
        │   │   │   │   │   ├─{gmain},1819
        │   │   │   │   │   ├─{gpu-process_cra},1836
        │   │   │   │   │   ├─{inotify_reader},1814
        │   │   │   │   │   ├─{renderer_crash_},1904
        │   │   │   │   │   └─{sandbox_ipc_thr},1803
        │   │   │   │   ├─lxterminal,2945
        │   │   │   │   │   ├─bash,2947
        │   │   │   │   │   │   └─pstree,10232 -ap
        │   │   │   │   │   ├─gnome-pty-helpe,2946
        │   │   │   │   │   ├─{gdbus},2955
        │   │   │   │   │   └─{gmain},2948
        │   │   │   │   ├─oosplash,2160 --writer
        │   │   │   │   │   ├─soffice.bin,2178 --writer --splash-pipe=5
        │   │   │   │   │   │   ├─{PipeIPC},2188
        │   │   │   │   │   │   ├─{SelectionManage},2193
        │   │   │   │   │   │   ├─{gdbus},2191
        │   │   │   │   │   │   ├─{gmain},2190
        │   │   │   │   │   │   ├─{rtl_cache_wsupd},2182
        │   │   │   │   │   │   ├─{soffice.bin},2197
        │   │   │   │   │   │   ├─{soffice.bin},2198
        │   │   │   │   │   │   ├─{soffice.bin},2199
        │   │   │   │   │   │   ├─{soffice.bin},2200
        │   │   │   │   │   │   ├─{soffice.bin},2201
        │   │   │   │   │   │   ├─{soffice.bin},2202
        │   │   │   │   │   │   ├─{soffice.bin},2203
        │   │   │   │   │   │   └─{soffice.bin},2204
        │   │   │   │   │   ├─{osl_executeProc},2177
        │   │   │   │   │   └─{rtl_cache_wsupd},2172
        │   │   │   │   ├─(sh,864)
        │   │   │   │   ├─{gdbus},844
        │   │   │   │   ├─{gmain},843
        │   │   │   │   └─{menu-cache-io},921
        │   │   │   ├─lxpolkit,809
        │   │   │   │   ├─{gdbus},832
        │   │   │   │   └─{gmain},831
        │   │   │   ├─openbox,807 --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
        │   │   │   ├─pcmanfm,820 --desktop --profile LXDE-pi
        │   │   │   │   ├─leafpad,1770 /home/pi/omxplayer.log
        │   │   │   │   │   ├─{gdbus},1772
        │   │   │   │   │   └─{gmain},1771
        │   │   │   │   ├─leafpad,2133 /home/pi/.npm/_logs/2019-07-11T21_30_10_606Z-debug.log
        │   │   │   │   │   ├─{gdbus},2135
        │   │   │   │   │   └─{gmain},2134
        │   │   │   │   ├─{gdbus},846
        │   │   │   │   └─{gmain},845
        │   │   │   ├─ssh-agent,778 x-session-manager
        │   │   │   ├─{gdbus},791
        │   │   │   └─{gmain},790
        │   │   ├─{gdbus},660
        │   │   └─{gmain},659
        │   ├─{gdbus},453
        │   └─{gmain},451
        ├─menu-cached,853 /run/user/1000/menu-cached-:0
        │   ├─{gdbus},856
        │   └─{gmain},855
        ├─polkitd,835 --no-debug
        │   ├─{gdbus},840
        │   └─{gmain},838
        ├─rngd,409 -r /dev/hwrng
        │   ├─{rngd},410
        │   ├─{rngd},411
        │   └─{rngd},412
        ├─rsyslogd,359 -n
        │   ├─{in:imklog},389
        │   ├─{in:imuxsock},388
        │   └─{rs:main Q:Reg},390
        ├─ssh-agent,830 -s
        ├─systemd,664 --user
        │   ├─(sd-pam),667         
        │   ├─dbus-daemon,681 --session --address=systemd: --nofork --nopidfile --systemd-activation
        │   ├─gvfs-afc-volume,888
        │   │   ├─{gdbus},892
        │   │   ├─{gmain},890
        │   │   └─{gvfs-afc-volume},889
        │   ├─gvfs-goa-volume,880
        │   │   ├─{gdbus},882
        │   │   └─{gmain},881
        │   ├─gvfs-gphoto2-vo,876
        │   │   ├─{gdbus},879
        │   │   └─{gmain},877
        │   ├─gvfs-mtp-volume,884
        │   │   ├─{gdbus},887
        │   │   └─{gmain},885
        │   ├─gvfs-udisks2-vo,857
        │   │   ├─{gdbus},863
        │   │   └─{gmain},862
        │   ├─gvfsd,792
        │   │   ├─{gdbus},794
        │   │   └─{gmain},793
        │   ├─gvfsd-fuse,797 /run/user/1000/gvfs -f -o big_writes
        │   │   ├─{gdbus},814
        │   │   ├─{gmain},813
        │   │   ├─{gvfs-fuse-sub},821
        │   │   ├─{gvfsd-fuse},811
        │   │   └─{gvfsd-fuse},812
        │   └─gvfsd-trash,930 --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
        │       ├─{gdbus},933
        │       └─{gmain},932
        ├─systemd-journal,103
        ├─systemd-logind,361
        ├─systemd-timesyn,324
        │   └─{sd-resolve},360
        ├─systemd-udevd,137
        ├─thd,395 --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
        ├─udisksd,869 --no-debug
        │   ├─{cleanup},874
        │   ├─{gdbus},872
        │   ├─{gmain},870
        │   └─{probing-thread},873
        ├─wpa_supplicant,400 -u -s -O /run/wpa_supplicant
        └─wpa_supplicant,457 -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
      
      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom

      the PIDs of omx_stream1 is changing:

      pi@raspberrypi:~ $ pm2 restart mm
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [mm](ids: 1)
      [PM2] [mm](1) ✓
      ┌─────────────┬────┬─────────┬──────┬──────┬─────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
      │ App name    │ id │ version │ mode │ pid  │ status  │ restart │ uptime │ cpu │ mem      │ user │ watching │
      ├─────────────┼────┼─────────┼──────┼──────┼─────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
      │ mm          │ 1  │ N/A     │ fork │ 2976 │ online  │ 1       │ 0s     │ 0%  │ 2.3 MB   │ pi   │ disabled │
      │ omx_stream1 │ 0  │ N/A     │ fork │ 0    │ stopped │ 17      │ 0      │ 0%  │ 0 B      │ pi   │ disabled │
      └─────────────┴────┴─────────┴──────┴──────┴─────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@raspberrypi:~ $ pm2 status
      ┌─────────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
      │ App name    │ id │ version │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
      ├─────────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
      │ mm          │ 1  │ N/A     │ fork │ 2976 │ online │ 1       │ 2m     │ 0%  │ 2.3 MB   │ pi   │ disabled │
      │ omx_stream1 │ 0  │ N/A     │ fork │ 4609 │ online │ 58      │ 2s     │ 0%  │ 2.4 MB   │ pi   │ disabled │
      
      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      thanks, i removed the avm_stream.

      Below the status including the PID. Missed that before…

      pi@raspberrypi:~ $ pm2 status
      
      
      │ App name        │ id │ version │ mode │ pid │ status  │ restart │ uptime │ cpu │ mem      │ user │ watching │
      
      │ mm                   │ 1  │ N/A│ fork │ 940 │ online  │ 0             │ 37m    │ 0%  │ 2.3 MB   │ pi   │ disabled │
      │ omx_stream1 │ 0  │ N/A         │ fork │ 0   │ stopped │ 17          │ 0          │ 0%  │ 0 B          │ pi   │ disabled │
      
       Use `pm2 show <id|name>` to get more details about an app
      
      

      PIDs remain the same when I run pm2 status again

      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom

      Hi,

      i couldnt find something in the log so far…

      I may overlook something here in genera. Looks like the avm_stream is still starting on rebooting the RPI…I tried with stop and save within pm2 already…So if I reboot, the avm_stream is online again…

      pi@raspberrypi:~ $ pm2 status
      ┌─────────────┬────┬──────┬─────────┬────┬─────┬──────────┐
      │ Name        │ id │ mode │ status  │ ↺  │ cpu │ memory   │
      ├─────────────┼────┼──────┼─────────┼────┼─────┼──────────┤
      │ avm_stream  │ 2  │ fork │ stopped │ 0  │ 0%  │ 0 B      │
      │ mm          │ 1  │ fork │ online  │ 0  │ 0%  │ 2.6 MB   │
      │ omx_stream1 │ 0  │ fork │ stopped │ 15 │ 0%  │ 0 B      │
      └─────────────┴────┴──────┴─────────┴────┴─────┴──────────┘
       
      
      pi@raspberrypi:~ $ pstree -ap `pgrep omxplayer | head -1`; pstree -ap `pm2 status | grep omx_stream1 | awk '{print $10}'`
      systemd,1 splash
        ├─PM2 v3.5.1: God,813      
        │   ├─bash,923 /home/pi/mm.sh
        │   │   └─npm,929                    
        │   │       ├─sh,1047 -c sh run-start.sh
        │   │       │   └─sh,1048 run-start.sh
        │   │       │       └─node,1049 /home/pi/MagicMirror/node_modules/.bin/electron js/electron.js
        │   │       │           ├─electron,1064
        │   │       │           │   ├─electron,1126
        │   │       │           │   │   └─electron,1467
        │   │       │           │   │       ├─{Chrome_ChildIOT},1473
        │   │       │           │   │       ├─{CompositorTileW},1496
        │   │       │           │   │       ├─{CompositorTileW},1501
        │   │       │           │   │       ├─{CompositorTileW},1503
        │   │       │           │   │       ├─{Compositor},1495
        │   │       │           │   │       ├─{File thread},1479
        │   │       │           │   │       ├─{GpuMemoryThread},1474
        │   │       │           │   │       ├─{ScriptStreamer },1539
        │   │       │           │   │       ├─{TaskSchedulerBa},1469
        │   │       │           │   │       ├─{TaskSchedulerBa},1470
        │   │       │           │   │       ├─{TaskSchedulerFo},1472
        │   │       │           │   │       ├─{TaskSchedulerFo},1737
        │   │       │           │   │       ├─{TaskSchedulerSe},1468
        │   │       │           │   │       └─{electron},1524
        │   │       │           │   ├─electron,1454
        │   │       │           │   │   ├─{Chrome_ChildIOT},1511
        │   │       │           │   │   ├─{TaskSchedulerBa},1507
        │   │       │           │   │   ├─{TaskSchedulerBa},1508
        │   │       │           │   │   ├─{TaskSchedulerFo},1509
        │   │       │           │   │   ├─{TaskSchedulerFo},1510
        │   │       │           │   │   ├─{TaskSchedulerSe},1506
        │   │       │           │   │   ├─{Watchdog},1505
        │   │       │           │   │   ├─{llvmpipe-0},1487
        │   │       │           │   │   ├─{llvmpipe-1},1488
        │   │       │           │   │   ├─{llvmpipe-2},1489
        │   │       │           │   │   └─{llvmpipe-3},1490
        │   │       │           │   ├─{AudioThread},1444
        │   │       │           │   ├─{CacheThread_Blo},1466
        │   │       │           │   ├─{Chrome_IOThread},1428
        │   │       │           │   ├─{CompositorTileW},1443
        │   │       │           │   ├─{CrShutdownDetec},1432
        │   │       │           │   ├─{D-Bus thread},1431
        │   │       │           │   ├─{NetworkChangeNo},1429
        │   │       │           │   ├─{TaskSchedulerBa},1434
        │   │       │           │   ├─{TaskSchedulerBa},1462
        │   │       │           │   ├─{TaskSchedulerFo},1436
        │   │       │           │   ├─{TaskSchedulerFo},1439
        │   │       │           │   ├─{TaskSchedulerSe},1433
        │   │       │           │   ├─{TaskSchedulerSi},1441
        │   │       │           │   ├─{TaskSchedulerSi},1442
        │   │       │           │   ├─{TaskSchedulerSi},1573
        │   │       │           │   ├─{electron},1191
        │   │       │           │   ├─{electron},1192
        │   │       │           │   ├─{electron},1193
        │   │       │           │   ├─{electron},1221
        │   │       │           │   ├─{electron},1414
        │   │       │           │   ├─{electron},1415
        │   │       │           │   ├─{electron},1416
        │   │       │           │   ├─{electron},1417
        │   │       │           │   ├─{electron},1453
        │   │       │           │   ├─{gdbus},1179
        │   │       │           │   ├─{gmain},1178
        │   │       │           │   ├─{inotify_reader},1430
        │   │       │           │   ├─{llvmpipe-0},1167
        │   │       │           │   ├─{llvmpipe-1},1168
        │   │       │           │   ├─{llvmpipe-2},1169
        │   │       │           │   ├─{llvmpipe-3},1170
        │   │       │           │   └─{sandbox_ipc_thr},1125
        │   │       │           ├─{node},1050
        │   │       │           ├─{node},1051
        │   │       │           ├─{node},1052
        │   │       │           ├─{node},1053
        │   │       │           ├─{node},1054
        │   │       │           └─{node},1057
        │   │       ├─{node},934
        │   │       ├─{node},935
        │   │       ├─{node},936
        │   │       ├─{node},937
        │   │       ├─{node},938
        │   │       ├─{node},945
        │   │       ├─{npm},1013
        │   │       ├─{npm},1014
        │   │       ├─{npm},1015
        │   │       └─{npm},1016
        │   ├─{PM2 v3.5.1: God},915
        │   ├─{PM2 v3.5.1: God},916
        │   ├─{PM2 v3.5.1: God},917
        │   ├─{PM2 v3.5.1: God},918
        │   ├─{node},814
        │   ├─{node},815
        │   ├─{node},816
        │   ├─{node},817
        │   ├─{node},818
        │   └─{node},819
        ├─agetty,509 --noclear tty1 linux
        ├─avahi-daemon,333
        │   └─avahi-daemon,370
        ├─bluealsa,455
        │   ├─{bactl},463
        │   ├─{gdbus},479
        │   └─{gmain},478
        ├─bluetoothd,454
        ├─cron,340 -f
        ├─dbus-daemon,323 --system --address=systemd: --nofork --nopidfile --systemd-activation
        ├─dbus-daemon,951 --fork --print-address 5 --print-pid 6 --session
        ├─dhcpcd,372 -q -b
        ├─hciattach,446 /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:fc:c6:fc
        ├─lightdm,506
        │   ├─Xorg,517 :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
        │   │   ├─{InputThread},631
        │   │   ├─{llvmpipe-0},623
        │   │   ├─{llvmpipe-1},624
        │   │   ├─{llvmpipe-2},625
        │   │   └─{llvmpipe-3},626
        │   ├─lightdm,634 --session-child 14 17
        │   │   ├─lxsession,650 -s LXDE-pi -e LXDE
        │   │   │   ├─lxpanel,785 --profile LXDE-pi
        │   │   │   │   ├─chromium-browse,1766
        │   │   │   │   │   ├─chromium-browse,1792
        │   │   │   │   │   │   └─chromium-browse,1794
        │   │   │   │   │   │       ├─chromium-browse,1989
        │   │   │   │   │   │       │   ├─{Chrome_ChildIOT},2001
        │   │   │   │   │   │       │   ├─{CompositorTileW},2020
        │   │   │   │   │   │       │   ├─{CompositorTileW},2021
        │   │   │   │   │   │       │   ├─{CompositorTileW},2022
        │   │   │   │   │   │       │   ├─{Compositor},2013
        │   │   │   │   │   │       │   ├─{Font_Proxy_Thre},2003
        │   │   │   │   │   │       │   ├─{GpuMemoryThread},2002
        │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2000
        │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2114
        │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2255
        │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2256
        │   │   │   │   │   │       │   └─{TaskSchedulerSe},1997
        │   │   │   │   │   │       └─chromium-browse,2035
        │   │   │   │   │   │           ├─{Chrome_ChildIOT},2039
        │   │   │   │   │   │           ├─{CompositorTileW},2043
        │   │   │   │   │   │           ├─{CompositorTileW},2044
        │   │   │   │   │   │           ├─{CompositorTileW},2045
        │   │   │   │   │   │           ├─{Compositor},2042
        │   │   │   │   │   │           ├─{Font_Proxy_Thre},2041
        │   │   │   │   │   │           ├─{GpuMemoryThread},2040
        │   │   │   │   │   │           ├─{MemoryInfra},2091
        │   │   │   │   │   │           ├─{ScriptStreamer },2049
        │   │   │   │   │   │           ├─{TaskSchedulerFo},2038
        │   │   │   │   │   │           ├─{TaskSchedulerFo},2046
        │   │   │   │   │   │           ├─{TaskSchedulerFo},2254
        │   │   │   │   │   │           └─{TaskSchedulerSe},2036
        │   │   │   │   │   ├─chromium-browse,1824
        │   │   │   │   │   │   ├─{Chrome_ChildIOT},1886
        │   │   │   │   │   │   ├─{TaskSchedulerFo},1884
        │   │   │   │   │   │   ├─{TaskSchedulerFo},1885
        │   │   │   │   │   │   ├─{TaskSchedulerSe},1883
        │   │   │   │   │   │   ├─{Watchdog},1882
        │   │   │   │   │   │   ├─{llvmpipe-0},1877
        │   │   │   │   │   │   ├─{llvmpipe-1},1878
        │   │   │   │   │   │   ├─{llvmpipe-2},1879
        │   │   │   │   │   │   └─{llvmpipe-3},1880
        │   │   │   │   │   ├─{AudioThread},1818
        │   │   │   │   │   ├─{Bluez D-Bus thr},1809
        │   │   │   │   │   ├─{BrowserWatchdog},1825
        │   │   │   │   │   ├─{CacheThread_Blo},1821
        │   │   │   │   │   ├─{Chrome_HistoryT},1876
        │   │   │   │   │   ├─{Chrome_IOThread},1802
        │   │   │   │   │   ├─{CompositorTileW},1817
        │   │   │   │   │   ├─{CrShutdownDetec},1810
        │   │   │   │   │   ├─{NetworkChangeNo},1808
        │   │   │   │   │   ├─{TaskSchedulerFo},1816
        │   │   │   │   │   ├─{TaskSchedulerFo},2032
        │   │   │   │   │   ├─{TaskSchedulerFo},2053
        │   │   │   │   │   ├─{TaskSchedulerFo},2208
        │   │   │   │   │   ├─{TaskSchedulerSe},1797
        │   │   │   │   │   ├─{TaskSchedulerSi},1820
        │   │   │   │   │   ├─{TaskSchedulerSi},1822
        │   │   │   │   │   ├─{TaskSchedulerSi},1875
        │   │   │   │   │   ├─{TaskSchedulerSi},1881
        │   │   │   │   │   ├─{chromium-browse},1795
        │   │   │   │   │   ├─{extension_crash},1986
        │   │   │   │   │   ├─{gdbus},1807
        │   │   │   │   │   ├─{gmain},1806
        │   │   │   │   │   ├─{gpu-process_cra},1823
        │   │   │   │   │   ├─{inotify_reader},1801
        │   │   │   │   │   ├─{renderer_crash_},1894
        │   │   │   │   │   ├─{sandbox_ipc_thr},1790
        │   │   │   │   │   └─{utility_crash_u},2061
        │   │   │   │   ├─lxterminal,2148
        │   │   │   │   │   ├─bash,2150
        │   │   │   │   │   │   └─pstree,2260 -ap
        │   │   │   │   │   ├─gnome-pty-helpe,2149
        │   │   │   │   │   ├─{gdbus},2159
        │   │   │   │   │   └─{gmain},2151
        │   │   │   │   ├─oosplash,2177 --writer
        │   │   │   │   │   ├─soffice.bin,2195 --writer --splash-pipe=5
        │   │   │   │   │   │   ├─{PipeIPC},2204
        │   │   │   │   │   │   ├─{SelectionManage},2209
        │   │   │   │   │   │   ├─{gdbus},2206
        │   │   │   │   │   │   ├─{gmain},2205
        │   │   │   │   │   │   ├─{rtl_cache_wsupd},2198
        │   │   │   │   │   │   ├─{soffice.bin},2233
        │   │   │   │   │   │   ├─{soffice.bin},2234
        │   │   │   │   │   │   ├─{soffice.bin},2235
        │   │   │   │   │   │   ├─{soffice.bin},2236
        │   │   │   │   │   │   ├─{soffice.bin},2237
        │   │   │   │   │   │   ├─{soffice.bin},2238
        │   │   │   │   │   │   ├─{soffice.bin},2239
        │   │   │   │   │   │   └─{soffice.bin},2240
        │   │   │   │   │   ├─{osl_executeProc},2194
        │   │   │   │   │   └─{rtl_cache_wsupd},2190
        │   │   │   │   ├─(sh,847)
        │   │   │   │   ├─{gdbus},825
        │   │   │   │   ├─{gmain},824
        │   │   │   │   └─{menu-cache-io},895
        │   │   │   ├─lxpolkit,780
        │   │   │   │   ├─{gdbus},801
        │   │   │   │   └─{gmain},799
        │   │   │   ├─openbox,773 --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
        │   │   │   ├─pcmanfm,791 --desktop --profile LXDE-pi
        │   │   │   │   ├─{gdbus},821
        │   │   │   │   └─{gmain},820
        │   │   │   ├─ssh-agent,756 x-session-manager
        │   │   │   ├─{gdbus},762
        │   │   │   └─{gmain},761
        │   │   ├─{gdbus},638
        │   │   └─{gmain},637
        │   ├─{gdbus},515
        │   └─{gmain},513
        ├─menu-cached,831 /run/user/1000/menu-cached-:0
        │   ├─{gdbus},834
        │   └─{gmain},833
        ├─polkitd,804 --no-debug
        │   ├─{gdbus},811
        │   └─{gmain},809
        ├─rngd,361 -r /dev/hwrng
        │   ├─{rngd},362
        │   ├─{rngd},363
        │   └─{rngd},364
        ├─rsyslogd,331 -n
        │   ├─{in:imklog},377
        │   ├─{in:imuxsock},376
        │   └─{rs:main Q:Reg},378
        ├─ssh-agent,803 -s
        ├─systemd,642 --user
        │   ├─(sd-pam),645         
        │   ├─dbus-daemon,659 --session --address=systemd: --nofork --nopidfile --systemd-activation
        │   ├─gvfs-afc-volume,866
        │   │   ├─{gdbus},870
        │   │   ├─{gmain},868
        │   │   └─{gvfs-afc-volume},867
        │   ├─gvfs-goa-volume,858
        │   │   ├─{gdbus},860
        │   │   └─{gmain},859
        │   ├─gvfs-gphoto2-vo,854
        │   │   ├─{gdbus},857
        │   │   └─{gmain},855
        │   ├─gvfs-mtp-volume,862
        │   │   ├─{gdbus},865
        │   │   └─{gmain},863
        │   ├─gvfs-udisks2-vo,835
        │   │   ├─{gdbus},837
        │   │   └─{gmain},836
        │   ├─gvfsd,763
        │   │   ├─{gdbus},765
        │   │   └─{gmain},764
        │   ├─gvfsd-fuse,768 /run/user/1000/gvfs -f -o big_writes
        │   │   ├─{gdbus},787
        │   │   ├─{gmain},786
        │   │   ├─{gvfs-fuse-sub},792
        │   │   ├─{gvfsd-fuse},782
        │   │   └─{gvfsd-fuse},783
        │   └─gvfsd-trash,904 --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
        │       ├─{gdbus},906
        │       └─{gmain},905
        ├─systemd-journal,107
        ├─systemd-logind,334
        ├─systemd-timesyn,305
        │   └─{sd-resolve},320
        ├─systemd-udevd,139
        ├─thd,322 --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
        ├─udisksd,838 --no-debug
        │   ├─{cleanup},852
        │   ├─{gdbus},841
        │   ├─{gmain},839
        │   └─{probing-thread},842
        ├─wpa_supplicant,327 -u -s -O /run/wpa_supplicant
        └─wpa_supplicant,422 -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
      ?,
       ├─(kthreadd,2)
       │   ├─(DWC Notificatio,62)
       │   ├─(SMIO,67)
       │   ├─(SMIO,189)
       │   ├─(brcmf_wdog/mmc1,239)
       │   ├─(brcmf_wq/mmc1:0,237)
       │   ├─(cfg80211,231)
       │   ├─(cpuhp/0,13)
       │   ├─(cpuhp/1,14)
       │   ├─(cpuhp/2,19)
       │   ├─(cpuhp/3,24)
       │   ├─(crypto,38)
       │   ├─(dwc_otg,61)
       │   ├─(ext4-rsv-conver,78)
       │   ├─(ext4-rsv-conver,914)
       │   ├─(ipv6_addrconf,79)
       │   ├─(irq/86-mmc1,69)
       │   ├─(iscsi_eh,60)
       │   ├─(jbd2/mmcblk0p5-,913)
       │   ├─(jbd2/mmcblk0p7-,77)
       │   ├─(kblockd,39)
       │   ├─(kcompactd0,37)
       │   ├─(kdevtmpfs,29)
       │   ├─(khungtaskd,34)
       │   ├─(krfcommd,489)
       │   ├─(ksoftirqd/0,9)
       │   ├─(ksoftirqd/1,16)
       │   ├─(ksoftirqd/2,21)
       │   ├─(ksoftirqd/3,26)
       │   ├─(kswapd0,46)
       │   ├─(kthrotld,58)
       │   ├─(kworker/0:0-event,1796)
       │   ├─(kworker/0:0H-kblo,1789)
       │   ├─(kworker/0:1-event,31)
       │   ├─(kworker/0:1H-mmc_,74)
       │   ├─(kworker/0:2-event,2231)
       │   ├─(kworker/0:2H,2147)
       │   ├─(kworker/1:0-mm_pe,1741)
       │   ├─(kworker/1:0H-kblo,1785)
       │   ├─(kworker/1:1-event,2213)
       │   ├─(kworker/1:1H-kblo,75)
       │   ├─(kworker/1:2-mm_pe,2048)
       │   ├─(kworker/1:2H-kblo,2176)
       │   ├─(kworker/2:0-event,1783)
       │   ├─(kworker/2:0H-kblo,23)
       │   ├─(kworker/2:1-event,33)
       │   ├─(kworker/2:1H-kblo,1784)
       │   ├─(kworker/2:2-event,2223)
       │   ├─(kworker/2:2H,2196)
       │   ├─(kworker/3:0-event,1742)
       │   ├─(kworker/3:0H-kblo,1772)
       │   ├─(kworker/3:1-mm_pe,2034)
       │   ├─(kworker/3:1H-kblo,73)
       │   ├─(kworker/3:2-event,68)
       │   ├─(kworker/3:2H,2189)
       │   ├─(kworker/3:3,2248)
       │   ├─(kworker/u8:0-even,7)
       │   ├─(kworker/u8:2-flus,100)
       │   ├─(kworker/u9:0-hci0,42)
       │   ├─(kworker/u9:1-hci0,448)
       │   ├─(migration/0,12)
       │   ├─(migration/1,15)
       │   ├─(migration/2,20)
       │   ├─(migration/3,25)
       │   ├─(mm_percpu_wq,8)
       │   ├─(mmal-vchiq,215)
       │   ├─(mmal-vchiq,217)
       │   ├─(mmal-vchiq,219)
       │   ├─(mmc_complete,72)
       │   ├─(netns,30)
       │   ├─(nfsiod,47)
       │   ├─(oom_reaper,35)
       │   ├─(rcu_bh,11)
       │   ├─(rcu_gp,3)
       │   ├─(rcu_par_gp,4)
       │   ├─(rcu_sched,10)
       │   ├─(rpciod,41)
       │   ├─(vchiq-keep/0,66)
       │   ├─(vchiq-recy/0,64)
       │   ├─(vchiq-slot/0,63)
       │   ├─(vchiq-sync/0,65)
       │   ├─(watchdogd,40)
       │   ├─(writeback,36)
       │   └─(xprtiod,43)
       └─systemd,1 splash
           ├─PM2 v3.5.1: God,813      
           │   ├─bash,923 /home/pi/mm.sh
           │   │   └─npm,929                    
           │   │       ├─sh,1047 -c sh run-start.sh
           │   │       │   └─sh,1048 run-start.sh
           │   │       │       └─node,1049 /home/pi/MagicMirror/node_modules/.bin/electron js/electron.js
           │   │       │           ├─electron,1064
           │   │       │           │   ├─electron,1126
           │   │       │           │   │   └─electron,1467
           │   │       │           │   │       ├─{Chrome_ChildIOT},1473
           │   │       │           │   │       ├─{CompositorTileW},1496
           │   │       │           │   │       ├─{CompositorTileW},1501
           │   │       │           │   │       ├─{CompositorTileW},1503
           │   │       │           │   │       ├─{Compositor},1495
           │   │       │           │   │       ├─{File thread},1479
           │   │       │           │   │       ├─{GpuMemoryThread},1474
           │   │       │           │   │       ├─{ScriptStreamer },1539
           │   │       │           │   │       ├─{TaskSchedulerBa},1469
           │   │       │           │   │       ├─{TaskSchedulerBa},1470
           │   │       │           │   │       ├─{TaskSchedulerFo},1472
           │   │       │           │   │       ├─{TaskSchedulerFo},1737
           │   │       │           │   │       ├─{TaskSchedulerSe},1468
           │   │       │           │   │       └─{electron},1524
           │   │       │           │   ├─electron,1454
           │   │       │           │   │   ├─{Chrome_ChildIOT},1511
           │   │       │           │   │   ├─{TaskSchedulerBa},1507
           │   │       │           │   │   ├─{TaskSchedulerBa},1508
           │   │       │           │   │   ├─{TaskSchedulerFo},1509
           │   │       │           │   │   ├─{TaskSchedulerFo},1510
           │   │       │           │   │   ├─{TaskSchedulerSe},1506
           │   │       │           │   │   ├─{Watchdog},1505
           │   │       │           │   │   ├─{llvmpipe-0},1487
           │   │       │           │   │   ├─{llvmpipe-1},1488
           │   │       │           │   │   ├─{llvmpipe-2},1489
           │   │       │           │   │   └─{llvmpipe-3},1490
           │   │       │           │   ├─{AudioThread},1444
           │   │       │           │   ├─{CacheThread_Blo},1466
           │   │       │           │   ├─{Chrome_IOThread},1428
           │   │       │           │   ├─{CompositorTileW},1443
           │   │       │           │   ├─{CrShutdownDetec},1432
           │   │       │           │   ├─{D-Bus thread},1431
           │   │       │           │   ├─{NetworkChangeNo},1429
           │   │       │           │   ├─{TaskSchedulerBa},1434
           │   │       │           │   ├─{TaskSchedulerBa},1462
           │   │       │           │   ├─{TaskSchedulerFo},1436
           │   │       │           │   ├─{TaskSchedulerFo},1439
           │   │       │           │   ├─{TaskSchedulerSe},1433
           │   │       │           │   ├─{TaskSchedulerSi},1441
           │   │       │           │   ├─{TaskSchedulerSi},1442
           │   │       │           │   ├─{TaskSchedulerSi},1573
           │   │       │           │   ├─{electron},1191
           │   │       │           │   ├─{electron},1192
           │   │       │           │   ├─{electron},1193
           │   │       │           │   ├─{electron},1221
           │   │       │           │   ├─{electron},1414
           │   │       │           │   ├─{electron},1415
           │   │       │           │   ├─{electron},1416
           │   │       │           │   ├─{electron},1417
           │   │       │           │   ├─{electron},1453
           │   │       │           │   ├─{gdbus},1179
           │   │       │           │   ├─{gmain},1178
           │   │       │           │   ├─{inotify_reader},1430
           │   │       │           │   ├─{llvmpipe-0},1167
           │   │       │           │   ├─{llvmpipe-1},1168
           │   │       │           │   ├─{llvmpipe-2},1169
           │   │       │           │   ├─{llvmpipe-3},1170
           │   │       │           │   └─{sandbox_ipc_thr},1125
           │   │       │           ├─{node},1050
           │   │       │           ├─{node},1051
           │   │       │           ├─{node},1052
           │   │       │           ├─{node},1053
           │   │       │           ├─{node},1054
           │   │       │           └─{node},1057
           │   │       ├─{node},934
           │   │       ├─{node},935
           │   │       ├─{node},936
           │   │       ├─{node},937
           │   │       ├─{node},938
           │   │       ├─{node},945
           │   │       ├─{npm},1013
           │   │       ├─{npm},1014
           │   │       ├─{npm},1015
           │   │       └─{npm},1016
           │   ├─{PM2 v3.5.1: God},915
           │   ├─{PM2 v3.5.1: God},916
           │   ├─{PM2 v3.5.1: God},917
           │   ├─{PM2 v3.5.1: God},918
           │   ├─{node},814
           │   ├─{node},815
           │   ├─{node},816
           │   ├─{node},817
           │   ├─{node},818
           │   └─{node},819
           ├─agetty,509 --noclear tty1 linux
           ├─avahi-daemon,333
           │   └─avahi-daemon,370
           ├─bluealsa,455
           │   ├─{bactl},463
           │   ├─{gdbus},479
           │   └─{gmain},478
           ├─bluetoothd,454
           ├─cron,340 -f
           ├─dbus-daemon,323 --system --address=systemd: --nofork --nopidfile --systemd-activation
           ├─dbus-daemon,951 --fork --print-address 5 --print-pid 6 --session
           ├─dhcpcd,372 -q -b
           ├─hciattach,446 /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:fc:c6:fc
           ├─lightdm,506
           │   ├─Xorg,517 :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
           │   │   ├─{InputThread},631
           │   │   ├─{llvmpipe-0},623
           │   │   ├─{llvmpipe-1},624
           │   │   ├─{llvmpipe-2},625
           │   │   └─{llvmpipe-3},626
           │   ├─lightdm,634 --session-child 14 17
           │   │   ├─lxsession,650 -s LXDE-pi -e LXDE
           │   │   │   ├─lxpanel,785 --profile LXDE-pi
           │   │   │   │   ├─chromium-browse,1766
           │   │   │   │   │   ├─chromium-browse,1792
           │   │   │   │   │   │   └─chromium-browse,1794
           │   │   │   │   │   │       ├─chromium-browse,1989
           │   │   │   │   │   │       │   ├─{Chrome_ChildIOT},2001
           │   │   │   │   │   │       │   ├─{CompositorTileW},2020
           │   │   │   │   │   │       │   ├─{CompositorTileW},2021
           │   │   │   │   │   │       │   ├─{CompositorTileW},2022
           │   │   │   │   │   │       │   ├─{Compositor},2013
           │   │   │   │   │   │       │   ├─{Font_Proxy_Thre},2003
           │   │   │   │   │   │       │   ├─{GpuMemoryThread},2002
           │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2000
           │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2114
           │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2255
           │   │   │   │   │   │       │   ├─{TaskSchedulerFo},2256
           │   │   │   │   │   │       │   └─{TaskSchedulerSe},1997
           │   │   │   │   │   │       └─chromium-browse,2035
           │   │   │   │   │   │           ├─{Chrome_ChildIOT},2039
           │   │   │   │   │   │           ├─{CompositorTileW},2043
           │   │   │   │   │   │           ├─{CompositorTileW},2044
           │   │   │   │   │   │           ├─{CompositorTileW},2045
           │   │   │   │   │   │           ├─{Compositor},2042
           │   │   │   │   │   │           ├─{Font_Proxy_Thre},2041
           │   │   │   │   │   │           ├─{GpuMemoryThread},2040
           │   │   │   │   │   │           ├─{MemoryInfra},2091
           │   │   │   │   │   │           ├─{ScriptStreamer },2049
           │   │   │   │   │   │           ├─{TaskSchedulerFo},2038
           │   │   │   │   │   │           ├─{TaskSchedulerFo},2046
           │   │   │   │   │   │           ├─{TaskSchedulerFo},2254
           │   │   │   │   │   │           └─{TaskSchedulerSe},2036
           │   │   │   │   │   ├─chromium-browse,1824
           │   │   │   │   │   │   ├─{Chrome_ChildIOT},1886
           │   │   │   │   │   │   ├─{TaskSchedulerFo},1884
           │   │   │   │   │   │   ├─{TaskSchedulerFo},1885
           │   │   │   │   │   │   ├─{TaskSchedulerSe},1883
           │   │   │   │   │   │   ├─{Watchdog},1882
           │   │   │   │   │   │   ├─{llvmpipe-0},1877
           │   │   │   │   │   │   ├─{llvmpipe-1},1878
           │   │   │   │   │   │   ├─{llvmpipe-2},1879
           │   │   │   │   │   │   └─{llvmpipe-3},1880
           │   │   │   │   │   ├─{AudioThread},1818
           │   │   │   │   │   ├─{Bluez D-Bus thr},1809
           │   │   │   │   │   ├─{BrowserWatchdog},1825
           │   │   │   │   │   ├─{CacheThread_Blo},1821
           │   │   │   │   │   ├─{Chrome_HistoryT},1876
           │   │   │   │   │   ├─{Chrome_IOThread},1802
           │   │   │   │   │   ├─{CompositorTileW},1817
           │   │   │   │   │   ├─{CrShutdownDetec},1810
           │   │   │   │   │   ├─{NetworkChangeNo},1808
           │   │   │   │   │   ├─{TaskSchedulerFo},1816
           │   │   │   │   │   ├─{TaskSchedulerFo},2032
           │   │   │   │   │   ├─{TaskSchedulerFo},2053
           │   │   │   │   │   ├─{TaskSchedulerFo},2208
           │   │   │   │   │   ├─{TaskSchedulerSe},1797
           │   │   │   │   │   ├─{TaskSchedulerSi},1820
           │   │   │   │   │   ├─{TaskSchedulerSi},1822
           │   │   │   │   │   ├─{TaskSchedulerSi},1875
           │   │   │   │   │   ├─{TaskSchedulerSi},1881
           │   │   │   │   │   ├─{chromium-browse},1795
           │   │   │   │   │   ├─{extension_crash},1986
           │   │   │   │   │   ├─{gdbus},1807
           │   │   │   │   │   ├─{gmain},1806
           │   │   │   │   │   ├─{gpu-process_cra},1823
           │   │   │   │   │   ├─{inotify_reader},1801
           │   │   │   │   │   ├─{renderer_crash_},1894
           │   │   │   │   │   ├─{sandbox_ipc_thr},1790
           │   │   │   │   │   └─{utility_crash_u},2061
           │   │   │   │   ├─lxterminal,2148
           │   │   │   │   │   ├─bash,2150
           │   │   │   │   │   │   └─pstree,2271 -ap 0
           │   │   │   │   │   ├─gnome-pty-helpe,2149
           │   │   │   │   │   ├─{gdbus},2159
           │   │   │   │   │   └─{gmain},2151
           │   │   │   │   ├─oosplash,2177 --writer
           │   │   │   │   │   ├─soffice.bin,2195 --writer --splash-pipe=5
           │   │   │   │   │   │   ├─{PipeIPC},2204
           │   │   │   │   │   │   ├─{SelectionManage},2209
           │   │   │   │   │   │   ├─{gdbus},2206
           │   │   │   │   │   │   ├─{gmain},2205
           │   │   │   │   │   │   ├─{rtl_cache_wsupd},2198
           │   │   │   │   │   │   ├─{soffice.bin},2233
           │   │   │   │   │   │   ├─{soffice.bin},2234
           │   │   │   │   │   │   ├─{soffice.bin},2235
           │   │   │   │   │   │   ├─{soffice.bin},2236
           │   │   │   │   │   │   ├─{soffice.bin},2237
           │   │   │   │   │   │   ├─{soffice.bin},2238
           │   │   │   │   │   │   ├─{soffice.bin},2239
           │   │   │   │   │   │   └─{soffice.bin},2240
           │   │   │   │   │   ├─{osl_executeProc},2194
           │   │   │   │   │   └─{rtl_cache_wsupd},2190
           │   │   │   │   ├─(sh,847)
           │   │   │   │   ├─{gdbus},825
           │   │   │   │   ├─{gmain},824
           │   │   │   │   └─{menu-cache-io},895
           │   │   │   ├─lxpolkit,780
           │   │   │   │   ├─{gdbus},801
           │   │   │   │   └─{gmain},799
           │   │   │   ├─openbox,773 --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
           │   │   │   ├─pcmanfm,791 --desktop --profile LXDE-pi
           │   │   │   │   ├─{gdbus},821
           │   │   │   │   └─{gmain},820
           │   │   │   ├─ssh-agent,756 x-session-manager
           │   │   │   ├─{gdbus},762
           │   │   │   └─{gmain},761
           │   │   ├─{gdbus},638
           │   │   └─{gmain},637
           │   ├─{gdbus},515
           │   └─{gmain},513
           ├─menu-cached,831 /run/user/1000/menu-cached-:0
           │   ├─{gdbus},834
           │   └─{gmain},833
           ├─polkitd,804 --no-debug
           │   ├─{gdbus},811
           │   └─{gmain},809
           ├─rngd,361 -r /dev/hwrng
           │   ├─{rngd},362
           │   ├─{rngd},363
           │   └─{rngd},364
           ├─rsyslogd,331 -n
           │   ├─{in:imklog},377
           │   ├─{in:imuxsock},376
           │   └─{rs:main Q:Reg},378
           ├─ssh-agent,803 -s
           ├─systemd,642 --user
           │   ├─(sd-pam),645         
           │   ├─dbus-daemon,659 --session --address=systemd: --nofork --nopidfile --systemd-activation
           │   ├─gvfs-afc-volume,866
           │   │   ├─{gdbus},870
           │   │   ├─{gmain},868
           │   │   └─{gvfs-afc-volume},867
           │   ├─gvfs-goa-volume,858
           │   │   ├─{gdbus},860
           │   │   └─{gmain},859
           │   ├─gvfs-gphoto2-vo,854
           │   │   ├─{gdbus},857
           │   │   └─{gmain},855
           │   ├─gvfs-mtp-volume,862
           │   │   ├─{gdbus},865
           │   │   └─{gmain},863
           │   ├─gvfs-udisks2-vo,835
           │   │   ├─{gdbus},837
           │   │   └─{gmain},836
           │   ├─gvfsd,763
           │   │   ├─{gdbus},765
           │   │   └─{gmain},764
           │   ├─gvfsd-fuse,768 /run/user/1000/gvfs -f -o big_writes
           │   │   ├─{gdbus},787
           │   │   ├─{gmain},786
           │   │   ├─{gvfs-fuse-sub},792
           │   │   ├─{gvfsd-fuse},782
           │   │   └─{gvfsd-fuse},783
           │   └─gvfsd-trash,904 --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
           │       ├─{gdbus},906
           │       └─{gmain},905
           ├─systemd-journal,107
           ├─systemd-logind,334
           ├─systemd-timesyn,305
           │   └─{sd-resolve},320
           ├─systemd-udevd,139
           ├─thd,322 --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
           ├─udisksd,838 --no-debug
           │   ├─{cleanup},852
           │   ├─{gdbus},841
           │   ├─{gmain},839
           │   └─{probing-thread},842
           ├─wpa_supplicant,327 -u -s -O /run/wpa_supplicant
           └─wpa_supplicant,422 -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
      pi@raspberrypi:~ $
      
      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom

      it shows the following status after the modification:

      pi@raspberrypi:~ $ pm2 restart mm
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [mm](ids: 1)
      [PM2] [mm](1) ✓
      ┌─────────────┬────┬──────┬─────────┬────┬─────┬──────────┐
      │ Name        │ id │ mode │ status  │ ↺  │ cpu │ memory   │
      ├─────────────┼────┼──────┼─────────┼────┼─────┼──────────┤
      │ avm_stream  │ 2  │ fork │ stopped │ 1  │ 0%  │ 0 B      │
      │ mm          │ 1  │ fork │ online  │ 1  │ 0%  │ 2.5 MB   │
      │ omx_stream1 │ 0  │ fork │ stopped │ 31 │ 0%  │ 0 B      │
      └─────────────┴────┴──────┴─────────┴────┴─────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      
      pi@raspberrypi:~ $ pm2 logs mm
      [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2019-07-09T20_38_42_696Z-debug.log
      1|mm       | 
      1|mm       | (electron:1742): Gtk-WARNING **: cannot open display: :0
      1|mm       | npm ERR! code ELIFECYCLE
      1|mm       | npm ERR! errno 1
      1|mm       | npm ERR! magicmirror@2.7.1 start: `sh run-start.sh`
      1|mm       | npm ERR! Exit status 1
      1|mm       | npm ERR! 
      1|mm       | npm ERR! Failed at the magicmirror@2.7.1 start script.
      1|mm       | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      1|mm       | 
      1|mm       | npm ERR! A complete log of this run can be found in:
      1|mm       | npm ERR!     /home/pi/.npm/_logs/2019-07-09T20_38_45_348Z-debug.log
      1|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.
      1|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.
      
      /home/pi/.pm2/logs/mm-out.log last 15 lines:
      1|mm       |     "--avdict",
      1|mm       |     "rtsp_transport:tcp",
      1|mm       |     "--win",
      1|mm       |     "666, 393, 1018, 635",
      1|mm       |     "--live",
      1|mm       |     "--video_queue",
      1|mm       |     "4",
      1|mm       |     "--audio_queue",
      1|mm       |     "4",
      1|mm       |     "--fps",
      1|mm       |     "25",
      1|mm       |     "rtsp://192.168.178.1:554/?avm=1&freq=394&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,266,593,594,595,598,1801,1802,1803"
      1|mm       | ]
      1|mm       | Starting PM2 for omx_stream1
      1|mm       | PM2 started for omx_stream1
      
      pi@raspberrypi:~ $ ps -eaf | grep omxplayer | grep -v grep
      pi        6325   813  0 23:17 ?        00:00:00 bash /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 393, 1018, 635 --live --video_queue 4 --audio_queue 4 --fps 25 rtsp://192.168.178.1:554/?avm=1&freq=394&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,266,593,594,595,598,1801,1802,1803
      pi        6327  6325  0 23:17 ?        00:00:00 bash /usr/bin/omxplayer --avdict rtsp_transport:tcp --win 666, 393, 1018, 635 --live --video_queue 4 --audio_queue 4 --fps 25 rtsp://192.168.178.1:554/?avm=1&freq=394&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,266,593,594,595,598,1801,1802,1803
      
      pi@raspberrypi:~ $ pm2 status
      ┌─────────────┬────┬──────┬─────────┬─────┬─────┬──────────┐
      │ Name        │ id │ mode │ status  │ ↺   │ cpu │ memory   │
      ├─────────────┼────┼──────┼─────────┼─────┼─────┼──────────┤
      │ avm_stream  │ 2  │ fork │ stopped │ 1   │ 0%  │ 0 B      │
      │ mm                   │ 1  │ fork │ online  │ 1   │ 0%  │ 2.5 MB   │
      │ omx_stream1 │ 0  │ fork │ online  │ 117 │ 0%  │ 2.6 MB   │
      └─────────────┴────┴──────┴─────────┴─────┴─────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      
      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      The command working with the omx player is:

      /usr/bin/omxplayer --genlog --live --video_queue 4 --audio_queue 4 --win '1 720 503 1010' 'rtsp://192.168.178.1:554/?avm=1&freq=394&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,266,593,594,595,598,1801,1802,1803'
      
      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom

      Thank you very much for your guidance getting it to this point !!!

      Great that it is working so far!

      Have a good evening and i will follow your recommendations and let you know the outcome!

      Bill

      posted in Utilities
      B
      bill22
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @evroom

      yes with Buck Bunny the audio was there.

      I use audio over HDMI.

      adding

      --audio_queue 4
      

      didn’t change the behaviour .

      removed

      --hw
      

      Audio is working smoothly together with video ! !

      posted in Utilities
      B
      bill22
    • 1 / 1