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?
Wall-mounted gas condensing boiler.
Elco THISION MINI /Combi 25.3 IT
Hi there,
I am new to this community.
My heating system is a THISION S PLUS 13 and I have followed all steps by using the installation of HACS and AppDaemon based on (GitHub - nechry/elco-remocon-net-appdaemon: An AppDaemon to fetch data from the gas boiler system via the Elco Remocon-Net cloud service and push them to home-assistant entities.). No errors so far in AppDaemon logs and in supervisor logs but I do not see any sensor or similar data fetched from my remocon website. Any hints?
Cheers,
judaction
can you double check if the AppDaemon discovery and tracking is enabled for HACS.
hacs-configuration
It is enabled, first checkbox checked. Just to be clear, I did not create the manual cards yet as I was expecting that I can see the sensors and entities first.
Oki so I you can provide the log of the appdeamon
Here you go:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
Add-on: AppDaemon
Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
Add-on version: 0.16.4
You are running the latest version of this add-on.
System: Home Assistant OS 11.5 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.2.1
Home Assistant Supervisor: 2024.01.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[16:51:00] INFO: Starting AppDaemonâŚ
s6-rc: info: service legacy-services successfully started
2024-02-14 16:51:06.562081 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2024-02-14 16:51:06.562597 INFO AppDaemon: Python version is 3.11.6
2024-02-14 16:51:06.562967 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2024-02-14 16:51:06.563430 INFO AppDaemon: Added log: AppDaemon
2024-02-14 16:51:06.563913 INFO AppDaemon: Added log: Error
2024-02-14 16:51:06.564344 INFO AppDaemon: Added log: Access
2024-02-14 16:51:06.564767 INFO AppDaemon: Added log: Diag
2024-02-14 16:51:06.931565 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2024-02-14 16:51:07.293438 INFO HASS: HASS Plugin Initializing
2024-02-14 16:51:07.293935 INFO HASS: HASS Plugin initialization complete
2024-02-14 16:51:07.294974 INFO AppDaemon: Initializing HTTP
2024-02-14 16:51:07.295775 INFO AppDaemon: Using âwsâ for event stream
2024-02-14 16:51:07.302003 INFO AppDaemon: Starting API
2024-02-14 16:51:07.305802 INFO AppDaemon: Starting Admin Interface
2024-02-14 16:51:07.306526 INFO AppDaemon: Starting Dashboards
2024-02-14 16:51:07.323170 INFO HASS: Connected to Home Assistant 2024.2.1
2024-02-14 16:51:07.339361 INFO AppDaemon: App âremoconâ added
2024-02-14 16:51:07.341379 INFO AppDaemon: Found 1 active apps
2024-02-14 16:51:07.341984 INFO AppDaemon: Found 0 inactive apps
2024-02-14 16:51:07.342556 INFO AppDaemon: Found 0 global libraries
2024-02-14 16:51:07.343085 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2024-02-14 16:51:07.344653 INFO AppDaemon: Running on port 5050
2024-02-14 16:51:07.373157 INFO HASS: Evaluating startup conditions
2024-02-14 16:51:07.379093 INFO HASS: Startup condition met: hass state=RUNNING
2024-02-14 16:51:07.379669 INFO HASS: All startup conditions met
2024-02-14 16:51:07.390073 INFO AppDaemon: Got initial state from namespace default
2024-02-14 16:51:09.354231 INFO AppDaemon: Scheduler running in realtime
2024-02-14 16:51:09.363571 INFO AppDaemon: Adding /config/apps to module import path
2024-02-14 16:51:09.366969 WARNING AppDaemon: No app description found for: /config/apps/hello.py - ignoring
2024-02-14 16:51:09.368382 INFO AppDaemon: App initialization complete
Ok, first no error durring AppDaemon startup. But it look like you didnât configure or wll configured the remocon App.
Can you share your apps.yaml (without credentials)
The apps.yaml will be located outside of cour config folder in addon_configs
The remocon app need to be include in this location, unfortunately the install from hacs will put in previous location where is no more loaded.
under /addon_configs/<guid>_appdaemon I have:
- appdaemon.yaml
- apps.yaml â see exact content below. The real credentials are in secrets.yaml and a thought I need to specify it like this.
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
# refresh_rate: 60 # optional
#ha_url: # optional, in case hassplugin ha_url undefined
Got it now!!! I had to copy the directory elco-remocon-net-appdaemon from
/config/appdaemon/apps to /addon_configs/<guid>_appdaemon/apps
Thanks @nechry !
Two cards are working. The third needs multiple-entity-row but it is not clear to me how to install it with HACS (HACS is installed on my home assistant).
great! I know this is not clear, before the update of the appDaemon you just have to install and config, now we also nead to move the downloaded files to the new addons config folder. I will try to update the readme to be more clear.
Hi @nechry ,
I get a read error for sensor.elco_domestic_hot_water_storage_mode. It seesm that my THISON S 13 does not have this attribute or what information we expect from this parameter?
can you share the error log