• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Gosund SP111

Scheduled Pinned Locked Moved Requests
15 Posts 2 Posters 1.8k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    lordhelix
    last edited by lordhelix Jun 21, 2020, 9:00 AM Jun 21, 2020, 8:54 AM

    @lavolp3 Thank you. It looks like the topic isn’t subscribed.

    My MQTT-DATA

    09:31:09 MQT: tele/Testdose/STATE = {"Time":"2020-06-21T09:31:09","Uptime":"0T10:37:28","UptimeSec":38248,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER":"OFF","Wifi":{"AP":2,"SSId":"XXX2,4GHz","BSSId":"44:4E:6D:94:88:30","Channel":1,"RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:03"}}
    09:31:09 MQT: tele/Testdose/SENSOR = {"Time":"2020-06-21T09:31:09","ENERGY":{"TotalStartTime":"2020-06-20T19:39:40","Total":0.195,"Yesterday":0.195,"Today":0.000,"Period":0,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":0,"Current":0.000}}
    09:31:11 MQT: stat/Testdose/RESULT = {"POWER":"ON"}
    09:31:11 MQT: stat/Testdose/POWER = ON
    09:31:16 MQT: stat/Testdose/RESULT = {"POWER":"OFF"}
    09:31:16 MQT: stat/Testdose/POWER = OFF
    09:36:09 MQT: tele/Testdose/STATE = {"Time":"2020-06-21T09:36:09","Uptime":"0T10:42:28","UptimeSec":38548,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"POWER":"OFF","Wifi":{"AP":2,"SSId":"XXX2,4GHz","BSSId":"44:4E:6D:94:88:30","Channel":1,"RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:03"}}
    09:36:09 MQT: tele/Testdose/SENSOR = {"Time":"2020-06-21T09:36:09","ENERGY":{"TotalStartTime":"2020-06-20T19:39:40","Total":0.195,"Yesterday":0.195,"Today":0.000,"Period":0,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":0,"Current":0.000}}
    
    pi@raspberrypi:~ $ pm2 stop all
    [PM2] Applying action stopProcessId on app [all](ids: 0)
    [PM2] [MagicMirror](0) ✓
    ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
    │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
    ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
    │ 0  │ MagicMirror        │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
    └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
    pi@raspberrypi:~ $ cd MagicMirror
    pi@raspberrypi:~/MagicMirror $ npm start dev
    
    > magicmirror@2.11.0 start /home/pi/MagicMirror
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev"
    
    [2020-06-21 10:29:22.516] [LOG]    Starting MagicMirror: v2.11.0
    [2020-06-21 10:29:22.528] [LOG]    Loading config ...
    [2020-06-21 10:29:22.537] [LOG]    Loading module helpers ...
    [2020-06-21 10:29:22.572] [LOG]    Initializing new module helper ...
    [2020-06-21 10:29:22.574] [LOG]    Module helper loaded: MMM-Admin-Interface
    [2020-06-21 10:29:22.577] [LOG]    No helper found for module: alert.
    [2020-06-21 10:29:22.654] [LOG]    Initializing new module helper ...
    [2020-06-21 10:29:22.654] [LOG]    Module helper loaded: updatenotification
    [2020-06-21 10:29:22.656] [LOG]    No helper found for module: clock.
    [2020-06-21 10:29:23.293] [LOG]    Initializing new module helper ...
    [2020-06-21 10:29:23.294] [LOG]    Module helper loaded: calendar
    [2020-06-21 10:29:23.295] [LOG]    No helper found for module: currentweather.
    [2020-06-21 10:29:23.296] [LOG]    No helper found for module: weatherforecast.
    [2020-06-21 10:29:23.297] [LOG]    No helper found for module: MMM-WiFiPassword.
    [2020-06-21 10:29:23.301] [LOG]    Initializing new module helper ...
    [2020-06-21 10:29:23.302] [LOG]    Module helper loaded: MMM-BurnIn
    [2020-06-21 10:29:23.305] [LOG]    Initializing new module helper ...
    [2020-06-21 10:29:23.306] [LOG]    Module helper loaded: MMM-COVID19
    [2020-06-21 10:29:23.541] [LOG]    Initializing new module helper ...
    [2020-06-21 10:29:23.543] [LOG]    Module helper loaded: MMM-Tasmota
    [2020-06-21 10:29:23.544] [LOG]    All module helpers loaded.
    [2020-06-21 10:29:23.723] [LOG]    Starting server on port 8080 ...
    [2020-06-21 10:29:23.739] [INFO]   You're using a full whitelist configuration t                                                                                      o allow for all IPs
    [2020-06-21 10:29:23.752] [LOG]    Server started ...
    [2020-06-21 10:29:23.754] [LOG]    Connecting socket for: MMM-Admin-Interface
    [2020-06-21 10:29:23.756] [LOG]    Starting node helper for: MMM-Admin-Interface
    [2020-06-21 10:29:23.874] [LOG]    Connecting socket for: updatenotification
    [2020-06-21 10:29:23.876] [LOG]    Connecting socket for: calendar
    [2020-06-21 10:29:23.877] [LOG]    Starting node helper for: calendar
    [2020-06-21 10:29:23.878] [LOG]    Connecting socket for: MMM-BurnIn
    [2020-06-21 10:29:23.879] [LOG]    Connecting socket for: MMM-COVID19
    [2020-06-21 10:29:23.881] [LOG]    Starting node helper for: MMM-COVID19
    [2020-06-21 10:29:23.882] [LOG]    Connecting socket for: MMM-Tasmota
    [2020-06-21 10:29:23.888] [LOG]    Sockets connected & modules started ...
    [2020-06-21 10:29:24.008] [LOG]    Launching application.
    [2020-06-21 10:29:29.805] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/XXXXXXXX/basic.ics - Interval: 300000
    [2020-06-21 10:29:31.246] [LOG]    MMM-Tasmota: "Connected to host: http://localhost:1883"
    [2020-06-21 10:29:31.248] [LOG]    MMM-Tasmota: "Subscribing to topic: stat/Testdose/#"
    [2020-06-21 10:29:31.296] [LOG]    MMM-Tasmota: "Subscribed to topic: stat/Testdose/#"
    [2020-06-21 10:31:12.139] [LOG]    MMM-Tasmota: "Received message from: stat/Testdose/RESULT"
    [2020-06-21 10:31:12.145] [LOG]    MMM-Tasmota: "Received message from: stat/Testdose/POWER"
    
    L 1 Reply Last reply Jun 22, 2020, 8:29 AM Reply Quote 0
    • L Offline
      lavolp3 Module Developer @lordhelix
      last edited by lavolp3 Jun 22, 2020, 9:19 AM Jun 22, 2020, 8:29 AM

      @lordhelix Can you please do a git pull and do the whole thing again (npm start dev)?
      I have increased debugging output so we can see the data that has been transferred to the module.

      Thank you!

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      1 Reply Last reply Reply Quote 0
      • L Offline
        lordhelix
        last edited by Jun 22, 2020, 5:39 PM

        Hello @lavolp3 ,

        i try the git pull…

        pi@raspberrypi:~ $ cd MagicMirror/modules/MMM-Tasmota
        pi@raspberrypi:~/MagicMirror/modules/MMM-Tasmota $ git pull                    
        error: Objektdatei .git/objects/e3/ac23aabf6431dd82b8c207f734f8c046831f05 ist leer.
        error: Objektdatei .git/objects/e3/ac23aabf6431dd82b8c207f734f8c046831f05 ist leer.
        fatal: Loses Objekt e3ac23aabf6431dd82b8c207f734f8c046831f05 (gespeichert in .git/objects/e3/ac23aabf6431dd82b8c207f734f8c046831f05) ist beschädigt.
        fatal: Die Gegenseite hat unerwartet abgebrochen.
        

        I change the node-helper.js manually. Error. i delete the module and clone new.

        pi@raspberrypi:~/MagicMirror $ npm start dev
        
        > magicmirror@2.11.0 start /home/pi/MagicMirror
        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dev"
        
        [2020-06-22 19:22:16.259] [LOG]    Starting MagicMirror: v2.11.0
        [2020-06-22 19:22:16.275] [LOG]    Loading config ...
        [2020-06-22 19:22:16.284] [LOG]    Loading module helpers ...
        [2020-06-22 19:22:16.325] [LOG]    Initializing new module helper ...
        [2020-06-22 19:22:16.326] [LOG]    Module helper loaded: MMM-Admin-Interface
        [2020-06-22 19:22:16.329] [LOG]    No helper found for module: alert.
        [2020-06-22 19:22:16.399] [LOG]    Initializing new module helper ...
        [2020-06-22 19:22:16.400] [LOG]    Module helper loaded: updatenotification
        [2020-06-22 19:22:16.401] [LOG]    No helper found for module: clock.
        [2020-06-22 19:22:17.118] [LOG]    Initializing new module helper ...
        [2020-06-22 19:22:17.119] [LOG]    Module helper loaded: calendar
        [2020-06-22 19:22:17.120] [LOG]    No helper found for module: currentweather.
        [2020-06-22 19:22:17.122] [LOG]    No helper found for module: weatherforecast.
        [2020-06-22 19:22:17.123] [LOG]    No helper found for module: MMM-WiFiPassword.
        [2020-06-22 19:22:17.126] [LOG]    Initializing new module helper ...
        [2020-06-22 19:22:17.127] [LOG]    Module helper loaded: MMM-BurnIn
        [2020-06-22 19:22:17.131] [LOG]    Initializing new module helper ...
        [2020-06-22 19:22:17.132] [LOG]    Module helper loaded: MMM-COVID19
        [2020-06-22 19:22:17.406] [LOG]    Initializing new module helper ...
        [2020-06-22 19:22:17.407] [LOG]    Module helper loaded: MMM-Tasmota
        [2020-06-22 19:22:17.408] [LOG]    All module helpers loaded.
        [2020-06-22 19:22:17.611] [LOG]    Starting server on port 8080 ...
        [2020-06-22 19:22:17.629] [INFO]   You're using a full whitelist configuration to allow for all IPs
        [2020-06-22 19:22:17.642] [LOG]    Server started ...
        [2020-06-22 19:22:17.645] [LOG]    Connecting socket for: MMM-Admin-Interface
        [2020-06-22 19:22:17.647] [LOG]    Starting node helper for: MMM-Admin-Interface
        [2020-06-22 19:22:17.780] [LOG]    Connecting socket for: updatenotification
        [2020-06-22 19:22:17.781] [LOG]    Connecting socket for: calendar
        [2020-06-22 19:22:17.783] [LOG]    Starting node helper for: calendar
        [2020-06-22 19:22:17.784] [LOG]    Connecting socket for: MMM-BurnIn
        [2020-06-22 19:22:17.785] [LOG]    Connecting socket for: MMM-COVID19
        [2020-06-22 19:22:17.786] [LOG]    Starting node helper for: MMM-COVID19
        [2020-06-22 19:22:17.788] [LOG]    Connecting socket for: MMM-Tasmota
        [2020-06-22 19:22:17.795] [LOG]    Sockets connected & modules started ...
        [2020-06-22 19:22:17.933] [LOG]    Launching application.
        [2020-06-22 19:22:24.276] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/XXXXXXX/basic.ics - Interval: 300000
        [2020-06-22 19:22:25.493] [LOG]    MMM-Tasmota: "Connected to host: http://localhost:1883"
        [2020-06-22 19:22:25.495] [LOG]    MMM-Tasmota: "Subscribing to topic: stat/Testdose/#"
        [2020-06-22 19:22:25.545] [LOG]    MMM-Tasmota: "Subscribed to topic: stat/Testdose/#"
        [2020-06-22 19:25:12.232] [LOG]    MMM-Tasmota: "Received message from stat/Testdose/RESULT: {\"POWER\":\"ON\"}"
        [2020-06-22 19:25:12.342] [LOG]    MMM-Tasmota: "Received message from stat/Testdose/POWER: ON"
        
        
        L 1 Reply Last reply Jun 22, 2020, 8:36 PM Reply Quote 0
        • L Offline
          lavolp3 Module Developer @lordhelix
          last edited by Jun 22, 2020, 8:36 PM

          @lordhelix what is your mqtt configuration in the devices? Especially the telemetry interval? It seems you see a message that power state has changed but no state and power data that gets distributed in intervals. Have you waited long enough?

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          1 Reply Last reply Reply Quote 0
          • L Offline
            lordhelix
            last edited by lordhelix Jun 23, 2020, 11:45 AM Jun 23, 2020, 11:11 AM

            Hello @lavolp3 ,

            i wait 25 minutes yesterday.

            interval: 300 // 5 minutes, i don´t change it, this is default.

            I change the Period to 10 seconds, but the same problem.

            899566e1-a21e-49b1-8f47-541dea3537b2-image.png

            L 1 Reply Last reply Jun 23, 2020, 12:09 PM Reply Quote 0
            • L Offline
              lavolp3 Module Developer @lordhelix
              last edited by lavolp3 Jun 23, 2020, 12:09 PM Jun 23, 2020, 12:09 PM

              @lordhelix we should track this on github to not spam here, can you please open an issue?
              I’m currently out of ideas, but will follow up on github. I need your input to see that my module works for others :-)

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              1 Reply Last reply Reply Quote 0
              • L Offline
                lavolp3 Module Developer
                last edited by Jun 23, 2020, 12:17 PM

                @lordhelix I have again increased debugging output.
                Please update the module again and report back on github.
                Thanks!

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                2 / 2
                • First post
                  13/15
                  Last post
                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