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

Commands not being registered all the time #10

Open
mflage opened this issue Jan 31, 2021 · 1 comment
Open

Commands not being registered all the time #10

mflage opened this issue Jan 31, 2021 · 1 comment

Comments

@mflage
Copy link

mflage commented Jan 31, 2021

Hi!

I have an issue with my Flexit Roomie Dual where the commands are not registered all the time. I see that this communication is UDP-based, so I'm wondering if that is the reason for this. I can issue the command: .set_airflow(1), but nothing registers on the fan itself. If I then rerun the command, then it may work the next time.

Are there no acknowledgements in the protocol? Everything is based on UDP?

@aglehmann
Copy link
Owner

Hi, the protocol used by these fans are UDP, which by nature means there is not acknowledgement of a successful transmission as you would have found in other protocols like TCP. There is however a form of acknowledgement in the implementation of the "API" / controller interface who will return a byte array representation of the current settings on successful changes to any settings. I have not implemented any sort of error handling in this library (which could have been done). To be honest I never really saw the need to do so as this has worked flawlessly in my setup. You could try to pull the source code and change the static timeout value I have set to 15 seconds to see if that helps. That said, 15 seconds should be more than enough time so i have a suspicion that your problem is related poor wifi connectivity or some other network error. I'm guessing that the manufacturer of these fans didn't invest much in a decent wifi module, so you could try to improve the wifi coverage in the location of fan (move router / AP).

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