Elco Remocon Heating Integration

no I’m sorry

last resort you send me private mesage with your login, password and gatewayid for debuging from my side.

At the end the @Fsangalli79 system is an Heat Pump with totally different queries and responses.
At the moment it’s not in plan to support Heat pump system or at least this implementation.

The AppDaemon can now be found on the official Home Assistant Community Store!

I’ve set up a dedicated thread to assist upcoming users.

1 Like

Greetings!

here an elco heatpump is installed and the ELCO RemonconNET app is used to control the HP.
As I’m missing essential infos showing in the app I want to acces all available data by myself and collect it in a file.
So far I got all showed in the RemonconNET elco app.

However I’m miising essential infos like
‘is heatingFlowPump on’
'temparature of heatingFlow ’
etc.etc.

I know that the elco service men have unrestricted access to all data my HP is sending to the Remoncon server in italy.

Is there a possibility to gain access to all data my equipment is sending?

Thanks for reading.

if you add a debug log off the full json data’s of the appdaemon receive, It’s possible to add theres entiies.

at line 18 on my code add

self.log(data)

If the informations came from another API/route, I need to get access to the gateway to sniff the Remoncon trafic.

Hi nechry, so my hybrid elco heating solution is done. I received and installed the Remocon Net Mini today and set it up in the app.

What I need to be able to do now is set the electricity cost per kWh in the Hybrid Energy Manager like I can do at the console on the wall. The app doesn’t show such a possibility. Do you think I can achieve this via some unofficial API route?

hello @Braintelligence,

you can first try to understand the call to the api via the inspect network view from your web browser. otherwise via Burp Suite Community Edition you can easily intercept and replay the traffic

Hi @nechry ,
thanks for your reply.
I assume with ‘my code’ refers to ‘nechry/elco-remocon-net-appdaemon’ at GitHub?

Currently I’m using curl with php.
I’ll install your app asap.

Wolf

Hey @WolfG yes it is.
But you can also check out my previous integration for inspiration

in python

Alternatively, by sniffing the remocon web UI via the Inspect & Network tab or using Burp Suite to easily replay queries.

How do I intercept traffic for a setting that isn’t exposed by the app GUI, though? Or is it possible to fetch all API capabilities this way?

difficult to answer, I’m a little blind here as to what you have access to or not. The information must pass to intercept otherwise a documented and public API is required and it is an undocumented private API.

other than going to all the GUI menus to find this information I can’t say

The setting that I need is definitely nonexistent in the Remocon GUI. It only exists within the Elco wall console in the extra settings; it’s called “Hybrid Energy Manager”.

I remember an advanced menu in ui with some systems setting and measures. double check

Hi everyone .
I have an elco boiler and would like to view data on HA using appdaemon. I’m not very expert and I would like to understand better how to proceed.
I installed appdaemon.
I have enabled detection in hacs dell appdaemon.
I created two long-lived access tokens.
I tracked down the gateway_id of elco.

in /config/appdaemon/appdaemon.yaml

---
secrets: /config/secrets.yaml
appdaemon:
  latitude: 52.379189
  longitude: 4.899431
  elevation: 2
  time_zone: Europe/Amsterdam
  plugins:
    HASS:
      type: hass
      ha_url: http://xxxxxx:8153
      token: xxxxxxiOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIwYThjYzMzM2QyNjY0ZTVhYTQwNjE5ZDQ5NjNhYWMzZSIsImlhdCI6MTY5ODU5MzI3OSwiZXhwIjoyMDEzOTUzMjc5fQ.YhFyrybV9I1BRz9_s-bKCmBcKTyiJkVViqdja8zk_4M

/config/appdaemon/apps/apps.yaml

---
hello_world:
  module: hello
  class: HelloWorld
remocon:
  module: elco-remocon-net-appdaemon
  class: Remocon
  plugin: HASS
  base_url: https://www.remocon-net.remotethermo.com
  username: [email protected]
  password: xxxxxx
  gateway_id: xxxxxE1DAE38
  bearer_token: xxxxxxxxiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIwNGJjMGRiN2Q0ZDQ0YjBiYTFjNWJkM2FiNWU3OGU3NiIsImlhdCI6MTY5ODU5NDAzNCwiZXhwIjoyMDEzOTU0MDM0fQ.Tmay7Jh7pImVTc-jvvZgwt6qQu28ERPU17YvSyPc-3E

Need I say anything else?

Thank you

everything seems correctly configured,
Is the AppDaemon started?
In the AppDaemon UI logs view, do you get any error messages?
And even looking first, if you go to the Developer tools, states and do an entity filter on elco, do you get any entities? if yes, everything works as expected

Thanks for replying to me.
I don’t see any entities under elco development tools.
Appdeamon is started.
I see
elloWorld idle 0 0 {“module”: “hello”, “class”: “HelloWorld”}
Remocon idle 1 3 {“module”: “elco-remocon-net-appdaemon”, “class”: “Remocon”
}
main log

2023-10-29 21:48:10.026047 INFO AppDaemon: Client disconnection from Admin Client

ok, if you restart the AppDaemon, can you share the startup log (wait around 2min).

2023-10-30 18:24:06.292614 INFO HASS: Connected to Home Assistant 2023.10.5
2023-10-30 18:24:06.397554 INFO HASS: Evaluating startup conditions
2023-10-30 18:24:06.403047 INFO HASS: Startup condition met: hass state=RUNNING
2023-10-30 18:24:06.403241 INFO HASS: All startup conditions met
2023-10-30 18:24:06.421544 INFO AppDaemon: Processing restart for HASS
2023-10-30 18:24:06.421828 INFO AppDaemon: Terminating hello_world
2023-10-30 18:24:06.422413 INFO AppDaemon: Terminating remocon
2023-10-30 18:24:06.423797 INFO AppDaemon: Reloading Module: /config/appdaemon/apps/hello.py
2023-10-30 18:24:06.424865 INFO AppDaemon: Reloading Module: /config/appdaemon/apps/elco-remocon-net-appdaemon/apps/elco-remocon-net-appdaemon/elco-remocon-net-appdaemon.py
2023-10-30 18:24:06.425087 INFO AppDaemon: Loading App Module: elco-remocon-net-appdaemon
2023-10-30 18:24:06.425592 INFO AppDaemon: Loading app hello_world using class HelloWorld from module hello
2023-10-30 18:24:06.426684 INFO AppDaemon: Loading app remocon using class Remocon from module elco-remocon-net-appdaemon
2023-10-30 18:24:06.427751 INFO AppDaemon: Calling initialize() for hello_world
2023-10-30 18:24:06.428810 INFO hello_world: Hello from AppDaemon
2023-10-30 18:24:06.429523 INFO hello_world: You are now ready to run Apps!
2023-10-30 18:24:06.430266 INFO AppDaemon: Calling initialize() for remocon
2023-10-30 18:24:06.431545 INFO remocon: Will fetch remocon.net data every 60 min
2023-10-30 18:24:06.435814 INFO remocon: Fetching remocon data...
2023-10-30 18:24:08.121881 INFO remocon: Fetching error: 

<!DOCTYPE html>
<html lang="en-GB">
<head>
    <meta charset="utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ERROR - Remocon NET</title>
    <link rel="shortcut icon" type="image/ico" href="/Content/images/favicon-elco.ico?ver=12995">
    <link href="https://www.remocon-net.remotethermo.com:443/Content/R2/css/elco.min.css" rel="stylesheet"/>


</head>
<body class="bg-default">
<nav class="navbar fixed-top bg-navbar justify-content-between">
    <div class="d-flex justify-content-center">
        <a class="navbar-brand ms-3 me-auto d-flex align-items-center" href="/R2/Home">
            <div class="gfm-image--brand" alt=""></div>
        </a>
    </div>
</nav>

<div class="container-lg container-fluid p-3">
    <div class="row justify-content-center">
        <div class="col col-lg-8">
            <div class="card">
                <div class="card-body gy-2">
                    <div class="gfm-tf-h2 mb-2">AN ERROR OCCURRED PROCESSING YOUR REQUEST</div>
                    <div class="row mb-2">
                        <div class="col">
                            Please report the following error to the system administrator
                        </div>
                    </div>
                    <div class="row mb-2 mb-sm-0">
                        <div class="col-sm-6">
                            ERROR TYPE:
                        </div>
                        <div class="col-sm-6">
                            UtilsLib.Diagnostics.ViolatedPreConditionException
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6">
                            ERROR MESSAGE:
                        </div>
                        <div class="col-sm-6">
                            Violated Precondition (CheckId: 160902105616)
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>
2023-10-30 18:24:10.495513 INFO AppDaemon: New client Admin Client connected

This is the log
This is what I changed:

/config/appdaemon/appdaemon.yaml

---
secrets: /config/secrets.yaml
appdaemon:
  latitude: 52.379189
  longitude: 4.899431
  elevation: 2
  time_zone: Europe/Amsterdam
  plugins:
    HASS:
      type: hass
      ha_url: http://192.168.x.xx:8153
      token: xxxxxxiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIwYThjYzMzM2QyNjY0ZTVhYTQwNjE5ZDQ5NjNhYWMzZSIsImlhdCI6MTY5ODU5MzI3OSwiZXhwIjoyMDEzOTUzMjc5fQ.YhFyrybV9I1BRz9_s-bKCmBcKTyiJkVViqdja8zk_4M
http:
  url: http://127.0.0.1:5050
admin:
api:
hadashboard:

/config/appdaemon/apps/apps.yaml

---
hello_world:
  module: hello
  class: HelloWorld
remocon:
  module: elco-remocon-net-appdaemon
  class: Remocon
  plugin: HASS
  base_url: https://www.remocon-net.remotethermo.com
  username: [email protected]
  password: xxxxx
  gateway_id: xxxxxE1DAE38
  bearer_token: xxxxxxciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIwNGJjMGRiN2Q0ZDQ0YjBiYTFjNWJkM2FiNWU3OGU3NiIsImlhdCI6MTY5ODU5NDAzNCwiZXhwIjoyMDEzOTU0MDM0fQ.Tmay7Jh7pImVTc-jvvZgwt6qQu28ERPU17YvSyPc-3E
  # refresh_rate: 60 # optional
  #ha_url:  # optional, in case hassplugin ha_url undefined

I have to put something in /config/secrets.yaml

Grazie

hello @stefanos this error “UtilsLib.Diagnostics.ViolatedPreConditionException” was previously detected from other user with an heatpump Aerotop Split FS 07, can you share more info about you device?