jblance / mpp-solar

Python package to communicate to MPP Solar PIP-4048MS inverters (and similar)
MIT License
364 stars 151 forks source link

Need to limit the output using filter #177

Closed shanrahul closed 3 years ago

shanrahul commented 3 years ago

I'm running mpp-solar -p /dev/hidraw0 -P PI30 -c QPIGS to get the general stats, but i only require some of them. So i went through the options in the mpp-solar usage and found out the --filter option , How do we use it? do we have to define a filter first ?

jblance commented 3 years ago

It's a regex, so any valid regular expression should work. There is also a exclfilter option

Filter specifies what to include and exclfilter specifies what to remove

On Sun, 31 Oct 2021, 1:23 pm shanrahul, @.***> wrote:

I'm running mpp-solar -p /dev/hidraw0 -P PI30 -c QPIGS to get the general stats, but i only require some of them. So i went through the options in the mpp-solar usage and found out the --filter option , How do we use it? do we have to define a filter first ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/177, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNR5Y3B2P2QBBL3P33DUJSD7FANCNFSM5HBUJ6CQ .