this post was submitted on 15 Dec 2023
15 points (94.1% liked)

homeassistant

11987 readers
6 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I have a gas meter that I am reading through rtlamr2mqtt that I am trying to add to the Energy dashboard, but it does not show up in the dropdown. I have checked the FAQ and it seems like my sensor is setup correctly... any ideas?

https://www.home-assistant.io/docs/energy/faq/#troubleshooting-missing-entities

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 10 months ago* (last edited 10 months ago)

Strange! Nothing jumps out at me as being an obvious problem with your setup. I'm doing something similar, though instead of rtlamr2mqtt (which I didn't know about) I have a bash script run via cron that parses rtlamr output via jq and pipes that to mqtt (mosquitto), but there's very little to it. I know the energy dashboard setup is picky about the energy recording entities.

Mine looks like:

state_class: total_increasing
unit_of_measurement: ft³
device_class: gas
friendly_name: Gas Meter

The name of the entity is sensor.gas_meter and the state is currently 113812 as an example.

Might be worth reading through GitHub issues for rtlamr2mqtt, including closed ones, if you haven't already. Or maybe a hass restart? Can't think of anything else.