esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)

OTHER License

Stars
2.7K
Committers
4
esp-homekit-devices - Home Accessory Architect v3.3.1

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Fixed new "d": ping action option.

Changelog 3.3.0:

  • Device category now is selected automatically by default, based on first JSON accessory. Override is possible using "ct":N key.
  • Ping action: Added "d": option to disable ping action when Wifi connection is lost. Default: "d":0.
  • More RAM memory improvements.
  • Added device actions: You can declare following actions into configuration section. They will be executed at determinate events:
    "0": At boot.
    "1": After accessories declaration.
    "2": After first Wifi connection.
    "3": Wifi reconnection.
    "4": Wifi disconnection.
    "5": Wifi keeps disconnected after 20 retries.

Changelog 3.2.0:

  • Added Tricky Doorbell accessory type: "t":13 Must be managed with a third-party HomeKit client. It can be problematic. This accessory works like a binary sensor, and it only sends a notification when status 0 is reached. It allows power monitoring too, like other sensors.
  • Huge RAM memory improvements.
  • Recode status LED functions.
  • Added option to customize device category using key "ct":N in config section. Values are:
    other = 1
    bridge = 2
    fan = 3
    garage = 4
    lightbulb = 5
    door_lock = 6
    outlet = 7
    switch = 8
    thermostat = 9
    sensor = 10
    security_system = 11
    door = 12
    window = 13
    window_covering = 14
    programmable_switch = 15
    range_extender = 16
    ip_camera = 17
    video_door_bell = 18
    air_purifier = 19
    heater = 20
    air_conditioner = 21
    humidifier = 22
    dehumidifier = 23
    apple_tv = 24
    speaker = 26
    airport = 27
    sprinkler = 28
    faucet = 29
    shower_head = 30
    television = 31
    target_controller = 32

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v3.3.0

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Device category now is selected automatically by default, based on first JSON accessory. Override is possible using "ct":N key.
  • Ping action: Added "d": option to disable ping action when Wifi connection is lost.
  • More RAM memory improvements.
  • Added device actions: You can declare following actions into configuration section. They will be executed at determinate events:
    "0": At boot.
    "1": After accessories declaration.
    "2": After first Wifi connection.
    "3": Wifi reconnection.
    "4": Wifi disconnection.
    "5": Wifi keeps disconnected after 20 retries.

Changelog 3.2.0:

  • Added Tricky Doorbell accessory type: "t":13 Must be managed with a third-party HomeKit client. It can be problematic. This accessory works like a binary sensor, and it only sends a notification when status 0 is reached. It allows power monitoring too, like other sensors.
  • Huge RAM memory improvements.
  • Recode status LED functions.
  • Added option to customize device category using key "ct":N in config section. Values are:
    other = 1
    bridge = 2
    fan = 3
    garage = 4
    lightbulb = 5
    door_lock = 6
    outlet = 7
    switch = 8
    thermostat = 9
    sensor = 10
    security_system = 11
    door = 12
    window = 13
    window_covering = 14
    programmable_switch = 15
    range_extender = 16
    ip_camera = 17
    video_door_bell = 18
    air_purifier = 19
    heater = 20
    air_conditioner = 21
    humidifier = 22
    dehumidifier = 23
    apple_tv = 24
    speaker = 26
    airport = 27
    sprinkler = 28
    faucet = 29
    shower_head = 30
    television = 31
    target_controller = 32

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v3.2.0

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Added Tricky Doorbell accessory type: "t":13 Must be managed with a third-party HomeKit client. It can be problematic. This accessory works like a binary sensor, and it only sends a notification when status 0 is reached. It allows power monitoring too, like other sensors.
  • Huge RAM memory improvements.
  • Recode status LED functions.
  • Added option to customize device category using key "ct":N in config section. Values are:
    other = 1, default
    bridge = 2
    fan = 3
    garage = 4
    lightbulb = 5
    door_lock = 6
    outlet = 7
    switch = 8
    thermostat = 9
    sensor = 10
    security_system = 11
    door = 12
    window = 13
    window_covering = 14
    programmable_switch = 15
    range_extender = 16
    ip_camera = 17
    video_door_bell = 18
    air_purifier = 19
    heater = 20
    air_conditioner = 21
    humidifier = 22
    dehumidifier = 23
    apple_tv = 24
    speaker = 26
    airport = 27
    sprinkler = 28
    faucet = 29
    shower_head = 30
    television = 31
    target_controller = 32

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v3.1.2

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Fixed binary input for GPIO 16.

Changelog v3.0.0:

  • Bug fixes and RAM memory improvements.
  • Added the option to read multiple DS18B20 temperature probes connected to the same GPIO. In the declaration of each one of them, the index must be specified with "u": N, where N is the order number: 1, 2, 3, 4 ... Default is "u": 1.
    Example: 3x DS18B20 connected to GPIO 14:
    {"a": [{"t": 22, "g": 14, "n": 3}, {"t": 22, "g": 14 , "n": 3, "u": 2}, {"t": 22, "g": 14, "n": 3, "u": 3}]}
  • Setup mode: added Remove settings option to format the part of the flash where the configuration is stored. It is useful when there are problems with TUYA or Mongoose installations.
  • Added option to ignore the last status for the ping and always assign the status corresponding to it. Add "i": 1
  • New option "h" :0 for all types of accessories. It allows that the accessory in question is not visible in HomeKit, but that its hardware is fully functional, as well as its status and the actions to be carried out.
  • Added the option "f": N to put an interference filter level on a specific input (buttons / sensors ...). Default value is 6. The minimum value is 1, which would be as sensitive as possible. This option can be used in combination with the "f": N that is set in the general configuration.

New Accessory Type: Power Measure
In combination with actual HomeKit Sensors, you can define these sensors adding power measure characteristics. These new characteristics are not supported by Apple Home App; you must use other third party HomeKit clients, like EVE.
To declare this accessory type, you must use same sensor accessory number type, adding 70. For example: "t": 77 is a Leak Sensor with PM characteristics. Sensor and PM are not related, and they work independently.

  • Power measurement for HLW8012 chip and BL0937 chip supported. Support for ADE7953 chip will be added later.

  • Chip selection: "n": N. Default "n": 0
    0: HLW8012/BL0937 with Sel1 GPIO LOW to read current.
    1: HLW8012/BL0937 with Sel1 GPIO HIGH to read current.

  • Options of these chips:
    "c0" gpio CF
    "c1" gpio CF1
    "sl" gpio Sel1

  • Other options:
    "j" Period in seconds between readings
    "vf" Voltage factor
    "vo" Voltage offset
    "cf" Current factor
    "co" Current offset
    "pf" Power factor
    "po" Power offset

  • Wild Actions:
    "y0" Voltage
    "y1" Current
    "y2" Power

Example for a Gosund SP111 v1.1 with overvoltage (245VAC) and overcurrent (15A) protection:
{"c":{"l":2,"b":[{"g":13,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":15},{"g":0,"v":1}]},"1":{"r":[{"g":15,"v":1},{"g":0}]},"b":[{"g":13}]},{"t":75,"c0":5,"c1":4,"sl":12,"vf":0.13334,"cf":0.01295,"pf":1.5312,"y0":[{"v":245,"0":{"m":[{"g":1}]}}],"y1":[{"v":15,"0":{"m":[{"g":1}]}}]}]}

Example for a Gosund SP211 with overvoltage (245VAC)and overcurrent (16A) protection:
{"c":{"l":1,"b":[{"g":0,"t":5},{"g":12,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":14},{"g":2,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":2,"v":0}]},"b":[{"g":12}]}, {"t":2,"0":{"r":[{"g":16},{"g":13,"v":1}]},"1":{"r":[{"g":16,"v":1},{"g":13,"v":0}]},"b":[{"g":0}]},{"t":75,"c0":4,"c1":5,"sl":3,"vf":0.1564,"cf":0.012355,"pf":1.7115,"y0":[{"v":245,"0":{"m":[{"g":1},{"g":2}]}}],"y1":[{"v":16,"0":{"m":[{"g":1},{"g":2}]}}]}]}

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v3.1.1

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Fixed binary input filter bug introduced in v3.1.0.

Changelog v3.0.0:

  • Bug fixes and RAM memory improvements.
  • Added the option to read multiple DS18B20 temperature probes connected to the same GPIO. In the declaration of each one of them, the index must be specified with "u": N, where N is the order number: 1, 2, 3, 4 ... Default is "u": 1.
    Example: 3x DS18B20 connected to GPIO 14:
    {"a": [{"t": 22, "g": 14, "n": 3}, {"t": 22, "g": 14 , "n": 3, "u": 2}, {"t": 22, "g": 14, "n": 3, "u": 3}]}
  • Setup mode: added Remove settings option to format the part of the flash where the configuration is stored. It is useful when there are problems with TUYA or Mongoose installations.
  • Added option to ignore the last status for the ping and always assign the status corresponding to it. Add "i": 1
  • New option "h" :0 for all types of accessories. It allows that the accessory in question is not visible in HomeKit, but that its hardware is fully functional, as well as its status and the actions to be carried out.
  • Added the option "f": N to put an interference filter level on a specific input (buttons / sensors ...). Default value is 6. The minimum value is 1, which would be as sensitive as possible. This option can be used in combination with the "f": N that is set in the general configuration.

New Accessory Type: Power Measure
In combination with actual HomeKit Sensors, you can define these sensors adding power measure characteristics. These new characteristics are not supported by Apple Home App; you must use other third party HomeKit clients, like EVE.
To declare this accessory type, you must use same sensor accessory number type, adding 70. For example: "t": 77 is a Leak Sensor with PM characteristics. Sensor and PM are not related, and they work independently.

  • Power measurement for HLW8012 chip and BL0937 chip supported. Support for ADE7953 chip will be added later.

  • Chip selection: "n": N. Default "n": 0
    0: HLW8012/BL0937 with Sel1 GPIO LOW to read current.
    1: HLW8012/BL0937 with Sel1 GPIO HIGH to read current.

  • Options of these chips:
    "c0" gpio CF
    "c1" gpio CF1
    "sl" gpio Sel1

  • Other options:
    "j" Period in seconds between readings
    "vf" Voltage factor
    "vo" Voltage offset
    "cf" Current factor
    "co" Current offset
    "pf" Power factor
    "po" Power offset

  • Wild Actions:
    "y0" Voltage
    "y1" Current
    "y2" Power

Example for a Gosund SP111 v1.1 with overvoltage (245VAC) and overcurrent (15A) protection:
{"c":{"l":2,"b":[{"g":13,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":15},{"g":0,"v":1}]},"1":{"r":[{"g":15,"v":1},{"g":0}]},"b":[{"g":13}]},{"t":75,"c0":5,"c1":4,"sl":12,"vf":0.13334,"cf":0.01295,"pf":1.5312,"y0":[{"v":245,"0":{"m":[{"g":1}]}}],"y1":[{"v":15,"0":{"m":[{"g":1}]}}]}]}

Example for a Gosund SP211 with overvoltage (245VAC)and overcurrent (16A) protection:
{"c":{"l":1,"b":[{"g":0,"t":5},{"g":12,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":14},{"g":2,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":2,"v":0}]},"b":[{"g":12}]}, {"t":2,"0":{"r":[{"g":16},{"g":13,"v":1}]},"1":{"r":[{"g":16,"v":1},{"g":13,"v":0}]},"b":[{"g":0}]},{"t":75,"c0":4,"c1":5,"sl":3,"vf":0.1564,"cf":0.012355,"pf":1.7115,"y0":[{"v":245,"0":{"m":[{"g":1},{"g":2}]}}],"y1":[{"v":16,"0":{"m":[{"g":1},{"g":2}]}}]}]}

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v3.1.0

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Overall performance improvements.

Changelog v3.0.0:

  • Bug fixes and RAM memory improvements.
  • Added the option to read multiple DS18B20 temperature probes connected to the same GPIO. In the declaration of each one of them, the index must be specified with "u": N, where N is the order number: 1, 2, 3, 4 ... Default is "u": 1.
    Example: 3x DS18B20 connected to GPIO 14:
    {"a": [{"t": 22, "g": 14, "n": 3}, {"t": 22, "g": 14 , "n": 3, "u": 2}, {"t": 22, "g": 14, "n": 3, "u": 3}]}
  • Setup mode: added Remove settings option to format the part of the flash where the configuration is stored. It is useful when there are problems with TUYA or Mongoose installations.
  • Added option to ignore the last status for the ping and always assign the status corresponding to it. Add "i": 1
  • New option "h" :0 for all types of accessories. It allows that the accessory in question is not visible in HomeKit, but that its hardware is fully functional, as well as its status and the actions to be carried out.
  • Added the option "f": N to put an interference filter level on a specific input (buttons / sensors ...). Default value is 6. The minimum value is 1, which would be as sensitive as possible. This option can be used in combination with the "f": N that is set in the general configuration.

New Accessory Type: Power Measure
In combination with actual HomeKit Sensors, you can define these sensors adding power measure characteristics. These new characteristics are not supported by Apple Home App; you must use other third party HomeKit clients, like EVE.
To declare this accessory type, you must use same sensor accessory number type, adding 70. For example: "t": 77 is a Leak Sensor with PM characteristics. Sensor and PM are not related, and they work independently.

  • Power measurement for HLW8012 chip and BL0937 chip supported. Support for ADE7953 chip will be added later.

  • Chip selection: "n": N. Default "n": 0
    0: HLW8012/BL0937 with Sel1 GPIO LOW to read current.
    1: HLW8012/BL0937 with Sel1 GPIO HIGH to read current.

  • Options of these chips:
    "c0" gpio CF
    "c1" gpio CF1
    "sl" gpio Sel1

  • Other options:
    "j" Period in seconds between readings
    "vf" Voltage factor
    "vo" Voltage offset
    "cf" Current factor
    "co" Current offset
    "pf" Power factor
    "po" Power offset

  • Wild Actions:
    "y0" Voltage
    "y1" Current
    "y2" Power

Example for a Gosund SP111 v1.1 with overvoltage (245VAC) and overcurrent (15A) protection:
{"c":{"l":2,"b":[{"g":13,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":15},{"g":0,"v":1}]},"1":{"r":[{"g":15,"v":1},{"g":0}]},"b":[{"g":13}]},{"t":75,"c0":5,"c1":4,"sl":12,"vf":0.13334,"cf":0.01295,"pf":1.5312,"y0":[{"v":245,"0":{"m":[{"g":1}]}}],"y1":[{"v":15,"0":{"m":[{"g":1}]}}]}]}

Example for a Gosund SP211 with overvoltage (245VAC)and overcurrent (16A) protection:
{"c":{"l":1,"b":[{"g":0,"t":5},{"g":12,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":14},{"g":2,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":2,"v":0}]},"b":[{"g":12}]}, {"t":2,"0":{"r":[{"g":16},{"g":13,"v":1}]},"1":{"r":[{"g":16,"v":1},{"g":13,"v":0}]},"b":[{"g":0}]},{"t":75,"c0":4,"c1":5,"sl":3,"vf":0.1564,"cf":0.012355,"pf":1.7115,"y0":[{"v":245,"0":{"m":[{"g":1},{"g":2}]}}],"y1":[{"v":16,"0":{"m":[{"g":1},{"g":2}]}}]}]}

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v3.0.3

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Power Measure: Fixed accessory type when motion sensor is selected.

Changelog v3.0.0:

  • Bug fixes and RAM memory improvements.
  • Added the option to read multiple DS18B20 temperature probes connected to the same GPIO. In the declaration of each one of them, the index must be specified with "u": N, where N is the order number: 1, 2, 3, 4 ... Default is "u": 1.
    Example: 3x DS18B20 connected to GPIO 14:
    {"a": [{"t": 22, "g": 14, "n": 3}, {"t": 22, "g": 14 , "n": 3, "u": 2}, {"t": 22, "g": 14, "n": 3, "u": 3}]}
  • Setup mode: added Remove settings option to format the part of the flash where the configuration is stored. It is useful when there are problems with TUYA or Mongoose installations.
  • Added option to ignore the last status for the ping and always assign the status corresponding to it. Add "i": 1
  • New option "h" :0 for all types of accessories. It allows that the accessory in question is not visible in HomeKit, but that its hardware is fully functional, as well as its status and the actions to be carried out.
  • Added the option "f": N to put an interference filter level on a specific input (buttons / sensors ...). Default value is 6. The minimum value is 1, which would be as sensitive as possible. This option can be used in combination with the "f": N that is set in the general configuration.

New Accessory Type: Power Measure
In combination with actual HomeKit Sensors, you can define these sensors adding power measure characteristics. These new characteristics are not supported by Apple Home App; you must use other third party HomeKit clients, like EVE.
To declare this accessory type, you must use same sensor accessory number type, adding 70. For example: "t": 77 is a Leak Sensor with PM characteristics. Sensor and PM are not related, and they work independently.

  • Power measurement for HLW8012 chip and BL0937 chip supported. Support for ADE7953 chip will be added later.

  • Chip selection: "n": N. Default "n": 0
    0: HLW8012/BL0937 with Sel1 GPIO LOW to read current.
    1: HLW8012/BL0937 with Sel1 GPIO HIGH to read current.

  • Options of these chips:
    "c0" gpio CF
    "c1" gpio CF1
    "sl" gpio Sel1

  • Other options:
    "j" Period in seconds between readings
    "vf" Voltage factor
    "vo" Voltage offset
    "cf" Current factor
    "co" Current offset
    "pf" Power factor
    "po" Power offset

  • Wild Actions:
    "y0" Voltage
    "y1" Current
    "y2" Power

Example for a Gosund SP111 v1.1 with overvoltage (245VAC) and overcurrent (15A) protection:
{"c":{"l":2,"b":[{"g":13,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":15},{"g":0,"v":1}]},"1":{"r":[{"g":15,"v":1},{"g":0}]},"b":[{"g":13}]},{"t":75,"c0":5,"c1":4,"sl":12,"vf":0.13334,"cf":0.01295,"pf":1.5312,"y0":[{"v":245,"0":{"m":[{"g":1}]}}],"y1":[{"v":15,"0":{"m":[{"g":1}]}}]}]}

Example for a Gosund SP211 with overvoltage (245VAC)and overcurrent (16A) protection:
{"c":{"l":1,"b":[{"g":0,"t":5},{"g":12,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":14},{"g":2,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":2,"v":0}]},"b":[{"g":12}]}, {"t":2,"0":{"r":[{"g":16},{"g":13,"v":1}]},"1":{"r":[{"g":16,"v":1},{"g":13,"v":0}]},"b":[{"g":0}]},{"t":75,"c0":4,"c1":5,"sl":3,"vf":0.1564,"cf":0.012355,"pf":1.7115,"y0":[{"v":245,"0":{"m":[{"g":1},{"g":2}]}}],"y1":[{"v":16,"0":{"m":[{"g":1},{"g":2}]}}]}]}

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v3.0.2

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Power Measure: Fixed Wildcard actions register.

Changelog v3.0.0:

  • Bug fixes and RAM memory improvements.
  • Added the option to read multiple DS18B20 temperature probes connected to the same GPIO. In the declaration of each one of them, the index must be specified with "u": N, where N is the order number: 1, 2, 3, 4 ... Default is "u": 1.
    Example: 3x DS18B20 connected to GPIO 14:
    {"a": [{"t": 22, "g": 14, "n": 3}, {"t": 22, "g": 14 , "n": 3, "u": 2}, {"t": 22, "g": 14, "n": 3, "u": 3}]}
  • Setup mode: added Remove settings option to format the part of the flash where the configuration is stored. It is useful when there are problems with TUYA or Mongoose installations.
  • Added option to ignore the last status for the ping and always assign the status corresponding to it. Add "i": 1
  • New option "h" :0 for all types of accessories. It allows that the accessory in question is not visible in HomeKit, but that its hardware is fully functional, as well as its status and the actions to be carried out.
  • Added the option "f": N to put an interference filter level on a specific input (buttons / sensors ...). Default value is 6. The minimum value is 1, which would be as sensitive as possible. This option can be used in combination with the "f": N that is set in the general configuration.

New Accessory Type: Power Measure
In combination with actual HomeKit Sensors, you can define these sensors adding power measure characteristics. These new characteristics are not supported by Apple Home App; you must use other third party HomeKit clients, like EVE.
To declare this accessory type, you must use same sensor accessory number type, adding 70. For example: "t": 77 is a Leak Sensor with PM characteristics. Sensor and PM are not related, and they work independently.

  • Power measurement for HLW8012 chip and BL0937 chip supported. Support for ADE7953 chip will be added later.

  • Chip selection: "n": N. Default "n": 0
    0: HLW8012/BL0937 with Sel1 GPIO LOW to read current.
    1: HLW8012/BL0937 with Sel1 GPIO HIGH to read current.

  • Options of these chips:
    "c0" gpio CF
    "c1" gpio CF1
    "sl" gpio Sel1

  • Other options:
    "j" Period in seconds between readings
    "vf" Voltage factor
    "vo" Voltage offset
    "cf" Current factor
    "co" Current offset
    "pf" Power factor
    "po" Power offset

  • Wild Actions:
    "y0" Voltage
    "y1" Current
    "y2" Power

Example for a Gosund SP111 v1.1:
{"c":{"l":2,"b":[{"g":13,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":15},{"g":0,"v":1}]},"1":{"r":[{"g":15,"v":1},{"g":0}]},"b":[{"g":13}]},{"t":75,"c0":5,"c1":4,"sl":12,"vf":0.13334,"cf":0.01295,"pf":1.5312}]}

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v3.0.1

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Fixed HAA OTA Installer bug.
  • Removed needed of resseting HomeKit ID when JSON has changed HomeKit data.

Changelog v3.0.0:

  • Bug fixes and RAM memory improvements.
  • Added the option to read multiple DS18B20 temperature probes connected to the same GPIO. In the declaration of each one of them, the index must be specified with "u": N, where N is the order number: 1, 2, 3, 4 ... Default is "u": 1.
    Example: 3x DS18B20 connected to GPIO 14:
    {"a": [{"t": 22, "g": 14, "n": 3}, {"t": 22, "g": 14 , "n": 3, "u": 2}, {"t": 22, "g": 14, "n": 3, "u": 3}]}
  • Setup mode: added Remove settings option to format the part of the flash where the configuration is stored. It is useful when there are problems with TUYA or Mongoose installations.
  • Added option to ignore the last status for the ping and always assign the status corresponding to it. Add "i": 1
  • New option "h" :0 for all types of accessories. It allows that the accessory in question is not visible in HomeKit, but that its hardware is fully functional, as well as its status and the actions to be carried out.
  • Added the option "f": N to put an interference filter level on a specific input (buttons / sensors ...). Default value is 6. The minimum value is 1, which would be as sensitive as possible. This option can be used in combination with the "f": N that is set in the general configuration.

New Accessory Type: Power Measure
In combination with actual HomeKit Sensors, you can define these sensors adding power measure characteristics. These new characteristics are not supported by Apple Home App; you must use other third party HomeKit clients, like EVE.
To declare this accessory type, you must use same sensor accessory number type, adding 70. For example: "t": 77 is a Leak Sensor with PM characteristics. Sensor and PM are not related, and they work independently.

  • Power measurement for HLW8012 chip and BL0937 chip supported. Support for ADE7953 chip will be added later.

  • Chip selection: "n": N. Default "n": 0
    0: HLW8012/BL0937 with Sel1 GPIO LOW to read current.
    1: HLW8012/BL0937 with Sel1 GPIO HIGH to read current.

  • Options of these chips:
    "c0" gpio CF
    "c1" gpio CF1
    "sl" gpio Sel1

  • Other options:
    "j" Period in seconds between readings
    "vf" Voltage factor
    "vo" Voltage offset
    "cf" Current factor
    "co" Current offset
    "pf" Power factor
    "po" Power offset

  • Wild Actions:
    "y0" Voltage
    "y1" Current
    "y2" Power

Example for a Gosund SP111 v1.1:
{"c":{"l":2,"b":[{"g":13,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":15},{"g":0,"v":1}]},"1":{"r":[{"g":15,"v":1},{"g":0}]},"b":[{"g":13}]},{"t":75,"c0":5,"c1":4,"sl":12,"vf":0.13334,"cf":0.01295,"pf":1.5312}]}

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v3.0.0

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Bug fixes and RAM memory improvements.
  • Added the option to read multiple DS18B20 temperature probes connected to the same GPIO. In the declaration of each one of them, the index must be specified with "u": N, where N is the order number: 1, 2, 3, 4 ... Default is "u": 1.
    Example: 3x DS18B20 connected to GPIO 14:
    {"a": [{"t": 22, "g": 14, "n": 3}, {"t": 22, "g": 14 , "n": 3, "u": 2}, {"t": 22, "g": 14, "n": 3, "u": 3}]}
  • Setup mode: added Remove settings option to format the part of the flash where the configuration is stored. It is useful when there are problems with TUYA or Mongoose installations.
  • Added option to ignore the last status for the ping and always assign the status corresponding to it. Add "i": 1
  • New option "h" :0 for all types of accessories. It allows that the accessory in question is not visible in HomeKit, but that its hardware is fully functional, as well as its status and the actions to be carried out.
  • Added the option "f": N to put an interference filter level on a specific input (buttons / sensors ...). Default value is 6. The minimum value is 1, which would be as sensitive as possible. This option can be used in combination with the "f": N that is set in the general configuration.

New Accessory Type: Power Measure
In combination with actual HomeKit Sensors, you can define these sensors adding power measure characteristics. These new characteristics are not supported by Apple Home App; you must use other third party HomeKit clients, like EVE.
To declare this accessory type, you must use same sensor accessory number type, adding 70. For example: "t": 77 is a Leak Sensor with PM characteristics. Sensor and PM are not related, and they work independently.

  • Power measurement for HLW8012 chip and BL0937 chip supported. Support for ADE7953 chip will be added later.

  • Chip selection: "n": N. Default "n": 0
    0: HLW8012/BL0937 with Sel1 GPIO LOW to read current.
    1: HLW8012/BL0937 with Sel1 GPIO HIGH to read current.

  • Options of these chips:
    "c0" gpio CF
    "c1" gpio CF1
    "sl" gpio Sel1

  • Other options:
    "j" Period in seconds between readings
    "vf" Voltage factor
    "vo" Voltage offset
    "cf" Current factor
    "co" Current offset
    "pf" Power factor
    "po" Power offset

  • Wild Actions:
    "y0" Voltage
    "y1" Current
    "y2" Power

Example for a Gosund SP111 v1.1:
{"a":[{"t":2,"0":{"r":[{"g":15},{"g":2,"v":1}]},"1":{"r":[{"g":15,"v":1},{"g":2}]},"b":[{"g":13}]},{"t":75,"c0":5,"c1":4,"sl":12,"vf":0.13334,"cf":0.01295,"pf":1.5312}]}

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v2.5.7

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • Garage Door: Fix crash when sensors are used.
  • Window Covering: Fix disable button stop feature.

Changelog v2.5.0:

  • 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

esp-homekit-devices - Home Accessory Architect v2.5.6

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • General: Performance improvements.
  • Window Covering: Added stop button protection when wall switch is used.

Changelog v2.5.0:

  • 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

esp-homekit-devices - Home Accessory Architect v2.5.5

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • General: Update ESP Adv Logger to fix some sporadic crashes when network logs were used.

Changelog v2.5.0:

  • 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

esp-homekit-devices - Home Accessory Architect v2.5.4

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • HomeKit: Improved mDNS announcement.
  • General: Memory tasks fix.
  • Window Covering: Improved syncing.

Changelog v2.5.0:

  • 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

esp-homekit-devices - Home Accessory Architect v2.5.3

Published by RavenSystem about 4 years ago

IMPORTANT: New installations are incompatible with old fullhaaboot.bin files. Please, use last version.

Changelog:

  • General: Compatible with new storage layout from HAA OTA v4.0.0.
  • HomeKit: Set default TTL value to 240 with updates every 120 seconds.
  • Networking: WiFi connection improvements.
  • General: Memory improvements.
  • General: Updated Advanced Logger Library.
  • Compatibility: Drop LCM support due to new storage layout.

Changelog v2.5.0:

  • 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

esp-homekit-devices - HAA OTA v4.0.0

Published by RavenSystem about 4 years ago

Changelog:

  • Change storage layout to let HAA grow up.
  • WiFi connection improvements.
  • Memory improvements.
  • Updated Advanced Logger Library.

Read Wiki for more info.

Donate Chat Twitter

esp-homekit-devices - Home Accessory Architect v2.5.2

Published by RavenSystem about 4 years ago

Changelog:

Changelog v2.5.0:

  • 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

esp-homekit-devices - Home Accessory Architect v2.5.1

Published by RavenSystem over 4 years ago

Changelog:

  • HTTP/TCP action: Fixed malformed header content bug when PUT or POST method is used.

Changelog v2.5.0:

  • 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

esp-homekit-devices - Home Accessory Architect v2.5.0

Published by RavenSystem over 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

esp-homekit-devices - Home Accessory Architect v2.4.7

Published by RavenSystem over 4 years ago

Changelog:

  • General: Added new accessory type "t":44 Double Lock Mechanism, with actions "2"and "3". Accessory notification values 2 and 3 will manage secondary lock. "i1" is inching time for second lock.
  • Networking: Improved WiFi watchdog and reconnection process.

Changelog v2.4.0:

  • General: Added new logger system (Advanced Logger Library) ONLY for normal mode. Now "o": key options are:
    0 Disable logs. Default.
    1 UART0 logs.
    2 UART1 logs.
    3 Network logs (Use nc -kulnw0 45678 to view).
    4 UART0 and network logs.
    5 UART1 and network logs.

  • Thermostat: Fixed bug that avoid to exec action when sensor fails.

  • Temperature Sensor: Now values will be set to 0 when sensor fails.

  • Thermostat and Temperature Sensor: Added new types for thermistors.

Wiki will be updated as soon as possible.

Read Wiki for more info.

Donate Chat Twitter

Badges
Extracted from project README
Release GitHub download Donate Twitter Chat