Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAP node.js warning / Homebridge 2.0 Support #496

Open
2 tasks done
Quickstep3 opened this issue Sep 2, 2024 · 2 comments
Open
2 tasks done

HAP node.js warning / Homebridge 2.0 Support #496

Quickstep3 opened this issue Sep 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Quickstep3
Copy link

Prerequisite

  • Yes, I've read the readme completely.

Cache

  • Yes, I've cleaned accessory cache and the issue still exists.

Version

1.7.0-beta-54

Device Infomation JSON File

No response

Device Control Mode

Standard Instruction

Logs

[02/09/2024, 20:36:21] [@0x5e/homebridge-tuya-platform] Child bridge starting (pid 1866)...
[02/09/2024, 20:36:22] Registering platform '@0x5e/homebridge-tuya-platform.TuyaPlatform'
[02/09/2024, 20:36:22] [@0x5e/homebridge-tuya-platform] Child bridge started successfully (plugin v1.7.0-beta.54).
HAP-NodeJS WARNING: The accessory '@0x5e/homebridge-tuya-platform' has an invalid 'Name' characteristic ('@0x5e/homebridge-tuya-platform'). Please use only alphanumeric, space, and apostrophe characters. Ensure it starts and ends with an alphabetic or numeric character, and avoid emojis. This may prevent the accessory from being added in the Home App or cause unresponsiveness.
[02/09/2024, 20:36:22] Loaded 4 cached accessories from cachedAccessories.0E27A7C7E432.
[02/09/2024, 20:36:22] [@0x5e/homebridge-tuya-platform] Loading accessory from cache: Office Bookcase 2
[02/09/2024, 20:36:22] [@0x5e/homebridge-tuya-platform] Loading accessory from cache: Office Bookcase 3
[02/09/2024, 20:36:22] [@0x5e/homebridge-tuya-platform] Loading accessory from cache: Office Bookcase 1
[02/09/2024, 20:36:22] [@0x5e/homebridge-tuya-platform] Loading accessory from cache: FSTWIFITU
HAP-NodeJS WARNING: The accessory '@0x5e/homebridge-tuya-platform D89D' has an invalid 'Name' characteristic ('@0x5e/homebridge-tuya-platform D89D'). Please use only alphanumeric, space, and apostrophe characters. Ensure it starts and ends with an alphabetic or numeric character, and avoid emojis. This may prevent the accessory from being added in the Home App or cause unresponsiveness.
[02/09/2024, 20:36:22] [@0x5e/homebridge-tuya-platform] Log in to Tuya Cloud.
[02/09/2024, 20:36:22] [@0x5e/homebridge-tuya-platform] [TuyaOpenAPI] Login to: https://openapi.tuyaeu.com
[02/09/2024, 20:36:22] Homebridge v2.0.0-beta.15 (HAP v1.1.1-beta.2) (@0x5e/homebridge-tuya-platform) is running on port 34982.
[02/09/2024, 20:36:23] [@0x5e/homebridge-tuya-platform] Start MQTT connection.
[02/09/2024, 20:36:23] [@0x5e/homebridge-tuya-platform] Fetching home list.
[02/09/2024, 20:36:23] [@0x5e/homebridge-tuya-platform] Got home_id=74774721, name=The Old Bakery
[02/09/2024, 20:36:23] [@0x5e/homebridge-tuya-platform] Found home_id=74774721 in whitelist; including devices from this home.
[02/09/2024, 20:36:23] [@0x5e/homebridge-tuya-platform] Fetching device list.
[02/09/2024, 20:36:23] [@0x5e/homebridge-tuya-platform] Fetching scene list.
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] Got 4 device(s) and scene(s).
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] Device list saved at /var/lib/homebridge/persist/TuyaDeviceList.eu1671172634845eJuvS.json
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] Restoring existing accessory from cache: Office Bookcase 1
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] [Office Bookcase 1] Light type: C
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] [Office Bookcase 1] Adaptive Lighting disabled.
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] Restoring existing accessory from cache: Office Bookcase 2
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] [Office Bookcase 2] Light type: C
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] [Office Bookcase 2] Adaptive Lighting disabled.
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] Restoring existing accessory from cache: FSTWIFITU
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] Restoring existing accessory from cache: Office Bookcase 3
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] [Office Bookcase 3] Light type: C
[02/09/2024, 20:36:24] [@0x5e/homebridge-tuya-platform] [Office Bookcase 3] Adaptive Lighting disabled.

Other Infomations

Plugin updated to comply with naming conventions/restrictions. HAP node.js in Homebridge 2.0 is more verbose hence this surfacing (I think). Plugin does still work, but logs are reporting this

@Quickstep3 Quickstep3 added the bug Something isn't working label Sep 2, 2024
@Quickstep3
Copy link
Author

@0x5e
Copy link
Owner

0x5e commented Sep 4, 2024

Sorry @Quickstep3 I'm not going to maintain this project anymore... but PRs are still welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants