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

RS-485 Errors and Timeouts #20

Open
madsensh opened this issue Jun 19, 2018 · 10 comments
Open

RS-485 Errors and Timeouts #20

madsensh opened this issue Jun 19, 2018 · 10 comments

Comments

@madsensh
Copy link

Can I get a little help troubleshooting my setup?

I have a Carrier Infinity furnace and AC unit that were installed in 2005. When I moved in about 3 years ago it was connected to a generic 2-stage thermostat, which I replaced with a systxccuid01 thermostat (the one with buttons) from eBay along with a new run of 18/5 thermostat wire from the furnace in the attic to the AC unit outside (about 50 feet). The thermostat is directly below the furnace, connected by about 10 feet of wire. Over the weekend, I ran about 20 feet of new 18/2 thermostat wire from the furnace to an RPi in my structured media center, which has the following RS-485 to USB adapter: https://www.amazon.com/gp/product/B005CPI0JQ

The Infinity A and B wires are connected to the RS-485 (A+) and (B-) terminals, respectively, which I believe is correct, although I'm new to RS-485 and it feels weird to not have a signal ground wire like with RS-232.

When I fire up Infinitive, I see lots of errors in the log output (see below), and the Infinitive UI is not populated with any values. (note that the AC was not on at the time, so RPM and CFM readings of 0 are correct)

Any ideas where I should direct my troubleshooting efforts? Does this look like a wiring issue, or possibly something wrong on the Carrier side? I'd rather not put the RPi at the furnace permanently, as I have a very hot attic, but maybe I can try it temporarily to rule out wiring issues due to staples, running near AC circuits, etc.

INFO[0028] read frame: 2001 -> e01: READ 003e04
INFO[0028] read frame: e01 -> 2001: RESPONSE 003e0400
INFO[0028] read frame: 2001 -> e01: READ 003e07
INFO[0028] read frame: e01 -> 2001: RESPONSE 003e070000
INFO[0028] read frame: 2001 -> 9201: ERROR 04
DEBU[0028] timeout waiting for response, retransmitting frame
DEBU[0028] transmitting frame: 200192010300000b003b03ecba
INFO[0028] read frame: 2001 -> 9201: ERROR 04
DEBU[0028] timeout waiting for response, retransmitting frame
DEBU[0028] transmitting frame: 200192010300000b003b03ecba
INFO[0028] read frame: 2001 -> 9201: ERROR 04
DEBU[0028] timeout waiting for response, retransmitting frame
DEBU[0028] transmitting frame: 200192010300000b003b03ecba
INFO[0028] read frame: 2001 -> 9201: ERROR 04
DEBU[0028] timeout waiting for response, retransmitting frame
DEBU[0028] transmitting frame: 200192010300000b003b03ecba
INFO[0028] read frame: 2001 -> 9201: ERROR 04
DEBU[0029] timeout waiting for response, retransmitting frame
DEBU[0029] transmitting frame: 200192010300000b003b03ecba
INFO[0029] action timed out
INFO[0029] read frame: 2001 -> 9201: ERROR 04
INFO[0030] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0030] transmitting frame: 200192010300000b003b03ecba
INFO[0030] read frame: 2001 -> 9201: ERROR 04
INFO[0030] read frame: 2001 -> 4001: READ 00030a
INFO[0030] read frame: 4001 -> 2001: RESPONSE 00030a010a0a02001f004b000010080414
INFO[0030] read frame: 2001 -> 4001: READ 000104
DEBU[0030] timeout waiting for response, retransmitting frame
DEBU[0030] transmitting frame: 200192010300000b003b03ecba
INFO[0030] read frame: 4001 -> 2001: RESPONSE 0001045641524941424c45205350454544204655524e4143452020000000000000000000000000000000000000000000000000434553523133313331322d303620202035384d56503038302d462d31383131340000002d343330344e3030313935302034353034413130333634000000000000000000000000002d
INFO[0030] read frame: 2001 -> 9201: ERROR 04
INFO[0030] read frame: 2001 -> 4001: READ 000306
INFO[0030] read frame: 4001 -> 2001: RESPONSE 000306010000000001e505aa00
DEBU[0030] blower RPM is: 0
INFO[0030] read frame: 2001 -> 4001: READ 000302
INFO[0030] read frame: 4001 -> 2001: RESPONSE 000302041100000414000004020000
INFO[0030] read frame: 2001 -> 4001: READ 000316
DEBU[0030] timeout waiting for response, retransmitting frame
DEBU[0030] transmitting frame: 200192010300000b003b03ecba
DEBU[0030] timeout waiting for response, retransmitting frame
DEBU[0030] transmitting frame: 200192010300000b003b03ecba
DEBU[0030] timeout waiting for response, retransmitting frame
DEBU[0030] transmitting frame: 200192010300000b003b03ecba
DEBU[0031] timeout waiting for response, retransmitting frame
DEBU[0031] transmitting frame: 200192010300000b003b03ecba
INFO[0031] action timed out
INFO[0031] read frame: 2001 -> 4001: READ 000316
INFO[0031] read frame: 4001 -> 2001: RESPONSE 0003160000000000000000005a01000352
DEBU[0031] air flow CFM is: 0
INFO[0031] read frame: 2001 -> 9201: ERROR 04
INFO[0031] read frame: 2001 -> 9201: ERROR 04
INFO[0031] read frame: 2001 -> 9201: ERROR 04
INFO[0031] read frame: 2001 -> 4001: READ 000402
INFO[0031] read frame: 4001 -> 2001: RESPONSE 0004025a7896b45a1d358ec4741d34978da41db4eaad511d324813a602d005aa

