Hey Thomas how did you implement your elco now that you get all these values?
Hi Thomas,
Im beginner of Home assistant sorry for thatā¦ I follow your documentation for the Remoconā¦in the node Red I see the debug whit data. I copy the file yaml whit che folders but I donāt see the entities who is my problem whatās is wrong ?
claudio
Hi all, I just added an easier way (I hope) to get measurements from your ELCO boiler.
I created an appdaemon :
If you are already using my manual Node-RED or python integration, the entities use the same names, you can easily continue with this one without losing the history or configuration.
Let me know if there is a better solution
Nechry
Hi @nechry ,
Just installed a Remocon at home and installed your appdeamon.
Seems to login correctly but receiving following error and entities not created, can you tell me whatās going wrong ?
Bernard
<!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=11410">
<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.ViolatedPostConditionException
</div>
</div>
<div class="row">
<div class="col-sm-6">
ERROR MESSAGE:
</div>
<div class="col-sm-6">
Violated Postcondition (CheckId: 150420082657): Object is NULL
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
2023-05-25 15:21:44.304930 INFO remocon: Done fetching remocon data.
Is the gateway_id is correctly set in your apps.yaml?
I just update the app to log in error if the gateway_id is not set, can be helpfull
Updated and restarted seems to have the same result
<!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=11410">
<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.ViolatedPostConditionException
</div>
</div>
<div class="row">
<div class="col-sm-6">
ERROR MESSAGE:
</div>
<div class="col-sm-6">
Violated Postcondition (CheckId: 150420082657): Object is NULL
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
You get this error in the AppDaemon Logs view under the Log error_log?
Can you share your apps.yaml for this daemon, but without your real credential and gateway_id
your gateway_is is 12 char long?
something like this: F0AB1A024465
I reproduced your error with a bad gateway_id. please make sure your gateway_id is correct.
The gateway_id isnāt your gateway serial number. you can get it via the web portal is contains in the url after you login.
Yes !
I was using the serial number Now logging in correctly.
Entities are currently not generated but I see this error in logs now
Sorry, Iām a beginner with Appdaemon
2023-05-26 10:46:09.330104 INFO AppDaemon: Calling initialize() for remocon
2023-05-26 10:46:09.331416 INFO remocon: Will fetch remocon.net data every 60 min
2023-05-26 10:46:09.333036 INFO AppDaemon: App initialization complete
2023-05-26 10:46:09.335218 INFO remocon: Fetching remocon data...
2023-05-26 10:46:10.669670 INFO remocon: Posting to entities...
2023-05-26 10:46:10.670250 INFO remocon: No Home Assistant URL could be found. Please configure ha_url in the app's configuration. Aborting.
2023-05-26 10:46:10.670745 INFO remocon: 'ha_url'
2023-05-26 10:46:10.671674 INFO remocon: Done fetching remocon data.
And here is my appdaemon.yaml
secrets: /config/secrets.yaml
appdaemon:
latitude: x.696803328
longitude: x.170191617
elevation: 80
time_zone: Europe/Amsterdam
plugins:
HASS:
type: hass
ha_url: https://xxxxxxxxxxxx.duckdns.org
token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
And my 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: !secret remocon_username
password: !secret remocon_password
gateway_id: !secret remocon_gateway_id
bearer_token: !secret remocon_bearer_token
Ok my bad I didnāt corectly handle the ha_url form the appdaemon.yaml, if not specified in apps.yaml
get the latest version and this time I hope is the good one
great. can you share your boiler model?
to try to build a kind of compatibility table
Yes, sure.
Itās an Altron B boiler with Logon B G1Z1 control module.
And the Remocon Net B
Bernard
@nechry thank you very much for the development of your AppDaemon variant.
How do you guys actually utilize this tho?
My goal is to be able to set the heat pump temperature dynamically depending on my current electricity price (available via API in HA). It changes hourly. Iām also having a hybrid setup so thereās a break-even point for electricity vs gas depending on outside temperatures and electricity prices.
But it seems that currently only reading data is supported, not writing/updating it.
Are there any plans in changing this? Does anyone have an idea what would be the best approach if I wanted to set the temperature of the heat pump according to outside temperatures and current electricity price?
This would be a huge step in raising efficiency at homes with dynamic electricity prices and/or Solar and/or hybrid heating solutions.
The capability to modify the set-point, mode, and more is planed.
the API is not officially documented, but I can in my opinion without too much difficulty intercept the commands to make a simplistic reverse.
However, I can only expose the commands available on the Thision S boiler model. But I think the basic functions should be the same for several models.
For my usage isnāt useful to modify the setpoint frequently as the gas boiler is coupled to heated floors and therefore with a very large inertness.
However, I have no idea when I will work on these changes. I already wanted to see the interest of this first iteration in the community. possibly look to officially publish in HACS.
Thank you very much for answering.
Iām ready to support your development either by trying to contribute (I have some knowledge of Python) or financially.
Iām not sure about the actual model of the gas heater and heat pump yet (only seen them, didnāt move in to that place yet). I only know theyāre both from Elco and that Iām getting the Remocon WiFi module.
Iāll happily contribute as soon as I moved in and could test the current state.
I did some tests todayā¦
I made interception and replay with Burp Suite and Postman.
The API is really very cumbersome, you have to send the entire object model for any write action.
I thought I could, for example, modify the mode just by setting the value of the new mode, but no, you have to send all the other values. what happens is that there is a generic route for all the parametersā¦
I tried to send simplified json but the instructions do not change. And the worst is that the API returns me that itās OK when not.
I think it would be risky to set up and be confident that it is ok for other boiler models.