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

unable to configure the device #11

Closed
pickeld opened this issue Dec 20, 2020 · 14 comments
Closed

unable to configure the device #11

pickeld opened this issue Dec 20, 2020 · 14 comments

Comments

@pickeld
Copy link

pickeld commented Dec 20, 2020

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

@hllhll
Copy link
Owner

hllhll commented Dec 20, 2020

Hi, Make sure the ekon device is at the said address.
Are you this is it's address?
Can you access port 80 directly with any other client? (Port 80 should be opened)

@pickeld
Copy link
Author

pickeld commented Dec 20, 2020

unable to connect over port 80,
image

@hllhll
Copy link
Owner

hllhll commented Dec 20, 2020

Is it possible you have the wrong IP Address?

@pickeld
Copy link
Author

pickeld commented Dec 20, 2020

image
Nope. :/

@hllhll
Copy link
Owner

hllhll commented Dec 20, 2020

See this is how the original app does this, it detects ip address in 1 of 2 ways:

  1. Using Esp-Smart-Config to detect and make the device join the network, it's ip address is fetched as a result from the Espressif library. Or, alternetivly
  2. Sends a broadcast messages to the local network to discover devices

@hllhll
Copy link
Owner

hllhll commented Dec 20, 2020

Hostname published by the device should be EKON
image

@pickeld
Copy link
Author

pickeld commented Dec 20, 2020

i can see the broadcast
image

@hllhll
Copy link
Owner

hllhll commented Dec 20, 2020

I'm still not convinced this is the device you're looking for,
Can you show what's the data in the packets? Does it looks like the "question"? like the response? here

@pickeld
Copy link
Author

pickeld commented Dec 20, 2020

image

i just got it installed today, maybe its a new version?
im using the app Tadiran IOT
seems like the device version is 1.1.1

@hllhll
Copy link
Owner

hllhll commented Dec 20, 2020

Sorry, this project is not for Tadiran IoT - Which is Tuya-Smart-based... it's for their older "Tadiran connect"...

@pickeld
Copy link
Author

pickeld commented Dec 20, 2020

aw, how embarrassing.
sorry!

@pickeld pickeld closed this as completed Dec 20, 2020
@hllhll
Copy link
Owner

hllhll commented Dec 20, 2020

It would be very interesting to see if this can be done to it too, I'll be glad to help where possible.
Tuya-enabled integration and app should work Out-of-the-box

@pickeld
Copy link
Author

pickeld commented Dec 20, 2020

thanks, you mean they should be auto discovered? apparently its doesn't

@hllhll
Copy link
Owner

hllhll commented Dec 20, 2020

I'm not much familiarize with Tuya-based products,
Tuya is a generic framework+library+cloud services for smart devices, you can look up online how to connect with tuya enabled devices (or more specificall, HVACs). You can also try asking in one of the facebook groups :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants