GithubHelp home page GithubHelp logo

hllhll / homeassistant-ekon-local Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 4.0 38 KB

HomeAssistant itegration for locally controlling Ekon HVAC controllers

License: GNU General Public License v3.0

Python 100.00%

homeassistant-ekon-local's People

Contributors

hllhll avatar leranp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

homeassistant-ekon-local's Issues

No 'version' key in manifest file, see log line

As of HomeAssistant 2021.4, the manifest file has to include a 'version' key.

See log line:
[homeassistant.loader] No 'version' key in the manifest file for custom integration 'ekon-local'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'ekon-local'

Can't switch fan mode and such

For some reason trying to switch to cool mode doesn’t work.
changing fan mode also not working
turn of the AC also not working.

I don't know if it's something related specifically to my AC or it's related to the integration

AC can't turn on in heating mode

Hi,
We are in the winter now :-) and this is the first time that i need to turn on my AC on heating mode, but it look like there's a problem with turning the AC in this mode, turning on in cool mode is working great.
Tried to debug in the HA but the logs look that same with turning in Cool and heat mode.
Beside the heating mode everything working great.

Cant Configure 2 airconet devices

sorry about my english, im triying to configure 2 airconet devices (both of them are on my same network, one is the AC from the living room and the other is the AC from my bedroom) but im having problems setting the code for both of them. indivitually works fine but when i put the 2 codes on the configyaml, one connects, and the other not, and both of them stop working. i have to mannually reset and reconfigure both, and disable the code. if you can help me pleassee....and again, sorry for my english...

AC doesn't turned OFF

the summer is here and the AC finally turning ON :-)
but the AC doesn't want to turned OFF via HA , in the past i didn't had this problem. look like an HA update was changed something.
this is the logs from my HA:
the time that HA sent the off command was 2021-06-29 21:20:39

2021-06-29 21:17:42 INFO (MainThread) [custom_components.ekon-local.climate] Setting up Ekon-local climate platform
2021-06-29 21:17:42 INFO (MainThread) [custom_components.ekon-local.climate] Creating Ekon-local climate controller
2021-06-29 21:17:42 INFO (MainThread) [custom_components.ekon-local.climate] HAEkonLocalClimateController - Creating UDP Server
2021-06-29 21:17:42 DEBUG (MainThread) [custom_components.ekon-local.climate] Starting Ekon-local server
2021-06-29 21:17:42 INFO (MainThread) [custom_components.ekon-local.climate] Starting UDP Server on port 6343
2021-06-29 21:17:42 INFO (MainThread) [custom_components.ekon-local.climate] UDP Server started
2021-06-29 21:17:42 INFO (MainThread) [custom_components.ekon-local.climate] Migrating Ekon device
2021-06-29 21:17:43 INFO (MainThread) [custom_components.ekon-local.climate] Migrated Ekon device 192.168.31.31 to server 192.168.31.100:6343
2021-06-29 21:17:43 INFO (MainThread) [custom_components.ekon-local.climate] Finished setting up Ekon-local climate platform
2021-06-29 21:18:19 INFO (Thread-4) [custom_components.ekon-local.climate] Ekon device connected
2021-06-29 21:18:19 INFO (Thread-4) [custom_components.ekon-local.climate] Initialize the Ekon climate device
2021-06-29 21:18:19 INFO (Thread-4) [custom_components.ekon-local.climate] After - Ekon device connected, device added to hass
2021-06-29 21:18:19 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:18:19 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:18:19 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:18:19 INFO (MainThread) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:18:19 INFO (MainThread) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:18:19 INFO (MainThread) [custom_components.ekon-local.climate] Ekon-local climate device added to hass()
2021-06-29 21:18:19 INFO (MainThread) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:18:19 INFO (MainThread) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:18:19 INFO (MainThread) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:18:19 INFO (MainThread) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:18:19 INFO (MainThread) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:18:35 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:18:35 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:18:35 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:18:35 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:18:35 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:18:35 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:18:35 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:18:51 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:18:51 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:18:51 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:18:51 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:18:51 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:18:51 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:18:51 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:18:51 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:18:59 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:18:59 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:18:59 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:18:59 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:18:59 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:18:59 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:18:59 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:18:59 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:19:07 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:19:07 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:19:07 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:19:07 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:19:07 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:19:07 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:19:07 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:19:07 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:19:23 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:19:23 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:19:23 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:19:23 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:19:23 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:19:23 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:19:23 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:19:39 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:19:39 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:19:39 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:19:39 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:19:39 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:19:39 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:19:39 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:19:39 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:19:47 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:19:47 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:19:47 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:19:47 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:19:47 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:19:47 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:19:47 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:19:47 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:19:55 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:19:55 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:19:55 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:19:55 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:19:55 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:19:55 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:19:55 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:19:55 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:20:11 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:20:11 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:20:11 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:20:11 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:20:11 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:20:11 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:20:11 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:20:27 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:20:27 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:20:27 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:20:27 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:20:27 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:20:27 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:20:27 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:20:27 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:20:35 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:20:35 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:20:35 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): cool
2021-06-29 21:20:35 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:20:35 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 24.0
2021-06-29 21:20:35 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:20:35 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:20:35 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:20:39 INFO (MainThread) [custom_components.ekon-local.climate] set_hvac_mode(): off
2021-06-29 21:20:39 DEBUG (MainThread) [custom_components.ekon-local.climate] Turning off HVAC
2021-06-29 21:20:39 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:20:39 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:20:39 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): off
2021-06-29 21:20:39 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:20:39 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 25.0
2021-06-29 21:20:39 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:20:39 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:20:39 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2021-06-29 21:20:43 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2021-06-29 21:20:43 DEBUG (Thread-4) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2021-06-29 21:20:43 INFO (Thread-4) [custom_components.ekon-local.climate] hvac_mode(): off
2021-06-29 21:20:43 INFO (Thread-4) [custom_components.ekon-local.climate] current_temperature(): 26.0
2021-06-29 21:20:43 INFO (Thread-4) [custom_components.ekon-local.climate] target_temperature(): 25.0
2021-06-29 21:20:43 INFO (Thread-4) [custom_components.ekon-local.climate] fan_mode(): 1
2021-06-29 21:20:43 INFO (Thread-4) [custom_components.ekon-local.climate] name(): ekon3365
2021-06-29 21:20:43 DEBUG (Thread-4) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
` ` ` 

Configuration issue

I am running HASSIO on an Intel NUC.
After copying the configuration example i am getting the following error:

image

HA log when trying to restart with this configuration:

Platform error climate.ekon-local - No module named 'pyekonlib'

Damper (TAC910) system closes when turning off or on the HVAC

Alternative title: Weird integration issues with damper system
I Think this is because HA insists "switching to cool" instead of turning on only,
Maybe it turns on as "Automatic, 25" so dampers say: "hmm, it's heating now, i'll close the damper"
Or something like that,

Maybe the issues is with the turn off function (I'm using Google-Assistant integration)? I Need some more testing/help from you guys :)

I'm pretty sure it has to do something with the automatic/cool mode, damper logic, ha weirdness in turning on/off AC triplet.

warnings in logs , regarding deprecated constants

hi
after upgrading ha core - 2024.4.0, i noticed in the logs some warning messages about deprecated constants .
i will be glad if it can be fixed before 2025.1 version.

as the following:

HVAC_MODE_DRY was used from ekon-local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'ekon-local' custom integration

HVAC_MODE_FAN_ONLY was used from ekon-local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'ekon-local' custom integration

HVAC_MODE_HEAT was used from ekon-local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'ekon-local' custom integration

SUPPORT_FAN_MODE was used from ekon-local, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please report it to the author of the 'ekon-local' custom integration

SUPPORT_TARGET_TEMPERATURE was used from ekon-local, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'ekon-local' custom integration

TEMP_CELSIUS was used from ekon-local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'ekon-local' custom integration

regards
oren

unable to configure the device

Hey,
HA was unable to migrate the device.

2020-12-20 11:29:45 INFO (MainThread) [custom_components.ekon-local.climate] Setting up Ekon-local climate platform
2020-12-20 11:29:45 INFO (MainThread) [custom_components.ekon-local.climate] Creating Ekon-local climate controller
2020-12-20 11:29:45 INFO (MainThread) [custom_components.ekon-local.climate] HAEkonLocalClimateController - Creating UDP Server
2020-12-20 11:29:45 DEBUG (MainThread) [custom_components.ekon-local.climate] Starting Ekon-local server
2020-12-20 11:29:45 INFO (MainThread) [custom_components.ekon-local.climate] Starting UDP Server on port 6343
2020-12-20 11:29:45 INFO (MainThread) [custom_components.ekon-local.climate] UDP Server started
2020-12-20 11:29:45 INFO (MainThread) [custom_components.ekon-local.climate] Migrating Ekon device
2020-12-20 11:29:45 ERROR (SyncWorker_2) [custom_components.ekon-local.climate] Error in migration [Errno 111] Connection refused
2020-12-20 11:29:46 ERROR (MainThread) [custom_components.ekon-local.climate] Error migrating device 192.168.x.x
2020-12-20 11:29:46 INFO (MainThread) [custom_components.ekon-local.climate] Finished setting up Ekon-local climate platform

when trying to configure the device manualy using:

`from pyekonlib.Migration import SetDeviceUDPServer

SetDeviceUDPServer("192.168.x.x", "192.168.x.x", 6343)`

i get

ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

HVAC Won't turn off - unless COOL+Low fan

(See topic)

Why: Unknown, yet,
Optional(bad) solution: To change it to cool and low with the turn off request,
But - what will happen when we would turn it on manually? would it go back the previous state or the cool+low?

Try to use server-placeholder for forwording

The airconet device allow the APP to specify up to 4 servers which it will communicate with,
It is not yet clear how the device addresses multiple servers; If we could set up BOTH the local server and the actual one that would be awesome. (ref)

Augmented state issues

When AC is off, Certain platforms (in my case, google home connected to HomeAssistant) would allow changing temp, fan speed etc when AC is off.
HOWEVER, When AC is off, temp and mode displayed by the device is Auto, 25d. So if any changes happens after device is off, next ON (even physically) the device will come up as On, Auto, 25d.

This can be remidiated by 2 steps:

  1. Augment the last known AC state when it was on. (Ignoring on/off state and current temp)
  2. If last on state was not kown, prevent any changes to it before turning on.
    I think this would solve: #24 and #22

HA Freeze after couple of hour

HA Freeze after couple of hour with the new version this component , tried 3 time and same result .

2020-11-27 00:54:44 DEBUG (MainThread) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2020-11-27 00:54:44 DEBUG (MainThread) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2020-11-27 00:54:44 INFO (MainThread) [custom_components.ekon-local.climate] hvac_mode(): off
2020-11-27 00:54:44 INFO (MainThread) [custom_components.ekon-local.climate] current_temperature(): 24.0
2020-11-27 00:54:44 INFO (MainThread) [custom_components.ekon-local.climate] target_temperature(): 25.0
2020-11-27 00:54:44 INFO (MainThread) [custom_components.ekon-local.climate] fan_mode(): 1
2020-11-27 00:54:44 INFO (MainThread) [custom_components.ekon-local.climate] name(): ekon3365
2020-11-27 00:54:44 DEBUG (MainThread) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2020-11-27 00:54:48 DEBUG (MainThread) [custom_components.ekon-local.climate] Ekon HVAC data recived - Scheduling update
2020-11-27 00:54:48 DEBUG (MainThread) [custom_components.ekon-local.climate] EkonLocalClimate.update_state
2020-11-27 00:54:48 INFO (MainThread) [custom_components.ekon-local.climate] hvac_mode(): off
2020-11-27 00:54:48 INFO (MainThread) [custom_components.ekon-local.climate] current_temperature(): 24.0
2020-11-27 00:54:48 INFO (MainThread) [custom_components.ekon-local.climate] target_temperature(): 25.0
2020-11-27 00:54:48 INFO (MainThread) [custom_components.ekon-local.climate] fan_mode(): 1
2020-11-27 00:54:48 INFO (MainThread) [custom_components.ekon-local.climate] name(): ekon3365
2020-11-27 00:54:48 DEBUG (MainThread) [custom_components.ekon-local.climate] Ekon HVAC data recived - update scheduled
2020-11-27 00:55:00 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 320, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 312, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 133, in run
    return asyncio.run(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1812, in _run_once
    handle = heapq.heappop(self._scheduled)
RuntimeError: list changed size during iteration
2020-11-27 00:55:00 ERROR (SyncWorker_7) [concurrent.futures] exception calling callback for <Future at 0x66701c70 state=finished returned NoneType>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 328, in _invoke_callbacks
    callback(self)
  File "/usr/local/lib/python3.8/asyncio/futures.py", line 374, in _call_set_state
    dest_loop.call_soon_threadsafe(_set_state, destination, source)
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
    self._check_closed()
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

[Feature] Add verification of updated settings

It might be a good idea to add some watchdog to notify the user whenever a command was not applied by the AC,
for instance, if the AC is stuck and the user want to change something the AC will not respond with an updated message. The integration can pick this up and notify the user.

[Feature Request] Last Temperature/Fan speed state

Hi,
Currently, each time I set the AC to off, the target temperature and the fan speed is back to default (25, and low).

I wish it could save the last target temperate and fan from the last time the AC was On.
Or add an option to set the default target temperature and fan mode (I think currently it's configured in pyekonlib in AirconStateData constructor).

Missing version key

Saw this error in the log:

Logger: homeassistant.loader
Source: loader.py:794
First occurred: 12:17:15 PM (1 occurrences)
Last logged: 12:17:15 PM

No 'version' key in the manifest file for custom integration 'ekon-local'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'ekon-local'

Appreciate your help, thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.