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. MQTT & MySensors persistant file

MQTT & MySensors persistant file

Scheduled Pinned Locked Moved Home Assistant
3 Posts 2 Posters 86 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.
  • M Offline
    M Offline
    martim
    wrote on last edited by
    #1

    Hi,

    I have an existing mysensors network with many nodes. I would like to work with hassio (beginner). I have added mysensors and with the mqtt gateway. However, I see that the nodes need un update because of a special way sending the S_TYPE and V_TYPE. This would require a lot of work.

    Is there not a different way? Can I not specify all the nodes into the persistent file? Does someone have an example of this file?

    I do get now an error for example that node 17 is not recognized.

    Thanks and keep safe for the Coronavirus :(

    1 Reply Last reply
    0
    • electrikE Offline
      electrikE Offline
      electrik
      wrote on last edited by
      #2

      Here you are. I stripped many devices, if you need more let me know

      {
          "4": {
              "sensor_id": 4,
              "children": {
                  "4": {
                      "id": 4,
                      "type": 4,
                      "description": "",
                      "values": {
                          "3": "71",
                          "2": "0"
                      }
                  },
                  "5": {
                      "id": 5,
                      "type": 4,
                      "description": "",
                      "values": {
                          "3": "71",
                          "2": "1"
                      }
                  },
                  "6": {
                      "id": 6,
                      "type": 4,
                      "description": "",
                      "values": {
                          "48": "927"
                      }
                  },
                  "3": {
                      "id": 3,
                      "type": 4,
                      "description": "",
                      "values": {
                          "3": "71",
                          "2": "0"
                      }
                  },
                  "15": {
                      "id": 15,
                      "type": 3,
                      "description": "",
                      "values": {
                          "2": "1"
                      }
                  }
              },
              "type": 18,
              "sketch_name": "Dimmer bank",
              "sketch_version": "3.0",
              "battery_level": 0,
              "protocol_version": "2.4.0-alpha",
              "heartbeat": 0
          }
      }
      
      M 1 Reply Last reply
      0
      • electrikE electrik

        Here you are. I stripped many devices, if you need more let me know

        {
            "4": {
                "sensor_id": 4,
                "children": {
                    "4": {
                        "id": 4,
                        "type": 4,
                        "description": "",
                        "values": {
                            "3": "71",
                            "2": "0"
                        }
                    },
                    "5": {
                        "id": 5,
                        "type": 4,
                        "description": "",
                        "values": {
                            "3": "71",
                            "2": "1"
                        }
                    },
                    "6": {
                        "id": 6,
                        "type": 4,
                        "description": "",
                        "values": {
                            "48": "927"
                        }
                    },
                    "3": {
                        "id": 3,
                        "type": 4,
                        "description": "",
                        "values": {
                            "3": "71",
                            "2": "0"
                        }
                    },
                    "15": {
                        "id": 15,
                        "type": 3,
                        "description": "",
                        "values": {
                            "2": "1"
                        }
                    }
                },
                "type": 18,
                "sketch_name": "Dimmer bank",
                "sketch_version": "3.0",
                "battery_level": 0,
                "protocol_version": "2.4.0-alpha",
                "heartbeat": 0
            }
        }
        
        M Offline
        M Offline
        martim
        wrote on last edited by
        #3

        @electrik Thanks. That will do I think. Now hopefully this will 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