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. Development
  3. MySensors PC Gateway - is it possible?

MySensors PC Gateway - is it possible?

Scheduled Pinned Locked Moved Development
7 Posts 5 Posters 63 Views 5 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.
  • N Offline
    N Offline
    NeoX
    wrote on last edited by
    #1

    Hi!,

    I have following setup:

    HomeAssistant<==MQTT Ethernet==>ServerPC<==SerialPort /dev/ttyUSB0==> Arduino running MySensors.

    I'd like to ask if its possible to configure MySensors PC gateway to act as a gateway for sending messages from arduino to HomeAssistant?
    I can't figure it out, but it seems that is MySensors PC is available only for Raspberry PI?

    Karl SK OldSurferDudeO 2 Replies Last reply
    0
    • N NeoX

      Hi!,

      I have following setup:

      HomeAssistant<==MQTT Ethernet==>ServerPC<==SerialPort /dev/ttyUSB0==> Arduino running MySensors.

      I'd like to ask if its possible to configure MySensors PC gateway to act as a gateway for sending messages from arduino to HomeAssistant?
      I can't figure it out, but it seems that is MySensors PC is available only for Raspberry PI?

      Karl SK Offline
      Karl SK Offline
      Karl S
      wrote on last edited by
      #2

      @NeoX
      Why not use the MQTT Gateway? This way, if you move off home assistant, you will still be able to use your sensors. I use one with an Uno and it is working nicely.

      Others could answer regarding the PC Gateway.

      Karl S

      1 Reply Last reply
      0
      • N NeoX

        Hi!,

        I have following setup:

        HomeAssistant<==MQTT Ethernet==>ServerPC<==SerialPort /dev/ttyUSB0==> Arduino running MySensors.

        I'd like to ask if its possible to configure MySensors PC gateway to act as a gateway for sending messages from arduino to HomeAssistant?
        I can't figure it out, but it seems that is MySensors PC is available only for Raspberry PI?

        OldSurferDudeO Offline
        OldSurferDudeO Offline
        OldSurferDude
        wrote on last edited by OldSurferDude
        #3

        @NeoX my sensors Gateway seems to require an nrf24 radio. I've not found a way to connect this radio to a PC.

        I am not sure, but I think the Gateway will run on an Arduino. The Arduino could run mqtt with an ethernet shield. Maybe...there might not be enough code space and it might be too slow. The Gateway running on an Arduino (with a radio attached) would use the serial port (USB) and the home automation controller, eg. home assistant, running on a PC uses the other side of the serial port. I have not run this configuration so I can't report on its viability.

        I'm running the mysensors Gateway on a Raspberry Pi using mqtt. On a Linux computer, I'm running a mqtt broker and virtualbox in which I run home assistant and it's working great. That is, so far. I'm only halfway through my project.

        H 1 Reply Last reply
        0
        • OldSurferDudeO OldSurferDude

          @NeoX my sensors Gateway seems to require an nrf24 radio. I've not found a way to connect this radio to a PC.

          I am not sure, but I think the Gateway will run on an Arduino. The Arduino could run mqtt with an ethernet shield. Maybe...there might not be enough code space and it might be too slow. The Gateway running on an Arduino (with a radio attached) would use the serial port (USB) and the home automation controller, eg. home assistant, running on a PC uses the other side of the serial port. I have not run this configuration so I can't report on its viability.

          I'm running the mysensors Gateway on a Raspberry Pi using mqtt. On a Linux computer, I'm running a mqtt broker and virtualbox in which I run home assistant and it's working great. That is, so far. I'm only halfway through my project.

          H Offline
          H Offline
          hlehoux
          wrote on last edited by
          #4

          You need to connect a MySensors Gateaway to your home assistant home automation controler.

          usually you can build a gateaway based on an arduino uno and connect it through serial port USB to the machine running your home assistant.

          alternatively you can build an ethernet gateaway (for instance with an ethernet enabled arduino) and communicate with your home assistant through tcp/ip

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hlehoux
            wrote on last edited by
            #5

            more info here https://www.mysensors.org/build/select_gateway

            1 Reply Last reply
            0
            • N Offline
              N Offline
              NeoX
              wrote on last edited by NeoX
              #6

              @hlehoux
              Yes, but here i have a problem that i actually i want to monitor environment inside RACK with my servers.
              My HomeAssistant controller is quite far from RACK, so i cannot connect directly.

              Using Ethernet Shield is possible, and as i see its only way now. But AFAIK it is waste of money, since ive got plenty of USB ports, so why not use them ? :)

              I need to think, maybe it could be easily possible to develop transport module based on simple UART. Then use of standard raspberry pi gateway on PC with commented GPIO and SPI code should work :)

              mfalkviddM 1 Reply Last reply
              0
              • N NeoX

                @hlehoux
                Yes, but here i have a problem that i actually i want to monitor environment inside RACK with my servers.
                My HomeAssistant controller is quite far from RACK, so i cannot connect directly.

                Using Ethernet Shield is possible, and as i see its only way now. But AFAIK it is waste of money, since ive got plenty of USB ports, so why not use them ? :)

                I need to think, maybe it could be easily possible to develop transport module based on simple UART. Then use of standard raspberry pi gateway on PC with commented GPIO and SPI code should work :)

                mfalkviddM Offline
                mfalkviddM Offline
                mfalkvidd
                Mod
                wrote on last edited by mfalkvidd
                #7

                @NeoX maybe your existing serial gateway connected to one of the servers, with usb over ip to your HomeAssistant controller would work?

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


                17

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                Posts


                Copyright 2025 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