generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe The Bug:
The plugin seem to work correctly and reports the correct temperature from my 2 sensors to the home app, but I receive the MQTT error in the log every 5 seconds
To Reproduce:
I checked the User Access ID and secret key are correct (they were). I also revoked those and created new ones, and then entered into the plugin config. Same MQTT error
Expected behavior:
Whilst not affecting functionality, is this expected behaviour?
Thank you
Logs:
[9/12/2025, 5:54:16 PM] [YoLink] Restarting child bridge...
[9/12/2025, 5:54:16 PM] Got SIGTERM, shutting down child bridge process...
[9/12/2025, 5:54:17 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:54:17 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:54:17 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:54:21 PM] [YoLink] Child bridge process ended
[9/12/2025, 5:54:21 PM] [YoLink] Process Ended. Code: 143, Signal: null
[9/12/2025, 5:54:28 PM] [YoLink] Restarting Process...
[9/12/2025, 5:54:28 PM] [YoLink] Launched child bridge with PID 60002
[9/12/2025, 5:54:28 PM] Registering platform 'homebridge-yolink.YoLink'
[9/12/2025, 5:54:28 PM] [YoLink] Loaded homebridge-yolink v1.6.8 child bridge successfully
[9/12/2025, 5:54:28 PM] Loaded 2 cached accessories from cachedAccessories.0EA2B9C88E47.
[9/12/2025, 5:54:28 PM] [YoLink] YoLink plugin for Homebridge.
Version 1.6.8
Copyright (c) 2022-2024 David A. Kerr
Please report all bugs at https://github.com/dkerr64/homebridge-yolink/issues
[9/12/2025, 5:54:28 PM] [YoLink] Initializing YoLink Cloud API
[9/12/2025, 5:54:28 PM] [YoLink] Login to YoLink API with credentials from config
[9/12/2025, 5:54:28 PM] Homebridge v1.11.0 (HAP v0.13.1) (YoLink 63A6) is running on port 32711.
[9/12/2025, 5:54:29 PM] [YoLink] Starting interval timer to refresh accessToken every 6480 seconds
[9/12/2025, 5:54:29 PM] [YoLink] YoLinkAPI.getDeviceList found 3 devices [lite]
[9/12/2025, 5:54:29 PM] [YoLink] [YS1604-EC (d88b4c16********) Speaker Hub] Not registering device as config 'hide=true'
[9/12/2025, 5:54:29 PM] [YoLink] Device "undefined" does not exist in YoLink device list ({
"temperature": false,
"useWaterFlowing": false
}). Check config file for deviceID typo.
[9/12/2025, 5:54:29 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:54:29 PM] [YoLink] [YS8003-EC (d88b4c010********) Conservatory Sensor] YoLinkAPI.getDeviceState [lite]
[9/12/2025, 5:54:30 PM] [YoLink] [YS8003-EC (d88b4c01*******) Conservatory Sensor] At 9/12/2025, 5:51:49 PM: Device state updated: Temperature 24.6°C (76.3°F), Humidity 42.6, Battery: 4 (Requested: both) [lite]
[9/12/2025, 5:54:30 PM] [YoLink] Device initialized: YS8003-EC (d88b4c010*******) Conservatory Sensor
[9/12/2025, 5:54:30 PM] [YoLink] [YS8003-EC (d88b4c010******) Fridge Sensor] YoLinkAPI.getDeviceState [lite]
[9/12/2025, 5:54:30 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:54:30 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:54:30 PM] [YoLink] [YS8003-EC (d88b4c0100******) Fridge Sensor] At 9/12/2025, 5:49:09 PM: Device state updated: Temperature 2°C (35.6°F), Humidity 39.7, Battery: 4 (Requested: both) [lite]
[9/12/2025, 5:54:30 PM] [YoLink] Device initialized: YS8003-EC (d88b4c010******) Fridge Sensor
[9/12/2025, 5:54:30 PM] [YoLink] All YoLink devices initialized
[9/12/2025, 5:54:35 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:54:35 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:54:35 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:54:40 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:54:40 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:54:40 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:54:45 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:54:46 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:54:46 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:54:51 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:54:51 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:54:51 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:54:56 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:54:56 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:54:56 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:55:01 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:55:02 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:55:02 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:55:07 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:55:07 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:55:07 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:55:12 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:55:12 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:55:12 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:55:17 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:55:18 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:55:18 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
[9/12/2025, 5:55:23 PM] [YoLink] Create MQTT client to connect to YoLink message service
[9/12/2025, 5:55:23 PM] [YoLink] MQTT error: 'Error: Connection refused: Identifier rejected' Connected: false
[9/12/2025, 5:55:23 PM] [YoLink] MQTT client not connected, wait 5 seconds and then attempt restart
Plugin Config:
"name": "YoLink",
"platform": "YoLink",
"hubType": "cloud",
"tokenURL": "https://api-eu.yosmart.com/open/yolink/token",
"apiURL": "https://api-eu.yosmart.com/open/yolink/v2/api",
"mqttPort": 8003,
"userAccessId": "***********",
"secretKey": "*************",
"refreshAfter": 1500,
"verboseLog": false,
"liteLog": false,
"allDevices": true,
"excludeTypes": [
"Hub",
"SpeakerHub"
],
"deviceTemperatures": true,
"useWaterFlowing": false,
"enableExperimental": false,
"devices": [
{
"config": {
"temperature": false,
"useWaterFlowing": false
}
}
],
"_bridge": {
"name": "YoLink 63A6",
"username": "0E:A2:B9:C8:8E:47",
"port": 32711
}
}
Screenshots:
Environment:
- Plugin Version: v1.6.8
- Homebridge Version: v1.11.0
- Node.js Version: v22.14.0
- NPM Version:
- Operating System: macOS 15.6.1 (24G90)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working