blitz_api icon indicating copy to clipboard operation
blitz_api copied to clipboard

hardware_info: different fields between native_python and raspberry

Open cstenglein opened this issue 3 years ago • 2 comments

The fields from hardware_info are different between the implementations:

https://github.com/fusion44/blitz_api/tree/main/app/repositories/hardware_impl

e.g. native_python has disk_io stuff which would be cool

cstenglein avatar May 07 '22 11:05 cstenglein

I agree. On RaspiBlitz we only fetch the available hardware values that are available through Redis instead of fetching them with Python for performance reasons. @rootzoll what do you think? Should I fetch them via python or do we add more fields via the native RaspiBlitz script?

fusion44 avatar May 07 '22 15:05 fusion44

what do you think? Should I fetch them via python or do we add more fields via the native RaspiBlitz script?

If its not a bit performance think and its just system info data you can also use the python native way.

rootzoll avatar May 12 '22 11:05 rootzoll