• 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.

Switchbot API access - MMM-CommandtoNotification

Scheduled Pinned Locked Moved Unsolved Requests
6 Posts 2 Posters 277 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.
  • B Offline
    BKeyport Module Developer
    last edited by Aug 7, 2024, 1:42 AM

    Folks, I’m not understanding the api at https://github.com/OpenWonderLabs/SwitchBotAPI very well - What I’d like to do is use MMM-CommandtoNotification to get the current tempurature and humidity off my switchbot hub 2, so I can display it on my mirror in another room.

    Could someone help me develop the command/code to do so?

    I flat out think it’s beyond my current ability.

    Thanks!

    The "E" in "Javascript" stands for "Easy"

    S 1 Reply Last reply Aug 7, 2024, 2:50 AM Reply Quote 0
    • S Offline
      sdetweil @BKeyport
      last edited by Aug 7, 2024, 2:50 AM

      @BKeyport easier to write the module and not add another script to process the results

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Aug 7, 2024, 8:40 AM Reply Quote 0
      • B Offline
        BKeyport Module Developer @sdetweil
        last edited by Aug 7, 2024, 8:40 AM

        @sdetweil You might be right - but then again - when you’re already using CommandToNotification for the back end of a module, you might as well continue.

        Even so, the problem still exists - I’m having trouble following the documentation for the API.

        The "E" in "Javascript" stands for "Easy"

        S 1 Reply Last reply Aug 7, 2024, 2:09 PM Reply Quote 0
        • S Offline
          sdetweil @BKeyport
          last edited by Aug 7, 2024, 2:09 PM

          @BKeyport doesn’t look good for bash/curl usage

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Aug 11, 2024, 11:54 AM Reply Quote 0
          • S Offline
            sdetweil @sdetweil
            last edited by Aug 11, 2024, 11:54 AM

            @BKeyport I am away from my dev system, will try to look this week when I return

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Aug 11, 2024, 11:19 PM Reply Quote 0
            • B Offline
              BKeyport Module Developer @sdetweil
              last edited by Aug 11, 2024, 11:19 PM

              @sdetweil Actually, I went around it - found one of my old temp units and wired it up and did a bad thing™ according to the python docs now.

              Same effect, across the room.

              The "E" in "Javascript" stands for "Easy"

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