Comfoair Q 350 MQTT bridge - help needed

Hi,

I want to integrate my Zehnder ComfoAir in HA with esp32 and therefore i want to use this: https://github.com/vekexasia/comfoairq-mqtt

I have the hardware but i’ve not yet connected it to the Zehnder. I’m stuck with the following steps and have no clue what to do or what it means :roll_eyes:

How to run this
Provided you’ve the necessary hardware, you need to create the .env file based on the .env-sample file with the proper environment variables.

Prerequisites:

node.js > 10
pm2 installed (npm i pm2 -g)
Steps:

clone this repository
run npm i or yarn
use pm2 start pm2.config.js
If you want to enable this project to run at startup then issue pm2 startup

With all due respect, this is (so far) unrelated to Home Assistant.

Well i guess i have my answer then :sweat_smile: and will have to find another way to integrate this in HA.

Well, I meant that should contact whatever support line of “comfoairq-mqtt”, really

My question there stays unanswered at the moment…

I’m sorry to say that those are pretty basic steps for someone who wants to run this kind of service from source.
If those steps are above your current level of knowledge, I’m afraid you will encounter a lot more pitfalls further on…

What part of the setup steps evades you, precisely?

Basic? :sweat_smile:
Well my knowlegde is no that small but this i do not understand. Where do i have to run those commands? I tried from the terminal & SSH add-on but those commands do not work.
I want to know how en where i need to run these commands:

npm i pm2 -g
Steps:

clone this repository
run npm i or yarn
use pm2 start pm2.config.js
If you want to enable this project to run at startup then issue pm2 startup

And where to place the .env file.
I’m very willing to learn :slight_smile:

First thing first. You won’t run this as an HA addon, nor even inside HA.
You have to run this on the Linux host.

There, you have to install node.js and npm. See https://docs.npmjs.com/downloading-and-installing-node-js-and-npm

Then, the “npm” command will work.

Actually, very first thing first:
Why aren’t you using the HA builtin integration?

I don’t use the builtin integration because i do not have comfoconnect module from Zehnder. That’s why i want to use the esp32 solution.
I will check your previous answer out and keep you updated!
Thanx for the advice :wink:

Mmm… But then isn’t GitHub - vekexasia/comfoair-esp32: Interact with Zehnder Comfoair with esp32 that you need?
The first one involves usb, not esp32.

The esp32 repo is the source of an esp32 firmware, nothing needed re node.js, then.