first of all, thanks for the amazing work you’re doing.
To clarify, I’m digging experienced in it topics, but new into IoT and home automation.
I want to share my experiences here with beginners.
I’ve defined my requirerings as as following:
- Flexibility for including any kind devices (ai, voice, protocols, extensibility, etc.)
- Open & living system
- Mostly graphical configuration
- Programmable rulings
These requireings answered:
Flexibility for including any kind devices (protocols, extensibility, etc.)
This was mainly about to get introduced into what kind of devices the market offers and how they differentiate frome implementing perspective.
To break it down: There are mainly two protocols implemented by the market - and some other mehtods i won’t mention here. The main protocols are Zigbee and Z-Wave. Both have different advantages and disadvantages.
Hadware: This leads to a zigbee hub and/oror z-wave hub. Or a device (here raspberry) with an usb stick.
(For more info check https://www.the-ambient.com/guides/zigbee-vs-z-wave-298 and
Solution to be open: There is a stick called HUSBZB-1 which supports both protocols (I’ve ordered, not yet arrived, but should work with OH referring different threads here).
Open & living system & Mostly graphical configuration
This led to domotics, home assistant and openHAB.
I’ve choosen openHAB because of the graphical interfaces, I am already familliar with java and this seems to fits best for me. Obviously for you too.
This topic led me to node red, which comes in handy because everybody who created workflows or processes somewhere feels familiar quite fast and the possibilites are endless.
After a couple of investigation this lead to the following architecture for this setup:
Long introduction, here’s what I am trying and where i fail
- Set up openHAB as a MQTT Router using PaperUI, which passes MQTT to other things.
What I’ve tried using binding-mqtt-2.4.0:
- Created MQTT Broker
- Created Generic MQTT Thing
- Added channel, created an Item and linked them
- Can successfully connect from Node Red via mosquitto and publish to openHAB.
Except for the following error message everything works:
2019-01-14 13:07:42.658 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘127.0.0.1’. Next attempt in 10000ms
From my understanding this should work like this:
Node Red --> MQTT --> openHAB MQTT thing --> Other thing (using different binding)
My problem: I can’t link the brightness of my bulb (here: IKEA TRADFRI using IKEA Gateway) to the newly created item that is linked to the MQTT thing.
- Am i completely wrong with the direction where this setup is leading to?
- Am i misunderstanding something completely wrong?
- Is there a best practice to configure these things?
- I’m aware that a lot of *2mqtt sources exists, but i want to keep the entry point central to openHAB
Screenshots of the paperui configuration can be posted, if requested (currently limited to one picture per post).
- Platform information:
- Hardware: Raspberry PI 3 Model B
- OS: openhabian
- Java Runtime Environment: Zulu
- openHAB version: 2.4.0.
Thanks in advance and best regards,