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. Controllers
  3. Home Assistant
  4. Unable to connect to /dev/ttyUSB0 [Solved]

Unable to connect to /dev/ttyUSB0 [Solved]

Scheduled Pinned Locked Moved Home Assistant
21 Posts 6 Posters 8.8k 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.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #12

    Don't you have a spare esp8266 and make an ethernet gateway? At least to get the mysensors network working

    K 1 Reply Last reply
    0
    • gohanG gohan

      Don't you have a spare esp8266 and make an ethernet gateway? At least to get the mysensors network working

      K Offline
      K Offline
      kobipes
      wrote on last edited by kobipes
      #13

      @gohan Actually I have the ESP8266-12 and I'll give it a try also (at the same time, ordered the WizNET (W5100) Ethernet module and the ENC28J60 Ethernet module but it will take time until I'll get it) , just wanted to solve the problem with the serial gateway ... :neutral_face:

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kobipes
        wrote on last edited by kobipes
        #14

        @gohan I thought that the esp8266 may be just a replacement to the WizNET (W5100) or the ENC28J60 (suggested in the mysensors instructions to built Ethernet / MQTT gateways). But from what I understand, upon your link you gave me, I don't see the nrf24 module connected to the ESP8266-12 , but the ESP8266-12 module solely.

        Note that I need the nrf24 to be a part of the Ethernet gateway in order to be able to communicate with the nodes

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

          What link? BTW look at the "connecting the radio" page, you will see how to wire the radio on all arduino boards

          K 1 Reply Last reply
          0
          • gohanG gohan

            What link? BTW look at the "connecting the radio" page, you will see how to wire the radio on all arduino boards

            K Offline
            K Offline
            kobipes
            wrote on last edited by kobipes
            #16

            @gohan this : link text.
            I know how to connect the nrf to the arduino board but I don't know how to connect the esp8266-12 with the nrf and the arduino (it does not explained in the link).

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

              you don't need the arduino board on the gateway, the ESP8266 will be running the sketch and will use the NRF24 radio for the mysensors network and the wifi interface to talk to the controller

              K 1 Reply Last reply
              0
              • gohanG gohan

                you don't need the arduino board on the gateway, the ESP8266 will be running the sketch and will use the NRF24 radio for the mysensors network and the wifi interface to talk to the controller

                K Offline
                K Offline
                kobipes
                wrote on last edited by
                #18

                @gohan OK I see . I'll try it today. Thanks

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kobipes
                  wrote on last edited by
                  #19
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kobipes
                    wrote on last edited by
                    #20

                    Today, when I connected the arduino through the usb port in the raspberry pi 3, then entered the /dev directory, I saw this :
                    0_1524933413755_a34f22b8-7f2e-40b3-9c1f-e72f6a410ea7-image.png

                    Isn't that weird ? what is the "p" is doing there between the tty and the USB0 ? also tried accessing this "ttypUSB0" but still get an error

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Rincewind
                      wrote on last edited by
                      #21

                      I am having the exact same issue as kobipes. I am also on hass.io and I have not been able to resolve it. I am using an Arduino Nano with the RF24l01 connected to a Pi using USB (ttyUSB0). No go, configuration errors as stated from your post.

                      However when I use an Arduino Uno on ttyACM i managed to get it working as long as you cold boot the Pi during config changes.

                      Any help will be really appreciated!

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


                      16

                      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