Code Monkey home page Code Monkey logo

Comments (15)

wzwick avatar wzwick commented on August 11, 2024

did you find an answer to this? I have the same issue

from xiaomi_airconditioningcompanion.

syssi avatar syssi commented on August 11, 2024

Which hardware version do you use/own? Did you test different remote controls? There are some remote controls which aren't supported / cannot be captured.

from xiaomi_airconditioningcompanion.

wzwick avatar wzwick commented on August 11, 2024

The square companion, I think it's lumipartner3 or something like that.
Yes tested different remotes, same thing -times out with no capture.
I have since bought the Xiaomi ir remote and that captures fine (it's now a non issue for me)
Do you know the config to send a command from the Aircon companion?

from xiaomi_airconditioningcompanion.

syssi avatar syssi commented on August 11, 2024

I've tested the feature with an acpartner.v2. It looks like the implementation doesn't work for the v3. Are you willing to do some testing.

from xiaomi_airconditioningcompanion.

wzwick avatar wzwick commented on August 11, 2024

For the greater good - most definitely.

from xiaomi_airconditioningcompanion.

syhmosh avatar syhmosh commented on August 11, 2024

I'm using an acpartner.v2 , here's the log lumi.acpartner.v2 1.4.1_145 MW300 detected.
Still it doesn't work for me, however it acts correctly in mijia app.
BTW i'm also using an lumi.gateway.v3.

from xiaomi_airconditioningcompanion.

syssi avatar syssi commented on August 11, 2024

Could you try to capture infrared commands via python-miio directly:

miiocli airconditioningcompanion --ip IP --token TOKEN learn 1

# send an IR command
miiocli airconditioningcompanion --ip IP --token TOKEN learn_result
# send an IR command
miiocli airconditioningcompanion --ip IP --token TOKEN learn_result
# send an IR command
miiocli airconditioningcompanion --ip IP --token TOKEN learn_result

miiocli airconditioningcompanion --ip IP --token TOKEN learn_stop 1

Does it work?

from xiaomi_airconditioningcompanion.

syhmosh avatar syhmosh commented on August 11, 2024

Not work ...
default
And I update python-miio from 0.41 to 0.43, nothing changed...

from xiaomi_airconditioningcompanion.

syssi avatar syssi commented on August 11, 2024

Please try again with:

miiocli airconditioningcompanion --ip IP --token TOKEN raw_command start_ir_learn "[1]"
miiocli airconditioningcompanion --ip IP --token TOKEN raw_command get_ir_learn_result "[]"
miiocli airconditioningcompanion --ip IP --token TOKEN raw_command get_ir_learn_result "[]"
miiocli airconditioningcompanion --ip IP --token TOKEN raw_command get_ir_learn_result "[]"

cp. #5 (comment)

from xiaomi_airconditioningcompanion.

syhmosh avatar syhmosh commented on August 11, 2024

Still not work...
Still null for this command...

from xiaomi_airconditioningcompanion.

syssi avatar syssi commented on August 11, 2024

Okay. Slot 1 is the problem. Please try:

miiocli airconditioningcompanion --ip IP --token TOKEN learn 15

# send an IR command
miiocli airconditioningcompanion --ip IP --token TOKEN learn_result
# send an IR command
miiocli airconditioningcompanion --ip IP --token TOKEN learn_result
# send an IR command
miiocli airconditioningcompanion --ip IP --token TOKEN learn_result

miiocli airconditioningcompanion --ip IP --token TOKEN learn_stop 15

from xiaomi_airconditioningcompanion.

syhmosh avatar syhmosh commented on August 11, 2024

You're awesome.
Deepest thanks to you!

from xiaomi_airconditioningcompanion.

wzwick avatar wzwick commented on August 11, 2024

@syssi Could you please help me with the basic HA config to fire off a ir signal from the airconcompanion?
I have the following:

 - platform: xiaomi_miio
    name: Air Controller
    host: 192.168.xxx.xxx
    token: f4c087xxxxxxxxxxxxxxxxxxcedd0831
    target_sensor: sensor.temperature_zigbee
    scan_interval: 60
    commands:
      tv_power:
        command:
          - raw:Z6VPAP0BAABdAgAAtwYAANkIAACTEQAAySIAAMSfAAAMdQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFEBAQEBAQEBAgICAgICAQICAQICAQEBAQECAQECAgICBgNXA1cDUA

then i use a script:

'test':
  alias: test
  sequence:
    - service: climate.xiaomi_miio_send_command
      entity_id: 'climate.air_controller'
      data:
        command:
          - 'tv_power'

the command works fine sending it from the xiaomi universal remote - but i cant seem to get it working from the air conditioner companion.
please assist

from xiaomi_airconditioningcompanion.

cattrieu avatar cattrieu commented on August 11, 2024

@syssi Could you please help me with the basic HA config to fire off a ir signal from the airconcompanion?
I have the following:

 - platform: xiaomi_miio
    name: Air Controller
    host: 192.168.xxx.xxx
    token: f4c087xxxxxxxxxxxxxxxxxxcedd0831
    target_sensor: sensor.temperature_zigbee
    scan_interval: 60
    commands:
      tv_power:
        command:
          - raw:Z6VPAP0BAABdAgAAtwYAANkIAACTEQAAySIAAMSfAAAMdQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFEBAQEBAQEBAgICAgICAQICAQICAQEBAQECAQECAgICBgNXA1cDUA

then i use a script:

'test':
  alias: test
  sequence:
    - service: climate.xiaomi_miio_send_command
      entity_id: 'climate.air_controller'
      data:
        command:
          - 'tv_power'

the command works fine sending it from the xiaomi universal remote - but i cant seem to get it working from the air conditioner companion.
please assist

Have you solved the issue with fire off an IR signal? I don't know how to config to use the services climate.xiaomi_miio_send_command

from xiaomi_airconditioningcompanion.

wzwick avatar wzwick commented on August 11, 2024

No, never got it right.
I can get it to send codes for my aircon because of the pairing in the app.
For my lounge and TV I use the broadlink mini 3 and in my office I use xiaomi universal remote - both work great.

from xiaomi_airconditioningcompanion.

Related Issues (20)

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.