Tuya LOCAL with energy monitoring and without tuya-convert

I have several of these 1Gang WIFI dimmers.

Must work.
6 and 12 - this can be a separate setting for the minimum brightness (configurable in the Tuya Smart app).

Okay, checked the App and I see the minimum brightness settings.

Would you mind sharing your config, did you use the wizard or manual yaml configuration?

Regards,

I use the wizard.

InWall Dimmer

inwall dimmer

In InWall Dimmers - DP 101 is a separate setting for the minimum brightness level.

What goes where?

Are you setting it up as a light?

image

Since setting minimum brightness in the APP I now have DP 3 & 9.

light

you have local key for dimmer?

use 1 and 2; & 7 and 8 for ch1 and ch2 dimmer.

Yes I do, redacted my device ID

image

Like this?

yes.

Brightness min/max try set 0/1000

Working now, donā€™t know why it didnā€™t before, just used ID 1 and 2 for ch1, ID 7 and 8 ch2.
Did not use 3 or 6 ch1, 9 or 12 ch2 as the other section boxes are for colour temp, colour mode, colour and scene?
Left everything else as is (default).
Regards,

Ok. are there any entries in the log?

There are but the 2 channels are working fine, turn on/off and dim on both

here are the logs.

2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch1 is requesting unset index for option color_mode
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch1 is requesting unknown DPS index None
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch1 is requesting unset index for option color_mode
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch1 is requesting unknown DPS index None
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch1 is requesting unset index for option color_mode
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch1 is requesting unknown DPS index None
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch1 is requesting unset index for option color_mode
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch1 is requesting unknown DPS index None
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch2 is requesting unset index for option color_mode
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch2 is requesting unknown DPS index None
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch2 is requesting unset index for option color_mode
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch2 is requesting unknown DPS index None
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch2 is requesting unset index for option color_mode
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch2 is requesting unknown DPS index None
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch2 is requesting unset index for option color_mode
2020-12-01 15:27:29 WARNING (MainThread) [custom_components.localtuya.light] [810...5c4] Entity light.ch2 is requesting unknown DPS index None

Any thoughts?

I have the same thing, I wrote about it above in the thread.

Thanks for doing this thing! I need some help, I manage to get it working easily by following all instructions given on the git. However, something looks strange to me, in home assistant, the power metrics (current and current consumption) statistics are updated only if I open the ā€œelectricā€ tab in the smart life app. The switch works good.
What I did wrong?
My device is a wifi plug with power monitoring.

Itā€™s an issue we are aware of but not know the solution to, see https://github.com/rospogrigio/localtuya/issues/87. Any help to solve it is appreciated.

Thanks to lead me to this!
I think that it is a tuya firmware matter. The DPs for currents is only activated if we look to them in the tuya app.

This is an awesome tool for Tuya firmware that cannot be flashed! Great work! I have a non ESP smart plug up and running without problems. Used the wizard. Iā€™ve read most of the (very long) thread but have the following question: Is there a comprehensive table about what does each DPS is supposed to mean in a smart plug? Iā€™ve only managed to find this as a guide: https://pypi.org/project/tinytuya/
My plug does not have power monitor. But, apart from DPS 1 (on-off) and 9 (timer, which incidentally I donā€™t know how to set in HA), I also receive DPS 31, 39, 42, 43, which I donā€™t even know what they do. The plug only supports on-off, timer and a childā€™s lock. Even if I find out what they do, how can I implement them in HA, apart from the simple on-off function?
Finally, where are all the settings saved in HA, when the wizard (and not config.yaml) is used? Thanx!

Iā€™ve been using this integration for a few weeks now and it works really well, but just in the last week Iā€™ve had two smart plugs become non-responsive in HA, but remain fine in the Smartlife app. The two became unresponsive at different times and one recovered connection after a HA restart, but the other was unresponsive for nearly a day before suddenly coming back.

Is there anything I can share log-wise or check/change? IP addresses are reserved on the router and I checked they hadnā€™t changed with Fing. I had access throughout to both devices via Smartlife and I didnā€™t reboot either device at anytime.