stas-demydiuk / domoticz-zigbee2mqtt-plugin

zigbee2mqtt plugin for domoticz
MIT License
136 stars 98 forks source link

HEIMAN HS2IRC (Smart IR Control) #759

Closed develop-dvs closed 2 years ago

develop-dvs commented 2 years ago

Hi! Need command:

From MQTT Explorer:

{"battery":100,"devices":[{"id":1,"key_codes":[1],"model_type":99}],"linkquality":57}

Example: https://www.zigbee2mqtt.io/devices/HS2IRC.html

mozolin commented 2 years ago

Hi! Need command:

Hi, are you interested in the setup examples for this device?

develop-dvs commented 2 years ago

Yes, i have this device and I don't know how to interact with it through your plugin. There are no pre-installed interfaces, buttons and other things.

I can send only raw commands in visual interface. Bad, no automation.

mozolin commented 2 years ago

Well, I could try to explain what I have done in my Home Assistant. For instance, you can make such a script:

heiman_rc_get_list:
  sequence:
    - service: mqtt.publish
      data_template:
        topic: "zigbee2mqtt/0x000d6f0015349546/set"
        payload_template: '{"get_list": ""}'

and use this script in your automations. The commands like this you can make for "Create device", "Learn key", "Send stored key" and "Delete device or keycode". I am not sure, but I think, something like this could be in Domoticz scripts... P.S. Timeout for learning a new command for this device is 20 seconds...

develop-dvs commented 2 years ago

i use Domoticz, not HA how can i send this command via DzVents?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.