Is there a numbering range for RFM Devices?

Is there a numbering range that will be used for Open Energy Monitor devices communicating via RF going forward?

I've noticed that in the new EMONPI image the EMONHUB has allocation for 8 x EMONTH's which overlay the number range I was using to feed into EMONHUB via MQTT from Openhab. Simply deleting the duplication works until I update the image when they return so I was wondering what numbering range is safe to use.

Thanks

Kevin

TrystanLea's picture

Re: Is there a numbering range for RFM Devices?

Hello Kevin, we're having a bit of an discussion about this, whether emonhub.conf should ship pre-configured or not. You're right that many of the id's are now used up and reflect firmware changes on the emonth and emontx. I see the issue where the emonpiupdate will keep adding the nodes even if you already have it defined.

This is being done by the search here: https://github.com/openenergymonitor/emonpi/blob/master/emoncmsupdate#L57 I will look into how this can be changed to check for nodeid's so that it only appends a node if no node is already described on [[8]] etc

TrystanLea's picture

Re: Is there a numbering range for RFM Devices?

I've changed the implementation of this to search for nodeid's rather than the firmware name and add nodes individually. Running update now should not overwrite any existing nodes on the same nodeid. It will only add node decoders for nodes not described - which could in itself still be a problem if the nodes are not being described at all?

sheppy's picture

Re: Is there a numbering range for RFM Devices?

Thanks for the replies Trystan, is an entry such as

[[4]]
    nodename = Office_Temp

sufficient to prevent overwriting or does it need extra information in there? I'm guessing you changed something in the last few days to prevent a full overwrite?

TrystanLea's picture

Re: Is there a numbering range for RFM Devices?

Yes that will be sufficient

sheppy's picture

Re: Is there a numbering range for RFM Devices?

Thanks, I did an update and nothing got overwritten

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.