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

Bot releases are visible (Hide)

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Added sending check to mDNS UDP packets, and several retries in error case.

Changelog v3.8.0:

  • Added 2 new Wifi modes: Passive roaming and Active roaming. These modes are useful when Wifi network has several APs with same SSID, or network is a "commercial mesh" without roaming support (802.11v, 802.11r, 802.11k...):
    • Passive roaming: device will scan for Wifi networks at boot and when it disconnects, then it will connect to BSSID with best RSSI.
    • Active roaming: same as Passive roaming; and every 35 minutes, device will scan for Wifi networks and it will reconnect to BSSID with best RSSI when it is connected to other. HAA will be unresponsive over Wifi about 2 seconds when it is performing a Wifi scanner.
  • Some code optimizations.

Changelog v3.7.0:

  • Minor Wifi improvements on saturated and low performance networks.
  • Added HomeKit Ambient Light Sensor accessory type. "t":50
    Initially only LDR resistances (photo-resistors) connected to ADC pin are supported.
    Configuration details will be published later, when I have enough free time.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Improve mDNS subsystem to send unicast when required, instead multicast, to reduce network usage drastically.
  • Change default TTL to 4500, because it is TTL used by Apple devices.

Changelog v3.8.0:

  • Added 2 new Wifi modes: Passive roaming and Active roaming. These modes are useful when Wifi network has several APs with same SSID, or network is a "commercial mesh" without roaming support (802.11v, 802.11r, 802.11k...):
    • Passive roaming: device will scan for Wifi networks at boot and when it disconnects, then it will connect to BSSID with best RSSI.
    • Active roaming: same as Passive roaming; and every 35 minutes, device will scan for Wifi networks and it will reconnect to BSSID with best RSSI when it is connected to other. HAA will be unresponsive over Wifi about 2 seconds when it is performing a Wifi scanner.
  • Some code optimizations.

Changelog v3.7.0:

  • Minor Wifi improvements on saturated and low performance networks.
  • Added HomeKit Ambient Light Sensor accessory type. "t":50
    Initially only LDR resistances (photo-resistors) connected to ADC pin are supported.
    Configuration details will be published later, when I have enough free time.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Added new Wifi mode: Roaming at boot. This mode performs a Wifi scan at boot time, and connects to best RSSI BSSID. Then, if device loses Wifi connectivity, it will only reconnect to that BSSID, ignoring other Wifi with same SSID.
  • More code optimizations.

Changelog v3.8.0:

  • Added 2 new Wifi modes: Passive roaming and Active roaming. These modes are useful when Wifi network has several APs with same SSID, or network is a "commercial mesh" without roaming support (802.11v, 802.11r, 802.11k...):
    • Passive roaming: device will scan for Wifi networks at boot and when it disconnects, then it will connect to BSSID with best RSSI.
    • Active roaming: same as Passive roaming; and every 35 minutes, device will scan for Wifi networks and it will reconnect to BSSID with best RSSI when it is connected to other. HAA will be unresponsive over Wifi about 2 seconds when it is performing a Wifi scanner.
  • Some code optimizations.

Changelog v3.7.0:

  • Minor Wifi improvements on saturated and low performance networks.
  • Added HomeKit Ambient Light Sensor accessory type. "t":50
    Initially only LDR resistances (photo-resistors) connected to ADC pin are supported.
    Configuration details will be published later, when I have enough free time.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Added 2 new Wifi modes: Passive roaming and Active roaming. These modes are useful when Wifi network has several APs with same SSID, or network is a "commercial mesh" without roaming support (802.11v, 802.11r, 802.11k...):
    • Passive roaming: device will scan for Wifi networks at boot and when it disconnects, then it will connect to BSSID with best RSSI.
    • Active roaming: same as Passive roaming; and every 35 minutes, device will scan for Wifi networks and it will reconnect to BSSID with best RSSI when it is connected to other. HAA will be unresponsive over Wifi about 2 seconds when it is performing a Wifi scanner.
  • Some code optimizations.

Changelog v3.7.0:

  • Minor Wifi improvements on saturated and low performance networks.
  • Added HomeKit Ambient Light Sensor accessory type. "t":50
    Initially only LDR resistances (photo-resistors) connected to ADC pin are supported.
    Configuration details will be published later, when I have enough free time.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Revert way to connect to Wifi, added with prior version.
  • Some code optimizations.

Changelog v3.7.0:

  • Minor Wifi improvements on saturated and low performance networks.
  • Added HomeKit Ambient Light Sensor accessory type. "t":50
    Initially only LDR resistances (photo-resistors) connected to ADC pin are supported.
    Configuration details will be published later, when I have enough free time.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • New way to connect to Wifi.

