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

MOSZB-140 some minor cleanup and fixes #4741

Merged
merged 3 commits into from
Oct 5, 2022
Merged

Commits on Oct 5, 2022

  1. utils: postfixWithEndpointName should handle "undefined" better

    e.g. the MOSZB-140 has 35 as the default endpoint, most of the config on genBasic, genPowerCfg and ssIasZone are there.
    Additionally it uses seperate endpoints for temperature and illumance (40 and 39). It also has 3 (!!) msOccupancySensing endpoints (34, 40, 41), for those we do want to provide a suffix to the property name.
    
    For those we don't really need a suffix for the propery name, having `{default: 35, 'logic_a': 34, 'logic_b': 40, 'logic_c': 41}` mostly works but tempeature now has _undefined appended.
    With this change, instead of appending undefined, we just return the original proporty.
    sjorge committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    17b115d View commit details
    Browse the repository at this point in the history
  2. MOSZB-140: cleanup

    - drop read of batteryVoltage, reporting configuration does this
    - update reporting settings to match with the suggestions from develco
      (esp illumantion was very spanny and battery draining with the defaults)
    sjorge committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    d8993e1 View commit details
    Browse the repository at this point in the history
  3. MOSZB-140: try/catch on read of develcoAlarmOffDelay/develcoLedControl

    There was a issue were configure kept failing due to timeouts on reading these.
    As show in Koenkk#4731 the tech manual might not be 100%
     accurate. So putting them in a try/catch should at least let the configuration continue settings up everything else.
    sjorge committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    12efb28 View commit details
    Browse the repository at this point in the history