-
-
Notifications
You must be signed in to change notification settings - Fork 97
How can I trigger the thermostat set message on Heatronics 3? #138
Comments
That's correct, you won't see any telegrams when manually changing the temperature on the thermostat. The best way is to look at the hometop project, specifically this file https://github.com/norberts1/hometop_HT3/blob/master/HT3/sw/lib/ht_discode.py to figure out the telegram format. |
I don't see are any write examples in that project. I think they only read? |
it does support writing too. It's mentioned on https://github.com/norberts1/hometop_HT3. The code is quite complex and hard to read and not very modular. I gave up trying to understand it! |
Same here, I've spent 2 hours looking at the code, but the most crucial things I want to know remain a mystery so far... But I'm not giving up yet. ;-) Another strategy, I have a second thermostat that is not used. Can I connect 2 thermostats (Junkers FW100 and Junkers FW200) on 1 EMS bus? Will it it work and will thermostat 1 write to thermostat 2 when I update the room temp setpoint on thermostat 1? |
I'm not sure the EMS can provide enough power (amps) to both thermostats but you could try. It'll be interesting to see if they have different unique identifiers. We should be able to work it out from the HT3 code - I just need the time! |
in hometop project, write to the bus is done in https://github.com/norberts1/hometop_HT3/blob/master/HT3/sw/lib/ht_yanetcom.py |
@moustic999 indeed, yesterday I discovered that file as well and also an overview here in html: https://github.com/norberts1/hometop_HT3/blob/master/HT3/sw/etc/html/HT3-Bus_Telegramme.html For my FW100 thermostat the message id should be 357 I think I understand how they send messages to change the temperaure, but it's not working for my FW100 (yet). I would expect that the following message: B8 10 FF 10 00 65 24 sets the temp for the "sparen" mode to 18°c
but no luck yet. |
Sorry, I made a mistake |
Can you describe your installation ? I see very strange behavior in the code. |
My setup:
So no CRxxx device. The code makes a difference between heatronic 3bus system ( thermostat has id 0x10) and EMS bus system ( thermostat has id 0x18). |
Hello, I have a Junker FW120 Thermostat and I was looking to write on it like you. I am now trying to change the temperature. |
Good new, I was able to change tempearture levels using following commands :
Now I have to take a look at the code for implementing it. |
@Neonox31 I can help with the implementation if needed |
I tested the examples and they all work for my Junkers FW100 as well. @proddy I can try to implement and test this. Ok to send you a pull request when I'm ready? |
I don't know why but sometimes the new setted temperature is not considered by the thermostat. |
there was a similar report with the RC35 when setting the set point temp in day mode, it wouldn't show up. Is this similar to what you're seeing? |
@Neonox31 I'm working on a first version, but there are more things I need to adapt than anticipated. It might take some time. @proddy : is it possible that the "_ems_sendTelegram()" has never been used for EMS+ telegrams? I see a test that will never work:
But EMS+ markers are 0xFF, 0xF7 or 0xF9. None of them are bigger than 0xFF. Secondly, the "ems_parseTelegram()" uses a completer check to decide if it is EMS+ or not: So unless sending EMS+ messages has been reported as working, I will fix that part as well by aligning the logic with "ems_parseTelegram()". |
@Neonox31 : Intermediate progress: https://github.com/Vuego123/EMS-ESP/tree/Write-to-FW100-/-FW120 Contains support for changing the thermostat mode and improved logic for sending EMS+ messages. Not tested yet at this moment. When it is tested I will do a pull request. |
Ok thanks for the link. Here is mine also WIP : https://gitlab.com/neonox31/boiler/merge_requests/4/diffs |
@proddy I forgot to answer your question, it is not similar because the temperature never change on both physical thermostant and telnet as if the telegram has never sent. |
It could be a good idea to create a dedicated branch 👍 , but before I would like to solve the problem with the temperature. |
It's still a mystery !
The first telegram sent fails and the second passes with exactly the same command. I think the thermostat doesn't manage well rx telegrams and forgets some.
I have no real solution, maybe I have to send multiple times the telegram until I got a response but it is ugly 🤢 |
@proddy Is it normal that |
the #data should show the number of data bytes in the data package sent. So that needs fixing too. For example |
Ok so this a bug, but I don't think it is related. |
@proddy confirmed, fixed in b50 |
Can you also change mode in HA or telnet? It's still doesn't work for me. |
@VooZ2 which thermostat do you have? I'll look into it. |
FW120. We have talked about modes in this topic before. |
@proddy yes, @WooZ2 has right - thermostat from HA doesn't work. |
Ok. I’ll take a look |
@VooZ2 I cleaned up the thermostat mode logic a little in 1.9.5b52. Could you see if it still works? |
It works. But I need to figure out why sometimes it needs to repeat command or use different mode. For example sometimes I need mode heat, sometimes day. Both modes turn same mode on thermostat. Same with night/eco mode. Also will test id I can change temp in manual modes. But we are on right way :) |
oh, for Junkers I only implemented nofrost, eco, comfort and auto based on the earlier postings (values 01 to 04). The other ones like manual, day, night, heat etc are just mapped to auto in most cases. |
this has improved in v2. needs thorough testing though. If errors are found we'll reopen. |
Hello @proddy, Juste tested with the |
thanks, wait until you see v2.1 ! |
On
|
@Neonox31 did it work in 2.0.1? What should the mode be? |
@proddy Yes it works on I think the mistake was here : https://github.com/proddy/EMS-ESP/blob/dev/src/devices/thermostat.cpp#L143 Do you want a P.R ? |
a PR is fine, whatever you prefer. It'll be nice to have another person contribute ;-) Or just send me what needs to be swapped. thanks! |
It works, here the P.R : #577 |
Do not take into account my last message, values are limited according mode.
That's why I couldn't set the heat temperature at 18 degrees. |
great. shall we close this one? |
@proddy sure 👍 |
I want to add support for writing to the thermostat Junkers FW100 (e.g. change the room setpoint temperature), but I cannot find the telegram type that is used to write to the thermostat.
When I change the temperature on the thermostat device and monitor the ems bus, I don't see any write message. I only see the next broadcasted status message with the new temperature. I suppose that is normal because the thermostat does not send a write telegram to itself.
Any idea how I can find this?
The text was updated successfully, but these errors were encountered: