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

majsoft

@majsoft

3
Reputation
42
Profile views
18
Posts
0
Followers
2
Following
Joined Aug 16, 2019, 6:43 PM
Last Online Apr 2, 2025, 4:13 AM

majsoft Unfollow Follow

Best posts made by majsoft

  • RE: MM won't launch at startup, but will launch manually

    Hi, this is how I’m running it for now, maybe it will help someone.

    I will install PM2 according to the instructions

    I will skip the command “pm2 startup”

    After installation i proceed like this

    i will create another boot file

    cd ~
    nano mm_start.sh
    

    Add the following lines:

    echo Start PM2......
    pm2 start mm.sh
    read;
    

    set permissions

    chmod +x mm_start.sh
    

    we will set up the script after booting Ubuntu

    Screenshot_5.jpg

    now i can start and stop services at will.

    posted in Troubleshooting
    M
    majsoft
    Oct 28, 2024, 5:06 PM
  • RE: MMM-OpenWeatherMapForecast - delete line

    @sdetweil

    vše vyřešeno. Děkuji.

    Screenshot_1.jpg

    posted in Troubleshooting
    M
    majsoft
    Sep 23, 2024, 5:52 PM

Latest posts made by majsoft

  • RE: MM won't launch at startup, but will launch manually

    Hi, this is how I’m running it for now, maybe it will help someone.

    I will install PM2 according to the instructions

    I will skip the command “pm2 startup”

    After installation i proceed like this

    i will create another boot file

    cd ~
    nano mm_start.sh
    

    Add the following lines:

    echo Start PM2......
    pm2 start mm.sh
    read;
    

    set permissions

    chmod +x mm_start.sh
    

    we will set up the script after booting Ubuntu

    Screenshot_5.jpg

    now i can start and stop services at will.

    posted in Troubleshooting
    M
    majsoft
    Oct 28, 2024, 5:06 PM
  • RE: ubuntu - run the script before sleeping and after waking up the PC

    @sdetweil

    i looked on github but i can’t see or find a fix.

    posted in Troubleshooting
    M
    majsoft
    Oct 28, 2024, 10:43 AM
  • RE: ubuntu - run the script before sleeping and after waking up the PC

    Hi, thanks for guiding me in the right direction.
    I had an error in the placement of the script.

    Now I have verified that it works.
    I will then delete the sleep 60 command and the output to the file, I had time to find out if the necessary services are really turned off.

    so my solution was as follows:

    file creation

    sudo nano /usr/lib/systemd/system-sleep/wakeup.sh
    

    the contents of the file

    #!/bin/sh
    
    case $1/$2 in
    pre/*)
    echo "zastavuji domoticz......"
    service domoticz.sh stop >> /home/meteo/vystup_off.txt
    sleep 60
    ;;
    post/*)
    echo "spouštím domoticz......"
    service domoticz.sh start >> /home/meteo/vystup_on.txt
    sleep 0
    ;;
    esac
    

    permission settings

    sudo chmod a+x /usr/lib/systemd/system-sleep/wakeup.sh
    

    once again thank you very much.

    my next goal : Control MM Using systemd/systemctl
    PM2 is not working correctly on Ubuntu 24 and I need to have MM as a service.
    so far I’m using mm.sh after startup.

    cd ./MagicMirror
    DISPLAY=:0 npm start
    read;
    
    posted in Troubleshooting
    M
    majsoft
    Oct 28, 2024, 10:01 AM
  • RE: MMM-Domoticz-ext BME280 temperature, pressure and humidity are not displayed

    yes i know that but i was hoping someone has dealt with a similar problem with this module and would know some advice.

    posted in Utilities
    M
    majsoft
    Oct 27, 2024, 2:31 PM
  • MMM-Domoticz-ext BME280 temperature, pressure and humidity are not displayed

    Hello everyone, can someone please help? I don’t see the data from the BME280, I only see the inscription. I have no idea where my mistake is.

    bme280.jpg

    {
      module: "MMM-Domoticz-ext",
      
      position: "top_left",
      config: {
        apiBase: "192.168.2.90",
        apiPort: "8081",
            updateInterval: 15,
    displayType: "room",
              alwaysShowDashboard: false,
              alwaysShowActions: false,
              showButtons: false,
                     horizontal: false,
              columnCount: 3,
              dashboardColumnCount: 13,
              maxTitleLength: 18,
    
    coloredIcons: true,
     				
         rooms: [      
    { idx: "1", name:"@ MajSoft 2019 - 2024" },
    //{ idx: "2", name:"" },
    { idx: "3", name:"BME280" },
        ],
    
       }
    },
    
    

    the sensor is connected to the ESP8266 and the data is sent to the domoticz server where the data can be seen.

    domoticz1.jpg
    domoticz2.jpg

    ESP

    ESP1.jpg
    ESP2.jpg

    posted in Utilities
    M
    majsoft
    Oct 26, 2024, 8:44 PM
  • RE: ubuntu - run the script before sleeping and after waking up the PC

    I can’t get the script to run itself, there are tutorials everywhere but none of them worked for me. I have to study further.

    posted in Troubleshooting
    M
    majsoft
    Oct 26, 2024, 8:22 PM
  • ubuntu - run the script before sleeping and after waking up the PC

    Hello everyone, can I ask for help? I’m sorry, I’m using a translator, I can’t speak English.
    I am using the new Ubuntu, where I have Domoticz server and MagicMirror running.
    after 15 minutes the PC goes to sleep and then wakes up with PIR (ESP8266).

    After waking up, it takes a long time for the domoticz server to start working and sending Information to MagicMirror. I don’t want to solve it with service monitor.

    I would like to set up a script:

    before putting the PC to sleep run “sudo service domoticz.sh stop”
    after waking up the PC run “sudo service domoticz.sh start”
    it works reliably in the command line, it just needs a password that I enter and it’s ok.

    I saw somewhere that something like this can be used, but I don’t know exactly where to write, save and that it doesn’t ask for a password. Would someone be willing to write the exact procedure where to write what and save? I found a lot of versions and maybe I got it wrong or the instructions are for older Ubuntu

    First of all thank you very much for the joy and newbie to ubuntu.

    #!/bin/sh
    
    PATH=/sbin:/usr/sbin:/bin:/usr/bin
    
    case "$1" in
        pre)
                #code execution BEFORE sleeping/hibernating/suspending
        ;;
        post)
                #code execution AFTER resuming
        ;;
    esac
    
    exit 0
    
    

    Snímek2.jpg

    posted in Troubleshooting
    M
    majsoft
    Oct 22, 2024, 10:25 PM
  • RE: MMM-OpenWeatherMapForecast - delete line

    @sdetweil

    vše vyřešeno. Děkuji.

    Screenshot_1.jpg

    posted in Troubleshooting
    M
    majsoft
    Sep 23, 2024, 5:52 PM
  • RE: MMM-OpenWeatherMapForecast - delete line

    @sdetweil

    great tool, thank you very much

    Screenshot_3.jpg

    i used like this:

    .MMM-OpenWeatherMapForecast .module-header {
    font-size: 35px;
    color: white;
    text-transform: none;
    border-bottom: 0px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    }
    

    can you advise how to move the text by a few pixels?
    I can’t use text-align center, the module is wide and the text would interfere with the map.
    I can’t figure it out. Thanks in advance

    Screenshot_4.jpg

    posted in Troubleshooting
    M
    majsoft
    Sep 21, 2024, 11:34 PM
  • MMM-OpenWeatherMapForecast - delete line

    Good morning,

    please advise how to delete this line marked with a red arrow?

    I assume it will be a CSS edit, would someone be willing to write exactly what I should edit?

    Thank you very much in advance.

    Screenshot_1.jpg

    posted in Troubleshooting
    M
    majsoft
    Sep 21, 2024, 9:08 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy