github RavenSystem/esp-homekit-devices HAA_2.5.0
Home Accessory Architect v2.5.0

latest releases: HAA_12.13.3, HAA_12.13.2, HAA_12.13.1...
4 years ago

Changelog:

  • General: Improve memory management.

  • Window covering: Fixed load last state when device reboots.

  • Networking: Added ping gateway watchdog to detect connection issues. When enabled, device will do an ICPM ping to the gateway each second. If ping fails more times than allowed errors in a row, device will start reconnection process. This feature is disabled by default.
    To enable it, add "w" key to config section, followed of number of allowed ping errors. If "w":0 is used, device will reconnect at first ping error.

  • Thermostat: Added 4 seconds delay to launch actions and avoid overlapping.

  • HTTP/TCP action: Added content wildcard value to read a value from an accessory characteristic. It works with PUT and POST methods.
    To use it, magic expression #HAA@aacc must be present in content; where aa is the accessory number, and cc is the characteristic number. If 00 is used as accessory, that means characteristic value is from actual accessory. You can use this magic expression as many times as needed into same content. Depending on value type, output will be adapted:

    • Bool: 0 and 1 will be used for false and true values.
    • Integer: An integer number, without decimals. Ex: 87 or -143.
    • Float: a number with 2 decimals. Ex: 24.52
  • IR action: Added 4 and 6 bits protocols. Protocol will be auto-detected depending of protocol format used:

    • 2 bits: "p":"HHHH00001111FF"
    • 4 bits: "p":"HHHH0000111122223333FF"
    • 6 bits: "p":"HHHH000011112222333344445555FF"
  • IR action: Fixed pause between repeats. Now all pauses are in milliseconds instead microseconds.

  • Accessory notification action: Now all accessories has 4 new possible internal states: enabled, disabled, physical control enabled, and physical control disabled. By default, enabled states are used. Values accepted are:

    • "v":-10000 Disable accessory.
    • "v":-10001 Enable accessory. Default.
    • "v":-20000 Disable physical controls.
    • "v":-20001 Enable physical controls. Default
  • Kill switches: IMPORTANT: This feature has been REMOVED, and replaced with new states to enable accessories and physical controls.
    To adapt old kill switch feature to an accessory, remove "k" declaration and add a new switch accessory after it, or 2 switches if you were using "k":3 and add actions to manage accessory using accessory notification action feature. With this new system, there are many new setup possibilities.

Examples:
{"t":2,"k":1,...} will be:
{"t":2,...},{"s":1,"0":{"m":[{"g":1,"v":-10000}]},"1":{"m":[{"g":1,"v":-10001}]}}

{"t":2,"k":2,...} will be:
{"t":2,...},{"s":1,"0":{"m":[{"g":1,"v":-20000}]},"1":{"m":[{"g":1,"v":-20001}]}}

{"t":2,"k":3,...} will be:
{"t":2,...},{"s":1,"0":{"m":[{"g":1,"v":-10000}]},"1":{"m":[{"g":1,"v":-10001}]},{"s":1,"0":{"m":[{"g":1,"v":-20000}]},"1":{"m":[{"g":1,"v":-20001}]}}

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

Don't miss a new esp-homekit-devices release

NewReleases is sending notifications on new releases.