hllhll / HomeAssistant-EKON-iAircon

EKON iAircon / Tadiran climate component written in Python3 for Home Assistant. On the bases of Gree Climate component for easier interfacing with HASS
GNU General Public License v3.0
14 stars 7 forks source link

Support offline mode (not using Tadiran's/Other server) #1

Closed idansk closed 3 years ago

idansk commented 4 years ago

This should basically be done by MITMing the communication between the AC to the server - probably just updates, routing those to the local (HASS?) server and vice versa.

hllhll commented 4 years ago

That's a neat idea, but how do u recommend implementing it? Thought about few alternatives.

  1. Use AD-Hoc wifi network for the ekon component (unly usable on rpi/linux and also requires the host to be close enugth) :(
  2. Configure local router to pass DNS request to a DNS server controlled by us(delays, issues, HA would probably have a hard time figuring out real DNS) :(
  3. ARP Posining - not reliable (at least when using Cain&Able) :(
  4. I Think that the app downloads server configuration to the controller; Maybe we could pass it our own server address (it may be in the LAN.)

Another options is to reverse engineer the serial protocol between the AC and the Display and replace ENTIRE ekon software :) . This is on my bucket list, but will take time. the iAircon is esp8266-based so it is up-gradable, theoretically.

hllhll commented 3 years ago

Let's use https://github.com/hllhll/HomeAssistant-EKON-iAircon/issues/19 to discuss, It starts-off a much more easier way to do this...