0x5e / homebridge-tuya-platform

Make homebridge-tuya-platform great again.
MIT License
206 stars 58 forks source link

433MHZ RF + IR + WiFi Remote Control #368

Open Madcat-76310 opened 10 months ago

Madcat-76310 commented 10 months ago

Device Infomation JSON File

No response

Detail Informations

Hi, There is a lot of small RF + IR bridge, used with Smart Life Wifi on chinese sites (Al*Express for example), very useful to upgrade old RF or IR devices to Smart Life. An integration will give a full access to a lot of materials : roller shutters, ... Thanks

Madcat-76310 commented 10 months ago

Hot 433MHZ RF Remote Control Tuya IR WiFi Remote Control Smart Universal Infrared Smart works with Alexa Google Home : 10$ only

shanemcw commented 4 months ago

Thanks @Madcat-76310! I am adding more information to this ticket as I have the same context!

I successfully use a non-Tuya Broadlink RM4 Pro IR/RF broadcaster device with the homebridge-broadlink-rm plugin to control 6 roller blinds with RF control.

I am recently testing a Tuya-supported eMylo WiFi Smart IR RF Remote Controller, USB Smart IR RF Remote Control, partly due to the large number of Tuya devices in my environment, with a test of controlling one of those blinds.

The Tuya eMylo device and the "Roller Shades" device appear in the Smart Life app, and the roller shades can be controlled via the Smart Life app.

These devices appear in the Apple Home app but are showing "Not Supported."

I've included screenshots of the Smart Life Screens and Home app screens and JSON from the IR/RF device and the Roller shades device as reported to Homebridge by the Tuya plugin.

I'm also including JSON for one of the blinds successfully operated through the Home app via the Broadlink RM4 Pro and plugin.

I hope these help some!

IMG_1996 IMG_1995 IMG_1993 (1) IMG_1992 (1) IMG_1994 IMG_1991 IMG_1990

{
    aid => 146,
    services => [
      {
        characteristics => [
          {
            description => "Identify",
            format => "bool",
            iid => 2,
            perms => ["pw"],
            type => 14,
          },
          {
            description => "Manufacturer",
            format      => "string",
            iid         => 3,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 20,
            value       => "Tuya Inc.",
          },
          {
            description => "Model",
            format      => "string",
            iid         => 4,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 21,
            value       => "h5znnnqmnvw0decb",
          },
          {
            description => "Name",
            format      => "string",
            iid         => 5,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 23,
            value       => "Infrared + RF UR01",
          },
          {
            description => "Serial Number",
            format      => "string",
            iid         => 6,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 30,
            value       => "e0c3c7b8f8113b8e",
          },
          {
            description => "Firmware Revision",
            format => "string",
            iid => 7,
            perms => ["pr"],
            type => 52,
            value => "1.7.0-beta.53",
          },
          {
            description => "Configured Name",
            format => "string",
            iid => 8,
            perms => ["ev", "pr", "pw"],
            type => "E3",
            value => "Infrared + RF UR01",
          },
          {
            description => "Status Active",
            format => "bool",
            iid => 9,
            perms => ["ev", "pr"],
            type => 75,
            value => 1,
          },
        ],
        iid => 1,
        type => "3E",
      },
    ],
  },
{
    aid => 149,
    services => [
      {
        characteristics => [
          {
            description => "Identify",
            format => "bool",
            iid => 2,
            perms => ["pw"],
            type => 14,
          },
          {
            description => "Manufacturer",
            format      => "string",
            iid         => 3,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 20,
            value       => "Tuya Inc.",
          },
          {
            description => "Model",
            format      => "string",
            iid         => 4,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 21,
            value       => "0000003nzf",
          },
          {
            description => "Name",
            format      => "string",
            iid         => 5,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 23,
            value       => "Roller Shutters",
          },
          {
            description => "Serial Number",
            format      => "string",
            iid         => 6,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 30,
            value       => "eb9c5e6fad740ed4f3ojwj",
          },
          {
            description => "Firmware Revision",
            format => "string",
            iid => 7,
            perms => ["pr"],
            type => 52,
            value => "1.7.0-beta.53",
          },
          {
            description => "Configured Name",
            format => "string",
            iid => 8,
            perms => ["ev", "pr", "pw"],
            type => "E3",
            value => "Roller Shutters",
          },
          {
            description => "Status Active",
            format => "bool",
            iid => 9,
            perms => ["ev", "pr"],
            type => 75,
            value => 1,
          },
        ],
        iid => 1,
        type => "3E",
      },
    ],
  },

For example, JSON from Apple Home-working roller shades are controlled via a Broadlink RM4 Pro IR/RF broadcaster with the Broadlink RM plugin; this device is in the same category.

{
    aid => 51,
    services => [
      {
        characteristics => [
          {
            description => "Identify",
            format => "bool",
            iid => 2,
            perms => ["pw"],
            type => 14,
          },
          {
            description => "Manufacturer",
            format      => "string",
            iid         => 3,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 20,
            value       => "Broadlink",
          },
          {
            description => "Model",
            format      => "string",
            iid         => 4,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 21,
            value       => "RM Mini or Pro",
          },
          {
            description => "Name",
            format      => "string",
            iid         => 5,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 23,
            value       => "Living Room Street Blinds",
          },
          {
            description => "Serial Number",
            format      => "string",
            iid         => 6,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 30,
            value       => "a9882a2c-9b97-4ac5-89df-9d390ae07f8f",
          },
          {
            description => "Firmware Revision",
            format => "string",
            iid => 7,
            perms => ["pr"],
            type => 52,
            value => "4.4.15",
          },
        ],
        iid => 1,
        type => "3E",
      },
      {
        characteristics => [
          {
            description => "Name",
            format      => "string",
            iid         => 9,
            maxLen      => 64,
            perms       => ["pr"],
            type        => 23,
            value       => "Living Room Street Blinds",
          },
          {
            description => "Current Position",
            format      => "uint8",
            iid         => 10,
            maxValue    => 100,
            minStep     => 1,
            minValue    => 0,
            perms       => ["ev", "pr"],
            type        => "6D",
            unit        => "percentage",
            value       => 0,
          },
          {
            "description"  => "Position State",
            "format"       => "uint8",
            "iid"          => 11,
            "maxValue"     => 2,
            "minStep"      => 1,
            "minValue"     => 0,
            "perms"        => ["ev", "pr"],
            "type"         => 72,
            "valid-values" => [0, 1, 2],
            "value"        => 2,
          },
          {
            description => "Target Position",
            format      => "uint8",
            iid         => 12,
            maxValue    => 100,
            minStep     => 1,
            minValue    => 0,
            perms       => ["ev", "pr", "pw"],
            type        => "7C",
            unit        => "percentage",
            value       => 0,
          },
        ],
        iid => 8,
        type => "8C",
      },
    ],
  },