Rehau Nea Smart integration

Hi @zelphir ,

Perfect, your help will be great! If you give me an email I will start passing you what we have done so far.

Salut!

Hey great to hear back from you. Please send me an email to [email protected] (just created an hide my email to mask my real email). If you and @vcalzolari64 send me your email addresses I can add you to the GitHub repo

Hello everyone! I too have a nea smart system with 7 thermostats and I’d like to integrate it into a home assistant for total control with the photovoltaic system.
I hope it’s not too difficult because I’m not very experienced… :sweat_smile:
A thousand thanks!

Hello, I’m doing a HA system in a new house for a friend and he’s using a rehau nea smart 2. Can you share the project with me? @pistunut @vcalzolari64
[email protected]

Thank you!

Hey all,
I’ll be interested in participating in the creation of the integration too, I have a 3 zone system with 8 thermostats.
I’m not an expert but I just finished integrating my Helty HRV/CMV units with good results: GitHub - MatteoManzoni/helty-cmv-integration-ha: Helty CMV (Forced Ventilation with Heat Exchanger) HomeAssistant Integration

My email is: [email protected]

Best,
Matteo

Hello everyone! Yesterday my NEA Smart 2.0 system was set up and I’m using geofencing to change home/away modes…
I changed my mind and now this makes me a bit uncomfortable after reading about the security issues: how can I try to use HA and the apple
Home app?
Thank you!

Hello,
From what I understood, you have already managed to do what I have been trying to achieve for the last 3 months :smiley: I have the NEA SMART 2.0 Base connected via RS-485 to my computer right now. What I don’t understand is 1) how to send data to the unit 2) how do I know what register to write to do certain things, the KNX documentation sucks.
Could you please help me out a bit?
Thanks in advance :slight_smile:

I have now my system installed, I would like to know your setup. Can you please share it, PM? Thanks!

Has anyone got the @pistunut code, so that we can put it on GitHub and keep improving it?

Hi at all. I have also Rehau nea smart 2.0 and two raspis. Actually I use Homebridge, Grafana and Iobroker, but to use Rehau in HomeKit I would install Home Assistant. Have you any Instruction how I can import Nea smart 2.0 to Home Assistant? I can’t find any except the instruction für knx. But I have no Knx. I like to use it only for HomeKit. Thx at all. Pls link me the instruction. and sorry for my bad English

Hey @pistunut @vcalzolari64 @zelphir,
Does anyone know the state of the project and how to get involved?

I would love to help but I’m also willing to start a new integration on my own with whomever else will be willing to help me

Please, please, keep the community posted and involved :pray:,
Matteo

1 Like

Hey all,
As promised I’m working on an integration of my own, expected to be released during the weekend.

My integration is interfacing with a custom add-on exposing a shim server between the Rehau NeaSmart 2.0 registers Sysbus (ModbusRTU) and a set of rest APIs, this add-on supports both Modbus RTU to Modbus TCP gateways (they need to support “client” aka Modbus Slave mode) or local RS-485 to usb adapters. In my specific case I went with the first option creating a gateway with an Arduino board (now substituted with something fitting on a DIN rail and that supports PoE) but you can do the same with cheap-ish off-the-shelf devices like this one or ESP.

The add-on is here, documentation on how to install and configure it enclosed.

See you all in a few days when the integration will be ready (will be published through HACS)

Best,
Matteo

Hey all,
Me again, this is the first iteration of the integration.
Happy to receive any kind of feedback on it

Best,
Matteo

Congrats for your work.
But I think that for it to have sucess with others users you should better document the Hardware part.
From the Modbus connection from the system, to the available options for Modbus harware, and to configure it.

Hey @zbuh,
You are definitely right, what I focused on with this first iteration is time to market as myself with many others were waiting for some development that was never open-sourced.

I’ll try to add some more details in my documentation (and screenshots) about how to configure the specific model of modbus tcp gw I’m using, as for schematics/configurations on how to create a gateway with arduino/ESP or how to use the add-on with a homeassistant-attached serial to usb adapter I’m more than happy to accept contributions as, full-disclosure, it’s an effort I cannot justify right now

Very nice Job!!! I am so happy, but I need more instructions für the Serial to USB and Hardware etc. I can program Homeassistant but not more ^^ Can you make a tutorial or a Youtube Video? It will be so nice! I can barely wait for it. Thank you so much

1 Like

Hi Morilino,
I published here an how to wire and configure the waveshare gateway I’m using

Hello everyone,
I finally got everything wired and installed.
Waveshare RS 485 according to instructions etc.
My Nea Smart 2.0 also lights up on Sysbus. Waveshare also lights up blue and flashes. But I can’t find any devices… :frowning:

My questions:
Wave share:
Destination IP = IP of Homeassistant (Raspberry)?
Port = 502 always?
Gateway = My Fritzbox IP?
DNS = required? If yes, which IP address? Doesn’t matter?

Addon settings:
Liseting IP = Which IP do I enter here exactly?
ports = 502 ?

According to the addon it works. I have the following messages in the log:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy services: starting
services-up: info: copying legacy long run rehau_neasmart_gateway (no readiness notification)
s6-rc: info: service legacy-services successfully started
Using DB at /data/registers.db

  • Serving Flask app ‘main’
  • Debug mode: off
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:5000
  • Running on http://172.30.33.1:5000
    Press CTRL+C to quit
    127.0.0.1 - - [24/Jul/2023 22:21:16] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:23:16] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:25:17] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:27:17] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:29:17] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:31:17] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:33:17] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:35:18] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:37:18] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:39:18] “GET /health HTTP/1.1” 200 -
    127.0.0.1 - - [24/Jul/2023 22:41:18] “GET /health HTTP/1.1” 200 -

The funny thing is that when Running on * Running on http://127.0.0.1:5000
Running on http://172.30.33.1:5000 no IP of it is neither at Waveshare nor in my network.

what am I doing wrong here?
Can someone help me please?

add on (screenshot seems to work??)
But where I can find now the devices? I cant find anything

Modus goes from Normal to Standby - Temperature reset!

The temperatures in Homeassistant and also at Rehau itself are regularly set back to 7 degrees. What could be the reason? I’m desperate. I set the temperature (whether via the thermostat or home assistant) to 20 degrees and after a certain time it is back to 7 degrees