MQTT & MySensors persistant file



  • 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 😞



  • 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
        }
    }
    


  • @electrik Thanks. That will do I think. Now hopefully this will work 🙂


Log in to reply
 

Suggested Topics

  • 1
  • 8
  • 1
  • 1
  • 17
  • 5

63
Online

11.4k
Users

11.1k
Topics

112.7k
Posts