philibertc / micronova_controller

Allows you to easily control via MQTT any Micronova equiped pellet stove. (MCZ, Extraflame, Laminox, and many others brands!)
60 stars 19 forks source link

Preliminary write/read for temp+power #48

Open cyber-atomus opened 1 year ago

cyber-atomus commented 1 year ago

A bit dirty write-to-stove values - but works like a charm on Feretti stove (we can't use static array for that).

For reading EEPROM values we must add 0x20 to the address - the stove replies with added value (e.g. 0x7F becomes 0x9F in RX from stove, we still write to 0x7F)

If checskum is higher than 0xFF then we must substract 256Dec from value - now we MUST know if the value will be higher than 0xFF and calculate accordingly.

Confirmed working for ~7 days with HomeAssistant. ESP8266+optorelays breakboard+MQTT.

cyber-atomus commented 1 year ago

BTW, forgot to mention T - sets temp P - sets power (that thing set with P2 button)

zampo86 commented 1 year ago

HI In my configuration: "Temp Set" output value correct is without "/2" fumesTempAddr is 0x5A

fungio commented 2 weeks ago

Hi @cyber-atomus it's working like a charm. I get the correct temp set and pwr. Do you know how I can change the temperature or power from home assistant ?