lafrech/oem_gateway

Multiple node groups

Closed this issue · 2 comments

Is this possible? Does it need to be set up as 2 RFM2Pi listeners, or can there be more than 30 nodes in a group?

Hi.

I'm not sure I understand your request.

Anyway, assuming you're using a Raspberry Pi with a RFM2Pi board, you can't setup two listeners for the same board (I never tried that, and I didn't add a specific protection against this misuse, but please don't try this at home. In the best case the second listener would get rejected because the serial port is already in use by the first. Otherwise, the parameters of the second would erase those of the first.).

The node group is a parameter of the RF board itself. It is set by the listener. The RF board can't belong to two node groups. Well, I don't think so. Yet, there may be a way of listening to packets of all groups when setting group as 0. Not sure, you should check that. Anyway, this is not specific to the gateway. You'd rather ask this on the OEM forum.

More than 30 nodes ? I suppose you are referring to the Node ID "standards" described here. I don't know. This is also related to the RF protocol rather than the gateway. I'd ask this on the forum as well.

I'm closing since this is unrelated and I'm afraid I can't help more, but please don't hesitate to reopen if you feel I misunderstood your question.

At the moment the code does not support a base node ID of 0, as per your standards link. I have forked it and I will update and test with my local setup, then send through a pull request if you are happy with it. 😄

I am at work at the moment, but can test when I get home and let you know how it goes.

Nate