Stoker > Stoker

Home Assistant Smart home integration

(1/3) > >>

e1z0:
Hi, saw some posts from people who are searching for NBE integration in home automation systems. I have done NBE BlackStar+/RTB pellet burners integration using MQTT and home assistant auto discovery protocol for easier usage. It works with most of the free home automation systems like HomeAssistant, OpenHab, IoBroker, Domoticz or NodeRed. It's free and open source, you can use and/or modify it to suit your needs, please see: https://github.com/e1z0/nbe-blackstar-homeassistant

Enjoy!

mikkelmoeller:

--- Citat fra: e1z0 efter Nov 06, 2022, 03:56 ---Hi, saw some posts from people who are searching for NBE integration in home automation systems. I have done NBE BlackStar+/RTB pellet burners integration using MQTT and home assistant auto discovery protocol for easier usage. It works with most of the free home automation systems like HomeAssistant, OpenHab, IoBroker, Domoticz or NodeRed. It's free and open source, you can use and/or modify it to suit your needs, please see: https://github.com/e1z0/nbe-blackstar-homeassistant

Enjoy!

--- Afslutning på citat ---

Is it possible for you to create a "dummy guide"  on how to install this integration on HomeAssistant?

e1z0:
Hi,

I have done integration that does not use any external cloud or any other API to access pellet burner over internet or NBE online, etc.. It uses reverse engineered NBE protocol that connects to device directly over your home wifi network, it does even need to have an internet connection for this to work.

This integration not only for Home Assistant but for all home automation systems that supports MQTT message protocol. Like HomeAssistant, NodeRed, Domoticz, OpenHab, IoBroker etc... It was designed not depending on any of the automation systems in mind, only plain MQTT message protocol is used. Additionally it supports "Home Assistant Autodiscovery" which is mqtt based also. This simplifies detecting of such service and automatically configuring it, as soon as you start it, you can control it via home assistant. No need to add any entities by hand and configuring sensor/button types, etc... Some other home automation systems supports this HA autodiscovery protocol too.

This integration requires that you have already running server or raspberryPI machine that stays always on and runs GNU/Linux OS. Also you must be already running MQTT broker server such as mosquitto (read more: https://mosquitto.org). Also you need some Unix admin skills to setup MQTT broker server if you don't have it.

You can either run this integration standalone as Linux service or in docker container. For most simple way to run this service using docker you just clone the repository and run simple command:

--- Kode: ---git clone https://github.com/e1z0/nbe-blackstar-homeassistant.git
cd nbe-blackstar-homeassistant
make up

--- afslutning på kode ---

Of course before running it, you should look at the file docker-compose.yml and configure it to suit your needs.

You must know your mqtt broker and pellet burner ip addresses. The NBE pellet burner password is usually the same as the burner wifi hotspot itself or it can be found in pellet burner, written in some label (when you open doors of it). You can find pellet burner ip address by some port scanning tool, just look for 8483 udp port to be open. Also you need to know your MQTT broker username/password if you have set it to use password, else just use some dummy user/pass combination and it should work. NBE_SERIAL you can find in https://stokercloud.dk/v3/#/main-page/system/settings it will be shown as "Serial number on the controller".  Other options leave at the default state and everything should work.

Other more complex way is to run this integration as Linux service (lets assume that you are running Debian based Linux distribution):

--- Kode: ---git clone https://github.com/e1z0/nbe-blackstar-homeassistant.git
apt install python3-simplejson python3-paho-mqtt
pip3 install pycrypto
cd nbe-blackstar-homeassistant
mkdir /opt/nbe/
cp src/* /opt/nbe/
cp nbe.service /etc/systemd/system/
cp config.json-example /opt/nbe/config.json
systemctl enable nbe && systemctl start nbe

--- afslutning på kode ---

btw, don't forget to configure /opt/nbe/config.json You should configure it the same way as in the docker setup section.

mikkelmoeller:
Thank you for taking your time to elaborate on how to install the integration.

Unfortunally I might be a bigger newbie that initial assumed :D - I'm still not able to succesfully install it.
I've tried to execute both "command sets" without any success. Let me take you through what I tried:

1. SSH to my HomeAssistant virutal appliance
2. On SSH I get the "HA CLI" so i execute login
3. Execute following code snip:
git clone https://github.com/e1z0/nbe-blackstar-homeassistant.git
cd nbe-blackstar-homeassistant
make up

The make up cmd command is not found (see attachment). Therefor it's not possible for me to continue.

After that I tried to execute the second "more complex way" but I ran into several errors. Firstly some directories (/etc/systemd/system/ not existing.
Also the systemctl command is not found.

So once again i'm stuck :(. Any chance of making a step-by-step guide specific for HomeAssistant? If above should work is there any chance of you having time to walk me through it? I would REALLY appreciate it.

Thanks in advance!

383CI:
Det ser vildt godt ud, og godt gået, når fabrikanten nu ikke vil lave noget.

Jeg har nogle RPi 1 liggende men fanger ikke helt om integrationen kan køre på dem?

Jeg savner også en step by step vejledning? Mosquitto virker og kører på en RPi 4 der køre HA

Det kunne være virkeligt godt at få igang :)

Navigering

[0] Emneindeks

[#] Næste side

Skift til fuld version