rgerganov/py-air-control

Issues when switching between manual and automode

Cyber1000 opened this issue · 1 comments

  • device: AC2889/10 may be relevant to others too
  • version: coap (with encryption) may be relevant to others too
  • see here:

I don't know if that's device or version specific (or both), cause I found this problem also within the "clean home+"-app (or to be clearer it seems to be a bug within the device)

2 problems:

  1. if I change the following very fast (<2s) it will not switch
airctrl --ipaddr [ip] --protocol coap --mode M --om 2
... don't wait here
airctrl --ipaddr [ip] --protocol coap --mode A
... don't wait here
airctrl --ipaddr [ip] --protocol coap --mode M --om 2
  1. if I'm in automatic mode and the fan is on speed 1, following won't work:
    airctrl --ipaddr [ip] --protocol coap --mode M --om 1
    • if in auto-mode and on fan-speed 2 following won't work:
      airctrl --ipaddr [ip] --protocol coap --mode M --om 2
    • and so on
    • Solution (if you are in auto which has fanspeed 1):
    airctrl --ipaddr [ip] --protocol coap --mode M --om s
    airctrl --ipaddr [ip] --protocol coap --mode M --om 1
    

At @Syreel: Could you confirm the 2nd problem on your device (since I know you have AC2889/10 too)? Keep in mind that --version 1.0.7 has changed to --protocol coap in the current master.

Does someone experience the same on other versions/devices?
Maybe we can make a fallback here ...

Sunoo commented

It appears that some units use a value of ‘a’ in the ‘om’ field to set auto mode, instead of the ‘auto’ field. Perhaps that’s what’s going on for you? I’ve opened #48 to allow this value to be passed.