Australia - Electrically Certified Hardware

They look to be the same as these Makegood outlets listed HERE with Template settings for Tasmota.

The use the Smart life app and have the TYWE3S chip, so can almost certainly be flashed with Tasmota using Tuya-Convert

Hey Jason,

Thanks, they should be the same which is great. However as mentioned I had a bad experience the other night following the video above and bricked a PowerStrip from JBHifi, I followed it to a tee, may be I had a bad one. It has put me off trying again but I know I must and want to follow instructions that are known to work. What is the difference between Tasmota and ESPHome and what are the benefits?

What instructions should I follow to Tuya-Convert? is the one I followed the right one or is there a more recent version etc?

Any advice would be appreciated.

There is another thread about pros and cons of Tasmota vs ESPhome. I prefer ESPhime for its native API etc. Check out the thread (on my phone so not so easy to hunt down a link for you, sorry)

Thanks, I will have a search around for the benefits for each.

I have successfully flashed the with Tasmota using Tuya-Convert then upgraded to the full Sonos .bin version.

I cannot get the buttons on the switch to light up any ideas as to why, what is SwitchMode 1 and SwitchMode 2?

Template

{"NAME":"MG-AUWF01","GPIO":[56,10,157,59,134,132,255,255,131,22,57,21,9],"FLAG":0,"BASE":18}

For more accurate energy consumption measurements this device needs power monitoring calibration.

Gpio03 have to be low to make touch button work. This is done by setting it as Led4i.

SwitchMode needs to be set using

SwitchMode1 5 and SwitchMode2 5 commands in console.

This is the thread I was referring to earlier

Have you set these settings in console?

Hi yes do you know what they do?

SwitchMode 0 ( Tasmota default )

Set switch to toggle mode

Tasmota sends TOGGLE command each time the state of the circuit changes (closing or opening).

SwitchMode 1

Set switch to follow mode (0 = OFF, 1 = ON)

At the time when the circuit is closed, Tasmota will send ON and opening the circuit sends OFF .

You want to use SwitchMode 1 when connecting a toggle switch (e.g. a classic light switch) to your device. This way the “software switch” will mirror the state of the “hardware switch”. If the real switch is in the “ON” position, the state in Tasmota is ON as well.

SwitchMode 2

Set switch to inverted follow mode (0 = ON, 1 = OFF)

At the time when the circuit is closed, Tasmota will send OFF and opening the circuit sends ON .

When connecting a momentary switch (i.e., a push-button) you will want to use SwitchMode 3..7 .

Great that really helped I will look to move forward with ESPHome :+1:

Assume this is relevant for this GPO physical switch buttons.

You’ll need to play around with how the switch works. Some will want to be set to toggle due to the momentary/push button switch, and some will function like a normal on/off switch.

1 Like

Which Intesisbox did you use for your Daikin?

So I just cracked open a Brilliant fan controller. It appears that the ESP communicates with another chip, STM8S00 or something. My electronics skills aren’t fantastic


Not sure how to proceed. Any tips for figuring out what I/O would need to be coded into this thing?

I would rather figure out the I/O before I try flashing ESPhome onto it since in its current state I should be able to use it via the Tuya component of I had to
 Not sure how possible that is

2 Likes

Maybe settings from THIS post above might help get you there?

You have to set a new config in Tasmota called TuyaMCU to talk to the ESP8266 via UART (I think).

Maybe from THIS onwards as well?

Cheers. I did think something like that had been mentioned. I don’t have any Tasmota experience so this will be
 Interesting :laughing:

I’ve had too many beers to attempt this today

Beers and coding are fun though.

Watch Tasmota change your life for the better. No more of that ESPhome stuff :wink:

1 Like

If you configure it as a TuyaMCU in tasmota and do a weblog 4 when you hit buttons on the remote you should see some debug output in the tasmota console.

Now I’m not sure if tasmota allows you to just send those commands directly as most of the existing things are about lights on/off or brightness levels.

Could potentially ask on the github/forums once we have the tx/rx data.

@sparkydave

Managed to get ahold one of on the tasmota devs on discord, they are adding in support for these kind of switches currently. See the PR https://github.com/arendst/Sonoff-Tasmota/pull/6735 specifically adding a tuya send command https://github.com/arendst/Sonoff-Tasmota/pull/6735/commits/bde57933bc3cd61b8f14c16e3d20a6fc5661f389

In the mean time it seems that if you do a weblog 5 in console, hit a button on the rf remote and capture the value from the console you can add rules to send it using SerialSend5

Apparently it would be similar to how https://blakadder.github.io/templates/oil_diffuser_550ml.html is configured

Another item worth keeping an eye on. Jaycar look to have recently added a Shelly1 knock-off on their website. It doesn’t look like it has hit the stores yet, but could be the item we’ve all been hoping for.

https://www.jaycar.com.au/240v-mains-wi-fi-wireless-switch-module-with-app/p/MS6126