Quote: How did you flash that WB2S? Do you have a firmware backup, for tuya-cloudcutter guys or something? Did you desolder whole module?
I was unable to flash it using bk_writer, it uses a BK7231T so maybe is an issue with my PC. So I flashed it using python. While trying to flash I desoldered the VCC pin from the TuyaMCU so the RX and TX bus was free.
However, I was able to pull the backup with bk_writer and the TuyaMCU still wired. Don't know if that affected the bin produced (my guess is probably yes) or if it is possible to flash the WB2S module without desoldering (probably not). I have a spare switch that I haven't flashed. So when I write a full documentation tomorrow I'll use it to verify both things.
Quote: Since you already have TuyaMCU packets receiving, maybe try configuring it and sending something? Link channel 1 to dpid 1, channel 2 dppid 2, etc.. just to see if it works.
Hooked it up to Home Assistant, works perfectly. dpId4 and dpId10 also exist which seems to be for a fourth switch, the relay board has space for a fourth relay, but is unused.
Tried other dpId's I didn't got a response.
And finally figured out what the secondary dpId's do:
dpId1-4 set the state of the relay (I linked these to MQTT)
dpId7-10 toggle the relays after a n amount of seconds (Maybe useful for somebody, but not for me, so I didn't link them)
Should I post the documentation in this thread or should I create a new one?