For anyone trying to configure the Brilliant smart glass switches (https://www.brilliantlighting.com.au/products/electrical/dimmers/elite-switch/) these do not directly control the relays via the ESP instead they have another chip on them that the ESP talks to, for all control.
Note when flashing these wait 5-10 seconds after putting into pairing mode, usually after it stops broadcasting its own wifi network (ESP-{ID})
Must be running Tasmota >= 6.6.0.10 (http://thehackbox.org/tasmota/sonoff.bin)
You need to select the Tuya MCU module (Module 54
in console).
GPI01 => Tuya Tx (107)
GPI03 => Tuya Rx (108)
These should be the default.
- 1 gang switch
Backlog TuyaMCU 31,103;TuyaMCU 32, 102;TuyaMCU 33, 104; TuyaMCU 11,1
- 2 gang switch
Backlog TuyaMCU 31,103;TuyaMCU 32, 102;TuyaMCU 33, 104, TuyaMCU 11,1;TuyaMCU 12,2
- 3 gang
Backlog TuyaMCU 31,103;TuyaMCU 32, 102;TuyaMCU 33, 104, TuyaMCU 11,1;TuyaMCU 12,2;TuyaMCU 13,3
31-33 are for the power monitoring setup
TuyaMCU 31,103
=> Power
TuyaMCU 32, 102
=> Current
TuyaMCU 33, 104
=> Amps
The guide here explains what all of the function IDs are for.
This seems to work pretty well for me, run EnergyReset1 0
to reset the counters for usage if they are way off
Power seems pretty accurate based on having a 6W led downlight and then connecting another of the same and it shows 6/12W.