@madsensh
Copy link
Author

After looking at this a bit more, there seems to be a pattern in where I see the errors. For example, the log shows that it's receiving a blower RPM and air flow CFM consistently, but errors for any other request to the themostat. My current theory is that maybe it's a protocol error rather than noise on the data line. I do have a slightly older thermostat, SYSTXCCUID01 with software version CESR131339-06 (later versions are -08, -10, and -12).

I'll keep experimenting when I have time and will update with any new developments. Next step is to dig further into the REQUEST and RESPONSE codes and try to figure out what ERROR 04 is. I found the infinity protocol reference on the Infinitude wiki which may help.

@bvarner
Copy link

bvarner commented Jun 22, 2018

I, for one, would love to see a complete hex dump.

I’ve long hypothesized that the protocol endianes is different from the packet format endianess.

If you know about really old school serial handshaking, the addresses on the network and the first things transmitted during a power-on suggest I’m correct.

For example: device 2001 is really device 0120, then we know about 130 and 140, and the broadcast messages use an address that harkens back to old serial handshakes where you can establish the endianess of the packet from the first two bytes.

So I’m not convinced this is all as figured out as some would claim it is.

@madsensh
Copy link
Author

Quick update... I was reading through one of the old [threads] (http://cocoontech.com/forums/topic/11372-carrier-infinity/page-8) that goes into more detail on the process folks have followed to reverse engineer the RS-485 protocol. Based on that work, I believe my "ERROR 4" is a "no table" error, most likely due to my having an older single-zone thermostat, whereas infinitive may have been tested using newer software releases and/or multi-zone stats. Next step will be to log some traffic and map out my stat's table structure.

@Will1604
Copy link
Contributor

Will1604 commented Jun 23, 2018

Watching the thread with interest but haven't had time to dig into any debugging of your log. Your theory on the older thermostat may be on the right lines. If it helps here are the devices on my system. Same base thermostat model as you have, later software version and yes, it can handle multiple zones. Infinitive works fine with that thermostat - though the software is only coded (currently) to read/control Zone 1.

{
    "thermostat": {
        "description": "",
        "product": "SYSTXCCUID01-V",
        "softwareVersion": "CESR131502-23",
        "busId": "2001"
    },
    "airhandler": {
        "description": "VARIABLE SPEED FAN COIL",
        "product": "FE4ANF002T00ABAA",
        "softwareVersion": "CESR131329-14",
        "busId": "4201"
    },
    "heatpump": {
        "description": "EVEREST TWO CAPACITY ODU",
        "product": "25HNB624A0030030",
        "softwareVersion": "CESR131390-09",
        "busId": "5001"
    }
}

Device e01 in your log is interesting. Based on the device list on Infinitude I would guess its a NIM. Something like this? Not suggesting that's what's causing the problem but if you can confirm that's what e01 it would help solidify the guess in Nebulous' device list.

@ratatine
Copy link

It seems I'm in the same boat as madsensh. Anyone ever make progress on this issue from last year?

In my case my system is also from about 2005. It has three zones with a damper control module, a CESR131339-06 thermostat and two remote thermostats.

A log sample from mine is below. After letting infinitive run for a while it does pickup the blower speed but that's about it so far. No temp, API is blank or responded with 404s. I also see the e01 device from the looks of it.

INFO[0991] read frame: 2001 -> 6001: WRITE 00340400
INFO[0991] read frame: 6001 -> 2001: RESPONSE 00
INFO[0991] read frame: 2001 -> 6001: WRITE 00030806000f0000000000
INFO[0991] read frame: 6001 -> 2001: RESPONSE 00
INFO[0991] read frame: 2001 -> 6001: READ 003404
INFO[0991] read frame: 6001 -> 2001: RESPONSE 00340400
INFO[0991] read frame: 2001 -> 9201: ERROR 04
INFO[0991] read frame: 2001 -> 9201: ERROR 04
INFO[0991] read frame: 2001 -> 4001: READ 00030d
INFO[0991] read frame: 4001 -> 2001: RESPONSE 00030d00000000000000
INFO[0991] read frame: 4001 -> 4101: READ 00030a
INFO[0991] read frame: 2001 -> 9201: ERROR 04
INFO[0991] read frame: 4001 -> 4101: READ 00030a
INFO[0991] read frame: 4001 -> 4101: READ 00030a
INFO[0991] read frame: 4001 -> 4101: READ 00030a
INFO[0991] read frame: 4001 -> 4101: READ 00030a
DEBU[0991] timeout waiting for response, retransmitting frame
DEBU[0991] transmitting frame: 200192010300000b003b03ecba
INFO[0991] read frame: 4001 -> 4101: READ 00030a
DEBU[0991] timeout waiting for response, retransmitting frame
DEBU[0991] transmitting frame: 200192010300000b003b03ecba
INFO[0991] action timed out
INFO[0991] read frame: 2001 -> 9201: ERROR 04
INFO[0991] read frame: 2001 -> f1f1: WRITE 000420d00ac0000f0104e802012d3758003d4e00000000
INFO[0992] read frame: 2001 -> f1f1: WRITE 0002020c2a04
INFO[0992] read frame: 2001 -> f1f1: WRITE 000203100813
INFO[0992] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0992] transmitting frame: 200192010300000b003b03ecba
INFO[0992] read frame: 2001 -> 9201: ERROR 04
DEBU[0992] timeout waiting for response, retransmitting frame
DEBU[0992] transmitting frame: 200192010300000b003b03ecba
INFO[0992] read frame: 2001 -> 9201: ERROR 04
DEBU[0993] timeout waiting for response, retransmitting frame
DEBU[0993] transmitting frame: 200192010300000b003b03ecba
INFO[0993] read frame: 2001 -> 9201: ERROR 04
INFO[0993] read frame: 2001 -> e01: READ 003e07
INFO[0993] read frame: e01 -> 2001: RESPONSE 003e070000
DEBU[0993] timeout waiting for response, retransmitting frame
DEBU[0993] transmitting frame: 200192010300000b003b03ecba
INFO[0993] read frame: 2001 -> 9201: ERROR 04
INFO[0993] read frame: 2001 -> 4001: READ 00030a
INFO[0993] read frame: 4001 -> 2001: RESPONSE 00030a010c0c02001f005d000010100414
INFO[0993] read frame: 2001 -> 4001: READ 000104
INFO[0993] read frame: 4001 -> 2001: RESPONSE 0001045641524941424c45205350454544204655524e4143452020000000000000000000000000000000000000000000000000434553523133313331322d303620202035384d56503130302d462d31383132300000002d333430344e3030323132332033373034413131353130000000000000000000000000002d
INFO[0993] read frame: 2001 -> 4001: READ 000306
DEBU[0993] timeout waiting for response, retransmitting frame
DEBU[0993] transmitting frame: 200192010300000b003b03ecba
DEBU[0993] timeout waiting for response, retransmitting frame
DEBU[0993] transmitting frame: 200192010300000b003b03ecba
INFO[0993] action timed out
INFO[0994] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0994] transmitting frame: 200192010300000b003b03ecba
INFO[0994] read frame: 2001 -> 4001: READ 000306
INFO[0994] read frame: 4001 -> 2001: RESPONSE 0003060103ca057802a807da08
DEBU[0994] blower RPM is: 970
INFO[0994] read frame: 2001 -> 4001: READ 000302
INFO[0994] read frame: 4001 -> 2001: RESPONSE 000302041100000414000004020000
INFO[0994] read frame: 2001 -> 4001: READ 000316
INFO[0994] read frame: 4001 -> 2001: RESPONSE 00031600000200057800000078010002d0
DEBU[0994] air flow CFM is: 1400
INFO[0994] read frame: 2001 -> 9201: ERROR 04
INFO[0994] read frame: 2001 -> 4001: READ 000402
INFO[0994] read frame: 4001 -> 2001: RESPONSE 0004025a7896b4781d35fde6511db5c028d61d35503fe21db48bfa7503a205f0
INFO[0994] read frame: 2001 -> 4001: WRITE 00040300010100
INFO[0994] read frame: 4001 -> 2001: RESPONSE 00
INFO[0994] read frame: 2001 -> 4101: WRITE 00040300010100
INFO[0994] read frame: 2001 -> 4101: WRITE 00040300010100
INFO[0994] read frame: 2001 -> 4101: WRITE 00040300010100
INFO[0994] read frame: 2001 -> 9201: ERROR 04
INFO[0994] read frame: 2001 -> 4001: WRITE 000305000002000578000000000000
INFO[0994] read frame: 4001 -> 2001: RESPONSE 00
INFO[0994] read frame: 2001 -> 4001: WRITE 000307000000
INFO[0994] read frame: 4001 -> 2001: RESPONSE 00
DEBU[0994] timeout waiting for response, retransmitting frame
DEBU[0994] transmitting frame: 200192010300000b003b03ecba
INFO[0994] read frame: 2001 -> 9201: ERROR 04
DEBU[0995] timeout waiting for response, retransmitting frame
DEBU[0995] transmitting frame: 200192010300000b003b03ecba
INFO[0995] read frame: 2001 -> 9201: ERROR 04
INFO[0995] read frame: 2001 -> 6001: READ 00030d
INFO[0995] read frame: 6001 -> 2001: RESPONSE 00030d00000000000000
DEBU[0995] timeout waiting for response, retransmitting frame
DEBU[0995] transmitting frame: 200192010300000b003b03ecba
INFO[0995] read frame: 2001 -> 9201: ERROR 04
DEBU[0995] timeout waiting for response, retransmitting frame
DEBU[0995] transmitting frame: 200192010300000b003b03ecba
INFO[0995] read frame: 2001 -> 9201: ERROR 04
DEBU[0995] timeout waiting for response, retransmitting frame
DEBU[0995] transmitting frame: 200192010300000b003b03ecba
INFO[0995] action timed out
INFO[0995] read frame: e01 -> 2001: RESPONSE 003e0104e8054803ff03ff000001013c
INFO[0995] read frame: 2001 -> e01: READ 003e08
INFO[0995] read frame: e01 -> 2001: RESPONSE 003e0833385444423034383330312020202020
INFO[0995] read frame: 2001 -> e01: READ 003e0a
INFO[0995] read frame: e01 -> 2001: RESPONSE 003e0a301518
INFO[0995] read frame: 2001 -> e01: READ 003e09
INFO[0995] read frame: e01 -> 2001: RESPONSE 003e09343230344534333538342d2d2d2d2d2d
INFO[0996] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0996] transmitting frame: 200192010300000b003b03ecba
INFO[0996] read frame: 2001 -> 9201: ERROR 04
DEBU[0996] timeout waiting for response, retransmitting frame
DEBU[0996] transmitting frame: 200192010300000b003b03ecba
DEBU[0997] timeout waiting for response, retransmitting frame
DEBU[0997] transmitting frame: 200192010300000b003b03ecba
DEBU[0997] timeout waiting for response, retransmitting frame
DEBU[0997] transmitting frame: 200192010300000b003b03ecba
DEBU[0997] timeout waiting for response, retransmitting frame
DEBU[0997] transmitting frame: 200192010300000b003b03ecba
DEBU[0997] timeout waiting for response, retransmitting frame
DEBU[0997] transmitting frame: 200192010300000b003b03ecba
INFO[0997] action timed out
INFO[0998] read frame: e01 -> 2001: RESPONSE 003e0204
INFO[0998] read frame: 2001 -> e01: WRITE 003e0204
INFO[0998] read frame: e01 -> 2001: RESPONSE 003e0204
INFO[0998] read frame: 2001 -> e01: READ 003e02
INFO[0998] read frame: e01 -> 2001: RESPONSE 003e0204
INFO[0998] read frame: 2001 -> e01: WRITE 003e0302
INFO[0998] read frame: e01 -> 2001: RESPONSE 003e0302
INFO[0998] read frame: 2001 -> e01: READ 003e04
INFO[0998] read frame: e01 -> 2001: RESPONSE 003e0400
INFO[0998] read frame: 2001 -> 9201: ERROR 04
INFO[0998] read frame: 2001 -> 9201: ERROR 04
INFO[0998] read frame: 2001 -> 9201: ERROR 04
INFO[0998] read frame: 2001 -> 9201: ERROR 04
INFO[0998] read frame: 2001 -> 6001: READ 000319
INFO[0998] read frame: 6001 -> 2001: RESPONSE 00031906000f00ffffffff
INFO[0998] read frame: 2001 -> 6001: READ 000302
INFO[0998] read frame: 6001 -> 2001: RESPONSE 000302040100000102042e010304980404000004140000041c0000
INFO[0998] read frame: 2001 -> 6001: READ 003405
INFO[0998] read frame: 6001 -> 2001: RESPONSE 003405000000
INFO[0998] read frame: 2001 -> 6001: READ 000104
INFO[0998] read frame: 6001 -> 2001: RESPONSE 000104455843414c494255522034205a4f4e452020202020202020000000000000000000000000000000000000000000000000434553523133313333312d303120200053595354584343345a4330310000000000000000323430344e30343536363800323430344e30343536363800000000000000000000000000
INFO[0998] read frame: 2001 -> 6001: WRITE 00340400
INFO[0998] read frame: 6001 -> 2001: RESPONSE 00
INFO[0998] read frame: 2001 -> 6001: WRITE 00030806000f0000000000
INFO[0998] read frame: 6001 -> 2001: RESPONSE 00
INFO[0998] read frame: 2001 -> 6001: READ 003404
INFO[0998] read frame: 6001 -> 2001: RESPONSE 00340400
INFO[0998] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0998] transmitting frame: 200192010300000b003b03ecba
INFO[0998] read frame: 2001 -> 9201: ERROR 04
DEBU[0998] timeout waiting for response, retransmitting frame
DEBU[0998] transmitting frame: 200192010300000b003b03ecba
INFO[0998] read frame: 2001 -> 9201: ERROR 04
DEBU[0999] timeout waiting for response, retransmitting frame
DEBU[0999] transmitting frame: 200192010300000b003b03ecba
INFO[0999] read frame: 2001 -> 9201: ERROR 04
INFO[0999] read frame: 2001 -> 4001: READ 00030d
INFO[0999] read frame: 2001 -> 4001: READ 00030d
INFO[0999] read frame: 4001 -> 2001: RESPONSE 00030d00000000000000
DEBU[0999] timeout waiting for response, retransmitting frame
DEBU[0999] transmitting frame: 200192010300000b003b03ecba
INFO[0999] read frame: 2001 -> 9201: ERROR 04
INFO[0999] read frame: 2001 -> f1f1: WRITE 000420d00ac0000f0104e802012d3758003d4e00000000
DEBU[0999] timeout waiting for response, retransmitting frame
DEBU[0999] transmitting frame: 200192010300000b003b03ecba
INFO[0999] read frame: 2001 -> 9201: ERROR 04
DEBU[0999] timeout waiting for response, retransmitting frame
DEBU[0999] transmitting frame: 200192010300000b003b03ecba
INFO[0999] action timed out
INFO[0999] read frame: 2001 -> 9201: ERROR 04
INFO[1000] encoded frame: 9201 -> 2001: READ 003b03
DEBU[1000] transmitting frame: 200192010300000b003b03ecba
INFO[1000] read frame: 2001 -> 9201: ERROR 04
INFO[1000] read frame: 2001 -> 4001: READ 00030a
INFO[1000] read frame: 4001 -> 2001: RESPONSE 00030a010c0c02001f005d000010100414
DEBU[1000] timeout waiting for response, retransmitting frame
DEBU[1000] transmitting frame: 200192010300000b003b03ecba
INFO[1001] read frame: 2001 -> 4001: READ 000104
INFO[1001] read frame: 4001 -> 2001: RESPONSE 0001045641524941424c45205350454544204655524e4143452020000000000000000000000000000000000000000000000000434553523133313331322d303620202035384d56503130302d462d31383132300000002d333430344e3030323132332033373034413131353130000000000000000000000000002d
INFO[1001] read frame: 2001 -> 9201: ERROR 04
INFO[1001] read frame: 2001 -> 4001: READ 000306
INFO[1001] read frame: 4001 -> 2001: RESPONSE 0003060103c8057802a807da08
DEBU[1001] blower RPM is: 968
DEBU[1001] timeout waiting for response, retransmitting frame
DEBU[1001] transmitting frame: 200192010300000b003b03ecba
INFO[1001] read frame: 2001 -> 4001: READ 000302
INFO[1001] read frame: 4001 -> 2001: RESPONSE 000302041100000414000004020000
INFO[1001] read frame: 2001 -> 4001: READ 000316
INFO[1001] read frame: 4001 -> 2001: RESPONSE 00031600000200057800000078010002d0
DEBU[1001] air flow CFM is: 1400
INFO[1001] read frame: 2001 -> e01: READ 003e07
INFO[1001] read frame: e01 -> 2001: RESPONSE 003e070000
DEBU[1001] timeout waiting for response, retransmitting frame
DEBU[1001] transmitting frame: 200192010300000b003b03ecba
INFO[1001] read frame: 2001 -> 9201: ERROR 04
DEBU[1001] timeout waiting for response, retransmitting frame
DEBU[1001] transmitting frame: 200192010300000b003b03ecba
INFO[1001] read frame: 2001 -> 9201: ERROR 04
DEBU[1001] timeout waiting for response, retransmitting frame
DEBU[1001] transmitting frame: 200192010300000b003b03ecba
INFO[1001] action timed out
INFO[1001] read frame: 2001 -> 9201: ERROR 04
INFO[1002] read frame: 2001 -> 4001: READ 000402
INFO[1002] read frame: 2001 -> 4001: READ 000402
INFO[1002] read frame: 2001 -> 4001: READ 000402
INFO[1002] read frame: 2001 -> 4001: READ 000402
INFO[1002] read frame: 2001 -> 4001: READ 000402
INFO[1002] read frame: 2001 -> 4001: WRITE 00040300010100
INFO[1002] read frame: 2001 -> 4001: WRITE 00040300010100
INFO[1002] read frame: 2001 -> 4001: WRITE 00040300010100
INFO[1002] read frame: 2001 -> 4001: WRITE 00040300010100
INFO[1002] read frame: 2001 -> 4001: WRITE 00040300010100
INFO[1002] read frame: 4001 -> 2001: RESPONSE 0004025a7896b4781d35fde6511db5c028d61d35503fe21db48bfa7503a205f0
INFO[1002] read frame: 4001 -> 2001: RESPONSE 00
INFO[1002] read frame: 4001 -> 4101: READ 00030a
INFO[1002] read frame: 2001 -> 4101: WRITE 00040300010100
INFO[1002] read frame: 4001 -> 4101: READ 00030a
INFO[1002] read frame: 2001 -> 4001: WRITE 000305000002000578000000000000
INFO[1002] read frame: 4001 -> 4101: READ 00030a
INFO[1002] read frame: 2001 -> 4001: WRITE 000305000002000578000000000000
INFO[1002] read frame: 4001 -> 4101: READ 00030a
INFO[1002] encoded frame: 9201 -> 2001: READ 003b03
DEBU[1002] transmitting frame: 200192010300000b003b03ecba
INFO[1002] read frame: 2001 -> 4001: WRITE 000305000002000578000000000000
INFO[1002] read frame: 2001 -> 4001: WRITE 000305000002000578000000000000
INFO[1002] read frame: 2001 -> 4001: WRITE 000305000002000578000000000000
INFO[1002] read frame: 4001 -> 2001: RESPONSE 00
INFO[1002] read frame: 2001 -> 9201: ERROR 04
INFO[1002] read frame: 2001 -> 4001: WRITE 000307000000
INFO[1002] read frame: 4001 -> 2001: RESPONSE 00
DEBU[1002] timeout waiting for response, retransmitting frame
DEBU[1002] transmitting frame: 200192010300000b003b03ecba
INFO[1003] read frame: 2001 -> 9201: ERROR 04
DEBU[1003] timeout waiting for response, retransmitting frame
DEBU[1003] transmitting frame: 200192010300000b003b03ecba
INFO[1003] read frame: 2001 -> 9201: ERROR 04
INFO[1003] read frame: 2001 -> e01: READ 003e01
INFO[1003] read frame: e01 -> 2001: RESPONSE 003e0104e8054803ff03ff000001013c
INFO[1003] read frame: 2001 -> 6001: READ 00030d
INFO[1003] read frame: 6001 -> 2001: RESPONSE 00030d00000000000000
DEBU[1003] timeout waiting for response, retransmitting frame
DEBU[1003] transmitting frame: 200192010300000b003b03ecba
DEBU[1003] timeout waiting for response, retransmitting frame
DEBU[1003] transmitting frame: 200192010300000b003b03ecba
DEBU[1003] timeout waiting for response, retransmitting frame
DEBU[1003] transmitting frame: 200192010300000b003b03ecba
INFO[1003] action timed out
INFO[1004] read frame: e01 -> 2001: RESPONSE 003e0833385444423034383330312020202020
INFO[1004] read frame: 2001 -> e01: READ 003e08
INFO[1004] read frame: e01 -> 2001: RESPONSE 003e0833385444423034383330312020202020
INFO[1004] read frame: 2001 -> e01: READ 003e0a
INFO[1004] read frame: e01 -> 2001: RESPONSE 003e0a301518
INFO[1004] read frame: 2001 -> e01: READ 003e09
INFO[1004] read frame: e01 -> 2001: RESPONSE 003e09343230344534333538342d2d2d2d2d2d
INFO[1004] read frame: 2001 -> 9201: ERROR 04
INFO[1004] read frame: 2001 -> 9201: ERROR 04
INFO[1004] read frame: 2001 -> e01: WRITE 003e0204
INFO[1004] read frame: e01 -> 2001: RESPONSE 003e0204
INFO[1004] read frame: 2001 -> e01: READ 003e02
INFO[1004] read frame: e01 -> 2001: RESPONSE 003e0204
INFO[1004] read frame: 2001 -> e01: WRITE 003e0302
INFO[1004] read frame: e01 -> 2001: RESPONSE 003e0302
INFO[1004] read frame: 2001 -> e01: READ 003e04
INFO[1004] read frame: e01 -> 2001: RESPONSE 003e0400
INFO[1004] encoded frame: 9201 -> 2001: READ 003b03
DEBU[1004] transmitting frame: 200192010300000b003b03ecba
INFO[1004] read frame: 2001 -> 9201: ERROR 04
DEBU[1004] timeout waiting for response, retransmitting frame
DEBU[1004] transmitting frame: 200192010300000b003b03ecba
INFO[1004] read frame: 2001 -> 9201: ERROR 04
DEBU[1005] timeout waiting for response, retransmitting frame
DEBU[1005] transmitting frame: 200192010300000b003b03ecba
INFO[1005] read frame: 2001 -> 9201: ERROR 04
DEBU[1005] timeout waiting for response, retransmitting frame
DEBU[1005] transmitting frame: 200192010300000b003b03ecba
INFO[1005] read frame: 2001 -> 9201: ERROR 04
DEBU[1005] timeout waiting for response, retransmitting frame
DEBU[1005] transmitting frame: 200192010300000b003b03ecba
INFO[1005] read frame: 2001 -> 9201: ERROR 04
INFO[1005] read frame: 2001 -> 6001: READ 000319
INFO[1005] read frame: 6001 -> 2001: RESPONSE 00031906000f00ffffffff
INFO[1005] read frame: 2001 -> 6001: READ 000302
INFO[1005] read frame: 6001 -> 2001: RESPONSE 000302040100000102042e010304980404000004140000041c0000
INFO[1005] read frame: 2001 -> 6001: READ 003405
INFO[1005] read frame: 6001 -> 2001: RESPONSE 003405000000
DEBU[1005] timeout waiting for response, retransmitting frame
DEBU[1005] transmitting frame: 200192010300000b003b03ecba
INFO[1005] action timed out
INFO[1005] read frame: 2001 -> 6001: READ 000104
INFO[1005] read frame: 6001 -> 2001: RESPONSE 000104455843414c494255522034205a4f4e452020202020202020000000000000000000000000000000000000000000000000434553523133313333312d303120200053595354584343345a4330310000000000000000323430344e30343536363800323430344e30343536363800000000000000000000000000
INFO[1005] read frame: 2001 -> 9201: ERROR 04
INFO[1005] read frame: 2001 -> 6001: WRITE 00340400
INFO[1005] read frame: 6001 -> 2001: RESPONSE 00
INFO[1005] read frame: 2001 -> 6001: WRITE 00030806000f0000000000
INFO[1006] read frame: 6001 -> 2001: RESPONSE 00
INFO[1006] read frame: 2001 -> 6001: READ 003404
INFO[1006] read frame: 6001 -> 2001: RESPONSE 00340400
INFO[1006] encoded frame: 9201 -> 2001: READ 003b03
DEBU[1006] transmitting frame: 200192010300000b003b03ecba
INFO[1006] read frame: 2001 -> 9201: ERROR 04
INFO[1006] read frame: 2001 -> f1f1: WRITE 000420d00ac0000f0104e802012d3758003d4e00000000
DEBU[1006] timeout waiting for response, retransmitting frame
DEBU[1006] transmitting frame: 200192010300000b003b03ecba
INFO[1007] read frame: 2001 -> 9201: ERROR 04
DEBU[1007] timeout waiting for response, retransmitting frame
DEBU[1007] transmitting frame: 200192010300000b003b03ecba
INFO[1007] read frame: 2001 -> 9201: ERROR 04
INFO[1007] read frame: 2001 -> 4001: READ 00030d
INFO[1007] read frame: 4001 -> 2001: RESPONSE 00030d00000000000000
DEBU[1007] timeout waiting for response, retransmitting frame
DEBU[1007] transmitting frame: 200192010300000b003b03ecba
INFO[1007] read frame: 2001 -> 9201: ERROR 04
DEBU[1007] timeout waiting for response, retransmitting frame
DEBU[1007] transmitting frame: 200192010300000b003b03ecba
INFO[1007] read frame: 2001 -> 9201: ERROR 04
DEBU[1007] timeout waiting for response, retransmitting frame
DEBU[1007] transmitting frame: 200192010300000b003b03ecba
INFO[1007] action timed out
INFO[1007] read frame: 2001 -> 9201: ERROR 04
INFO[1008] read frame: 2001 -> 4001: READ 00030a
INFO[1008] read frame: 4001 -> 2001: RESPONSE 00030a010c0c02001f005d000010100414
INFO[1008] read frame: 2001 -> 4001: READ 000104
INFO[1008] read frame: 4001 -> 2001: RESPONSE 0001045641524941424c45205350454544204655524e4143452020000000000000000000000000000000000000000000000000434553523133313331322d303620202035384d56503130302d462d31383132300000002d333430344e3030323132332033373034413131353130000000000000000000000000002d
INFO[1008] read frame: 2001 -> 4001: READ 000306

@ratatine
Copy link

Looks like it's been a few years since any commits. If anyone comes on any advice to debug the difference here please do let me know. I'd be happy to do a little research but sadly it seems I might not be able to make use of it. Thanks.

@mangusman07
Copy link

Any updates / successes in the past few months?

I'm away from home for the weekend, but I just got infinitive running and see a very similar set of errors and can only read fan speed and CFM. Software is not my best strength, but I have a strong desire to get this running. I also have an older thermostat with one zone defined.

I currently have it wired with some simple 20 awg stranded wire, and have seen claims that people have trouble getting Infinitive/Infinitude running without solid core wire. For low current systems, wire gauge and stranding should have minimal effect on signal strength so I believe this is a software problem.

@ratatine
Copy link

No progress on my side. It is very version specific from whst I've concluded so if I changed out my thermostat with the right version it would work. Alas that's not happening.

@minideezel
Copy link

minideezel commented Feb 3, 2020

I am also having the same issues described in this thread with my single zone 2005 unit. It's a bummer because I was really excited to have a functioning connected thermostat for the cost of a RS485 usb adapter and raspberry pi! I'm ok at debugging things so I might try to look into it once I have time, but unlikely. Would be great if someone with knowledge in this program could provide some guidance.

@hornsbydm
Copy link

hornsbydm commented Jan 2, 2022

I know this thread is a bit dated. I have a Bryant Evolution System with the CESR13339-16 thermostat similar to @madsensh. I can read data off the bus just fine however the thermostat will not respond to any requests from 9201.

I believe this to be because infinitive fails to fully impersonate a SAM. Upon startup the thermostat polls all device types including 9201. For the SAM it is requesting to read registers 0x003f02, and 0x00040e. I think because it does not get a response to this polling it will drop any READS 9201 -> 2001.

Does anyone that has a dump from a real SAM know what's in these registers or at least what this handshake should look like?
RS485_infinitive.log

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

No branches or pull requests

7 participants