hjdhjd / homebridge-ratgdo

🚗 non-myQ Liftmaster, Chamberlain, and Ratgdo Plugin for Homebridge
Other
99 stars 2 forks source link

No Light in Homekit #12

Closed Horse2370 closed 4 months ago

Horse2370 commented 4 months ago

Homebridge Ratgdo

v2.2.2

Homebridge Platform and OS

Ubuntu Jammy (22.04.4 LTS) running in a Docker environment

Homebridge Version

v1.8.2

Node Version

v20.12.2

Ratgdo ESPHome Firmware Version

v2024.4.2

Describe the problem

The Door and the motion sensor show up as well as the "dimmer" door open option that is enabled, however since switching from the MQTT version to the Homekit version of ratgdo, the light accessory never showed up. Note: I have the Jack Drive openers that have a separate device that the other plugins detected as a lamp vs. Light. If that makes a difference. The light switching on and off is in the logs.

Homebridge HBR JSON configuration

{
    "debug": false,
    "mqttTopic": "Home/1st_Floor/Garage",
    "mqttUrl": "mqtt://mqtt.mydomain",
    "name": "Ratgdo",
    "options": [
        "Enable.Opener.Dimmer"
    ],
    "_bridge": {
        "username": "xx:xx:xx:xx:xx:xx",
        "port": 54290
    },
    "platform": "Ratgdo"
}

Relevant log output

Left Garage Door: Open.
[6/9/2024, 7:10:28 PM] [Ratgdo] Left Garage Door: Obstruction detected.
[6/9/2024, 7:10:28 PM] [Ratgdo] Left Garage Door: Obstruction no longer detected.
[6/9/2024, 7:10:28 PM] [Ratgdo] Left Garage Door: Obstruction detected.
[6/9/2024, 7:10:29 PM] [Ratgdo] Left Garage Door: Obstruction no longer detected.
[6/9/2024, 7:10:29 PM] [Ratgdo] Left Garage Door: Obstruction detected.
[6/9/2024, 7:10:29 PM] [Ratgdo] Left Garage Door: Obstruction no longer detected.
[6/9/2024, 7:11:01 PM] [Ratgdo] Left Garage Door: Obstruction detected.
[6/9/2024, 7:11:01 PM] [Ratgdo] Left Garage Door: Obstruction no longer detected.
[6/9/2024, 7:11:03 PM] [Ratgdo] Left Garage Door: Obstruction detected.
[6/9/2024, 7:11:03 PM] [Ratgdo] Left Garage Door: Obstruction no longer detected.
[6/9/2024, 7:11:29 PM] [Ratgdo] Left Garage Door: Closing.
[6/9/2024, 7:11:43 PM] [Ratgdo] Left Garage Door: Closed.
[6/9/2024, 7:20:13 PM] [Ratgdo] Right Garage Door: Light off.
[6/9/2024, 7:20:56 PM] [Ratgdo] Left Garage Door: Light off.
[6/9/2024, 7:46:43 PM] [Ratgdo] MQTT: Garage Door status published.
[6/9/2024, 7:46:43 PM] [Ratgdo] MQTT: Garage Door status published.
[6/9/2024, 7:53:59 PM] [Ratgdo] Right Garage Door: Light on.
[6/9/2024, 7:53:59 PM] [Ratgdo] Left Garage Door: Light on.
[6/9/2024, 8:01:12 PM] [Ratgdo] Right Garage Door: Light off.
[6/9/2024, 8:01:51 PM] [Ratgdo] Left Garage Door: Light off.

Acknowledgment that you are only running non-beta firmware releases from Apple, ESPHome, or Ratgdo

hjdhjd commented 4 months ago

The light is certainly should be there, as noted by the HBR logs. I'm going to guess you may not have looked in detail at the accessory in the Home app:

Press and hold on the door opener accessory in the Home app, then tap on the accessory settings, then tap show as separate tiles. 😄 You should see them all.

Horse2370 commented 4 months ago

There are 3 accessories in Homekit. The Garage Door, Motion Detector and the “Dimmer” This is for both doors. If I select Show as Separate Tiles, I still only have 3 and not 4. I’ve checked in the Homebridge Accessories tab, which has everything, (87 accessories from numerous bridges) and that also only has 6 accessories from the ratgdo bridge. 3 each for the two doors. I tried disabling and enabling the light and restarting the bridge. Does not appear. I have Make the light on the opener available in Homekit enabled at the global level Restarted the child bridge with debug logging enabled.

6/9/2024, 10:38:49 PM] [Ratgdo] Restarting Process...
[6/9/2024, 10:38:50 PM] [Ratgdo] Launched child bridge with PID 198696
[6/9/2024, 10:38:50 PM] Registering platform 'homebridge-ratgdo.Ratgdo'
[6/9/2024, 10:38:50 PM] [Ratgdo] Loaded homebridge-ratgdo v2.2.2 child bridge successfully
[6/9/2024, 10:38:50 PM] Loaded 2 cached accessories from cachedAccessories.0E7782D4813A.
[6/9/2024, 10:38:50 PM] [Ratgdo] Debug logging on. Expect a lot of data.
[6/9/2024, 10:38:50 PM] Homebridge v1.8.2 (HAP v0.12.1) (Ratgdo) is running on port 54290.
[6/9/2024, 10:38:50 PM] [Ratgdo] Discovered: Right Garage Door (address: 192.168.1.18 mac: BCFF4D8E54D7 ESPHome firmware: v2024.4.2).
[6/9/2024, 10:38:50 PM] [Ratgdo] Configuring: Right Garage Door (address: 192.168.1.18 mac: BCFF4D8E54D7 ESPHome firmware: v2024.4.2).
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8E54D7/garagedoor/get.
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8E54D7/garagedoor/set.
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8E54D7/obstruction/get.
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8E54D7/light/get.
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8E54D7/motion/get.
[6/9/2024, 10:38:50 PM] [Ratgdo] Right Garage Door: Enabling automation door position dimmer.
[6/9/2024, 10:38:50 PM] [Ratgdo] Discovered: Left Garage Door (address: 192.168.1.17 mac: BCFF4D8FB061 ESPHome firmware: v2024.4.2).
[6/9/2024, 10:38:50 PM] [Ratgdo] Configuring: Left Garage Door (address: 192.168.1.17 mac: BCFF4D8FB061 ESPHome firmware: v2024.4.2).
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8FB061/garagedoor/get.
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8FB061/garagedoor/set.
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8FB061/obstruction/get.
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8FB061/light/get.
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT subscribe: Home/1st_Floor/Garage/BCFF4D8FB061/motion/get.
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: Enabling automation door position dimmer.
[6/9/2024, 10:38:50 PM] [Ratgdo] MQTT Broker: Connected to mqtt://mqtt.gudgin.us (topic: Home/1st_Floor/Garage).
[6/9/2024, 10:38:50 PM] [Ratgdo] Right Garage Door: Ratgdo connected.
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: Ratgdo connected.
[6/9/2024, 10:38:50 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"binary_sensor-motion","name":"Motion","icon":"","entity_category":0,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"binary_sensor-motion","name":"Motion","icon":"","entity_category":0,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"binary_sensor-obstruction","name":"Obstruction","icon":"","entity_category":0,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"binary_sensor-obstruction","name":"Obstruction","icon":"","entity_category":0,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"binary_sensor-button","name":"Button","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"binary_sensor-button","name":"Button","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"binary_sensor-motor","name":"Motor","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"binary_sensor-dry_contact_open","name":"Dry contact open","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"binary_sensor-motor","name":"Motor","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"binary_sensor-dry_contact_open","name":"Dry contact open","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"binary_sensor-dry_contact_close","name":"Dry contact close","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"binary_sensor-dry_contact_close","name":"Dry contact close","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"binary_sensor-dry_contact_light","name":"Dry contact light","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"binary_sensor-dry_contact_light","name":"Dry contact light","icon":"","entity_category":2,"value":false,"state":"OFF"}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"cover-door","name":"Door","icon":"","entity_category":0,"value":0,"state":"CLOSED","current_operation":"IDLE","position":0}'
[6/9/2024, 10:38:50 PM] [Ratgdo] Left Garage Door: Door state: 0% open.
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"cover-door","name":"Door","icon":"","entity_category":0,"value":0,"state":"CLOSED","current_operation":"IDLE","position":0}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: Door state: 0% open.
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"light-light","name":"Light","icon":"","entity_category":0,"state":"OFF","color_mode":"onoff","color":{},"effects":["None"]}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"light-light","name":"Light","icon":"","entity_category":0,"state":"OFF","color_mode":"onoff","color":{},"effects":["None"]}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"sensor-openings","name":"Openings","icon":"mdi:open-in-app","entity_category":2,"value":4140,"state":"4140 openings","uom":"openings"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"sensor-openings","name":"Openings","icon":"mdi:open-in-app","entity_category":2,"value":2475,"state":"2475 openings","uom":"openings"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"sensor-paired_devices","name":"Paired Devices","icon":"mdi:remote","entity_category":2,"value":14,"state":"14"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"sensor-paired_devices","name":"Paired Devices","icon":"mdi:remote","entity_category":2,"value":14,"state":"14"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"switch-learn","name":"Learn","icon":"mdi:plus-box","entity_category":1,"value":false,"state":"OFF","assumed_state":false}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"switch-learn","name":"Learn","icon":"mdi:plus-box","entity_category":1,"value":false,"state":"OFF","assumed_state":false}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"button-restart","name":"Restart","icon":"","entity_category":1}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"button-restart","name":"Restart","icon":"","entity_category":1}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"button-safe_mode_boot","name":"Safe mode boot","icon":"mdi:restart-alert","entity_category":2}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"button-safe_mode_boot","name":"Safe mode boot","icon":"mdi:restart-alert","entity_category":2}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"button-query_status","name":"Query status","icon":"","entity_category":2}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"button-query_status","name":"Query status","icon":"","entity_category":2}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"button-query_openings","name":"Query openings","icon":"","entity_category":2}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"button-query_openings","name":"Query openings","icon":"","entity_category":2}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"button-sync","name":"Sync","icon":"","entity_category":2}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"button-sync","name":"Sync","icon":"","entity_category":2}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"button-toggle_door","name":"Toggle door","icon":"","entity_category":0}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"button-toggle_door","name":"Toggle door","icon":"","entity_category":0}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"text_sensor-firmware_version","name":"Firmware Version","icon":"mdi:new-box","entity_category":2,"value":"2024.4.2 May 27 2024, 18:58:10","state":"2024.4.2 May 27 2024, 18:58:10"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"text_sensor-firmware_version","name":"Firmware Version","icon":"mdi:new-box","entity_category":2,"value":"2024.4.2 May 24 2024, 04:19:58","state":"2024.4.2 May 24 2024, 04:19:58"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"number-rolling_code_counter","name":"Rolling code counter","icon":"","entity_category":1,"min_value":"0","max_value":"268435456","step":"1","mode":1,"uom":"codes","value":"1556","state":"1556 codes"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"number-rolling_code_counter","name":"Rolling code counter","icon":"","entity_category":1,"min_value":"0","max_value":"268435456","step":"1","mode":1,"uom":"codes","value":"1001","state":"1001 codes"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"number-opening_duration","name":"Opening duration","icon":"","entity_category":1,"min_value":"0.0","max_value":"180.0","step":"0.1","mode":0,"uom":"s","value":"12.6","state":"12.6 s"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"number-opening_duration","name":"Opening duration","icon":"","entity_category":1,"min_value":"0.0","max_value":"180.0","step":"0.1","mode":0,"uom":"s","value":"12.4","state":"12.4 s"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"number-closing_duration","name":"Closing duration","icon":"","entity_category":1,"min_value":"0.0","max_value":"180.0","step":"0.1","mode":0,"uom":"s","value":"14.0","state":"14.0 s"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"number-closing_duration","name":"Closing duration","icon":"","entity_category":1,"min_value":"0.0","max_value":"180.0","step":"0.1","mode":0,"uom":"s","value":"13.6","state":"13.6 s"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"number-client_id","name":"Client ID","icon":"","entity_category":1,"min_value":"1337","max_value":"8385849","step":"4096","mode":1,"value":"5629241","state":"5629241"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"number-client_id","name":"Client ID","icon":"","entity_category":1,"min_value":"1337","max_value":"8385849","step":"4096","mode":1,"value":"7324985","state":"7324985"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Left Garage Door: State event received:  '{"id":"lock-lock_remotes","name":"Lock remotes","icon":"","entity_category":0,"value":2,"state":"UNLOCKED"}'
[6/9/2024, 10:38:51 PM] [Ratgdo] Right Garage Door: State event received:  '{"id":"lock-lock_remotes","name":"Lock remotes","icon":"","entity_category":0,"value":2,"state":"UNLOCKED"}'
hjdhjd commented 4 months ago

I would suggest clearing out your accessories cache entirely, deleting your HBR configuration, and starting over from scratch and see if that helps. There’s nothing that appears wrong or incorrect based on what you’ve shared. Best of luck.

github-actions[bot] commented 4 months 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.

github-actions[bot] commented 4 months ago

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.