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

DETA Grid Connect Fan Speed #334

Open
AndrewJ1990 opened this issue Oct 14, 2021 · 3 comments
Open

DETA Grid Connect Fan Speed #334

AndrewJ1990 opened this issue Oct 14, 2021 · 3 comments
Labels
question Further information is requested

Comments

@AndrewJ1990
Copy link

AndrewJ1990 commented Oct 14, 2021

"My DETA fan controllers are using device type fanlight and are working perfectly fine, can you confirm if this is still a valid issue?

There is also an update #267 coming very soon that will disable any existing values to be resent to the device such as a fan that's switched ON to be told to turn ON again -_-

Originally posted by @ElphaX in #118 (comment)"

Just re-opening this issue as my DETA Grid Connect fan is still doing the same thing in the original issue I opened. What did you do to get yours working?

@ElphaX
Copy link
Contributor

ElphaX commented Oct 16, 2021

Can you post your datapoints schema as specified on the Tuya Dev Portal OR the device signature from the homebridge logs?

@ElphaX ElphaX added the question Further information is requested label Oct 16, 2021
@AdamCoulterOz
Copy link

AdamCoulterOz commented Feb 14, 2022

I've just setup the Grid Connect Fan as a FanLight ... this is the full schema I've found value ranges for. The integration won't let me set the fan faster than 4 by default, but I can fix that by setting "maxSpeed": 6 in the config. It also doesn't map Fan.RotationDirection (4) or Lightbulb.ColorTemperature (11).

Additionally, it maps the Lightbulb.Brightness (10) as 0-1000 with 100 increments, which completely breaks the percentage brightness slider... I'm not sure how to handle that?

{
	"1": true, 	 // `bool` Fan On 				`Fan.Active`
	"3": "6", 	 // `enum` Fan Speed (1-6) 			`Fan.RotationSpeed`
	"4": "forward",  // `enum` Fan Direction (`forward`|`reverse`)	`Fan.RotationDirection`
	"9": false, 	 // `bool` Light On				`Lightbulb.On`
	"10": 100, 	 // `int` Light Brightness (0 Dim - 100 Bright) `Lightbulb.Brightness`
	"11": 100, 	 // `int` Light Temperature (0 Cool - 100 Warm) `Lightbulb.ColorTemperature`
	"102": "normal", // `enum` Fan Mode (normal, sleep, breeze)	`Fanv2.SwingMode`?
	"103": "off" 	 // `enum` Timer (off, 1h, 2h, 4h, 8h)		`N/A`
}

@bolagnaise
Copy link

Additionally

You need to change the SimpleFanLightAccessory.js file brightness range to reflect 0-100 with a stepping size of 1 to make brightness work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants