Skip to content

Add support for Govee H5109 floating temperature sensor as a Thermostat#1082

Merged
bwp91 merged 2 commits intohomebridge-plugins:latestfrom
nrc2358:latest
Apr 13, 2025
Merged

Add support for Govee H5109 floating temperature sensor as a Thermostat#1082
bwp91 merged 2 commits intohomebridge-plugins:latestfrom
nrc2358:latest

Conversation

@nrc2358
Copy link
Contributor

@nrc2358 nrc2358 commented Apr 9, 2025

Redo of my last PR because I submitted it with the H5109 as a temp sensor instead of a thermostat which I found to be less useful.

This pull request adds support for the Govee H5109 floating pool temperature sensor to the homebridge-govee plugin.

I've added a new device file (sensor-thermo-H5109.js) and made the necessary changes to constants.js, platform.js, and device/index.js to integrate this sensor type. The implementation allows the device to appear as a thermostat in HomeKit. I used a thermostat instead of a temperature sensor so it shows as a block on the home summary.

I want to apologize if any part of my submission is outside the norm or doesn't follow best practices. This is my first time really coding something, much less contributing to GitHub, so I'm still learning the proper workflows and coding standards.

I've tested this implementation by copying the code to my personal homebridge server where I'm using the H5109 floating sensor. The sensor successfully connects and reports temperature data to HomeKit.

Thank you for considering my contribution to this project!

nrc2358 added 2 commits April 8, 2025 21:51
…del as a thermostat and updating constants. Include new device type for H5109 in device index.
@bwp91 bwp91 merged commit 8573fcc into homebridge-plugins:latest Apr 13, 2025
4 checks passed
@bwp91
Copy link
Collaborator

bwp91 commented Apr 13, 2025

Looks good @nrc2358 thanks for taking the time to do this!

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

Successfully merging this pull request may close these issues.

2 participants