You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the meantime I have identified the reason
In the previous PR, I removed some code which was making the KNX driver limited to a short list of T&H sensor based on direct GPIO. My change would have allowed to support any T&H sensor including I2C sensors. Some configuration was done later, on the 1st Teleperiod.
But this was not counting on a configuration test performed at the start that was erasing the configuration if some GA was found for sensors that were not yet declared.
I already submit a PR #21378 where I remove totally the test.
I think this is safe to assume that if the user has configured a GA for a temperature sensor (or humidity), then he has connected such sensor.
PROBLEM DESCRIPTION
The last commit to solve the issue #20834 introduce a regression :
Since this commit, the whole KNX configuration is lost after reboot when configuring a DHT11 sensor as KNX Source.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
If I don't configure the sensor as a KNX object, the configuration is persistant after the reboot.
I.E : Configure 2 GA
Configuration is still present after reboot
When I configure the DHT11 sensor to send data on a KNX GA, the configuration is lost after the reboot.
Adding 2 GA for Temperature and Humidity sensors
This configuration works as expected until reboot .
After reboot, All KNX configuration is lost except the physical address
EXPECTED BEHAVIOUR
The KNX configuration should persist after the reboot even using a DHT11 sensor.
SCREENSHOTS
Configuration BEFORE reboot when using a DHT11 sensor
Configuration AFTER reboot when using a DHT11 sensor
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: