8000 How to use "Send custom request" action · Issue #217 · gvigroux/hon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
How to use "Send custom request" action #217
Open
@nicmela

Description

@nicmela

Hi,
I'm struggling undestanding how to format custom requests in order to use them as an action for my climate setup:

Right now i'm using this for the action "hOn: Send custom request":

action: hon.send_custom_request
target:
  device_id: f3afd203565ed6dacecd8ba2aacaxxxx
data:
  device: f3afd203565ed6dacecd8ba2aacaxxxx
  parameters: {"onOffStatus": "0"}

this code works (beep on the AC unit, and then is set to OFF).

However if i try any other parameter, for example

action: hon.send_custom_request
target:
  device_id: f3afd203565ed6dacecd8ba2aacaxxxx
data:
  device: f3afd203565ed6dacecd8ba2aacaxxxx
  parameters: {"windDirectionVertical": "2"}

the command it's ignored (no beep from AC unit).

I know I can use action: hon.update_settings to set vertical direction (and it works).... but I'm trying to use different parameters in order to enable HEALTH_HIGH and HEALTH_LOW vertical positions (1,3) which are blocked by action: hon.update_settings

Any hint on how to correctly format custom requests in order to send parameters?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0