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

    bigzolly

    @bigzolly

    0
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    bigzolly Unfollow Follow

    Latest posts made by bigzolly

    • RE: MMM-octomirror-module @shbatm UPDATE Request

      Hi again!

      Sorry for replying on my own post, but here is the solution I was able to make with a little modification, so I though I would gather these into a new message.

      To make it work with username / api key combo:

      1. Open MagicMirror config.js and add a new line to the octomirror module config a new parameter called user: “username”, then save it.
      2. Open octomirror-module.js in the modules/octomirror-module directory, and modify this:
        let user = “_api”, session = “”;
        to this:
        let user = this.config.user, session = “”;
      3. Save it, and restart the mirror. That should fix the connection issue :)

      Hope it might help someone.
      bigzolly

      posted in Feature Requests
      B
      bigzolly
    • MMM-octomirror-module @shbatm UPDATE Request

      Hi hello guys!

      I would like to drop in some information that might help others and also throw in a request that might be able to be solved via a skilled one :)
      I happened to use the octomirror-module by @shbatm for a pretty long time, but after a failure of my pi I was not able to make it work again until now. It’s a pretty lame error I did, but actually managed to solve that.
      So basically if you see that you cannot get information by the printer, the reason could be that you have given the octomirror-module an application key but not a global key as it seems the module itself connect to the api without username and that is available only with using the global key. If the global key is used then everything still functioning properly.
      However the global key will be deprecated in octoprint2.0. (notice at the API page).
      Here comes the request part:
      As I am not that competent in modifying this code, is it possible for someone to actually make it to use a username - application combination (pulled from config.js) to connect to the api, to make it future-proof?

      Thanks for reading. Have a great time :) And hope someone will find a solution :)
      bigzolly

      posted in Feature Requests
      B
      bigzolly
    • RE: OctoMirror - Not getting any updates on Info (shows only N/A)

      @bigzolly said in OctoMirror - Not getting any updates on Info (shows only N/A):

      Hi hello everybody!

      As for the start: I am trying to solve this for about a week now without any luck. I also searched in different forums (here as well) and all I can see is that a lot of ppl having still this same problem.
      Right now I have tried to contact @shbatm. Hope he will be answering soon :)

      However here is what I have got so far:

      • Everything updated to it’s latest version.
      • Tried to modify the original module, and I was able to use the passive login via POST with an api key. I also recived back a connected payload, sending me some data.
      • The problem is that I was not getting the “current” or “history” payload at all.
      • Tried to simulate the payloads, and if I do that then it is recieved and translated correctly.

      TLDR:

      Does any1 of you guys have any idea, where to look for the issue? Why OctoPrint is not sending any of these payloads anymore?

      UPDATE:
      I did figured it out finally. It works completely fine. Sorry @shbatm. Somehow the MMM-Alexacontrol module broke it. When I delete the AlexaControl, everything works as intended. Maybe some port related stuff?

      BTW Thanks for reading. Hope might help someone.

      posted in Troubleshooting
      B
      bigzolly
    • OctoMirror - Not getting any updates on Info (shows only N/A)

      Hi hello everybody!

      As for the start: I am trying to solve this for about a week now without any luck. I also searched in different forums (here as well) and all I can see is that a lot of ppl having still this same problem.
      Right now I have tried to contact @shbatm. Hope he will be answering soon :)

      However here is what I have got so far:

      • Everything updated to it’s latest version.
      • Tried to modify the original module, and I was able to use the passive login via POST with an api key. I also recived back a connected payload, sending me some data.
      • The problem is that I was not getting the “current” or “history” payload at all.
      • Tried to simulate the payloads, and if I do that then it is recieved and translated correctly.

      TLDR:

      Does any1 of you guys have any idea, where to look for the issue? Why OctoPrint is not sending any of these payloads anymore?

      posted in Troubleshooting
      B
      bigzolly