Skip to content
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

Solar Select priority cylinder. #137

Closed
PhillyGilly opened this issue Oct 1, 2021 · 7 comments
Closed

Solar Select priority cylinder. #137

PhillyGilly opened this issue Oct 1, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@PhillyGilly
Copy link

My Solar SM200 has two cylinders and is configurable for either cylinder to be the priority for solar heating.
Although the system switches between cylinders automatically depending on TS1, TS2 and TS5, and reports status on Solar Valve Status (VS1), I want to be able to change the priority cylinder remotely from HA using an MQTT command like the wwonetime command. Any ideas?

@proddy
Copy link
Contributor

proddy commented Oct 1, 2021

@hpanther ?

@proddy proddy transferred this issue from emsesp/EMS-ESP Oct 4, 2021
@proddy proddy added the enhancement New feature or request label Oct 5, 2021
@MichaelDvP
Copy link
Contributor

@PhillyGilly If you can log the telegram and offset of the value while changing the priority-configuration, we can add a value and command to solar.

@PhillyGilly
Copy link
Author

Hello @MichaelDvP this is the log I took when switching lead cylinder from 1 to 2.
I couldn't see anything obvious, so maybe I need to log something else?
log.txt

@MichaelDvP
Copy link
Contributor

Looks like this:

2021-09-30 17:27:49.816 TRACE 832: [emsesp] Thermostat(0x10) -> Solar(0x30), ?(0x35F), data: 01 (offset 3)
2021-09-30 17:27:52.037 TRACE 834: [emsesp] Solar(0x30) -> All(0x00), ?(0x35F), data: 01 (offset 3)

Please check the telegram with read 30 35F
and try to change the cylinder to 1 with a call system send "0B 30 FF 03 02 5F 00" and to second cylinder with call system send "0B 30 FF 03 02 5F 01"

There is also a publish from solar: 2021-09-30 17:27:51.337 TRACE 833: [emsesp] Solar(0x30) -> All(0x00), SM100Status(0x364), data: 1D (offset 6) We do not know what offset 6 is, but it seems to be related to the priority-cylinder.

@PhillyGilly
Copy link
Author

I had a bit of trouble with my Telnet client but here is the result of the "read 30 35F":
2021-10-14 18:17:11.499 INFO 17: [shell] Allocated console pty0 for connection from [192.168.2.90]:59388
2021-10-14 18:17:27.789 NOTICE 18: [shell] su session opened on console
2021-10-14 18:17:59.457 NOTICE 19: [emsesp] Solar(0x30) -> Me(0x0B), ?(0x35F), data: 00 00 41 01 1E 0A 0C 19 00 3C 19
If this is what we are expecting, I will try the sends tomorrow.

@MichaelDvP
Copy link
Contributor

Me(0x0B), ?(0x35F), data: 00 00 41 01 1E 0A 0C 19 00 3C 19

Thanks, it is good to have a reference with telegram length and typical values. If we are searching a value/setting in future we can check where to find. In this telegram the 0x41 in offset 2 could be a temperature of 65°C, maybe switch temperature to change the cylinders?

Please determine names for the new value/setting. The names in emsesp are sometimes a bit mixed up. In boiler we have storage (storage extern temperature) and tank (tank middle temperature), in solar it is mostly called tank (tankbottomtemp, tankheated, etc.), but sometimes cylinder (cylinderpumpmod). We need a single lowercase word for mqtt and command and a full description for web/telnet and HA-entity. Also determine the options, should it be a raw number 0/1 for the settings, or should we name them like tankprio:tank_1/tank_2, or use bool secondtankprio:on/off? You have these settings in your controller, so it's best you choose the names.

@PhillyGilly
Copy link
Author

Hello @MichaelDvP That's perfect, thank you.
2021-10-20 04:44:09.000 INFO 1: [emsesp] Starting Access Point with captive portal on 192.168.4.1
2021-10-20 04:44:13.750 INFO 2: [emsesp] Starting NTP
2021-10-20 04:44:13.778 INFO 3: [emsesp] WiFi Connected with IP=192.168.2.101, hostname=ems-esp
2021-10-20 04:44:13.800 INFO 4: [mqtt] MQTT connected
2021-10-20 04:44:13.800 INFO 4: [mqtt] MQTT connected
2021-10-20 04:44:19.000 INFO 5: [emsesp] Stopping Access Point
2021-10-20 04:55:08.479 INFO 6: [telnet] New connection from [192.168.2.90]:58131 accepted
2021-10-20 04:55:08.479 INFO 7: [shell] Allocated console pty0 for connection from [192.168.2.90]:58131
2021-10-20 04:55:23.491 NOTICE 8: [shell] su session opened on console
2021-10-20 04:55:39.681 NOTICE 9: [emsesp] Solar(0x30) -> Me(0x0B), ?(0x35F), data: 00 00 41 01 1E 0A 0C 19 00 3C 19
2021-10-20 04:56:53.859 INFO 10: [command] Calling system command 'send', value 0B 30 FF 03 02 5F 01, id is default
2021-10-20 04:56:54.510 NOTICE 11: [emsesp] Solar(0x30) -> Me(0x0B), ?(0x35F), data: 00 00 41 01 1E 0A 0C 19 00 3C 19
2021-10-20 04:57:20.259 NOTICE 12: [emsesp] Solar(0x30) -> Me(0x0B), ?(0x35F), data: 00 00 41 01 1E 0A 0C 19 00 3C 19
2021-10-20 04:58:56.181 INFO 13: [command] Calling system command 'send', value 0B 30 FF 03 02 5F 00, id is default
2021-10-20 04:58:56.884 NOTICE 14: [emsesp] Solar(0x30) -> Me(0x0B), ?(0x35F), data: 00 00 41 00 1E 0A 0C 19 00 3C 19
2021-10-20 04:59:13.733 NOTICE 15: [emsesp] Solar(0x30) -> Me(0x0B), ?(0x35F), data: 00 00 41 00 1E 0A 0C 19 00 3C 19
2021-10-20 05:03:32.791 INFO 16: [command] Calling system command 'send', value 0B 30 FF 03 02 5F 01, id is default
2021-10-20 05:03:34.661 NOTICE 17: [emsesp] Solar(0x30) -> Me(0x0B), ?(0x35F), data: 00 00 41 01 1E 0A 0C 19 00 3C 19
2021-10-20 05:16:58.184 INFO 18: [command] Calling system command 'send', value 0B 30 FF 03 02 5F 00, id is default
2021-10-20 05:16:58.967 NOTICE 19: [emsesp] Solar(0x30) -> Me(0x0B), ?(0x35F), data: 00 00 41 00 1E 0A 0C 19 00 3C 19

Regarding naming; here are a number of screenshots from my in-boiler display.
I've had a few discussions with @proddy on naming and the "unique Bosch Denglish"!!
However I don't know "tank" came from as the English text in the MS200 manual only refers to cylinders.
Here are a number of screenshots from my in-boiler display.
2021-10-20 10 28 02
2021-10-20 10 27 51
2021-10-20 09 49 02
2021-10-20 09 49 07
2021-10-20 09 46 28
2021-10-20 09 46 48
(I have more photos of the other menu options)

As you can see we have "Solar tank bottom temperature (TS2)"; Bosch has "Cylinder bottom temperature". My preferance would be "Solar Cylinder 1 bottom temperature (TS2)"! We have "Solar second tank bottom temperature (TS5)"; Bosch has "Temp Cylinder 2 bottom". My preference would be "Solar Cylinder 2 bottom temperature (TS5)"!!!

To answer your question, my conclusion is that here we are predominantly using "cylinder".
The relevant controller line says "Priority cylinder = Cyl. 2" , so I would prefer naming to be "prioritycyl:cyl_1/cyl_2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants