Comments (7)
@thijselblaso yes, this shouldn't be too hard. GImme a week or so...
from rpi-reporter-mqtt2ha-daemon.
@thijselblaso do you mean a separate topic for memory used vs. free? Currentlhy we have these topics:
from rpi-reporter-mqtt2ha-daemon.
@ironsheep yes, as a separate topic. I know that there is a memory attribute but I can not make a sensor out of it. I tried to separate the attribute memory in only used RAM in percentage with a sensor template in HA, but I can not make it work. I have a screenshot of my lovelace dashboard. The first one is my unraid server with glance integration. The MQTT server and pihole are raspberry pi's. What I'm missing there is the current used RAM
from rpi-reporter-mqtt2ha-daemon.
@ironsheep Thank you, I appreciate it!
from rpi-reporter-mqtt2ha-daemon.
as a workaround you can use the following template sensor:
- sensor:
- name: "pi4b memory usage"
unique_id: pi4b_memory_usage
unit_of_measurement: "%"
icon: mdi:memory
state: "{{(100-(state_attr('sensor.rpi_monitor_pi4b','memory')['free_mb']|float)*100 / (state_attr('sensor.rpi_monitor_pi4b','memory')['size_mb']|float))| round(2)}}"
from rpi-reporter-mqtt2ha-daemon.
Added new sensor. Update appears in v1.7.3 and later.
(Pardon the Pitre suffixes that's the name of my RPi!)
from rpi-reporter-mqtt2ha-daemon.
Changes commited and appear in v1.7.3 and later
from rpi-reporter-mqtt2ha-daemon.
Related Issues (20)
- RPI-Reporter Could not start after OS Update HOT 4
- Bookworm reports "arch=armhf"
- systemd timeout - start of service timed out (no RPI in MQTT) HOT 1
- Pi Zero & /opt/ Kernel Panic HOT 1
- DietPi on Dell Wyze 3040 HOT 1
- Buster not reporting, status of payload sometimes "offline", sometimes "online" HOT 4
- I'm struggling to get this workin on my pi4 HOT 1
- Should {hostname} be replaced with hostname? HOT 6
- Ability for networking to show all connections HOT 2
- Discovery prefix is forced to lowercase HOT 1
- Feature Request: Adding wifi signal strength HOT 5
- This URL has been moved to https
- Reboot and shutdown buttons not working from Home Assistant. HOT 2
- RPi-Reporter doesn't work with paho-mqtt 2.0.0+ HOT 2
- systemctl stopped being able start process HOT 7
- Option for setting mqtt not to retain state... HOT 2
- Problems with MQTT coms when adding new Raspberry Pi or when changing name of RPi
- 3rd Party Data Collection to kz0q (dot) com HOT 1
- Self-contained package or add-on for Kodi/LibreELEC
- Positional argument missing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi-reporter-mqtt2ha-daemon.