Git Product home page Git Product logo

arkteos_reg3's Introduction

arkteos_reg3

"Arkteos REG3 heat pump" to MQTT

Arkteos (formely AJTech) is a French heat pump manufacturer. Recent devices uses a connected "REG3" controller which can be remotely and locally managed through its apps. AlpPAC also sells REG3 heat pumps. With the help of a lot of sniffing, I was able to decode some important values and wrote a little python script to extract these values and push them to a MQTT server.

Protocol overview

The protocol has a "serial-over-IP" style : the application simply connects to the controller and the receives (almost) all the data at regular intervals (seconds). I identified 2 differents frames, with a size of 163 and 227 bytes.

Excel sheet

I use the excel sheet to list known values, and the respective offset of the frame where they will be found. The formula "(byte1 * weight1 + byte2 * weight2) / divider" is applied to calculate the value. The spreadsheet also generates the python dict used for the script, as well as the OpenHAB thing and items values.

Caveats

Only a single (remote or local) connection can be simultaneously established, and there is no proper way to disconnect gracefully. Therefore :

  • the script will loop until a connection can be established
  • it will prevent any other connection before the controller timeouts (1 or 2 minutes actually)

Remote connection, through the Arkteos cloud service, has not been implemented. Network captures shows that it acts essentially as a proxy, adding some extra header to the raw data.

Produced energy history and counter are not implemented, work in progress. They need a special frame to be sent by the app.

Values are named in French, and copied from the official app. I don't think it was sold in other countries.

arkteos_reg3's People

Contributors

cyrilpawelko avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arkteos_reg3's Issues

No data received after connection

Hello,

I tried the script but after connecting, no data received :
python pac.py
Connection to 192.168.100.185:9641 successfull.

^CReceived 0 octets
Traceback (most recent call last):
File "pac.py", line 65, in
data_lenght = len(data)
NameError: name 'data' is not defined

Any idea ?

thanks

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.