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. Adding a sensor to the configuration file

Adding a sensor to the configuration file

Scheduled Pinned Locked Moved Home Assistant
15 Posts 3 Posters 4.9k Views 3 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
    #6

    Actually I can't help much on HA since I never used it, but I can tell you I personally prefer working with the ethernet gateway

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

      @gohan In order to use the Ethernet gateway I need a Ethernet module and I I'll have to wait for a very long time :/ What type of home automation controller are you using instead of the 'Home assistant' ?

      @martinhjelmare ? have a clue ? familiar with Home assistant first serial gateway configuration and can help me ?

      gohanG martinhjelmareM 2 Replies Last reply
      0
      • K kobipes

        @gohan In order to use the Ethernet gateway I need a Ethernet module and I I'll have to wait for a very long time :/ What type of home automation controller are you using instead of the 'Home assistant' ?

        @martinhjelmare ? have a clue ? familiar with Home assistant first serial gateway configuration and can help me ?

        gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #8

        @kobipes you can wire the radio on the raspberry directly or use an esp8266

        K 1 Reply Last reply
        0
        • gohanG gohan

          @kobipes you can wire the radio on the raspberry directly or use an esp8266

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

          @gohan OK, after wiring the nrf24 directly to the Raspberry pi GPIO, what should I need to write in the configuration.yaml file to identify it ? No doubts that this type of wiring is also a serial gateway but I have no clue what to write in the configuration file ...

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

            Follow instructions for ethernet gateway software and how to compile it. About configuration in yaml file, I don't know, sorry... I don't use it

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

              @gohan OK, I'll give the esp8266 a chance. If I got you right , what you suggest is to replace the Ethernet module suggested here : link text with the esp8266 ? Can you please reefer me to a tutorial or a link of how to connect and to configure ?

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

                https://www.mysensors.org/build/esp8266_gateway

                Always refer to the Connect the radio page on how to wire the nrf24 module

                1 Reply Last reply
                0
                • K kobipes

                  @gohan In order to use the Ethernet gateway I need a Ethernet module and I I'll have to wait for a very long time :/ What type of home automation controller are you using instead of the 'Home assistant' ?

                  @martinhjelmare ? have a clue ? familiar with Home assistant first serial gateway configuration and can help me ?

                  martinhjelmareM Offline
                  martinhjelmareM Offline
                  martinhjelmare
                  Plugin Developer
                  wrote on last edited by
                  #13

                  @kobipes

                  Are you using Hass.io?

                  The config validation when using Hass.io doesn't seem reliable.

                  I've never used Hass.io so I can't really help you better than this. You can try to search this forum and the home assistant forum for similar questions.

                  K 1 Reply Last reply
                  0
                  • martinhjelmareM martinhjelmare

                    @kobipes

                    Are you using Hass.io?

                    The config validation when using Hass.io doesn't seem reliable.

                    I've never used Hass.io so I can't really help you better than this. You can try to search this forum and the home assistant forum for similar questions.

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

                    @martinhjelmare

                    What are you using instead of hass.io ? maybe I'll consider using it too if it's working.

                    Regarding my problem , I've got this message :
                    "Invalid config for [mysensors]: not a valid value for dictionary value @ data['mysensors']['gateways'][0]['device']. Got /'dev/ttyUSB0'.

                    I connected to the terminal through SSH are port 22 and typed : ls /dev , saw the tty folder but it was empty (expected USB0 to appear there). But when I typed dmesg | grep tty I see : "ch341-uart converter now attached to ttyUSB0". Really confused ! Though maybe I need to enable the USB0 port but didn't find any clue how to do it. In what forum can I ask for help for this kind of problem ?

                    martinhjelmareM 1 Reply Last reply
                    0
                    • K kobipes

                      @martinhjelmare

                      What are you using instead of hass.io ? maybe I'll consider using it too if it's working.

                      Regarding my problem , I've got this message :
                      "Invalid config for [mysensors]: not a valid value for dictionary value @ data['mysensors']['gateways'][0]['device']. Got /'dev/ttyUSB0'.

                      I connected to the terminal through SSH are port 22 and typed : ls /dev , saw the tty folder but it was empty (expected USB0 to appear there). But when I typed dmesg | grep tty I see : "ch341-uart converter now attached to ttyUSB0". Really confused ! Though maybe I need to enable the USB0 port but didn't find any clue how to do it. In what forum can I ask for help for this kind of problem ?

                      martinhjelmareM Offline
                      martinhjelmareM Offline
                      martinhjelmare
                      Plugin Developer
                      wrote on last edited by
                      #15

                      @kobipes

                      I think you will get the best help regarding USB exposure in Hass.io in the Hass.io section of the home assistant community forum.

                      I'm using hassbian.

                      1 Reply Last reply
                      1

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      13

                      Online

                      12.0k

                      Users

                      11.2k

                      Topics

                      113.4k

                      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