mdegat01 / addon-amr2mqtt

HA Addon which runs rtlamr to read IDM power meter data and send to MQTT broker
MIT License
29 stars 14 forks source link

Setting Center Frequency #69

Closed gdam12886 closed 2 years ago

gdam12886 commented 2 years ago

The meter that I am attempting to capture uses 917.58Mhz. I am able to use rtlamr on my PC set to that frequency and I pick up a number of meters. The addon uses 912.38Mhz as the center frequency and is not picking up any meters.

Can an option be added to the addon configuration to set the center frequency?

mdegat01 commented 2 years ago

Sure seems reasonable. Do you know if the value of the option looks like a float or a float+unit by any chance? The doc just says this:

-centerfreq=0: center frequency to receive on

Want to properly validate the option so need to know if its used like this:

-centerfreq=912.38

or like this:

-centerfreq=912.38Mhz
randysaz928 commented 2 years ago

I believe it is looking for float + M like: 912.380M or 915M I believe rtlamr pretty much does nothing with it and just passes it to rtl_tcp.

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!