Skip to content
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

Enhancement #2

Merged
merged 73 commits into from
Jun 30, 2023
Merged

Enhancement #2

merged 73 commits into from
Jun 30, 2023

Conversation

chrisgilldc
Copy link
Owner

Pull in latest enhancements and bugfixes. System is now pretty much stable and can gracefully handle errors when encountered. Most work is around glitchy sensors during operations.

…factors of the methods. Bays also now processes defaults more simply and includes built-in fallback defaults (tertiary defaults) in case a specific and default setting isn't provided. Not available for some settings.
…ted detector setup method to apply settings to detectors consistent with refactor of detectors.
Update Config handler to process for new parameters.
…to a 'status' and a state property. Status is used to set the desired operating status of the detector (and thus the sensor). State reports the actual operating state of the sensor. This both cleans up a lot of cruft and allows for cleaner detection of errors, when status and state are not tracking.
…s-through properties for state and fault. Additional debugging and decrufting.
…ion to network module based on object states. Phasing out topic dict.

Restructing MQTT topics to put detector values under their own bay subtopic and split out values into their own entities, rather than packing things into JSON values.
Home Assistant discovery NOT reworked yet.
Fix log level determination for bays and detectors.
Add core.system_state to track overall system state. This allows flagging when the system is shutting down and preventing sending some wonky MQTT messages.
…'re sensor readings. This is for debugging, don't expect they'll be needed in production.
Override repetition setting and send all payloads for 15s after discovery to ensure HA picks up values for new entities.
Additional discovery elements.
- Create class-level dict to store AW9523 objects, make sure there aren't duplicates.
- New utility method to set all AW9523 pins off when AW9523 object is created.
- Improvments to Sensor error handling.
@chrisgilldc chrisgilldc merged commit 2562747 into main Jun 30, 2023
@chrisgilldc chrisgilldc deleted the enhancement branch June 30, 2023 10:44
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.

1 participant