Is it possible to delete specific nodes?



  • Hi,

    I'm having some issues with one of the nodes in my network. I want to start over from scratch with this node (name, ID, etc) but I dont want to delete my entire sensor database. Is it possible to remove just the one entry? If so, anything special I should keep in mind?



  • You'll have to edit your mysensors.json file (or the name you have at configuration.yaml), and remove the node from that file, with homeassistant stopped before. Normally the format is <node number>: { <lot of data> }.
    This is one of my nodes from HA file.

    "1": {"sensor_id": 1, "type": 17, "sketch_version": "1.0", "battery_level": 52, "protocol_version": "2.0.0-beta", "sketch_name": "Contact1", "children": {"0": {"id": 0, "type": 0, "values": {"16": "0"}}}}
    

    Just delete that part, and start HA again.



  • Thanks @danivalencia


Log in to reply
 

Suggested Topics

  • 1
  • 3
  • 1
  • 8
  • 17

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts