Just wanted to leave my progress here with Jackās project. I changed to code a bit so I can use it with multiple geysers on the same network. Iāve flashed the esp12 units and installed them. Going to plug them in this afternoon.
For some reason Iām not getting any data over MQTT. I get the initial LWT=Online from the esp so I know Wifi and MQTT are working. But no data after that. Iāve compared the code with yours and the only things I changed were MQTT topics and Hostname/AP Name. Everything else is exactly the same. Not sure how I would go about debugging it.
I have tried publishing ON with topic cmnd/bedroomgeyser/power as it is in the code but no response. I wonder if there is a way to see the terminal output. Iām sure Iām just missing something small.
I gathered from the code that something needs to change before an update is sent. Iāve already tried changing settings and turning it on and off.
Iām pretty sure my connections are solid. I downloaded your bin today and tried it but esptool says it doesnāt look like an image file. I also couldnāt get it to install with WifiManager. It gives me error 10. After reset it doesnāt run.
Iāve also checked the serial comms while everything is plugged in. The ESP sends the following data to to unit:
Send QUERY
COMMAND:
Header:
21930
Version:
0
Command:
8
Data length:
0
TX_RAW:
Checksum:
7
U Command Length:
98
The unit responds with some garbage. Not sure what to make of it yet. I might try putting the original unit back and probing that.
The command length should always be 90. its in the Tuya docs. Im not sure why your response length isnt 90.
Ive got loadshedding now but i used the same bin file on my git and it was fine on upload via wifi manager. Ill re-upload again at 2pm and let you know.
Not sure what you want me to do with this. The default code from github compiles and I have flashed it to the esp12. There isnāt any change. It connects to wifi and mqtt but it has the same problem. I also still have the issue trying to flash the bin file.
Maybe I received a different version from Geyserwise? Not sure what else could be wrong.