question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

humidifier-dehumidifier accessory is throwing an error when "noHumidity" is set to true

See original GitHub issue

This is the config I have in my setup:

{ "name": "Humidifier", "type": "humidifier-dehumidifier", "host": "192.168.4.23", "showSwingMode": false, "humidifierOnly": true, "showLockPhysicalControls": false, "noHumidity": true, "data": {} }

This is the error in the console:

[2020-10-25 14:19:15] [Broadlink RM] Humidifier getSwitchState: false [2020-10-25 14:19:16] ReferenceError: serviceManager is not defined     at HumidifierDehumidifierAccessory.getCurrentHumidity (/usr/lib/node_modules/homebridge-broadlink-rm-pro/accessories/humidifier-dehumidifier.js:182:7)     at CurrentRelativeHumidity.emit (events.js:314:20)     at CurrentRelativeHumidity.EventEmitter.emit (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)     at CurrentRelativeHumidity.Characteristic._this.getValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:489:12)     at ServiceManager.refreshCharacteristicUI (/usr/lib/node_modules/homebridge-broadlink-rm-pro/helpers/serviceManager.js:27:44)     at Timeout._onTimeout (/usr/lib/node_modules/homebridge-broadlink-rm-pro/node_modules/homebridge-platform-helper/accessory.js:195:42)     at listOnTimeout (internal/timers.js:554:17)     at processTimers (internal/timers.js:497:7)

@kiwi-cam It would be great also to have the option to read current humidity from a file, same way aircon does. Otherwise, it will appear as 0% in the house. Thanks!!!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Faisalthe01commented, Oct 26, 2020

i think it is form “noHumidity”: true, can you get rid of that and check

0reactions
CyberMrPropercommented, Oct 26, 2020

Thank you for the quick reply! now this issue is fixed. I’ve found a couple of additional glitches in this accessory, but I should probably open new bugs. Eg:

  1. when humidifierOnly is true and the device is off, the device status in HK keeps saying “Rising to x %” instead of “off” (I think current humidity status is not updated to inactive when turning off the device)
  2. Auto off option is not working
Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved! Why is My Dehumidifier Not Working?
Dehumidifiers remove excess moisture from the air, so it can quickly become an uncomfortable and sticky situation when one stops working.
Read more >
Common Humidifier Problems and How to Fix Them
If the humidifier is switched on, but nothing is happening, the first thing you want to do is check for power. Make sure...
Read more >
DEP400/650/700/740 Portable Dehumidifier Installation
Setting up and installing the EdgeStar portable dehumidifier. This video covers the DEP400/650/700 dehumidifiers. - http://www.edgestar.com ...
Read more >
Why Your Dehumidifier Differs With Your Humidity Meter?
Find Out The Answer To One Of The Most Common Questions We Get Asked About - Why Is Your Dehumidifier Not Agreeing With...
Read more >
Frequently Asked Questions About Dehumidifiers
How do I know if I need a dehumidifier? Dehumidifiers are the best way to remove excess moisture from your home and avoid...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found