Cool, Thanks
First of all thank you for all the answers. What a great community
Is there any cheap and easy alternative for switching some relais (ca. 10) on and off with openHAB?
Maybe some of this:
https://www.itead.cc/smart-home/sonoff-4ch.html
https://www.itead.cc/smart-home/sonoff-4ch-pro.html
I would only switch relais, not directly connected to the power circuit. Because there are some problems with exploding sonoff switches - bad soldering - not enough for high loads.
But if you only want to switch relais, there should be no cheaper way without soldering it by yourself.
Okay, and this product can be connected to openHAB?
Edit: And by the way. It doesnât depend on a few EurosâŚ
You can search in this forum for sonoff. You have to flash the sonoff devices with tasmota firmware and so you can control it with openhab and mqtt.
You don´t need any gateway, it is working with wifi.
Is there anything similar with ethernet connector?
Maybe with a raspi and a 10-channel relais board?
Thatâs what makes me a bit nervous, recommending anything other than a robust solution. Itâs out of a âHOMEâ-automation, and therefore I recommend strongly to use industry standards. KNX is here the way to go - even if itâs more expensive. Talk to your company electrician about your goal and he surely will help you on this.
There are also KNX-capable readers you can use - they are also more expensive than those for home use, but are independent and are more easy to implement.
As explained, this would be done by simple switch actuators (I guess, you wonât need dimmer?) which are easy to implement.
as Udo already pointed out, to be on the safe side (and I also assume, the PIRs are outside), you should have two lines, to avoid sabotage.
To sum it up: If you feel the need of changing anything yourself, you should consider having a dedicated ETS licence for you. You should also have your electrician doing the cable work (youâre not allowed to do this in your home, so I would avoid doing this at work even more!) and he could also setup your KNX project. He can show you the configuration and you can continue the non-cable configuration.
In every case, you can add openHAB as a logic within, but honestly - I see it only for visualisation. The PIRs communicate with the actuators, wich switch on the lights. The readers communicate with the KNX and put all information there.
openHABs Job would then be to show you the lightsâ states and the reader information. You could add some logic if you like, but what would be in there?
Maybe another quite cheap solution ist tinkerforge
some of the outputs to command the relays https://www.tinkerforge.com/de/doc/Hardware/Bricklets/Industrial_Digital_Out_4.html
connected to a
https://www.tinkerforge.com/de/doc/Hardware/Bricks/Master_Brick.html
which itself is on a stack with a network extension
https://www.tinkerforge.com/de/doc/Hardware/Master_Extensions/Ethernet_Extension.html
with the other bricks available you can monitor or control a lot of other things.
Disadvantage: you loose the status of the relay if you only comand the relay - a solution can be a relay with two outputs where one is connected to an input from tinkerforge to read the status.