-
-
Notifications
You must be signed in to change notification settings - Fork 98
Able to set warm water temperature via MQTT #183
Comments
I'll test it tonight, it's been a while since that logic was created. The desired temperature is probably the wrong word. According to the german translated wiki page it's described as "Target temperature thermal disinfection", so just ignore it I'd say. does |
Just tested and works on my Buderus:
|
Doesn't seem to work on my Worcester-Bosch:
|
I've disconnected the Bosch Easy Control thermostat to check if it was overriding the commands from the Wemos but it gave the same result. |
can you test with 1.9.1b? I noticed some strange things in the telegram format like #data having very high values |
Could you point me at a precompiled 1.9.1b .bin file please? I can't seem to compile from source due to the same issues I had compiling 1.9.0b3 which I described in issue #173 . (I thought I'd already posted this reply here but maybe I posted to a different issue by mistake?) |
I hid it here - https://github.com/proddy/EMS-ESP/releases/tag/1.9.0 |
The file on that page is firmware_release_1_9_0.bin, is that the one you want me to test? I only ask because you mentioned 1.9.1b in your earlier post above. |
there are two .bin files, take the latest beta one |
Sorry to be a pain, but can you remind me how to flash the device from the CLI? I've tried pio, esptool.py and espota.py and can't get any to work. |
this link didn't help? |
Sorry, I didn't see that link. I've run "pio run -t erase" and then run "esptool.py -p COM4 write_flash 0x00000 ./firmware_debug_1_9_1b4.bin" but when I point my browser at 192.168.4.1 I get asked for a password, which I don't know. At first I thought that maybe I'd set a password the last time I used the 1.9 branch and configured the web frontend but surely running "pio run -t erase" would have cleared that? |
default password is 'admin' |
Finally got there, thanks for your patience. The dashboard on the web frontend has a message in red that says, "EMS Bus Connected but Tx is not working." I can no longer see the warm water temperature on the info section via the telnet connection. The "boiler wwtemp 42" command doesn't seem to do anything now:
|
Try changing the tx_mode. 1 is the same as 2 in 1.8.x, 2 is now for EMS
plus and 3 for Junkers equipment
…On Tue, 17 Sep 2019 at 23:09, higgers ***@***.***> wrote:
Finally got there, thanks for your patience.
The dashboard on the web frontend has a message in red that says, "EMS Bus
Connected but Tx is not working." I can no longer see the warm water
temperature on the info section via the telnet connection.
The "boiler wwtemp 42" command doesn't seem to do anything now:
Setting boiler warm water temperature to 42 C
(00:04:48.776) 0x08 -> all, type 0x19, telegram: 88 00 19 00 80 00 80 00 80 00 FF FF 00 00 00 10 CE 09 3F B4 00 00 00 07 78 F9 00 0B D3 80 00 (CRC=55) #data=27
<--- UBAMonitorSlow(0x19)
(00:04:57.768) 0x08 -> all, type 0x18, telegram: 88 00 18 00 45 01 9E 20 00 00 00 40 40 01 05 80 00 80 00 FF FF FF 00 00 00 00 00 00 20 (CRC=39) #data=25
<--- UBAMonitorFast(0x18)
(00:04:57.990) 0x08 -> 0x13, type 0x05, telegram: 88 13 05 22 00 (CRC=80) #data=1
(00:04:58.295) 0x08 -> all, type 0x34, telegram: 88 00 34 00 33 01 05 80 00 80 00 00 01 00 01 C6 BA 00 04 FB 00 (CRC=DC) #data=17
<--- UBAMonitorWWMessage(0x34)
Requesting scheduled EMS device data
(00:05:07.733) 0x08 -> 0x13, type 0x05, telegram: 88 13 05 22 00 (CRC=80) #data=1
(00:05:08.048) 0x08 -> all, type 0x18, telegram: 88 00 18 00 45 01 9E 20 00 00 00 40 40 01 05 80 00 80 00 FF FF FF 00 00 00 00 00 00 20 (CRC=39) #data=25
<--- UBAMonitorFast(0x18)
(00:05:08.288) 0x08 -> all, type 0x34, telegram: 88 00 34 00 33 01 05 80 00 80 00 00 01 00 01 C6 BA 00 04 FB 00 (CRC=DC) #data=17
<--- UBAMonitorWWMessage(0x34)
(00:05:17.726) 0x08 -> 0x13, type 0x05, telegram: 88 13 05 22 00 (CRC=80) #data=1
(00:05:18.041) 0x08 -> all, type 0x18, telegram: 88 00 18 00 45 01 9D 20 00 00 00 40 40 01 05 80 00 80 00 FF FF FF 00 00 00 00 00 00 20 (CRC=41) #data=25
<--- UBAMonitorFast(0x18)
(00:05:18.281) 0x08 -> all, type 0x34, telegram: 88 00 34 00 33 01 05 80 00 80 00 00 01 00 01 C6 BA 00 04 FB 00 (CRC=DC) #data=17
<--- UBAMonitorWWMessage(0x34)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#183>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJMO6DIWJRGNCIA342756LQKFBSJANCNFSM4IXHUKDQ>
.
|
Somehow, I seem to have ended up with a non-working system. It seems like by default tx_mode is set to 1 in the 1.9.1b firmware so I didn't need to change it and the boiler wasn't detected in the same way it was in 1.8.3. In 1.8.3 the boiler is detected within a few seconds of me setting tx_mode to 2. However... I reverted to 1.8.3 after testing 1.9.1b but now the system restarts a few seconds after it outputs the message that it detected the boiler. The sequence of events is: Run "pio run -t erase" (if I'm coming from a 1.9 branch) I really don't know what the difference is in the setup that had been running without fault since I progressed through issue #173 and now. I did have the Bosch Easy Control connected when I last flashed 1.8.3. Maybe that had some soft of impact? I've run out of time tonight but will try and tackle it again tomorrow. |
This sounds like the problem at #182 When issuing Tx commands (i.e. to detect the EMS devices) it crashes. I have no idea what is causing it but you're the second to report it. Is it working now with 1.8.3? If so which tx_mode are you using? |
I can't seem to get 1.8.3 to be stable any longer. That sequence of events I described in my previous post is what happens in 1.8.3. 1.9.1b doesn't seem able to detect the boiler but is stable. |
Forgot to mention: 1.8.3 with tx_mode 2 allowed me to successfully set the flow temperature via MQTT. But not anymore, it now constantly reboots. |
did you compile 1.8.3 yourself or use the firmware bin in the releases page? There have been many updates to the 3rd party libraries (onewire, arduinojson, espressif) since 1.8.3 that may be having a side effect. |
I compiled it myself. I kept an untouched copy of the contents of the zip file I downloaded. I'll check to see if the original version of the bin file is in there when I get home tonight. |
@higgers so try the txmode2 branch - which is unchanged since july... |
@higgers stupid question - did you roll back your platformio.ini before compiling 1.8.3? |
@susisstrolch what do you mean by roll back? After I unzip the source to a new folder the only change I make to platformio.ini is to set the port to either a COM port or (99% of the time) the IP address of the Wemos. |
@higgers that should be fine. There are new libraries in 1.9.x's platformio but you should be ok if you going back a version. |
also try again with the latest 1.9.1 as I'm constantly making small amendments. |
I've finally got some time to look at this tonight but, as ever, I can't get my build environment in a state that will allow me to build 1.9.1b. Is there a precompiled .bin file available that I can download? I can only see tags up to and including 1.9.0, I can't see 1.9.1b. Many thanks! |
I hide the 1.9.1 betas under https://github.com/proddy/EMS-ESP/releases/tag/1.9.0 for now. I'm working on using Travis to automatically build and upload the bins to a new stash, which would help later., |
Ah, OK. I've uploaded the latest release version and when logging in to the web page it shows the message "EMS Bus Connected but Tx is not working." I've tried changing the tx mode from 1 to 2 but that causes the error "Error! Unable to read the EMS bus." to be printed in the telnet session. Setting the tx mode back to 1 doesn't resolve it until I power cycle the Wemos. |
I've reverted to version 1.8.3 (downloaded from github because the output from my build environment continuously reboots) and set the tx mode to 2 and it autodetects the boiler (without me having to run "autodetect deep") and I can set the flow temp again. Excellent! :) |
Quick question: does v1.8.3 support multiple DS18S20 thermometers and sending the data via MQTT? 1.8.3 seems to be the latest stable version for my system and I'd like to capture the central heating return temperature (since it doesn't seem to be sent from the boiler.) I'd like to glue a thermometer to the return pipe at the point the pipe enters the boiler. |
yes, supports multiple external sensors, also via MQTT. See https://github.com/proddy/EMS-ESP/wiki/adding-external-temperature-sensors |
Excellent, thanks for letting me know. I knew the latest version supported sensors/MQTT but didn't know which version had introduced the support. |
ok, closing this issue. If 1.9.1 still fails to detect the EMS devices on boot then please create a new bug so we can focus on resolving that. |
Should I expect to be able to set the warm water temperature via MQTT? I have set up my openHAB system to allow me to send the boiler_cmd_wwtemp MQTT topic and I can telnet into the Wemos and see the MQTT topic set in the log. However, typing "info" shows that the "Warm water desired temperature" attribute doesn't change.
I looked at the EMS wiki and I don't think the 6 byte 0x33 UBAParameterWW is showing up in the log. Should I expect to see it? If so, would it be possible for someone to copy part of the verbose log from a telnet session so I can see a 0x33 telegram setting the warm water desired temperature so I know what to look for.
Also, what's the difference between the attributes "Warm water selected temperature" and "Warm water desired temperature" on the info section in the telnet session?
The text was updated successfully, but these errors were encountered: