What is your change? It does require a restart (i.e. remove and replace the batteries) after changing the DIP switch, but if I am reading of the sketch (V2.7 - dated 04/01/17) correctly, the switches will change the NodeID.
It will fail, because you will still have two items transmitting using the same Node ID, and that’s not allowed (each will add to the same data stream, making your data wrong). The config file tells emonHub how to interpret the data it gets, by looking at the NodeID that comes with the data, and comparing that with the list of configurations in the config file. It doesn’t allocate the Node ID to the data.
I have a similar situation with a brand new emonth 2 sensor - my firs one. I am not receiving anything from the sensor in emonhub.
The emonth has been ordered with nodeid 23.
The batteries are ok - I measured the voltage for both and it’s around 3V.
When I insert the batteries, there is no green led turning on - I tried inserting the batteries without any lights on.
Emonhub config looks ok - it has an entry for nodeid 23.
Emonpi has been updated and restarted.
The sensor is placed at 2 meters from the emonpi.
Does anyone have some ideas on how to troubleshoot the issue?
The LED is turned on by the very first action in the sketch.
Do you have a programmer? If yes, you could connect that and check if there is any output. If there is, then say what you see. You should see (at 115200 Baud) something like
emonTH FW: V3.2
and then some more about the radio and the sensor(s) fitted/connected.
But I suspect your emonTH is faulty.
If you see nothing, or you do not have a programmer, email the shop and include a link to this thread.
I have a programmer, but it’s not the one you from the shop so I cannot connect it directly to the board.
Can you tell me what pins should I connect and their positions on the board - I imagine at a minimum Tx/Rx and GND.
I tried to find them on the board schematics, but couldn’t find the labes.