Giter Site home page Giter Site logo

max-cube-protocol's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

max-cube-protocol's Issues

Wallthermostat temp always 0

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

How about reading actual temperature values at the rooms!?

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

S Message: Date Until month parsing wrong?

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.

disable the duty circle.

it is possible to disable the duty circle.
This is annoying especially during testing.
thanks in advance chris

Setup failed for maxcube: Component failed to initialize.

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?

L message doesn't look the same as described here

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,7Q7SowATAQBMRVEwMTI4MzIwAQsABEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsABEAAAAAAAAAAQQAAAAAAAAAAAAAAAAAAAAAAAAAAAGh0dHA6Ly9tYXguZXEtMy5kZTo4MC9jdWJlADAvbG9va3VwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAABgG7zwkAAAsS0a8JAAAAAAAAAA==

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

s command temperature and time of day

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

Question ; Why does the temperature produced by the valves vary so much

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

Lock / Unlock the thermostat

Does anyone know a command to lock / unlock the thermostat? I dont want to press the two bottons at the thermostat.

Thanks.

Cube loosing its config

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?

Possibility to set the room temperature programmatically

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!

Link Partner

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.