-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Device Definition Request - Wood Pellet Stove with 8 dps #1104
Comments
I'm experiencing the same issue with a stove by a different manufacturer. Mine is a Master Forge pellet stove. Using the Smart Life app everything works. (Screenshot below) All data points seem to be the same. Mode P1-P4, ECO1 and ECO2. Interesting note: Looking at the device debugging info in the Tuya IOT project, it is showing the same -20C value for the temp_current sensor. |
Looks like we have exactly the same controller! Check the very bottom of the Tuyia.io dropdown "Select DP ID" Mine have most dps duplicatedin the list, but I now know which ones are the correct ones. See my post here- I break it all down: Nobody seems to know how to get values into HA from Tuya. I've literally been asking this question for over a year. Not one response.... Perhaps devs are abandoning Tuya. I honestly dont know. It sucks though. I have 2 of these stoves, and they often malfunction, requiring a reset. knowing when is important - like the stove is supposed to be on but it somehow randomly turned itself off with a "Goodbye" msg and now the house is freezing. The temp sensor reading is unusable so I had to use an ESP BME280 temp sensor next to the stove. Once I see the temp drop, I turn off the plug (tasmota plug), turn in on again and then turn on the stove all in an automation. That usually works. It would be MUCH cleaner if we could just get a legit climate entity solution here. If I can figure out how to read DP's out of Tuya.io then I can just write my own screen with the correct entities. |
@jwaz73 I just looked at my notes... The correct DP's for this stove as seen in Tuya.io are: 1 - Power on (Heat) If you put those into a new Tuya Local Device using the ... option, you sometimes get data. Right now ALL of my Local entities are Unavailable. And Im not running any of the Tuya based apps... |
@jwaz73 any luck on your end? |
@jazzmonger, it was a busy week at work, and haven't had the opportunity to look at it yet. Hope to this evening or tomorrow. |
No worries. I know how that goes. I’m just excited to have another guy to help figure it out!
|
@jwaz73 I think I have a solution to our problem that completely eliminates this NASTY Tuya garbage so we never have to deal with it ever again... It turns out that our stoves have the Tuya module tywe1s in them mounted on a removable daughter board: I scoured the net last night at 3am and stumbled on this: this means we can theoretically reflash these modules with Tasmota or ESPHome. The Tuya module on our stove controller plugs into the MCU board with header pins so it should be really easy to unplug and reflash. I just happen to have a serial interface I can use to flash AND I have a spare control mcu assembly that I got from the stove manufacturer to try and fix the problems I'm having (no love there). I have it working on my test bench with resistors acting as dummy sensors on a spare controller board (which they also sent me) so it's already set up for me to try this. I'm heating my shop right now and will try this and let you know how it works. I'm leaning toward flashing with ESPHome as I sometimes prefer it to Tasmota for ease of debugging in code vs Tasmota hit and miss, but either should work. |
@jwaz73 Ok, SUCCESS!!!! EDIT: for future reference, I only grounded GPIO0, grounding RST wouldn't let me flash the chip. Jeff |
Holy crap - after experimenting w/ the GPIO's for tx & Rx,I got it!! config file entries:
[17:22:20][C][mdns:100]: mDNS: My initial mappings look correct: looking at the log and changing values on the front panel, I get: dp#101 = ECO mode Error Codes will be a bit trickier to figure all of them out, but heres what I can find now on the bench: |
I now have it in the front end, and I can turn it on/off, and set the temp both ways and updates are immediate.
Once this is solved, it will WORK! I have no idea where to define this. More research at 3am I suppose. Time to quit and eat dinner :) question posted here |
Brute force method does work, but there has to be an easier way..
EDIT: I had to define all sensors in ESPHOME config file and specify units:
|
Here's a really interesting thermostat project we might be able to use and modify for our stoves. It uses mode and eco options like ours. https://github.com/danielbrunt57/My-Dark-Thermostat/blob/main/sensors.yaml |
OK, ESPHome will NOT work in this use case unfortunately. I've logged a feature request, but not hopeful it will be done before we freeze to death. It was 15F here last night... So, I'm starting from scratch here and installing Tasmota. I got it reflashed, now I need to figure it out. |
@jazzmonger , That is amazing progress! Thanks for sharing. Before I try flashing anything I'm going to order a new set of control boards for my stove. I'm just now starting to play with the mappings in LocaTuya in a dev instance of HA. I'll let you know if I have any different results from yours. |
Local Tuya is NOT ready for prime time. It's riddled with limitations and bugs, especially if you're doing anything more than basic lights. I just deleted it from my install after a week of frustration, some entities worked, most did not. It does NOT remove you from the cloud. I just flashed Tasmota on my device replacing esphome. So far, it looks promising. Not fully implemented yet but I'm almost there. As always, your mileage will vary. |
after some long conversations on Discord about this, (great help from folks there) they pointed me to this module https://esphome.io/components/climate/tuya.html This is THE missing link to all this. it lets you define dp's for all the necessary bits.
I'm going to reflash ESPHome in a few and try this approach. The Tasmota stuff works, but it is so convoluted I would never be able to debug it in the future. after speaking with a dev on Discord, I filed a PR related to this stove's MCU and the shoddy programming that went into it. we'll see if it gets fixed. |
I tried to document this solution to this long saga. It's all here: https://github.com/jazzmonger/wood-stove-with-TYWE1S-Tuya-chip/ |
Excellent work, @jazzmonger! |
Thanks bud! I just figured out how to create my own GitHub project complete with my own pr's! I document al, the shit I've gone thru taming this pellet stove. Quite the learning process! https://github.com/jazzmonger/wood-stove-with-TYWE1S-Tuya-chip |
EDIT: No need for this request. The ESPHome devs wrote an update and its now working.
https://github.com/jazzmonger/wood-stove-with-TYWE1S-Tuya-chip/
Product Model: Cleveland Ironworks Wood Pellet Stove (there are 4 models, all use the same controller).
I have a test bench set up with a spare control board.
It also appears from the Wifi module (N12210) that this exact same controller is used in Nemaxx Pellet Stove Pellet Heater P6 P9 P12. https://www.ebay.com/itm/193755684864
link to product manual https://www.cleveland-ironworks.com/mwdownloads/download/link/id/2763
Data Points:
P1 - Power on (Heat)
4 - Mode P1/P2/P3P4
101 - ECO1/ECO2
104 - Error Code
106 Set Temp
107 - Current Teemp
108 - Pipe Temp
109 - Protect Temp
Error code - 104 (these come back from the server as numbers and are then mapped to error codes in the vendor app)
I have a basic version somewhat functional. Several un-resolvable issues:
The temp setting listed in the pic as "19" degrees is in degrees C, NOT F. I've tried several things to fix this w/ no luck.
There is no flame indicator, nor does the power button light up when turning on the stove
The control often disconnects. hitting the Tuya Climate power button brings it back "most" of the time. No my Tuya app is not running on my phone when this happens.
I'll get some pics of the vendor's app as well.
The text was updated successfully, but these errors were encountered: