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

[Device request]: IR controlled airco #215

Open
julianborghuis opened this issue Sep 11, 2024 · 5 comments · Fixed by #296
Open

[Device request]: IR controlled airco #215

julianborghuis opened this issue Sep 11, 2024 · 5 comments · Fixed by #296
Labels
confirmed Indicates that there is an issue which has been confirmed device request Indicates a device request in progress Is already being worked on
Milestone

Comments

@julianborghuis
Copy link

julianborghuis commented Sep 11, 2024

Device information

You add the device, then it creates virtual devices for the remotes.

Device specification

Ir Sensor itself:
Specification
{ "device": { "active_time": 1726067513, "biz_type": 0, "category": "wnykq", "create_time": 1726067513, "icon": "smart/icon/ay1573546958261faWcj/58c629a3fb74e5081e4e595433e4d74d.png", "id": "bffcf2f54650e4b35ctfs6", "ip": "", "lat": "", "local_key": "", "lon": "", "model": "HMS06CB3S", "name": "Slimme IR", "online": true, "owner_id": "", "product_id": "mht6agoc63dziywo", "product_name": "Smart IR", "sub": false, "time_zone": "+02:00", "uid": "", "update_time": 1726067779, "uuid": "", "status": [] }, "specifications": "", "data_points": "" }

An remote (airco as example)

{
  "device": {
    "active_time": 1726067603,
    "biz_type": 0,
    "category": "infrared_ac",
    "create_time": 1726067603,
    "icon": "smart/ir/icon/9knfrm4eawao.png",
    "id": "bf726f787bde1421162dg0",
    "ip": "",
    "lat": "",
    "local_key": "",
    "lon": "",
    "model": "",
    "name": "Air",
    "node_id": "b8b1bf7108f72082",
    "online": true,
    "owner_id": "",
    "product_id": "1ownck",
    "product_name": "Air Conditioner",
    "sub": true,
    "time_zone": "+02:00",
    "uid": "",
    "update_time": 1726067604,
    "uuid": "",
    "status": []
  },
  "specifications": {
    "category": "infrared_ac",
    "functions": [
      {
        "code": "F",
        "type": "ENUM",
        "values": "{\"min\":0,\"max\":3,\"scale\":0,\"step\":1,\"type\":\"Integer\"}"
      },
      {
        "code": "M",
        "type": "ENUM",
        "values": "{\"min\":0,\"max\":4,\"scale\":0,\"step\":1,\"type\":\"Integer\"}"
      },
      {
        "code": "PowerOff",
        "type": "STRING",
        "values": "PowerOff"
      },
      {
        "code": "PowerOn",
        "type": "STRING",
        "values": "PowerOn"
      },
      {
        "code": "T",
        "type": "ENUM",
        "values": "{\"min\":16,\"max\":30,\"scale\":0,\"step\":1,\"type\":\"Integer\"}"
      }
    ],
    "status": [
      {
        "code": "wind",
        "type": "ENUM",
        "values": "{\"min\":0,\"max\":3,\"scale\":0,\"step\":1,\"type\":\"Integer\"}"
      },
      {
        "code": "mode",
        "type": "ENUM",
        "values": "{\"min\":0,\"max\":4,\"scale\":0,\"step\":1,\"type\":\"Integer\"}"
      },
      {
        "code": "power",
        "type": "BOOLEAN",
        "values": "{}"
      },
      {
        "code": "temp",
        "type": "ENUM",
        "values": "{\"min\":16,\"max\":30,\"scale\":0,\"step\":1,\"type\":\"Integer\"}"
      }
    ]
  },
  "data_points": ""
}
@julianborghuis julianborghuis added the device request Indicates a device request label Sep 11, 2024
@julianborghuis
Copy link
Author

When i want to use flow cards, they are not existing thats why i wanted to add this
IMG_4593
IMG_4594

Diagnostic: 83ed02ec-95d5-4869-9dfe-f730a16dc226

@julianborghuis
Copy link
Author

Also the whole thing is there isnt an cheap ir sensor that can manage this, so if tuya adds this that would be nice

@bobvandevijver
Copy link
Collaborator

Your request isn't about the IR sensor itself, but about the AC you are controlling with it. You should be able to add that AC as other device and control it with the default cards using the datapoints. There might be an issue with the trigger cards not being triggered, which is currently in investigation.

@bobvandevijver bobvandevijver added the confirmed Indicates that there is an issue which has been confirmed label Sep 12, 2024
@bobvandevijver bobvandevijver mentioned this issue Sep 12, 2024
34 tasks
@bobvandevijver bobvandevijver added this to the Release 1.4.0 milestone Sep 12, 2024
@bobvandevijver bobvandevijver changed the title [Device request]: IR Sensor [Device request]: IR controlled airco Sep 12, 2024
@bobvandevijver bobvandevijver linked a pull request Sep 12, 2024 that will close this issue
@bobvandevijver bobvandevijver added wontfix This will not be worked on and removed confirmed Indicates that there is an issue which has been confirmed labels Sep 12, 2024
@bobvandevijver
Copy link
Collaborator

I am closing this issue as the particular infrared airco will not be added (#217) because they do not expose their status using the status set we need. You can still control it directly using the datapoints and the flow cards we expose. If the triggers currently do not work for your datapoints it could be caused by a known issue with the updates, which is tracked with #136.

@bobvandevijver bobvandevijver closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2024
@bobvandevijver bobvandevijver removed this from the Release 1.4.0 milestone Sep 24, 2024
@bobvandevijver bobvandevijver reopened this Nov 6, 2024
@bobvandevijver bobvandevijver added this to the Release 1.5.0 milestone Nov 6, 2024
@bobvandevijver bobvandevijver added in progress Is already being worked on confirmed Indicates that there is an issue which has been confirmed and removed wontfix This will not be worked on labels Nov 6, 2024
@bobvandevijver
Copy link
Collaborator

We have been working on real IR support, and I believe that your device can actually work with that. It is scheduled for version 1.5.0 now, which is still pending a couple of things.

@bobvandevijver bobvandevijver linked a pull request Nov 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed Indicates that there is an issue which has been confirmed device request Indicates a device request in progress Is already being worked on
Development

Successfully merging a pull request may close this issue.

2 participants