bouni / max-cube-protocol Goto Github PK
View Code? Open in Web Editor NEWA attempt to write down the protocol of the eQ3 / ELV MAX! Cube
License: MIT License
A attempt to write down the protocol of the eQ3 / ELV MAX! Cube
License: MIT License
When I read the L message of my wallthermostat, the value for the temp is always 0. I decoded the results of my cube and they were different from the described values here. Attached you can find my results.
I figured out, that I need to use other bytes of the message when reading from the wallthermostat.
It is bytes 8 and index 12 for normal thermostats and 20 and 24 for wallthermostat (starting with 0).
Maybe someone can verify? My Cube is using firmware 1.1.3.
So for me, I used this code: (Testing for >128 because I only want the upper bit)
if (deviceType == EQ3MAX_DEV_TYPE_WALLTHERMOSTAT) { deviceStatus.temp = (payload[8]>=128 ? 25.5 : 0) + payload[12] / 10; } else { deviceStatus.temp = (payload[20]>=128 ? 25.5 : 0) + payload[24] / 10; }
decoded_254.txt
decoded_275.txt
decoded_280.txt
decoded_340.txt
Hi there,
Thanks a lot that hard work here, impressive reverse engineering.
I was wondering if there is a way to capture actual temperature readings from one of the devices (Room therm. or Wall therm.)? That can be great input for our own systems/projects. And then we can be sure that the temp value is reached to the expected degree at a room.
Thank you very much for any possible feedback in advance.
Hobbyist
While testing against my cube I noticed that parsing the month of a date seems of. My cube responded to a holiday setting with this datetime payload response (as ints)
[29, 145, 3]
which was equivalent to 2017-Jan-29 1:30
This means, that the explanation is wrong by one bit for the month.
It might be just my cube and its age/firmware, but I figured it's worth asking.
it is possible to disable the duty circle.
This is annoying especially during testing.
thanks in advance chris
I use your component through Home Assistant (the Homegear component is based on your code).
As you can see from this discussion, with it the MAX Cube gets reset and loses all configuration
https://community.openhab.org/t/max-cube-looses-all-settings-with-openhab/8537/50
It seems that a solution is to reduce polling to 5 minutes and not less.
IS it possible to have this with your code?
Thanks
My eQ-3 Max!|Cube works fine
but if I try to connect with my Home Assistant v. 0.80.3 with Hassio it give me the following error:
ERROR (MainThread) [homeassistant.setup] Setup failed for maxcube: Component failed to initialize.
I put in configuration.yaml
maxcube:
gateways:
- host: 192.168.1.222
port: 62910
What's wrong?
Hello,
I am using a Wemos D1 board to connect to the cube and try to read the messages sent. I cannot seem to request only the L message, so I tried to read the entire message sent by the cube on connect, because the L message is sent by default. But what I get doesn't look the same as described here. Please have a look below:
H:LEQ0128320,0ed2a3,0113,00000000,2987aef7,00,32,110b0c,0d2d,03,0000
M:00,01,VgIDAQdMaXZpbmcxEs+qAgdMaXZpbmcyEtGvAwdMaXZpbmczEsnZAwISz6pNRVExMjkwODAwFVJhZGlhdG9yIFRoZXJtb3N0YXQgMQECEsnZTUVRMTI5MjI4MxVSYWRpYXRvciBUaGVybW9zdGF0IDEDAhLRr01FUTEyOTAyODcVUmFkaWF0b3IgVGhlcm1vc3RhdCAxAgE=
C:0ed2a3,7Q7SowATAQBMRVEwMTI4MzIwAQsABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsABEAAAAAAAAAAQQAAAAAAAAAAAAAAAAAAAAAAAAAAAGh0dHA6Ly9tYXguZXEtMy5kZTo4MC9jdWJlADAvbG9va3VwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEVFVAAACgADAAAcIEVFU1QAAwACAAAqMA==
C:12c9d9,0hLJ2QIDEP9NRVExMjkyMjgzKyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgWSBZIFkgWSBZIFkgWSBFIEUgRSBFIEUgRSBZIFkgWSBZIFkgWSBZIEUgRSBFIEUgRSBFIFkgWSBZIFkgWSBZIFkgRSBFIEUgRSBFIEUgWSBZIFkgWSBZIFkgWSBFIEUgRSBFIEUgRSBZIFkgWSBZIFkgWSBZIEUgRSBFIEUgRSBFIA==
C:12cfaa,0hLPqgIBEABNRVExMjkwODAwKyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIERgVRRFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIA==
C:01bbcf,EQG7zwUAEg9KRVEwMzA4NDEy
C:12d1af,0hLRrwICEABNRVExMjkwMjg3KyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIERgVRRFIEUgRSBFIEUgRSBFIEUgRSBFIEUgRGBVFEUgRSBFIEUgRSBFIEUgRSBFIEUgRSBEYFUURSBFIEUgRSBFIEUgRSBFIEUgRSBFIA==
L:CxLJ2QkAAAAAAAAACxLPqgkAAAAAAAAABgG7zwkAAAsS0a8JAAAAAAAAAA==
This exact same L message is being sent each time I connect to the Cube.
Do you know what might be the issue?
Thank you in advance.
Kind regards,
Szilard Dezso
Hi!
I am writing a small application that implements some of the messages in order to read the configuration of the cube and devices and to set some of them. I am most interested in setting the weekly program.
While testing it I noticed that your description for the two fields, temperature and time of day, is not accurate.
"Unlike 'temperature & mode' it seams the value must be divided by 4 to get the actual temperature"
Actually the 7 MSB from the temperature field represents temperature in Celsius * 2 while the least significant bit together with the Time of day field multiplied by 5 describe the time of the day in minutes.
It is also explicable because 24h is codded with 288 > 256. A byte is not enough to reach the highest value, 9 bits are actually used.
Regards,
Costin
Hey all,
How does one set the trv to "eco" mode? Im a little confused at the docs
thanks
Hey,
more of a question than anything else. When querying the valves we get a temperature reading too, but from my experience this value can be very out, from 0.0 to sometimes 5c more or less than the real value..
Why is this?? I know the max app only reports temperature if a room thermostat is used, but is this because the inbuild valve one isnt worth using??
Also I have a theory that the MaxCube only gets the temp updates every so often, maybe when there' is valve movement? is this correct?
thanks :-)
Angelo
Hello,
is it possible to add battery status of thermostats and windows contacts?
Does anyone know a command to lock / unlock the thermostat? I dont want to press the two bottons at the thermostat.
Thanks.
Hi all,
Ive been running homeassistant and some python code (piheating) and its been working fab, BUT Ive noticed recently that since running the code I regularly see the cube die and loose all its config.
Doing some R&D i think its because we're polling the CUBE too much and wondered if this is just hearsay or theres some evidence around this..
Anyone else seen it?
I'd like to read the current room temperature from an external sensor (not from the MAX!Wall-Thermostat)
and feed it to the heating thermostat. Does the max-cube-protocol provide a way to do that?
Thanks in advance for your help!
Could you explain me the meaning of "link partner"?
is it known the S command to build the structure? i mean, is it known how to create rooms and add devices to rooms?
or is it the m: command? is the m: command composed as the M: answer from the Cube?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.