Changelog v3.7.0:

  • Minor Wifi improvements on saturated and low performance networks.
  • Added HomeKit Ambient Light Sensor accessory type. "t":50
    Initially only LDR resistances (photo-resistors) connected to ADC pin are supported.
    Configuration details will be published later, when I have enough free time.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Improve memory management of mDNS.

Changelog v3.7.0:

  • Minor Wifi improvements on saturated and low performance networks.
  • Added HomeKit Ambient Light Sensor accessory type. "t":50
    Initially only LDR resistances (photo-resistors) connected to ADC pin are supported.
    Configuration details will be published later, when I have enough free time.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Improve memory management of mDNS, with 3K of extra RAM for HomeKit pairing.
  • Change default mDNS TTL to 360, sending it every 120 seconds.

Changelog v3.7.0:

  • Minor Wifi improvements on saturated and low performance networks.
  • Added HomeKit Ambient Light Sensor accessory type. "t":50
    Initially only LDR resistances (photo-resistors) connected to ADC pin are supported.
    Configuration details will be published later, when I have enough free time.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Minor Wifi improvements on saturated and low performance networks.
  • Added HomeKit Ambient Light Sensor accessory type. "t":50
    Initially only LDR resistances (photo-resistors) connected to ADC pin are supported.
    Configuration details will be published later, when I have enough free time.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Improved Wifi stability on saturated and low performance networks.
  • Improved status LED management.
  • Some RAM memory improvements.
  • Added I2C bus support:
    You can declare up to 2 different I2C buses. To declare them, you must use "ic" key in configuration section. It contains an array of I2C buses.
    Each bus must have these settings:
    • "c": SCL GPIO.
    • "d": SDA GPIO.
    • "q": Bus frequency in KiloHertz.

First declared bus will be bus 0, and second will be bus 1.

  • Added MCP23017 support using I2C bus. Only output mode is supported. MCP23017 GPIOs can be used with digital output actions and status LED.
    MCP23017 interfaces must declare in configuration section using "mc" key. It is an array that contains all connected MCP23017 interfaces. You can connect up to 16 MCP interfaces (8 per I2C bus), having up to 256 extra GPIOs for outputs.
    Keys to declare a MCP23017 interface:
    • "b": I2C Bus.
    • "a": Address. First MCP23017 begins at 32.
    • "ca": from 0 to 255. Initial state of all channel A GPIOs.
    • "cb": from 0 to 255. Initial state of all channel B GPIOs.
      "ca" and "cb" values are the result of convert 8 bits binary string to decimal. For example, to set all channel A GPIOs to LOW, but second GPIO to HIGH, you must use 00000010 in decimal: "ca":2.

Use of MCP23017 with actions:
To call a GPIO from a MCP23017 interface, you must use normal "g": key of "r": array. ESP8266 GPIOs are from 0 to 16, but MCP23017 GPIOs are used in this format: "g":XYY

  • X: is the index of MCP interface in JSON declaration.
  • YY: is the number of GPIO, from 00 to 15. Channel A GPIOs are from 00 to 07; and channel B, from 08 to 15.

For example, to set to HIGH GPIO 4 of third declared MCP interface:
"r":[{"g":304,"v":1}]

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Improved binary inputs management.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Ordered reboot.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Fixes time overflow in HWL library.
  • Fixes some sizes in ping library (Thanks to @waman3).
  • Removed unnecessary check in Advanced Button Library (Thanks to @waman3).

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Improved Wifi reconnection roaming when disconnect.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Improved Wifi reconnection stability.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem almost 4 years ago

Changelog:

  • Restore timer task priority to SDK default value.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem about 4 years ago

Changelog:

  • Lightbulb: Added accessory notification to set brightness value.
    Valid range is: 2 to 102. Final value will be value - 2.
    With this feature, a lightbulb accessory with Homekit disabled can be used as a PWM driver managed by other accessories, to control a step motor, or to control brightness of a LED.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem about 4 years ago

Changelog:

  • Fixed bug that does not allow to save new settings when Wifi settings were removed.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem about 4 years ago

Changelog:

  • Update timers helper library.

Read Wiki for more info.

Donate Chat Twitter

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

Published by RavenSystem about 4 years ago

Changelog:

  • Fixed Wifi reconnection bug that could not give enough time to reconnect before start a new cycle.
  • Improve timers management.

Read Wiki for more info.

Donate Chat Twitter

Badges
Extracted from project README
Release GitHub download Donate Twitter Chat
Related Projects