Hello,
OK, first off I have an Ethernet gateway setup with one water tank level sensor node. It now works fine.
But I am trying to tidy things up a bit. The sensor has been duplicated in HA and is not the child ID I set in the sketch.
This is the part that I declare the child ID in the sketch
#define MY_NODE_ID 1 // comment out this line if you use dynamic id's
#define CHILD_ID_WATER 1
#define CHILD_ID_PERCENT 2
#define CHILD_ID_BATTERY 3
This is my config.yaml
# Mysensors gateway configuration
mysensors:
gateways:
- device: '192.168.1.200'
persistence_file: '/mysensors3.json'
tcp_port: 5003
version: 2.3
optimistic: false
persistence: true
retain: true
1st question is, why cant I see ‘mysensors3.json’ in the config folder? I am thinking if I can find it, then I can edit it to get rid of unwanted entities?
If I try and put anything in front of the file path, the logs go crazy and state they can not find the json file or create it. When I leave it as above all seems fine and the sensors appear in Dev tools, states.
BUT I have multiple entries that I want to get rid of… Can anyone point me in the right direction of what i am doing wrong please?
Cheers
Simon