Coder Social home page Coder Social logo

Comments (21)

MichaelDvP avatar MichaelDvP commented on June 26, 2024 1

read 8? or read 10 269

Youre right, read from thermostat 0x10.
Funny communication, the gateway sets 01.01.2009 as off, and the controller (0x09) corrects to 01.01.2018. But i think we can write any date in the past.
I'll add a single entity for the rego thermostat, only dates as for RC35/RC30.

from ems-esp32.

proddy avatar proddy commented on June 26, 2024 1

yes, if you've confirmed it's working

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on June 26, 2024

See #275, the next bytes are heating mode,temperature, dhw mode, and assign to hc/dhw circuits and this for 5 holiday entries.
All in all its 50-75 entities, depending what info we combine. Too much for RAM and mqtt-heap usage.
RC300 switchprograms and holiday settings are often discussed, but in the actual data structure is not easy to implement.
And this are settings very rarly changed.

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

Ok I see...
But couldn't it be that if you set that date then rest will be set automatically?
Because, only parameter I can set in the pump for holiday is, a start date end date.
And if I want to turn it off, it's just reset.

Seems in holiday mode, it's set to fixed 17C.

But according to that ticket it seems not to be the case... Oh well, was hoping it would be a easy thing :)
Anyways, I could do my own "holiday/vacation" setup instead in hass. Just lower the temperature and some other small tunings like warm water etc.

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on June 26, 2024

Yes, seems to be a shortend telegram.
thermostat(0x10) -B-> All(0x00), ?(0x0269), data: 18 05 03 18 05 05 02 11
means 03.05.2024-05.05.2024, fixed temperature mode (02), 17°C
Can you check in terminal read 8 269, read 8 26A, ... read 8 26D to check the length and if there are also 5 dates.
It seems the the info to heatingcircuits and dhw are missing in this telegram, Do this setting affect dhw or is there a additional setting?

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

@MichaelDvP read 8? or read 10 269
If I do read 8 269, 26A and 26D it's always empty
ems-esp:# read 8 269
000+03:23:26.362 N 81: [emsesp] boiler(0x08) -W-> Me(0x0B), ?(0x0269), data:
ems-esp:# read 8 26A
000+03:23:34.434 N 82: [emsesp] boiler(0x08) -W-> Me(0x0B), ?(0x026A), data:
ems-esp:# read 8 26D
000+03:23:42.745 N 83: [emsesp] boiler(0x08) -W-> Me(0x0B), ?(0x026D), data:

if I check read 10 before I set vacation:
ems-esp:# read 10 269
000+03:34:16.485 N 89: [emsesp] thermostat(0x10) -W-> Me(0x0B), ?(0x0269), data: 12 01 01 12 01 01 02 11
ems-esp:# read 10 26A
000+03:35:34.816 N 90: [emsesp] thermostat(0x10) -W-> Me(0x0B), ?(0x026A), data:
ems-esp:# read 10 26D
000+03:35:45.216 N 91: [emsesp] thermostat(0x10) -W-> Me(0x0B), ?(0x026D), data:

and this is when I set vacation:
ems-esp:# read 10 269
000+03:36:15.699 N 92: [emsesp] thermostat(0x10) -W-> Me(0x0B), ?(0x0269), data: 18 05 03 18 05 05 02 11
ems-esp:# read 10 26A
000+03:36:19.829 N 93: [emsesp] thermostat(0x10) -W-> Me(0x0B), ?(0x026A), data:
ems-esp:# read 10 26D
000+03:36:22.929 N 94: [emsesp] thermostat(0x10) -W-> Me(0x0B), ?(0x026D), data:

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

btw. when I took the logs for setting vacation in the first place, I used my phone app, so you can see it comes from the gateway 0x48.

Tried again using the app and set date:
000+03:57:56.335 N 309: [emsesp] gateway(0x48) -W-> thermostat(0x10), ?(0x0269), data: 18 05 03 18 05 05

and when doing reset or removing the date:
000+03:58:22.886 N 312: [emsesp] gateway(0x48) -W-> thermostat(0x10), ?(0x0269), data: 09 01 01 09 01 01

not sure if that helps... I wonder if you could test to use that as a custom entity to try to see if it would work. Set only those?

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on June 26, 2024

Have you already tested if you can change the holiday temperature with custom entity:
device 0x10, type 0x0269, offset 7,factor 1

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

@MichaelDvP Oh... I think we got a misunderstanding here :)
I thought you where going to add it in the next build...
So... I did not test that,.

I have a few question in this case
image
should I use int8?

And how should the value be sent, what format?
image

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on June 26, 2024

I thought you where going to add it in the next build...

Yes,the dates, for temperature i'm not sure because you wrote

Seems in holiday mode, it's set to fixed 17C.

this value range int8 and uint8 is the same, does not matter. It takes a minute until the value show up.
Just enter a temperature different from 17 maybe 15 or 18 degrees and check if it changes, You can log the telegrams while changing to see the protocol. Maybe the controller overwrite like the off-dates.

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

I meant in what format should I send the value in?
Raw or as a date?
18 05 04 18 05 05 or 240504240505
and why does it have a value 17?
image

Is it correct offset?

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

oh are you saying latest build has already holiday in it?
I have latest.. and I don't have any holiday or vacation settings. Only date settings is the "normal" one.

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on June 26, 2024

I'm working on it, it's not yet implemented. If you like to use custom entitiy its:
holidaydate: device 0x10, type 0x269, offset 0, type RAW, length 6 with data 18 05 04 18 05 05
holidaytemp device 0x10, type 0x269, offset 7, type UINT8, UOM °C with data 17

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

Did not try holiday temp...
But otherwise it worked fine, checked both the pump UI and phone app, it was on holiday mode when setting that value.
Also I did reset it with these values, as the app used to send: 09 01 01 09 01 01

So for my point of view it works fine what I could see...attached logs for this also.
holiday.log

activated holiday:
ems-esp:# 000+20:31:07.685 I 133: [command] Calling command 'custom/holiday' (set custom value on ems) with value 18 05 04 18 05 05

reset holiday:
ems-esp:# 000+20:33:11.683 I 761: [command] Calling command 'custom/holiday' (set custom value on ems) with value 09 01 01 09 01 01
later on it changes to this:
ems-esp:# 000+20:33:13.840 T 785: [emsesp] controller(0x09) -W-> thermostat(0x10), ?(0x0269), data: 12 01 01 12 01 01 00 11

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

And also, I don't see any point of changing the holiday temp to anything else than 17. According to the manual, you should not set it under 17C anyways. The heatpump would not work under those temperatures...at least in a way it would save any energy.

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on June 26, 2024

Please check dev9: https://github.com/MichaelDvP/EMS-ESP32/releases

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

@MichaelDvP tried it already:
image

maybe fix the name :)
and it's setting the year wrong:
000+00:16:14.856 T 270: [emsesp] boiler(0x08) -B-> All(0x00), MenuConfig(0xF7), data: D1 00 00 07
000+00:16:15.100 I 271: [command] Calling command 'thermostat/holiday' (Urlaub) with value 04.05.2024-05.05.2024
000+00:16:15.152 T 272: [emsesp] Me(0x0B) -W-> thermostat(0x10), RC300Holiday1(0x0269), data: 04 05 18 05 05 18
000+00:16:15.212 T 273: [emsesp] thermostat(0x10) -B-> All(0x00), RC300Holiday1(0x0269), data: 04 05 18 05 05 18 02 11
000+00:16:15.521 T 274: [emsesp] controller(0x09) -W-> thermostat(0x10), RC300Holiday1(0x0269), data: 12 01 01 12 01 01 00 11
000+00:16:15.641 T 275: [emsesp] Me(0x0B) -R-> thermostat(0x10), RC300Holiday1(0x0269), length: 25
000+00:16:15.661 T 276: [emsesp] thermostat(0x10) -W-> Me(0x0B), RC300Holiday1(0x0269), data: 12 01 01 12 01 01 02 11
000+00:16:15.844 T 277: [emsesp] boiler(0x08) -B-> All(0x00), MenuConfig(0xF7), data: D1 00 00 07

year first, then month and day. I think

from ems-esp32.

MichaelDvP avatar MichaelDvP commented on June 26, 2024

Oh, sorry, yes, Bosch changes the order for RC30/RC35 and RC300/Rego, Updated my dev.

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

@MichaelDvP
works fine now:
000+00:04:25.565 I 27: [command] Calling command 'thermostat/vacations' (vacation dates) with value 04.05.2024-05.05.2024
000+00:04:25.604 T 28: [emsesp] Me(0x0B) -W-> thermostat(0x10), RC300Holiday1(0x0269), data: 18 05 04 18 05 05

and setting date to yesterday to reset it:
000+00:05:35.523 I 76: [command] Calling command 'thermostat/vacations' (vacation dates) with value 02.05.2024-02.05.2024
000+00:05:35.859 T 88: [emsesp] Me(0x0B) -W-> thermostat(0x10), RC300Holiday1(0x0269), data: 18 05 02 18 05 02
000+00:05:36.067 T 89: [emsesp] Me(0x0B) -R-> thermostat(0x10), RC300Holiday1(0x0269), length: 25
000+00:05:36.107 T 90: [emsesp] thermostat(0x10) -W-> Me(0x0B), RC300Holiday1(0x0269), data: 18 05 02 18 05 02 02 11
000+00:05:37.294 T 100: [emsesp] thermostat(0x10) -B-> All(0x00), RC300Holiday1(0x0269), data: 18 05 02 18 05 02 02 11
000+00:05:37.603 T 101: [emsesp] controller(0x09) -W-> thermostat(0x10), RC300Holiday1(0x0269), data: 12 01 01 12 01 01 00 11
000+00:05:37.857 T 106: [emsesp] thermostat(0x10) -B-> All(0x00), RC300Holiday1(0x0269), data: 12 01 01 12 01 01 02 11

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

Seems it was much easier on mine that the other ticket you had. :)

from ems-esp32.

mattfro avatar mattfro commented on June 26, 2024

@MichaelDvP now when it works, shall we close this ticket?

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.