-
Notifications
You must be signed in to change notification settings - Fork 47
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
eQ3 - Connection failed very often #26
Comments
I am experiencing similar problem. I even cannot connect to one of my thermostats anymore although it is no problem to connect it with the phone app. Tried to increase the timeout time which didn't work. But if I do that the debug log says that the connection was refused . |
I remember that raspberry pi Bluetooth range is not huge. So it might be a bluetooth range issue. |
Yes, I can exclude range issues. It worked pretty for a certain amount of time and then it stopped. Hence it could also be a problem with my Linux. Debugging Bluetooth is not always easy... |
Same connection issues with Raspberry pi 4b and eQ-3 CC-RT-BLE starting from September. Before had no problems. All devices are permanently fixed, so can exclude bluetooth range issue. |
Please have a look at abandonware/noble#99 and RPi-Distro/bluez-firmware#6 |
Thank you very much! Looks like updating firmware as suggested worked in my case. Connection is more stable than before. |
Hi, can you point exact steps how to update the firmware? there are 3 different links and a lot of posts, which way worked for you ? |
Sorry, unfortunately after some days doing tests, can not confirm that solution is really working for me. You can try on your system, I've replaced original firmware with the one from this post: RPi-Distro/bluez-firmware#6 (comment). |
I can recommend this bluetooth dongle https://www.aliexpress.com/item/32696756077.html for using with Raspberry PI4. To use this interface, you have to modify the script. Details see here #30 |
@whissperr worked for me. BT problems are gone https://www.raspberrypi.org/forums/viewtopic.php?t=292113&p=1766154 |
raspberry pi 4b eQ-3 CC-RT-BLE.
2 eQ-3 devices, paired and working, but frequently i get Connection failed (25% of tries)
1/ Connenction Failed, btmon log during connection:
HCI Event: Command Complete (0x0e) plen 14 #425 [hci0] 172.457975
LE Read Remote Used Features (0x08|0x0016) ncmd 1
Status: Success (0x00)
00 00 00 00 00 00 00 00 00 00 ..........
< HCI Command: LE Add Device To White List (0x08|0x0011) plen 7 #426 [hci0] 172.458043
Address type: Public (0x00)
Address: 00:00:00:00:00:00 (OUI 00-00-00)
2/ Second problem - script sometimes is giving an unexpected result:
pi@raspberrypi:~ $ /opt/eQ-3-radiator-thermostat/eq3.exp 00:1A:22:11:80:74 json
^[[6~can't read "d": no such variable
while executing
"return $d"
(procedure "hexToDecimal" line 3)
invoked from within
"hexToDecimal [lindex $raw_timer [expr 2 * $event + 1 ]]"
(procedure "readTimer" line 13)
invoked from within
"readTimer $day"
(procedure "readTimers" line 5)
invoked from within
"readTimers"
(procedure "toJson" line 14)
invoked from within
"toJson"
("^json$" arm line 2)
invoked from within
"switch -regexp $c {
^sync$ {
init $INIT(mode)
}
^comforteco.* {
checkArgs $c 2 "comforteco" {^comforteco [0-9]{1,2}.?[05]? [0..."
(procedure "doCommand" line 10)
invoked from within
"doCommand"
(file "/opt/eQ-3-radiator-thermostat/eq3.exp" line 1157)
is it normal? maybe someone is experiencing the same issue ?
The text was updated successfully, but these errors were encountered: