github RavenSystem/esp-homekit-devices HAA_3.0.3
Home Accessory Architect v3.0.3

latest releases: HAA_12.13.3, HAA_12.13.2, HAA_12.13.1...
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

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

NewReleases is sending notifications on new releases.