merbanan / EXOlink

EXOline tcp data parser
2 stars 4 forks source link

Documentation #1

Open aleho70 opened 5 years ago

aleho70 commented 5 years ago

Hello, did you found way how 0x1B in reply should correctly modify XOR checksum? Do you have any other EXOlink protocol description? I found only your code and https://www.swegon.com/globalassets/_product-documents/air-handling-units/gold-version-f/communication/_en/gold_e_exoline.pdf where is description of commands in relation to response value and error codes. Rest information I got only via Wireshark sniffing communication.

jonaz commented 3 years ago

@merbanan did a new loop over 606060. attached here. all_data.log

if the line contains word decode it was either float or int != 0.

code used to generate it is here: https://github.com/stampzilla/stampzilla-go/blob/master/nodes/stampzilla-exoline/lab/main.go

jonaz commented 2 years ago

FYI i got some exoline variable lists from regin on my rec FTX and did some updates to the code here: https://github.com/stampzilla/stampzilla-go/pull/319/files

merbanan commented 2 years ago

We should re-implement things into a proper lib. I need to implement setting parameters. So I can change the fan speed during the night.

jonaz commented 2 years ago

Yeah i did put it into it's own package so it's already a lib. https://github.com/stampzilla/stampzilla-go/blob/master/nodes/stampzilla-exoline/exoline/exoline.go

Could also put it in another repo if desirable.

jonaz commented 2 years ago

I've managed to write stuff now. Will add it to the lib i created soon.

From Vpac1.dpl file from my FTX supplier (ln 4) 42:X Fan_Mode = 1 ;0=Off,1=Auto,2=Min. flow,3=Boost flow,4=Max. flow,5=Stove,6=Kitchen,7=ECO,8=Fire

This works setting it to 01 (auto) 3c ff 1e c8 05 b0 04 00 2a 01 b3 3e and 02 (min) 3c ff 1e c8 05 b0 04 00 2a 02 b0 3e

I have no reall proof why it needs to be c8 05 and not c8 04 as when reading. But it seems to work. Will try on more index segments to make sure its working before making PR with it.

jonaz commented 2 years ago

Added support for SRP and SXP https://github.com/stampzilla/stampzilla-go/pull/386/commits/c9e0b9c4ca92f6cfa7bad78c0d1d5afe79d5e4e4#diff-d46b936250d2983143844f1a8a6b87608f0f971ace4cc973de53172d6a9641eaR79