I've just installed the script on a atmega328 to relay a EmonTX (openenergymonitoring.org) because it is out of reach from the RaspberryPI that is my base station.
For one client it works, but shouldn't it be for two or more clients too?
My configuration:
network group 79 on Raspberry and all devices
network group 80 for the one (or more) clients that are out of reach from the Raspberry
input group 80, nodeID 30, output group 79, nodeID 1 on relay, MULTI=0, ACK=1 (or 0, both works in my setup).
With this configuration I get the 3 values from the EmonTX to the Raspberry, but they arrive with nodeID 1, not with the nodeID of the EmonTX in group 80 as expected.
When I tried to relay a second EmonTX with 8 measurement values I only received 8 in total on the Raspberry. It looks like value 4-8 are from the second EmonTX and value 1-3 seem to be from the first EmonTX but sometimes overwritten from the second EmonTX.
I tried all combinations of MULTI and ACK but it doesn't help.
Any ideas to solve this problem and to get two or more clients relayed, maybe also with the source nodeIDs?
I haven't really address this combination. In the worst case, you could put the nodes in different net groups and have them relayed through separate relays. Not a great option, perhaps, but it should work.
Hello!
I've just installed the script on a atmega328 to relay a EmonTX (openenergymonitoring.org) because it is out of reach from the RaspberryPI that is my base station. For one client it works, but shouldn't it be for two or more clients too?
My configuration: network group 79 on Raspberry and all devices network group 80 for the one (or more) clients that are out of reach from the Raspberry input group 80, nodeID 30, output group 79, nodeID 1 on relay, MULTI=0, ACK=1 (or 0, both works in my setup).
With this configuration I get the 3 values from the EmonTX to the Raspberry, but they arrive with nodeID 1, not with the nodeID of the EmonTX in group 80 as expected.
When I tried to relay a second EmonTX with 8 measurement values I only received 8 in total on the Raspberry. It looks like value 4-8 are from the second EmonTX and value 1-3 seem to be from the first EmonTX but sometimes overwritten from the second EmonTX. I tried all combinations of MULTI and ACK but it doesn't help.
Any ideas to solve this problem and to get two or more clients relayed, maybe also with the source nodeIDs?
best regards Juergen Brenner