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

SimpleBlinds: 'Target position' characteristic was supplied illegal value #421

Open
2 tasks done
pespinel opened this issue Sep 28, 2023 · 0 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@pespinel
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
Sometimes the limit of the target position is exceeded as you can see in this warning log:

[28/09/2023, 16:12:42] [homebridge-tuya] This plugin generated a warning from the characteristic 'Target Position': characteristic was supplied illegal value: number 403 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info.
[28/09/2023, 16:12:42] [homebridge-tuya] Error: 
    at TargetPosition.Characteristic.characteristicWarning (/usr/local/lib/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105)
    at TargetPosition.Characteristic.validateUserInput (/usr/local/lib/node_modules/hap-nodejs/src/lib/Characteristic.ts:2927:14)
    at /usr/local/lib/node_modules/hap-nodejs/src/lib/Characteristic.ts:2488:24
    at /usr/local/lib/node_modules/hap-nodejs/src/lib/util/once.ts:15:18
    at /usr/local/lib/node_modules/homebridge-tuya/lib/SimpleBlindsAccessory.js:190:13
    at _callback (/usr/local/lib/node_modules/homebridge-tuya/lib/BaseAccessory.js:71:17)
    at processTicksAndRejections (node:internal/process/task_queues:77:11)

To Reproduce
I don't really know the exact STR.

Expected behavior
The target position should not exceed 100 never.

Environment (please complete the following information):

  • OS: homebridge raspberry pi image
  • iOS version: 1.0.41
  • Homehubs: 1 (Raspberry). One child for each plugin
  • Node Version: 18.16.0
  • Plugin Version: 2.0.1
  • Accessory Type: SimpleBlinds
@pespinel pespinel added the bug Something isn't working label Sep 28, 2023
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