Somfy Blinds with RFXCOM RFXtrx

Hi,

I want to migrate from openHAB to Homeassistant and I was using the RFXtrx433E without no problem in openHAB for more than 10 years.

I tried to convert the device Id I was using under openHAB to the format Homeassistant wants, and finally the code was accepted, when adding the event code in UI. But I cannot control the device. Nothing happens. What can I do, to find the problem? Any Ideas?

My configuration in openHAB looks like this:

Bridge rfxcom:bridge:usb0 [ serialPort="/dev/rfxtrx0", enableLighting4="true" ] {   
    Thing rfy e06d7fb4 [deviceId="65801.1", subType="RFY"]
}

This gives me the event code: 071a00000101b901

I added this via the configure option in the integration settings page and i got finally this here:

Here is the diag data, where you can see, that the device was added.

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.11.0",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.4",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.6.54-haos",
    "supervisor": "2024.11.2",
    "host_os": "Home Assistant OS 13.2",
    "docker_version": "27.2.0",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "spook": {
      "documentation": "https://spook.boo",
      "version": "3.1.0",
      "requirements": []
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "2.0.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "rfxtrx",
    "name": "RFXCOM RFXtrx",
    "codeowners": [
      "danielhiversen",
      "elupus",
      "RobBie1221"
    ],
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/rfxtrx",
    "iot_class": "local_push",
    "loggers": [
      "RFXtrx"
    ],
    "requirements": [
      "pyRFXtrx==0.31.1"
    ],
    "is_built_in": true,
    "overwrites_built_in": false
  },
  "setup_times": {},
  "data": {
    "entry": {
      "created_at": "2024-11-07T20:37:28.387804+00:00",
      "data": {
        "host": null,
        "port": null,
        "device": "/dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1XR54VU-if00-port0",
        "automatic_add": true,
        "devices": {
          "0a5203008101008c3c0069": {
            "device_id": [
              "52",
              "3",
              "81:01"
            ]
          },
          "0a520101f20100de330150": {
            "device_id": [
              "52",
              "1",
              "f2:01"
            ]
          },
          "0d03010143ad7ab5f5ff4be007a4": {
            "device_id": [
              "3",
              "1",
              "Undecoded"
            ]
          },
          "0a520702280e0043390159": {
            "device_id": [
              "52",
              "7",
              "28:0e"
            ]
          },
          "0a5207032d0e00d7490360": {
            "device_id": [
              "52",
              "7",
              "2d:0e"
            ]
          },
          "0903100a257ffbf3fffe": {
            "device_id": [
              "3",
              "10",
              "Undecoded"
            ]
          },
          "0c03039240dfabd5fffdbadfba": {
            "device_id": [
              "3",
              "3",
              "Undecoded"
            ]
          },
          "0f0309bc526cd0a7049f2f1055303100": {
            "device_id": [
              "3",
              "9",
              "Undecoded"
            ]
          },
          "0f030873578aec138160041470913300": {
            "device_id": [
              "3",
              "8",
              "Undecoded"
            ]
          },
          "09130071fb822000f350": {
            "device_id": [
              "13",
              "0",
              "fb8220"
            ]
          },
          "0913007b93c88c016950": {
            "device_id": [
              "13",
              "0",
              "93c88c"
            ]
          },
          "091300beaedcc701e650": {
            "device_id": [
              "13",
              "0",
              "aedcc7"
            ]
          },
          "071a00000100e901": {
            "device_id": [
              "1a",
              "0",
              "0100e9:1"
            ],
            "off_delay": 1,
            "venetian_blind_mode": "Unknown"
          }
        },
        "protocols": [
          "oregon",
          "lighting4",
          "ac",
          "adlightwave",
          "arc",
          "aeblyss",
          "rsl",
          "rubicson",
          "undecoded",
          "visonic",
          "proguard",
          "mertik",
          "meiantech",
          "lacrosse",
          "keeloq",
          "imagintronix",
          "homeeasy",
          "homeconfort",
          "hideki",
          "fs20",
          "fineoffset",
          "byronsx",
          "blindst1234",
          "blindst0",
          "ati",
          "x10"
        ]
      },
      "discovery_keys": {},
      "disabled_by": null,
      "domain": "rfxtrx",
      "entry_id": "01JC45HA636RDV0VR1V48DGS86",
      "minor_version": 1,
      "modified_at": "2024-11-08T05:45:43.548418+00:00",
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "title": "RFXTRX",
      "unique_id": "rfxtrx",
      "version": 1
    }
  }
}

I suppose you need: 071A000001010901

8-11-2024 10:30:22:145= 071A000001010901
Packettype = RFY
subtype = RFY
Sequence nbr = 0
id1-3 = 010109 decimal:65801
Unit = 1
Command = stop
rfu1 = 00
rfu2 = 00
rfu3 = 00

1 Like

I still do not get the conversation logic. How did you convert that?

[deviceId=“65801.1”, subType=“RFY”]
65801 decimal is 010109 hex (not 0101b9)

1 Like

Sure. Now I understand!