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

This plugin generated a warning from the characteristic 'Rotation Speed': #461

Open
2 tasks
ItsHaysus opened this issue May 1, 2024 · 1 comment
Open
2 tasks
Assignees
Labels
bug Something isn't working

Comments

@ItsHaysus
Copy link

Checklist

  • I have read the common issues wiki page
  • I have checked to make sure the plugin is up to date

Describe the bug
1/05/2024, 11:01:23] [homebridge-tuya] Discovered Master Bedroom Fan (eb6c561adf3640a5c5fidh) identified as Fan (3.3)
[01/05/2024, 11:01:23] [homebridge-tuya] Discovered Living Room Fan (ebac25b682252579b3ajiq) identified as Fan (3.3)
[01/05/2024, 11:01:23] [homebridge-tuya] Discovery ended.
[01/05/2024, 11:01:23] [homebridge-tuya] Connected to Master Bedroom Fan
[01/05/2024, 11:01:23] [homebridge-tuya] Connected to Living Room Fan
[01/05/2024, 11:01:23] [homebridge-tuya] Ready to handle Living Room Fan (Fan:3.3) with signature {"1":false,"2":0,"3":"level_1","101":1}
[01/05/2024, 11:01:23] [homebridge-tuya] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[01/05/2024, 11:01:23] [homebridge-tuya] Ready to handle Master Bedroom Fan (Fan:3.3) with signature {"1":true,"2":0,"3":"level_2","101":1}
[01/05/2024, 11:01:23] [homebridge-tuya] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.

To Reproduce
"devices": [
{
"type": "Fan",
"name": "Living Room Fan",
"id": "id",
"key": "key",
"ip": "ip",
"manufacturer": "TREATLIFE",
"model": "DS02F_BK",
"maxSpeed": 4,
"fanDefaultSpeed": 2
},
{
"type": "Fan",
"name": "Master Bedroom Fan",
"id": "id",
"key": "key",
"ip": "ip",
"manufacturer": "TREATLIFE",
"model": "DS02F_BK",
"maxSpeed": 4,
"fanDefaultSpeed": 1
}
]

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS:
  • iOS version:
  • Homehubs:
  • Node Version:
  • Plugin Version:
  • Accessory Type

Additional context
Add any other context about the problem here.

@jlg89
Copy link

jlg89 commented May 25, 2024

The switch itself sends the fan speed as text instead of a number. It's really a bug in the switch firmware, but good luck getting them to fix it.

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

3 participants