Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth Thermometers #5

Open
lordofscripts opened this issue May 21, 2024 · 2 comments
Open

Bluetooth Thermometers #5

lordofscripts opened this issue May 21, 2024 · 2 comments

Comments

@lordofscripts
Copy link

Any way of interacting with the Govee Thermometer & Hygrometers?

@Grant3W
Copy link
Member

Grant3W commented Jul 17, 2024

Hi @lordofscripts, I've recently been working on a new version of this package that uses the new Govee API. This version should make it pretty easy to work with any device. You can start using it here: https://pkg.go.dev/github.com/loxhill/go-vee@v0.6.0-alpha.1

Example: https://github.com/loxhill/go-vee/tree/v0.6.0-alpha.1?tab=readme-ov-file#usage

According to the Govee docs, this works with the following device types:

  • devices.types.light
  • devices.types.air_purifier
  • devices.types.thermometer
  • devices.types.socket
  • devices.types.sensor
  • devices.types.heater
  • devices.types.humidifier
  • devices.types.dehumidifier
  • devices.types.ice_maker
  • devices.types.aroma_diffuser
  • devices.types.box

Note however, this new version has undergone a major refactor and breaks the API from v0.4.0. Feel free to drop me a reply here if you'd like to give it a try.

@lordofscripts
Copy link
Author

Great! I had noticed that your original API calls were to a different URL but didn't have the chance to investigate further, I only have a slow Raspberry π 2 😔.

As for devices I have:

  • Door/Window sensor
  • Smart Plug
  • Thermometer/Hygrometer (Bluetooth only)
  • Cube Wall Sconces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants