My device is a 3Phase Hiking Tomzn Power Meter DTS238-7, very similar to all tomzn devices posted here. No matter the value I insert on tuyaMcu_defWiFiState (0,1,2,3,4,5), the health check will always say:
"ExtraDebug:TuyaMCU:TuyaMCU heartbeat_valid = 1, product_information_valid=1, self_processing_mode = 0, wifi_state_valid = 0, wifi_state_timer=0"
I have run out of options by now and I really don't know what else to do.
Some interesting facts that may or may not be relevant:
1) when this device connects to the WiFi, a blue LED will blink or be fixed on the top right of the device, but this never happens
2) the device IS connected to the WiFi network, even connects to MQTT if needed
3) tried wiping all the config several times, even removing the WiFi config, but no luck
4) tried going to ESPHome and then back, but no luck
The reason for all this is that the device is sending bogus data on dpid 6,7 and 8 (the dpids that have the voltage, current and power readings), and I read that these tuya devices need to believe that they're connected to start sending real data (just FYI: the device readings on the device screen are fine, the problem is on the readings of the TuyaMCU chip)
Is there any way of flashing these devices completely from zero via the web? like flashing all partitions and starting from a clean slate. I don't have any tools to flash via pins