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. Struggling with configure.yaml

Struggling with configure.yaml

Scheduled Pinned Locked Moved Home Assistant
21 Posts 2 Posters 9.9k Views 2 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.
  • el tigroE Offline
    el tigroE Offline
    el tigro
    wrote on last edited by el tigro
    #21

    Well, the sun shines on a dogs arse some days.

    We've only gone and done it, HA dash with relay sw. can controll led from dash. I honestly have sticky stuff running down my leg. You have no idea how happy I am.

    For future reference.
    I was flicking the power to reset pi in between config changes. My mosquitto was not starting from boot, so nothing to connect to, hence the errors when the code was right.
    Also reset your nodes after a change.

    This my yaml for the following setup

    nodes are arduino nanos with nrf2401+ radio. (mysensors 2.0)

    gateway is esp8266 NodeMCU 1.09. Wifi with NRF2401+

    Pi 3 hosts Home Assistant and Mosquitto broker. Installed with All in one image.

    mysensors:
      gateways:
        - device: mqtt
          persistence_file: '/home/homeassistant/mysensors4.json'
          topic_in_prefix: 'mygateway1-out'
          topic_out_prefix: 'mygateway1-in'
      debug: true
      optimistic: false
      persistence: true
      retain: true
      version: 2.0
    
    mqtt:
      broker: localhost
      port: 1883
      client_id: home-assistant-1
      keepalive: 60
    

    Righty. I'm off to play. Be back very soon when i get stuck.

    Cheers for now fella, thank you for all your help.

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


    18

    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