I’m a Homeassistant user. I have all my automation configured there, but I’d like to try OpenHAB and see the possibility to migrate.
I installed OpenHAB on Docker and itś working. I can open the web interface and it already found some of my devices (a TV and my google Nest).
But I need to put my lights and other things, and itś being so dificult to find documentation on how todo that. All information I find is about OH3 or early OH4 snapshots releases.
What I have here and need to integrate:
* SONIOFF lights, sensors, switches and zigbee bridge
* Tuya Switches, Door lock, sensors, zigbee and BT bridge
* Smartlife (also Tuya) devices
Some binds that I need, I found information telling to config inserting URL, but I coundn´t find the path to do that… so, I’m lost, but I’d still like to see what OH could do for me.
Could you point me some path to how can I deal with all this stuff ?
This is kind of a first, but could you remove the code fences or reduce the indentation on your post? Discourse, our forum software treats four spaces starting a line as an indication you are posting code and formats it accordingly. That’s great for code, but not so much for text.
That’s all still good information. OH has not change significantly in this regard since OH 3.0 so pretty much everything you find should be relevant. You will find that OH’s forward progress is a lot more slow and deliberate and changes are much less disruptive than you might be used to with HA.
The most authoritative source for information is the docs of course. The Getting Started Tutorial goes over most of this too.
At a high level the devices you list probably will work as follows:
Find the relevant binding. It’s not clear to me what the correct binding is in this case but I’m guessing it’s going to be `the Zigbee binding, assuming you have a supported coordinator. See ZigBee - Bindings | openHAB for details on supported coordinators.
Many/most bindings require some manual configuration. For bindings this is done by creating a special type of Thing called a Bridge. In the UI you would go to Settings → Things → + → openHAB Zigbee Binding → “Add Manually”. Select the correct type of coordinator based on what you have and configure the settings as required (e.g. path to the serial file, BAUD, etc.). The readme for the Zigbee binding has details.
Once the coordinator is added and online you can go to Settings → Things → + → openHAB Zigbee Binding → Scan to discover all the Zigbee devices.
Accept the discovered Things one-by-one. I recommend changing the UID before accepting it to something more meaningful than the autogenerated UID.
Navigate to Settings → Things → One of your newly added Things → Channels and click “Add Equipment to Model” and fill out the form as desired. This will create the Items and link them to the Thing’s Channels. Just about everything else in OH operates on Items.
For the Tuya stuff there isn’t an official binding. However, the SmartHome/J Marketplace has a Tuya Binding. To enable the marketplaces navigate to Settings → Community Marketplace and enable the community marketplace. Then navigate to Settings → Json 3rd Party Add-on Service and add the following URL to “Add-on Service URLs”: https://download.smarthomej.org/addons.json
You will find the Tuya binding now under Add-on Store → Bindings → Other Add-ons. There is a link to the documentation there. It sounds like it follows the same sort of approach as described above: manually add a Bridge, run a scan to discover devices, accept Things from Inbox and create and Link Items.
One final note, discovery and recommendation of bindings based on USB dongles during that first run is already in the 4.2 milestones or will be soon (I’ve lost track of the PR to know if it’s done or still in work). So future users should have Zigbee recommended to them too if there is a Zigbee coordinator installed.
Thank you, now I finally found the path to enable those bindings !!!
Will search for the rest I need (remembered that I flashed my sonoff bridge with Tasmota).