Openhab with raspberry pi and Arduino using MQTT

For sonoff this topic is a good starting Point:

You should find everything you need there (most needed information all in the first post i think).

If there is something missing after that, feel free to add a specific question over there. :slight_smile: