Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. dgds
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    dgds

    @dgds

    3
    Reputation
    4
    Posts
    349
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    dgds Follow

    Best posts made by dgds

    • RE: OpenHAB, 230V Relays and external Switches

      So, it's been quite some time. The apartment is done so no more construction work. But I ended up changing the whole setup. My initial setup with pi zeros dind't go so well. It worked 90% of the time but sometimes the relays would bounce although I had them debounced (well I guess not that good) and with the whole cabeling I built an antenna, that started switching whenever some one walked through the room, so back to the basics, added opto couplers an rc's so the antenna behavior was gone, but everytime I pluged something in or out of the 230V Sockets some light would turn on or off. As my wife started to question the whole project I didn't bother to check if the power regulator of the pi was a mess or whatever the problem was. This is yet to be investigated. I bought the eq3 RX/TX boards. connected them to the relay board and the light switches and it works. It's great that I have a working solution but it's sad that it isn't my solution. I add some pics so you see what my Idea looked like.

      0_1482319431614_IMG_20160810_213317.jpg 0_1482319448056_IMG_20160804_004108.jpg

      posted in My Project
      dgds
      dgds
    • RE: OpenHAB, 230V Relays and external Switches

      Good morning guys,
      I got my first test setup yesterday. I didn't go with my initial idea to have the a pcb behind the wallmounted switches but to have everything centralized.
      My setup uses a raspberrypi with a script monitoring the GPIOS and sends/receives mqtt messages to/from my broker. So I'm able to tell openhab the current state of the relay and to send commands via openhab and to use multiple raspis and/or arduinos to add relay boards. Even if openhab fails I just need the raspi/arduino to work to switch my lights/sockets. Even if my pi fails I'll be able to switch the relay locally via a switch I'm going to build into the DIN Rail case. And if the relayboard fails I better have a torch :).

      Im getting the rest of the components today, as soons as I got everything mounted properly I add some pictures.

      posted in My Project
      dgds
      dgds

    Latest posts made by dgds

    • RE: OpenHAB, 230V Relays and external Switches

      So, it's been quite some time. The apartment is done so no more construction work. But I ended up changing the whole setup. My initial setup with pi zeros dind't go so well. It worked 90% of the time but sometimes the relays would bounce although I had them debounced (well I guess not that good) and with the whole cabeling I built an antenna, that started switching whenever some one walked through the room, so back to the basics, added opto couplers an rc's so the antenna behavior was gone, but everytime I pluged something in or out of the 230V Sockets some light would turn on or off. As my wife started to question the whole project I didn't bother to check if the power regulator of the pi was a mess or whatever the problem was. This is yet to be investigated. I bought the eq3 RX/TX boards. connected them to the relay board and the light switches and it works. It's great that I have a working solution but it's sad that it isn't my solution. I add some pics so you see what my Idea looked like.

      0_1482319431614_IMG_20160810_213317.jpg 0_1482319448056_IMG_20160804_004108.jpg

      posted in My Project
      dgds
      dgds
    • RE: OpenHAB, 230V Relays and external Switches

      Good morning guys,
      I got my first test setup yesterday. I didn't go with my initial idea to have the a pcb behind the wallmounted switches but to have everything centralized.
      My setup uses a raspberrypi with a script monitoring the GPIOS and sends/receives mqtt messages to/from my broker. So I'm able to tell openhab the current state of the relay and to send commands via openhab and to use multiple raspis and/or arduinos to add relay boards. Even if openhab fails I just need the raspi/arduino to work to switch my lights/sockets. Even if my pi fails I'll be able to switch the relay locally via a switch I'm going to build into the DIN Rail case. And if the relayboard fails I better have a torch :).

      Im getting the rest of the components today, as soons as I got everything mounted properly I add some pictures.

      posted in My Project
      dgds
      dgds
    • RE: OpenHAB, 230V Relays and external Switches

      Hi @drock1985
      thanks a lot for the info and the hints to the two solutions you posted.
      They look pretty amazing.
      I'll order the hardware and keep the threat updated with some pictures and a discription of how I set our house on fire :).
      The installation itself is going into the distributionbox of the new building part. As PSU I thought of something like this:

      https://www.amazon.de/Hutschienen-Netzteil-MeanWell-DR-15-5-Hutschienennetzteil/dp/B00MWQEBAU/ref=pd_ybh_a_7?ie=UTF8&refRID=B653ZWEZ0N867MKD32A9

      The link is meant to be any advertisment, it's just where I started looking for things.

      And as Case for the board it is going to be something like this:

      https://www.amazon.de/apraRail-Module-geschlossen-belüftet-Klemmen/dp/B008JXF4J2/ref=sr_1_1?s=ce-de&ie=UTF8&qid=1467097229&sr=1-1&keywords=hutschienengehäuse

      and for the raspi running openhab, homematic and mqtt:

      https://www.amazon.de/Raspberry-Gehäuse-für-die-Hutschien/dp/B01EB5YEB0/ref=pd_sim_sbs_23_14?ie=UTF8&dpID=416CmGnQSdL&dpSrc=sims&preST=AC_UL160_SR160%2C160&refRID=1D0FR5WJX78F3N1HAT1G

      The plan is to have an almost industry like installation, but lets see where I end up 🙂

      Again thanks a lot.

      posted in My Project
      dgds
      dgds
    • OpenHAB, 230V Relays and external Switches

      Hi guys,
      I'm new to this Forum. I came across mysensors when I started homeautomation with openhab, homematic (german vendor for radiobased actors/switches and dimmers) and mqtt. We are going to expand or apartement and I'd like to add the new rooms into our openhab but without the need to user propreatary components like homematic. I'd like to use arduinos controlling the relayboard and with the serial gateway or mqtt connect them to openhab. Where I'm a bit out of knowledge is the part if I get the relay state for openhab, if I connect a external lightswitch, to switch the lights and sockets. I thought about using a hall sensor for every relays but that is going to be a bit to much I think. Is there a way to get the state directly or am I missing something?

      Thanks a lot!

      posted in My Project
      dgds
      dgds