Elco Remocon Heating Integration

I’m certainly ready to help to make my model work. It could save me a significant amount of money over the year. Will contact you as soon as I have everything running. Could take a few weeks.

Hi,
I’m new about Home Assistant,
i try to install and configure the app following the instruction, but something don’t work.
here below the logs:
2023-08-21 15:06:08.146019 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2023-08-21 15:06:08.146971 INFO AppDaemon: Added log: AppDaemon
2023-08-21 15:06:08.148056 INFO AppDaemon: Added log: Error
2023-08-21 15:06:08.148843 INFO AppDaemon: Added log: Access
2023-08-21 15:06:08.149801 INFO AppDaemon: Added log: Diag
2023-08-21 15:06:09.238533 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2023-08-21 15:06:10.246797 INFO HASS: HASS Plugin Initializing
2023-08-21 15:06:10.247616 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2023-08-21 15:06:10.248667 INFO HASS: HASS Plugin initialization complete
2023-08-21 15:06:10.250837 INFO AppDaemon: Initializing HTTP
2023-08-21 15:06:10.252595 INFO AppDaemon: Using ‘ws’ for event stream
2023-08-21 15:06:10.280889 INFO AppDaemon: Starting API
2023-08-21 15:06:10.292505 INFO AppDaemon: Starting Admin Interface
2023-08-21 15:06:10.294261 INFO AppDaemon: Starting Dashboards
2023-08-21 15:06:10.373476 INFO HASS: Connected to Home Assistant 2023.8.3
2023-08-21 15:06:10.451864 INFO AppDaemon: App ‘hello_world’ added
2023-08-21 15:06:10.459866 INFO AppDaemon: App ‘remocon’ added
2023-08-21 15:06:10.463325 INFO AppDaemon: Found 2 active apps
2023-08-21 15:06:10.464467 INFO AppDaemon: Found 0 inactive apps
2023-08-21 15:06:10.465797 INFO AppDaemon: Found 0 global libraries
2023-08-21 15:06:10.467362 INFO AppDaemon: Starting Apps with 2 workers and 2 pins
2023-08-21 15:06:10.472165 INFO AppDaemon: Running on port 5050
2023-08-21 15:06:10.551185 INFO HASS: Evaluating startup conditions
2023-08-21 15:06:10.584723 INFO HASS: Startup condition met: hass state=RUNNING
2023-08-21 15:06:10.585971 INFO HASS: All startup conditions met
2023-08-21 15:06:10.629442 INFO AppDaemon: Got initial state from namespace default
2023-08-21 15:06:12.498036 INFO AppDaemon: Scheduler running in realtime
2023-08-21 15:06:12.507908 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2023-08-21 15:06:12.509506 INFO AppDaemon: Adding /config/appdaemon/apps/elco-remocon-net-appdaemon to module import path
2023-08-21 15:06:12.511079 INFO AppDaemon: Adding /config/appdaemon/apps/elco-remocon-net-appdaemon/apps to module import path
2023-08-21 15:06:12.512680 INFO AppDaemon: Adding /config/appdaemon/apps/elco-remocon-net-appdaemon/apps/elco-remocon-net-appdaemon to module import path
2023-08-21 15:06:12.514414 INFO AppDaemon: Adding /config/appdaemon/apps/elco-remocon-net-appdaemon/assets to module import path
2023-08-21 15:06:12.522908 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/hello.py
2023-08-21 15:06:12.692573 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/elco-remocon-net-appdaemon/apps/elco-remocon-net-appdaemon/elco-remocon-net-appdaemon.py
2023-08-21 15:06:12.748088 INFO AppDaemon: Loading app hello_world using class HelloWorld from module hello
2023-08-21 15:06:12.753513 INFO AppDaemon: Loading app remocon using class Remocon from module elco-remocon-net-appdaemon
2023-08-21 15:06:12.760761 INFO AppDaemon: Calling initialize() for hello_world
2023-08-21 15:06:13.001638 INFO hello_world: Hello from AppDaemon
2023-08-21 15:06:13.006958 INFO hello_world: You are now ready to run Apps!
2023-08-21 15:06:13.011354 INFO AppDaemon: Calling initialize() for remocon
2023-08-21 15:06:13.020726 INFO remocon: Will fetch remocon.net data every 60 min
2023-08-21 15:06:13.034701 INFO AppDaemon: App initialization complete
2023-08-21 15:06:13.053572 INFO remocon: Fetching remocon data…
2023-08-21 15:06:14.271895 INFO remocon: Fetching error:

ERROR - Remocon NET
AN ERROR OCCURRED PROCESSING YOUR REQUEST
Please report the following error to the system administrator
ERROR TYPE:
UtilsLib.Diagnostics.ViolatedPreConditionException
ERROR MESSAGE:
Violated Precondition (CheckId: 160902105616)

Can you help me ?
thanks in advance

Double check your gateway_id value. The gateway_id can be find if you login to https://www.remocon-net.remotethermo.com

I cutted & pasted the gateway id:
gateway_id: 10521C7148DC


I check again, if I use a invalid gateway_id, I’m also got the error “AN ERROR OCCURRED PROCESSING YOUR REQUEST” but inside html tag, but the error type is set to UtilsLib.Diagnostics.ViolatedPostConditionException.
In your case it set as UtilsLib.Diagnostics.ViolatedPreConditionException.

With a wrong user or password, I got: “Authentication failed: Wrong user or password”

I definety didn’t understand what is happening on your side.

Wend you login to https://www.remocon-net.remotethermo.com, you got a nice UI with your installation?

yes

do you have any experiance with Postman?

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”.