Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Raspi GPIO as input to gateway

Raspi GPIO as input to gateway

Scheduled Pinned Locked Moved Hardware
6 Posts 4 Posters 1.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    p359
    wrote on last edited by
    #1

    Hi new user, have successfully got raspi as mqtt gateway with domoticz working on same pi at basic level.

    Question is this after some fruitless searching. I have a physical momentary switch connected to the pi, old project left over. I'd like to use that to trigger an event in domoticz that can then turn on a light elsewhere remotely. Any pointers would be appreciated how to make gateway 'see' the gpio event?

    Cheers!

    1 Reply Last reply
    0
    • mmaura66M Offline
      mmaura66M Offline
      mmaura66
      wrote on last edited by
      #2

      Hi,

      Its possible to use arduino sketch in raspberry (see https://forum.mysensors.org/topic/6618/gateway-ethernet-raspberry-sensors/4)

      i have make some test who work.

      1 Reply Last reply
      0
      • rozpruwaczR Offline
        rozpruwaczR Offline
        rozpruwacz
        wrote on last edited by
        #3

        If You want domoticz to 'see' this gpio event then why wont You add this gpio directlty to domoticz ? It seems that passing it through the gateway is overcomplicated.

        1 Reply Last reply
        1
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          There is gpio support in domoticz, but I haven't tried if it works for buttons

          1 Reply Last reply
          0
          • P Offline
            P Offline
            p359
            wrote on last edited by
            #5

            Agh, thank you! I'm such a new user, I had no idea domoticz could see gpio directly. You have given me new research avenue, I really appreciate the replies.

            1 Reply Last reply
            1
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #6

              There is a WIKI page on Domoticz site about GPIO

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              19

              Online

              11.7k

              Users

              11.2k

              Topics

              113.0k

              Posts


              Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular