Navigation

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

    alexc

    @alexc

    0
    Reputation
    1
    Posts
    52
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    alexc Follow

    Best posts made by alexc

    This user hasn't posted anything yet.

    Latest posts made by alexc

    • Need help with Hass.io and serial gateway.

      Hi all,

      I have a serial gateway connected to the RaspberryPI running Hass.io.
      I've also built a sample BinarySwitchSleepSensor.
      I can see the logs on the serial gateway - it seems like it receives the messages from the sensor just fine.
      My problem is that I cannot see the sensor in the Home Assistant, no matter what I do...
      Running ls -l /dev/tty* command brings me this:
      0_1572020689657_009e0b97-ebbc-4821-826a-b342be69ce64-image.png

      The configuration.yaml contains the following section:

      mysensors:
        gateways:    
          - device: '/dev/ttyAMA0'          
        optimistic: false
        persistence: true
        retain: true
        version: '2.0'
      

      In one of the attempts I actually saw the sensor (even two, for some reason) though the state never changed.
      I'm unable to see them anymore...

      Some more info:
      After RPI reboot, the "hassio hardware info" command shows:
      0_1572073791399_0ced1a7b-3041-448b-a8bd-e6ef0a1497c7-image.png

      But after reattaching the USB I see
      0_1572073885845_082f4665-b17c-4d54-986f-6777857d6781-image.png
      So, it seems like the gateway is invisible after the boot. Chanding ttyAMA0 to ttyUSB0 in the configuration file just results in error notification on boot...

      Can someone please help me with this? What am I doing wrong?

      Thanks,

      Alex

      posted in Home Assistant
      alexc
      alexc