Coder Social home page Coder Social logo

Comments (8)

SoftVienka avatar SoftVienka commented on July 2, 2024 2

On the thermostat, the items are in order (as I wrote above):
External simple
External opt.
Room supply
Room output

In the webUI, the items are displayed in the following order:
(enum_controlmode)
"enum": [ "optimized", "simple", "n/a", "room", "power" ]

However, switching "Control type" in the thermostat is fine.
enum "optimized" change to thermostat "External opt."
enum "simple" change to thermostat "External simple"

(I hope google translated it correctly.)

from ems-esp32.

proddy avatar proddy commented on July 2, 2024

very clear, love the video! I'll take a look

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on July 2, 2024

For this thermostat there something mixed up in code. It shows the option of RC310 (enum_controlmode1) and used other otions (enum_controlmode) for setting. But both are not identcal to your list. We need to know the numbers of the options you can choose on the thermostat. Please log all and change on the thermostat the mode to all options one after another and post the log and tell the order you have changed.

MAKE_ENUM(enum_controlmode, FL_(off), FL_(optimized), FL_(simple), FL_(mpc), FL_(room), FL_(power), FL_(constant))
MAKE_ENUM(enum_controlmode1, FL_(weather_compensated), FL_(outside_basepoint), FL_(na), FL_(room), FL_(power), FL_(constant)) // RC310 1-4

from ems-esp32.

SoftVienka avatar SoftVienka commented on July 2, 2024

I don't know if I got it right.

We need to know the numbers of the options you can choose on the thermostat.

It can be set on the thermostat as I described above.
In this order:

  1. External simple
  2. External opt.
  3. Room supply
  4. Room output

Please log all and change on the thermostat the mode to all options one after another and post the log and tell the order you have changed.

log all.txt

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on July 2, 2024

Thanks, i see the changes at:

T 67: [telegram] Rx: 98 00 FF 00 01 9B 02 03
T 79: [telegram] Rx: 98 00 FF 00 01 9B 01 00
T 109: [telegram] Rx: 98 00 FF 00 01 9B 04 05
T 123: [telegram] Rx: 98 00 FF 00 01 9B 05 04

with order 2, 1, 4, 5. The 3 is not available, but we have an enum, so showing na

Please check ths works: https://github.com/MichaelDvP/EMS-ESP32/releases/tag/latest

from ems-esp32.

proddy avatar proddy commented on July 2, 2024

that should work - thanks Michael for the fix. Verified with standalone too:

pio run -e standalone -t exec and in console...

test add 0x18 157
call thermostat controlmode “weather compensated” 

from ems-esp32.

SoftVienka avatar SoftVienka commented on July 2, 2024

Very well.
Now all items are toggled correctly.
The optimizet and simple items are reversed compared to the thermostat.
(not a problem though)

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on July 2, 2024

The optimizet and simple items are reversed compared to the thermostat.

Do you mean the display order or is optimized on the thermostat shown as simple on ems-esp?
Display order is given by the code numbers. 1-optimized, 2-simple, (3-na), 4-room, 5-power
Reordering or skipping the 3 is a lot of extra code.

from ems-esp32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.