ironsheep / RPi-Reporter-MQTT2HA-Daemon

Linux service to collect and transfer Raspberry Pi data via MQTT to Home Assistant (for RPi Monitoring)
GNU General Public License v3.0
441 stars 62 forks source link

Feature Request: Adding wifi signal strength #135

Open dustball62 opened 5 months ago

dustball62 commented 5 months ago

Thank you for putting this together I was looking doing something like this for myself and yours is so much better.

How hard would it be to add wifi signal strength to JSON source info? I have many around the property that are in different areas that sometimes go off grid.

Thanks again for all your hard work. Dusty

ironsheep commented 4 months ago

Actually, yes, it looks initially like this is possible to do - returning dBm values. I'll see if there is a means to fit this in naturally for the wifi network interfaces.

bsimmo commented 4 months ago

If they are being monitored other than in your front end, then they need to be their own sensor/reading. Normally they would be under diagnostic and hidden by default.

Currently the networking cannot be split up easily as any sub attributes cannot easily be monitored in HA with all the standard HA methods. Triggers, logging, analysis...

On Tue, 6 Feb 2024, 8:01 am Stephen Moraco, @.***> wrote:

Actually, yes, it looks initially like this is possible to do - returning dBm values. I'll see if there is a means to fit this in naturally for the wifi network interfaces.

— Reply to this email directly, view it on GitHub https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/135#issuecomment-1928967230, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYAXN7IE3AXIOILQUXJCI3YSHPNVAVCNFSM6AAAAABC3MH33KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRYHE3DOMRTGA . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

dustball62 commented 4 months ago

Thanks Stephen- I know there are many ways to achieve that- "iwconfig wlan0 | grep Quality" for one. you probably have a better notion on how to proceed.

Ben- I'm not sure I follow your comment "Normally they would be under diagnostic and hidden by default." I would think again there are many ways to slice and dice things.

anyway, all the best.

bsimmo commented 4 months ago

I mean most integrations Tasmota, ESPhome, Tuya, Sonoff etc present WiFi Signal, Strength BT signal Strength under the Diagnostics 'tab' for a device.

Of course you can just take the JSON and do what you like with it, but it skips out one of the main parts of using HA at that point to me you may as well not bother with HA and many don't wish to create their own front ends, nor send to their own database. I was just trying to aid in moving this to a more standard HA approach.

On Tue, 6 Feb 2024, 9:37 pm dustball62, @.***> wrote:

Thanks Stephen- I know there are many ways to achieve that- "iwconfig wlan0 | grep Quality" for one. you probably have a better notion on how to proceed.

Ben- I'm not sure I follow your comment "Normally they would be under diagnostic and hidden by default." I would think again there are many ways to slice and dice things.

anyway, all the best.

— Reply to this email directly, view it on GitHub https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/135#issuecomment-1930791625, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYAXN5VLK2JFWPY7HA2N2TYSKO73AVCNFSM6AAAAABC3MH33KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZQG44TCNRSGU . You are receiving this because you commented.Message ID: @.***>

dustball62 commented 4 months ago

Ben- so okay I understand now. I'll leave it to the code owner to decide what degree and how much effort he's willing to take on in making those changes. I certainly wasnt trying to overly complicate my request.

Cheers