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

Native support for HomeKit #3876

Closed
LorisBatacchi opened this issue Sep 23, 2018 · 24 comments
Closed

Native support for HomeKit #3876

LorisBatacchi opened this issue Sep 23, 2018 · 24 comments
Labels
requested feature (hold over) Result - Feature that will not be added soon (out of scope)

Comments

@LorisBatacchi
Copy link

Hi,
I saw some Sonoff projects that has native support for HomeKit (they don't need homebridge) like this one:
https://github.com/Gruppio/Sonoff-Homekit

Is it possible to have something like that in Tasmota?

@Frogmore42
Copy link
Contributor

Since the author of that project didn't actually share the source code, it is not a simple answer to the question. Clearly, it is possible, but without the source code it is highly unlikely to happen soon.

@ascillato
Copy link
Contributor

The author of that firmware is asking for money in order to give the source code. So, It is unlikely that he/she will share the code to Tasmota.

@ascillato2 ascillato2 added the requested feature (hold over) Result - Feature that will not be added soon (out of scope) label Sep 23, 2018
@ageorgios
Copy link

ageorgios commented Oct 3, 2018

This is not true,
Great work has been done by this guy
https://github.com/maximkulkin/esp-homekit
https://github.com/maximkulkin/esp-homekit-demo

I already have HomeKit compatibe sonoffs, I would love to see it integrated with Tasmota!

Please reopen issue.

@ageorgios ageorgios mentioned this issue Oct 3, 2018
@ascillato
Copy link
Contributor

ascillato commented Oct 3, 2018

Hi,

This is not true

Well, it is. https://github.com/Gruppio/Sonoff-Homekit is asking for money.

Great work has been done by this guy
https://github.com/maximkulkin/esp-homekit

Indeed. Great work is there.
As that is not a library, a major adaptation need to be done in order to be added to Tasmota or any other project.

(other at https://github.com/HomeACcessoryKid/ESP8266-HomeKit)

I already have HomeKit compatibe sonoffs, I would love to see it integrated with Tasmota!

If you have already working HomeKit compatibe sonoffs, please, adapt it to Tasmota and make a PR. At this moment we are focused on other features to be added to Tasmota and it is unlikely to be taken into account soon, so, if you want you are free to adapt it.

Thanks for share the links and ideas.

@Frogmore42
Copy link
Contributor

The other thing to remember is that Tasmota is already running low on RAM. HomeKit does not appear to be a simple protocol with minimal RAM requirements. It is more likely like TLS which is so large you can't have much else running or it will run out of resources.

If you need HomeKit you can achieve that with the solution you already have if you need HomeKit and MQTT you probably should consider something like a HomeKit to MQTT adapter that can run on something that has more resources.

@tahitibub
Copy link

Fyi, Apple published source code of HomeKit on Github
https://github.com/apple/HomeKitADK

@JakobFelixJulius
Copy link

Fyi, Apple published source code of HomeKit on Github
https://github.com/apple/HomeKitADK

Hello!
Would be really awesome to see this integrated and have native HomeKit support!

@sj26
Copy link

sj26 commented Feb 4, 2020

@Gruppio has released their sonoff homekit code:

https://github.com/Gruppio/Sonoff-Homekit/tree/master/sonoff_advanced

It is based on esp-homekit. Native integration should be possible! 🤞

@mriksman
Copy link

+1 Adding HomeKit to Tasmota... Wowee.

@ghost
Copy link

ghost commented Mar 2, 2020

+1

@ricargr
Copy link

ricargr commented Mar 10, 2020

+1 it will be the perfect firmware

@tonysprenk
Copy link

+1

2 similar comments
@lmcd
Copy link

lmcd commented Apr 27, 2020

+1

@gohai
Copy link

gohai commented May 9, 2020

+1

@tonysprenk
Copy link

It is now possible to easily convert Tasmota devices to HAA. HAA, or Home Accessory Architect is native HomeKit firmware for esp devices. https://github.com/RavenSystem/esp-homekit-devices/wiki/Installation#installing-from-tasmota

@jeylites
Copy link

jeylites commented May 9, 2020

@tonysprenk

Very cool, I’m assuming after one converts Tasmota to HAA you can’t go back to Tasmota if needed?

@tonysprenk
Copy link

Not without flashing by wire.

@S474N
Copy link
Contributor

S474N commented Sep 5, 2020

And will Tasmota sometimes support Homekit natively?

@naoisegolden
Copy link

Seems they added detailed instructions on how to achieve this from available open source code here Gruppio/Sonoff-Homekit#8

@Frogmore42
Copy link
Contributor

It is great that everyone is interested in HomeKit. It is even greater that there are options for converting your Sonoff devices to use Homekit. But, ease of adding this capability to Tasmota hasn't changed in the 2+ years people have been asking for the capability. This repo appears to have source code: https://github.com/maximkulkin/esp-homekit that probably works. But, this code is not an Arduino library, so it is not compatible with Tasmota (which requires an Arduino compliant library). It also likely uses a lot of code space, so even if it were compatible, it would probably not fit with Tasmota in the available code space.

I am not sure I am clear on what people really expect to be able to do with HomeKit control of Sonoff devices that they also need Tasmota. This is the mission statement for Tasmota:
easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX.

HomeKit appears to be a system that wants to be the controller of the system. If you have bought into the Apple HomeKit view of the automation world, you don't need (and probably don't want) Tasmota. Tasmota, on the other hand, uses much more open/simple protocols that allow you to use whatever system you want to be in control. I have many Tasmota devices in my home. They all speak MQTT. I use Node-Red for some control and data gathering. I also use OpenHAB for some other devices. I use HA-Bridge (to speak MQTT to Tasmota devices) to provide Alexa something she can control for those few devices I want to directly control.

I don't think the answer (for HomeKit) is going to change until the next generation of Sonoff devices that have much greater capability, but still the same amount of openness.

@Hustenbonbon
Copy link

Hustenbonbon commented Dec 3, 2020

Here is an arduino library: https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266

(Doesn't solve the space and if it philosophically fits to Tasmota though)

Currently testing the library

@ErwanMAS
Copy link

ErwanMAS commented Jan 1, 2023

It is now possible to easily convert Tasmota devices to HAA. HAA, or Home Accessory Architect is native HomeKit firmware for esp devices. https://github.com/RavenSystem/esp-homekit-devices/wiki/Installation#installing-from-tasmota

Beware of the following

IMPORTANT: Revert to original firmware using OTA is NOT possible from HAA due to its sign security system and the lack of reflash boot sector feature. A wired connection is needed.

@s-hadinger
Copy link
Collaborator

The plan in Tasmota is to eventually support Matter protocol over Wifi which will be more largely supported than Homekit. iOS Matter support is now part of Homekit.

@Neifab
Copy link

Neifab commented Mar 13, 2023

The plan in Tasmota is to eventually support Matter protocol over Wifi which will be more largely supported than Homekit. iOS Matter support is now part of Homekit.

Definitely a good thinking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requested feature (hold over) Result - Feature that will not be added soon (out of scope)
Projects
None yet
Development

No branches or pull requests