Install Govee V2 Intergration, with API code, It detected Govee H7151 Dehumifier Max which Govee V2 Research Driver. Only On/Off option. Error log " 2026-02-23 12:01:23.586 PM
error
java.lang.NullPointerException: Cannot get property 'options' on null object on line 872 (method initialize)"
Please help? Thanks
yea.. the research driver probably could use some work. that is installed when the devices combination of properties doesn't exactly match known configurations and we do not have a valid driver for it.
Open the device and DM me the devices state values. They are populated with the avaliable command and values the device uses. Then Go to the "Device Info" tab and send me the information in the "Device Data" section displayed. You can leave out or blur your API Key if you want i don't need that.
That will be the information needed to figure out what options to enable in a device specfiic driver. i should be able to build it in short order as most of them build upon previous devices already.
I have posted a driver to the integration so if you update it through HPM and download that driver we can test to see if it enables the functions. I believe everything should work based on what i was able to see. We may need to tweak a few things for the Work Mode command since it didn't show anything in the state value for it with the research driver. . Let me know how it goes once you get it downloaded and you update the driver to the new one.
Thanks, will try and let you know
Update HPM, and reinstall User App, enter API, founnd my 3 Govee devices. Processing setup of devices from selected device (lights and Dehumidifier), hang up at "Installing new devices from selected list... Please wait.." !
Never mind, I installed. Testing and will let you know.
Thanks
I have updated the driver based on your message. I removed the custom workMode and added Dryer. Is everything else working well.
Thanks for update. Everything is basically working. Govee H7151 has build in humidity sensor, is anyway to query the current humidity so can automate base on desired humidity? also for desired humidity it range 30% to 80%.
Again Thanks
Can you turn on debug logging and then click on the refresh button. That should trigger a poll of the Govee Cloud API. Then capture what is returned and send it to me. with debug on it should show everything that was returned from the API reguardless of weather it is processed or not. I may just need to add the attribute to the device.
That said i think it is unlikely the API is returning the Humidity based on the CapTypes reported by the device.
It doesn't look like the Humidity is being returned by the polling of the API so i won't be able to capture it here.
I wasn’t aware of this device til I saw this thread.
But am I understanding right that it’s a dehumidifier that doesn’t report humidity through govee’s API?
Yep. That is true. That actually isn't as uncommon as you might think it should be. There are very few devices that return sensor data that are not sensor devices actually.
1 Like
Well when it comes to the Govee stuff anytime. Feel free to bring any questions and such into the main Govee Integration V2 support thread.