Tuya - Dimmer Switch - Home Assistant

Started using this new component. Works well. Thank you. Ran into a minor issue not sure if it’s been brought up yet.

I’m using a dimmer switch (configured as a light) with google home:

  • Works perfect inside Home Assistant on/off and set brightness
  • Google Home turns it off ok, no error in voice feedback
  • When turning lights on or setting brightness, the commands execute properly but google home says: “Encountered an unknown error”

did you try unlinking and relinking the component?

If you mean re-linking the dimmer. Yes several times. Works well with the tuya app and inside HA. The only small issue is google says “Encountered unknown error” when setting brightness or turning dimmer switch on. Turning off from Google is OK.

Just wondering if you could provide a link to the dimmer you are using.

https://www.amazon.ca/gp/product/B07CK3589T/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1

This is the dimmer I am using. Works OK, pretty big in the box, needs a neutral. With HASSIO it works properly but when setting the % brightness it works properly but google says “encountered an unknown error”. Any further questions, let me know.

Ynot.

1 Like

Hi there, how did you go?

anyone have tuya Dimmer working ??

Yes, I have all my lights and plugs configured in tuya app and use the tuya component in HA to control them in automations and the HA GUI or can control it with tuya app directly on my phone or using GoogleHome via the tuya app. This solution provides a lot of flexibility.

The dimmer I used is the one at the top of this post.

Ynot.

1 Like

Thanks for answering, i have the same dimmer and i’m trying to integrate it to HA, i would like to use the custom component so won’t depends on WEB, if you can help with:
You are using the Tuya HA build in or the custom component?
can you control dimming from home assistant and what configuration you are using for the dimmer?
Thanks in advanced

Started with the custom component but soon migrated to the Tuya app (web service) on Android or iPhone and set up the dimmer and other plugs there.

Then used the HA component see here: Tuya - Home Assistant to interface with the web service.

My configuration.yaml looks something like:

tuya:
username: mycellnumber
password: mytuyapassword
country_code: 1

This give you an entity for all your Tuya items defined in the web service. The dimmer is adjustable inside HA.

The icing on the cake with using the web service is it can also be integrated with google home easily and independently from HA. In the end 3 ways to control your dimmer that all interact with each other properly.

Ynot.

Thanks for your answer, i had it on web , but what i try to have Internet independent and run all locally, i have plugs working fine with the custom component but not the dimmer.
Anyway thanks, i’ll keep testing.
thanks

Hy, im working on the same “problem”.
I have 4 pcs Martin jerry 3way dimmer
Controll them with the cloud component is very slow.
I have succesfully configured it with localtuya component, but it is only shows up as a switch…
You can flash tasmota on it if it has an esp module. It is the best solution.
But if it has something else, like the MJ dimmers, we need to find an other way.