-
Notifications
You must be signed in to change notification settings - Fork 2
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
No data published with deepSleep = false? #3
Comments
Hi sandeen, sorry for the late response. Do you still have the problem? I guess the problem is the naming of the HomieSetting forceValSetting, and forceKeySetting in Sensor.hpp. Could you please change the code of Line 62 and 63 in Sensors.hpp from: If this fix your problem, please provide a pull request. |
My homie-dht is behaving somewhat oddly.
With this config:
"settings":{"type":"sht30","publishInterval":60,"publishForceKey":"temperature","publishForceVal":0.0,"deepSleep":false}
I seem to get no sensor data published, although I do get some heartbeat stuff from the device:
As a further twist, if I publish a config update:
mosquitto_pub -r -t 'homie/homie-dht4/$implementation/config/set' -f ./homie-dht4
I get temps published again, but if I delete the topic:
mosquitto_pub -r -t homie/homie-dht4/$implementation/config/set -n
the updates stop. (I hope the retained config message doesn't cause constant SPIFFs rewrites of the config?)
The text was updated successfully, but these errors were encountered: