GeekyEggo / GoveeController

Govee controller for the Elgato Stream Deck.
GNU General Public License v3.0
40 stars 6 forks source link

Unable to use my Govee API #51

Closed Undivided-1 closed 12 months ago

Undivided-1 commented 1 year ago

I am using an M2 Mac mini I have my Govee API and I have installed the beta plugin into my Stream deck I am trying to make an ON/OFF toggle and I am putting in my API Streamdeck just says connecting and nothing happens. I have gone over to my Govee Developer portal and I am able to test my API I can list my devices, get my device status state and also control my device I would guess that my API is working just not with streamdeck?.

The controller is not asking for my devices MAC address or model. Just the API

I must be doing something wrong or have not completed a step.

Anyone have any ideas?

Undivided-1 commented 1 year ago

After some troubleshooting I believe I know what is going on. Govee uses the 2.4 band and my Mac is automatically choosing the 5ghz band. My Optimum router has the same SSID for the different bands and I do not see a way to separate them. I tried a few ways to force my Mac to use a specific channel but this does not work.

But that does not explain why I can control my Govee device from the developer portal using my API key while on the 5Ghz band.

Undivided-1 commented 1 year ago

Anyone??

GeekyEggo commented 1 year ago

Hey @Undivided-1, so I’m able to investigate this further, could I please ask you to upload the logs file to this issue. This can be found at:

~/Library/Application Support/com.elgato.StreamDeck/Plugins/com.geekyeggo.goveecontroller.sdPlugin

And then in the macOS folder, there should be a “logs” folder.

Undivided-1 commented 1 year ago

I do not see a logs folder in the com.geekyeggo.goveecontroller.sdPlugin folder I see an osx folder but there is no log folder there either

GeekyEggo commented 1 year ago

If you navigate to ~/Library/Logs/StreamDeck/, are there any folders there that resemble com.geekyeggo.goveecontroller?

Undivided-1 commented 1 year ago

Unfortunately no. In ~/Library/Logs/ElgatoStreamDeck/ there are only Streamdeck logs.

GeekyEggo commented 1 year ago

Hmm, sadly it sounds as though the plugin isn't running. 🤔 Could I ask you to:

  1. Uninstall the plugin (right click one of the actions, and then "Uninstall").
  2. Restart your laptop.
  3. Download and install the latest beta.
Undivided-1 commented 1 year ago

I uninstalled the plugin and restarted my Mac mini I downloaded and installed the latest Beta When I add my API to the controller, it just says Connecting and nothing happens I navigated to ~/Library/Application Support/com.elgato.StreamDeck/Plugins/com.geekyeggo.goveecontroller.sdPlugin/OSX and still do not see any logs folder

Could this be an issue with the Apple Silicon M2 Mac?

Undivided-1 commented 1 year ago

So in the JSON file, I see the Code path for the Mac controller - ~/Library/Application Support/com.elgato.StreamDeck/Plugins/com.geekyeggo.goveecontroller.sdPlugin/OSX/GoveeController

If I run this I get an error saying Zsh: bad CPU So I am guessing the plugin is not running and this is an apple silicon compatibility issue?

I installed Rosetta (softwareupdate --install-rosetta) and reran the executable. I no longer get the bad CPU

I restarted Streamdeck and now when I add the API I am asked for the Device and action 😀

Everything is working now :)

GeekyEggo commented 12 months ago

Hey @Undivided-1, just catching up on tickets - great to hear everything is now working! I’m going to close this ticket, but if you have any further questions or problems, please don’t hesitate to ask.