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

    Posts

    Recent Best Controversial
    • RE: Online Radio

      @tanvir586 Sorry, needed a moment to figure things out…

      You can try to add “–http-reconnect” and maybe “–http-continuous” to the options.

      Your config should look something like this then:

      
      
             {
      		module: "MMM-MplayerRadio",
      		header: "Radio",
      		position: "top_center",
      		config: {
      			//autoplay: 0,
                              customCommand: "/usr/bin/vlc",
                              customCommandArgs: ["-I","dummy", "--http-reconnect", "--http-continuous", "###URL###"],
      			stations: [
      				{
      					title: "Al Mubarak",
      					url: "https://relay.emasjidlive.uk/almubarakradio",
      					logo: "https://upload.wikimedia.org/wikipedia/commons/a/ac/Antenne-bayern-logo.png",
      				},
      			],
      		},
      	},
      
      
      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 Great if I could help.
      I am not sure how vlc will handle a connection loss. Normally it will try to reconnect but I do not know how long and often it tries.
      Maybe there is a command line option but I think the best option is to try it

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 Hi, just checked the website and found the “real” url of the radio.
      The url “http://95.154.250.9:9980” works fine with my vlc. As long as they do not change their ip it will be functional.

      If it stops working you can go to https://almubarakradio.com/ hit the “Tune in live” button and copy the url of the browser window.

      Edit:
      Found a better way. You can use the url “https://relay.emasjidlive.uk/almubarakradio” which is the url used by the player on page “https://emasjidlive.co.uk/listen/almubarakradio”

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 Ok. Maybe the vlc on the shell ignores it.

      Found an interesting thread which suggests running vlc with a additional option:

             {
      		module: "MMM-MplayerRadio",
      		header: "Radio",
      		position: "top_center",
      		config: {
      			//autoplay: 0,
                              customCommand: "/usr/bin/vlc",
                              customCommandArgs: ["-I","dummy", "--alsa-audio-device", "hw:0,0", "###URL###"],
      			stations: [
      				{
      					title: "Al Mubarak",
      					url: "https://emasjidlive.co.uk/listen/almubarakradio",
      					logo: "https://upload.wikimedia.org/wikipedia/commons/a/ac/Antenne-bayern-logo.png",
      				},
      			],
      		},
      	},
      

      If you use a Raspberry Pi 4 with two hdmi you may need to change “hw:0,0” to “hw:1,0” depending of the port your monitor is connected to.

      Maybe this helps. I can not test it at the moment.

      Edit:

      Some people suggest to add

      dtoverlay=vc4-fkms-v3d
      

      to “/boot/config.txt” additionally.

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @wishmaster270 If you do a right click on the speaker symbol you can decide where to output the sound:

      speaker.png

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 If you do have graphical access directly or via vnc you can check the audio settings first.
      Maybe the sound is send to analog out instead of hdmi.

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @bugsounet Oh, good to know. I use Bullseye for a while but currently only have a mirror running without audio.

      @tanvir586
      In default mode (which you use) mplayer is used. As i wrote in the documentation mplayer has caused a lot of problems with many streams. You could try to switch to vlc instead which is working much better but does not provide the current stream information.

      	{
      		module: "MMM-MplayerRadio",
      		header: "Radio",
      		position: "top_center",
      		config: {
      			//autoplay: 0,
                              customCommand: "/usr/bin/vlc",
                              customCommandArgs: ["-I","dummy","###URL###"],
      			stations: [
      				{
      					title: "Al Mubarak",
      					url: "https://emasjidlive.co.uk/listen/almubarakradio",
      					logo: "https://upload.wikimedia.org/wikipedia/commons/a/ac/Antenne-bayern-logo.png",
      				},
      			],
      		},
      	},
      

      Make sure to install vlc first:

      sudo apt update && sudo apt install -y vlc
      
      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 Had a lot of problems with the sound of Raspberry as well. It do not think that it is a problem with the modules it might be a problem with the asound or pulseaudio configuration of the operating system.

      If you use Buster release sound is configured by asound, if you use Bullseye it is PulseAudio.

      Do you use the build in sound of the board or a external sound card?

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 Hi,
      i developed MMM-MplayerRadio a couple of years ago. It still should be functional.

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: MagicMirror install on proxmox LXC Container?

      @sdetweil You are right in running apps with & in the background but if you disconnect the ssh session all background commands will be disconnected as well.
      Either screen or a command like nohup needs to be used to keep the command running.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MagicMirror install on proxmox LXC Container?

      @kusselin
      Hi,

      if your problem is only to keep the command running while/after you disconnected to the container you can use the “screen” command.
      It you should be installed with Ubuntu already. If not you can install it with

      sudo apt update && sudo apt install -y screen
      

      You then start a new screen with

      screen -S NAME
      

      while NAME is simply an alias and could be something like “mm”.

      After this you can start the mirror with

      npm run server
      

      And you can leave the screen with the keyboard combination

      CRTL+ad
      

      The screen then keeps running. If you want the resume to the screen you can use

      screen -r NAME
      
      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MagicMirror Version

      @kusselin
      Hi,

      you can jump to your MagicMirror directory and run:

      git log | head -n 10 | grep Release
      
      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: How to synchronize pictures from mobile to the MM?

      @MajorC
      If you need the watchdog script let me known. Did not push it to any repository till now cause it is only a small bash script.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: How to synchronize pictures from mobile to the MM?

      @sdetweil
      Correct.
      You use the normal Telegram Messanger App but instead of sending pictures to somebody you send it to a bot (which is a supported feature of Telegram)

      The Teleframe acts as a Telegram Client, receives the pictures and saves them to a directory on the mirror.
      As Teleframe creates a images.json file my watchdog only watches this file for changes and sends the notification to the module if needed.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: How to synchronize pictures from mobile to the MM?

      @sdetweil
      Correct. It does not modify the pictures in any way.
      You select the pictures you want to send like sending them via WhatsApp or any other messaging app.

      I forgot to mention that i wrote a small shell script which checks the the directory for new files periodically and sends a “BACKGROUNDSLIDESHOW_UPDATE_IMAGE_LIST” notification via the rest api of MMM-RemoteControl if new pictures are present.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: How to synchronize pictures from mobile to the MM?

      @MajorC
      Hi,

      i run a instance of TeleFrame in botonly mode to send pictures via Telegram to my mirror and save them to a directory.
      Then i use MMM-BackgroundSlideshow to display.
      TeleFrame supports setting a file limit so older files get deleted. But you can not remove pictures via Telegram (only with access to the mirror) if you send them accidently.

      Everybody with access to the bot can send pictures via Telegram app.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons

      @Cr4z33
      If you still want to move the content to the left you can try something like the following in your custom.css:

      .vbn .groupWrapper {
        border-style: none;
        padding: 0px;
        margin-left: 20px;
      }
      
      .vbn .groupsWrapper, .vbn .groupWrapper, .vbn .itemsWrapper, .vbn .valueWrapper {
        justify-content: left;
        align-items: unset;
      }
      
      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons

      @Cr4z33
      No problem.
      Simply add

      .vbn .groupWrapper {
        border-style: none;
        padding: 0px;
      }
      

      to your custom.css

      Ps.: Try to never ever edit any files in the module directory (except mentioned in the documentation) as you will get problems with updates in the future otherwise!

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons

      @Cr4z33
      sorry i do not understand exactly what you mean

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons

      @Cr4z33

      Just tested a view things.
      If you like you can use font awesome icon instead of the title:

      		{
      			module: "MMM-ValuesByNotification",
      			position: "top_left",
      			config: {
                                      updateInterval: 60,
                                      reuseCount: 5,
      				groups: [
      					{
      						items: [
      							{
      								notification: "POWERMETER_VALUES",
      								//itemTitle: "Power",
      								values: [
      									{
      										classes: "power",
      										valueIcon: "fa fa-bolt",
      										valueUnit: "W",
      										jsonpath: "power",
      									},
      								]
      							},
      						]
      					},
      				]
      			},
      		},
      

      custom.css:

      .vbn .valueIcon.power {
        color: orange;
      }
      

      powerBolt.png

      posted in Utilities
      wishmaster270W
      wishmaster270
    • 1
    • 2
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 12 / 17