seydx / homebridge-star-projector

Homebridge plugin for controlling tuya/smartlife based star projectors
MIT License
41 stars 2 forks source link

Rotation can not be turned off via switch #1

Closed Nastras closed 3 years ago

Nastras commented 3 years ago

Hello @SeydX,

i have tested the plugin and it works really well. Great work! I noticed that the rotation can not be stopped via the switch. If I reduce the slider from 100 to 0 it works.

Would be nice if you could check?

Thanks!

seydx commented 3 years ago

Which switch is it exactly? The switch of "Rotation" ? Or the main switch that turns off the projector?

Nastras commented 3 years ago

Rotation

seydx commented 3 years ago

Yes, that is correct. The "Active" switch of Rotation is without function because "Rotation" cannot be switched off completely (the Tuya API does not allow it). Rotation always has a min value of 1. I have also changed the allowed minValue in the backend to "1" (hap). Therefore it is best to switch on/off directly via the slider.

seydx commented 3 years ago

Fixed in v1.0.4

Nastras commented 3 years ago

Works great! Thanks!

I sent you a PN to the fritz-platform in the forum.