-
Notifications
You must be signed in to change notification settings - Fork 11
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
Setting controller mode or set point not working from Domoticz #6
Comments
The 3 digits at the front of the message indicate the signal strength of the received messages (RSSI). Low numbers are better than high numbers. The HGI80 prints a non-zero value (always the same) when it TXs a message, Evofw3 always prints zero. neither value makes more sense than the other because RSSI can only be measured by the RX device. It does make TX message much more visible in evofw3 though. |
Not a bug :-) |
What version of evofw3 are you running? |
Running latest version (v0.6.7) as of yesterday. Updated before running above tests. Haven't seen it working, even with older versions. Any idea why my Evohome is not responding to those set requests? Where should I start looking? |
My first thought is that the nanoCUL is not close enough to the controller. Do you have any logs that include other messages from the controller? |
Distance between controller and nanoCUL is about 1-1.5m so I would expect that to be okay. I will add some logs later today. |
Logs with timestamps of possible.
…On 15 Feb 2021, 08:43, at 08:43, FrankvdAa ***@***.***> wrote:
Distance between controller and nanoCUL is about 1-1.5m so I would
expect that to be okay.
I will add some logs later today.
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#6 (comment)
|
Here's a log with timestamps: 2021-02-15 11:54:12 >> 035 I --- 01:204708 --:------ 01:204708 1F09 003 FF073A Just before 12:00:00 you can see me changing the controller mode a few times. |
I don't know why this isn't working. I'm in regular contact with at least one other Domoticz user who is not reporting this problem. Have you raised this problem on Domoticz or other forums where other users have indicated they're using evofw3? |
No, only reported it here because I see the command to set the controller mode coming from Domoticz. Therefor I thought it had to be related to evofw3 firmware, but as I don't fully know how it's working I might be wrong here ;-) I guess all other data is only RX which seems to be working fine. |
I've installed evohome-listener and that is also reporting an error: 2021-02-15 19:51:39 |1/042| ZONE_HEAT_DEMAND | I | 02:004323 -> CONTROLLER | 54.0% [Zone 9 ] 2021-02-15 19:52:16 |1/042| RELAY_HEAT_DEMAND | I | UFH 02:004323 -> BROADCAST MESSAGE | 100.0% @ OTB OpenTherm Bridge Don't know if it is somehow related, but I'll take that up with the maintainer of evohome-listener in parallel. |
Please confirm the version of evofw3 by obtaining the first line of the raw output from the nanoCUL after you connect the serial port. Use the arduino Serial monitor. |
This is what I get through Arduino Serial Monitor:
|
Can I somehow send the command to set controller mode through Arduino Serial Monitor? |
Cut and paste a message from your log. Everything after the 000
…On 15 Feb 2021, 19:10, at 19:10, FrankvdAa ***@***.***> wrote:
Can I somehow send the command to set controller mode through Arduino
Serial Monitor?
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#6 (comment)
|
Make sure you set the serial monitor line ending to CR&NL
…On 15 Feb 2021, 19:10, at 19:10, FrankvdAa ***@***.***> wrote:
Can I somehow send the command to set controller mode through Arduino
Serial Monitor?
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#6 (comment)
|
FYI evohome_rf is getting far more development effort than evohome_listener |
Sending below message through Arduino Serial Monitor is showing the same:
Thanks, I'll look into that also then ;-) |
I don't know why this isn't working. You might ask at evohome_rf if they have ideas. |
Where did you buy the nanoCUL |
Bought it from eBay, German reseller: |
Beginning to think it might be hardware related. Now running evohome_rf and every 'send_data' call is being retried 3 times and then I receive a timeout: |
21:20:44.166 PktProtocolQos.send_data(RQ|01:204708|10E0|00): boff=1, want=RQ|01:204708|10E0|00, tout=2021-02-15 21:20:44.266409: RE-SENT (1/3) |
Do you have a voltmeter. Can you check connection between Nano D3/D4 and cc1101 GDO0/GDO2 |
Do have a volt meter, but nanoCUL is shrinkwrapped so cannot access the tracks with my meter. My nanoCUL has a circuitboard between Arduino and CC1101. Am I right when saying that D4 is not used and D3 is connected to GDO2? Can't see where GDO0 is going, also seems not to be connected. |
D4 is not connected. If D3 is connected to GDO2 then D2 should be connected to GDO0. |
Forget tracks just go for nano pins and cc1101 connections |
And while I'm here, You should get into the habit of always using the evofw3 board definitions to build the firmware. I think there's a change that's about to come that will stop the code building properly using the Arduino board definitions. |
I can only say that by following the steps I set out above, I've gone from having absolutely no responses to RQs on any evofw3 firmware, to pretty much (as far as I can see) getting a response every single time. HA can now query the controller at start up, I can make zone overrides every time, I see less 'Expired' notices in my logs - the latter I believe, although understand there might be other unknown variables, was one of the key differences between the 3 autotuned frequencies I ended up with, consistency of operation.
|
I have sent my device to ghoti57. I did get the odd response in the packet
log for the first few minutes, but a lot of things were missing and/or
replying after 3 RQ resends. The controller config never downloaded
completely even in the same room as the unit. I never got around to trying
the calibrate branch.
…On Mon, Feb 22, 2021 at 1:03 PM iMx ***@***.***> wrote:
I can only say that by following the steps I set out above, I've gone from
having absolutely no responses to RQs on any evofw3 firmware, to pretty
much (as far as I can see) getting a response every single time.
HA can now query the controller at start up, I can make zone overrides
every time, I see less 'Expired' notices in my logs - the latter I believe,
although understand there might be other unknown variables, was one of the
key differences between the 3 autotuned frequencies I ended up with,
consistency of operation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AROO5TVBVIXKDJZKLYXTNLTTAJIZZANCNFSM4XTSEJEQ>
.
|
Getting working TX using the calibrate branch. Majority of transmit requests are now getting responses. |
@danrp-git so what did you do differently to 5 days ago when it didn't appear to work? |
Stayed on the calibrate firmware, currently using F=2165bc which resulted from a second calibration. Going to calibrate again later with the Nano in clear sight of the controller, as the second calibration appears to have regressed the TX success rate slightly. |
I found that F=2165d4 and/or F=2165d3 gave me perhaps 75% success. F=2165db and also moving the antenna 90 degrees took me to more or less 100% I believe there was a noticeable difference between them anyway, but perhaps there was another variable coming into play. And for some reason or other, I didn't have anywhere near the success after calibrating, when I didn't do it 'in place' - i.e how my nanoCUL will be, where it will be, cupboard door shut, etc. |
@iMiMx How different was the Frequency value when you didn't calibrate "in place" compared to the value obtained "in place" |
@ghoti57 When on my laptop, I think I got either F=2165d4 and/or F=2165d3. Only when I started testing/auto-tuning/calibrating "in place" (rack under the stairs, controller in the same hallway) did I see F=2165db, along with the 2 former as well. I was unable to replicate tuning to F=2165db when NOT "in place". |
Can anyone in touch with the supplier ask him if he's aware of any issues with the 26MHz crystal on the cc1101 modules he's used. |
I just ordered another one this morning to 'play' with, as I'd like to keep my current one 'as is' for now - as it's working wonderfully. I know you don't like the evofw2 (fifo branch) comparison, and I get that, but evofw2 (fifo branch) RP-ed to an RQ every single time - and I know you'll probably say 'well everything is different between them', but... something seems to be fundamentally different with how they TX and/or chosen frequencies. P.S. I have emailed the seller about the 26Mhz crystal question, along with your earlier description above of the frequency differences. |
@iMiMx Glad your system appears to be working well now. There is no difference between the way evofw2 and evofw3 (pre calibrate) choose frequencies. They both use identical compiled data to configure the cc1101. The fifo branch was fundamentally flawed for RX (too complicated to explain). TX is different between the two. evofw2 loads a fifo in the cc1101 with the data to be transmitted so it's using the cc1101 crystal to control the data bitrate. evofw3 uses an atmega328p timer (derived from the 16MHz crystal) to drive the data into the cc1101 in a serial bit stream. I'm not convinced the cc1101 calibration has really fixed this problem (it will almost certainly improve reception). It doesn't seem to work for all of you and the difference between 2165d3 and 2165db in your case is too small to really be significant by itself. I'm suspicious about the 16Mhz crystal that is used by the atmega328 because I've recently seen problems on the host facing side of the atmega328p (associated with the comment above about problems at 115200). This HW UART interface also derives its clock from the 16MHz crystal. In the past I've considered a hybrid approach, RX using the evofw3 approach but TX using the evofw2/fifo approach. I may reconsider this when I've got time. |
I've run autotune on @domb80's nano and I see the same. I also tried running evofw2/fifo on @domb80's nano. I get the same result as @iMiMx. You should switch back to the master branch of evofw3 because I've merged the autotune support (into version 0.6.12) Please make sure you ALWAYS use the evofw3_avr board definitions with the arduino gui to build. There's a change coming that you are all going to want to improve the interface with evohome_cc/evohome_rf and you won't be able to use it with the arduino board definitions. I had always planned to remove support for the arduino boards anyway and that is now a step closer. I'm going to leave this issue open and I'll use it to let you know when I've done anything to improve TX performance. |
Perhaps someone else will chime in if they're having similar issues... but... My 2nd nanoCUL arrive on Friday, so I tried this as suggested with the evofw3_avr board and the latest master. Tuning seems to be slower (not sure if that's intentional, or just my perception) and for the 2nd time it seems to have hung (it's about 30 minutes since it last changed frequency). I haven't yet tried the same calibrate branch that I'm still running on my other nanoCUL.
UPDATE: Just seen that 0.6.14 has been committed, so am now trying this. For anyone else reading, make sure you update your board definitions from Board Manager first, it needs the 'host' baud rate option which isn't present otherwise. UPDATE 2: Seem to see the same there as well, not posting the full log but after leaving it running for around 70 minutes:
Bit reluctant to try it on my currently working nanoCUL, I will try the Calibrate branch on this new device that I'm using elsewhere. |
Is there a way to reset the autotune? |
!FR |
Had another play with the current version, 0.6.15, when autotuning on this version (as opposed to the calibrate branch) does the tuning now wait for a packet, before moving onto the next frequency step? I find that it appears to 'hang' when it is no longer receiving messages, if you send an RP it then steps to the next frequency... but if it has tuned outside of the window where it can 'see' packets, it never progresses itself? |
@iMiMx I've just committed a change to the master branch that fixes your autotune hangup |
Working on better TX behaviour |
I've just posted a new release of evofw3 that should resolve all TX problems. Since you're all using atmega328p boards it's not strictly necessary but there is a new version of evofw3_avr as well so you should update the board definitions. |
I thought you might like some feedback on 0.7.0, which I've been testing this morning. |
Tested it here also and working like a charm. Thank you! |
@FrankvdAa I've also bought a nanocul with evofw3 on it and try to get it to work in Domoticz. I do get some boiler devices but not the zone information, and get some errors . |
You have revived an old thread, with a question best asked elsewhere. I would ask you seek help on a Domoticz forum. However, I strongly advise you switch to Home Assistant, IMHO it has a significantly better offering for both the web and RF version of evohome. For example, ramses_cc (in HA) is much less likely to suffer from the problems you describe. |
Of course I already asked the question on the Domoticz forum but did not receive any reactions so far. |
Hi,
I bought a NanoCUL a few months back to be able to control my Evohome from Domoticz.
Have been able to discover all valve, but I'm not able to set the controller mode (normal, economy, off, ...) or set points.
I do see Domoticz sending the command, but don't see any response to that:
000 W --- 18:003618 01:204708 --:------ 2E04 008 01FFFFFFFFFFFF00
000 W --- 18:003618 01:204708 --:------ 2E04 008 00FFFFFFFFFFFF00
Somebody I know has a real HGI80 and he sees the following when changing controller mode:
095 W --- 18:012786 01:072015 --:------ 2E04 008 01FFFFFFFFFFFF00
049 I --- 01:072015 --:------ 01:072015 2E04 008 01FFFFFFFFFFFF00
047 I --- 01:072015 01:072015 --:------ 2E04 008 01FFFFFFFFFFFF00
095 W --- 18:012786 01:072015 --:------ 2E04 008 00FFFFFFFFFFFF00
049 I --- 01:072015 --:------ 01:072015 2E04 008 00FFFFFFFFFFFF00
047 I --- 01:072015 01:072015 --:------ 2E04 008 00FFFFFFFFFFFF00
Not sure what the three digits at the beginning of each line represent, but I noticed that in my setup it's always 000 when the second column is showing 'W'.
I understood that TX should be working with the latest firmware, or am I wrong?
Please let me know if you need me to run any tests or in case you need more information.
Thanks,
Frank
The text was updated successfully, but these errors were encountered: