For newcomers: What is the difference between Openhab and home assistant?

@francoislavoie I believe you can use OH even without knowing a thing about programming. The UI provides simple “rules” that you can construct by selecting what you want to happen given a certain trigger, all by simply clicking through the UI without writing a single line of code.

This page shows you exactly how you’ll be managing your rules on this level:

You can stop right there and use openhab happily.

Where openhab shines is that you have the ability to go much much deeper and create your own rule logic in the listed programming languages above, instead of using the “basic” UI-provided rules linked above.

If you are the type of person who want to do something in a very particular way, you would love this ability because you will not be limited only to what the UI or the basic rule allows you to do.

Here are some example code that you can write in openhab (mainly JavaScript)

and here are some more examples of rules written in Ruby:

And blockly:

If however you only want something simple and mostly using ready made stuff that other people have made, you might be happier with HA.

Practically speaking, you would be using zigbee2mqtt and present the zigbee devices to openhab (or HA) via mqtt.

For tuya in openhab, you have 2 options:

  • Use the Tuya binding for openhab, this was only recently adopted as an official part of openHAB, so it will be available in the coming openhab 5. You can use the openhab milestone or snapshot version in the meanwhile.
  • Use tuyamqtt (this is no longer maintained, but I’ve been using it for at least 4 years now)
2 Likes