Hi everybody,
I have a bitShake SmartMeterReader
. This is an ESP32 device running tasmota that attaches to your power meter (I guess similar to EDL21?).
It will provide these entities:
(off topic, but I thought this was weird/funny, so I’ll mention it: those values that are currently all at 0.0 are not available yet, because I needed to ask a PIN from my power supplier; once I receive this PIN, I will have to enter it into my power meter via torch/flashlight in order to access those values!!! Not a joke. This seems to be standard practice with German power suppliers and their digital energy meters ).
Anyway: I need the SM 1_8_0
and SM 2_8_0
to be available here:
If I click on VERBRAUCH HINZUFÜGEN
/ RÜCKGABE HINZUFÜGEN
(add consumption / add return, or similar), they are not available. It says “After setting up new devices, it can take up to 2 hours until they will appear in your energy dashboard”, but it has been almost 24 hours by now, and they are not there.
Well, these don’t have a unit_of_measurement
set:
So I created these entities, hoping they would allow me to use them in my energy dashboard (example only for sm_1_8_0, same for the other one though)
template:
- sensor:
name: "00/Unten/Eingangsbereich/Zaehler" # ¹
unique_id: 2023271350000
device_class: energy
state: '{{ states("sensor.bitshake_smartmeterreader_sm_1_8_0") | float }}'
unit_of_measurement: "kWh"
### and also tested whether this kind of sensor would work: it would not
sensor:
- platform: integration
source: sensor.00_unten_eingangsbereich_zaehler
name: "Unten/Eingangsbereich/Stromverbrauch"
### or
sensor:
- platform: integration
source: sensor.bitshake_smartmeterreader_sm_1_8_0
name: "Unten/Eingangsbereich/Stromverbrauch"
Neither of these sensors work. What’s wrong with them?
The smart meter itself is connected to Home Assistant via tasmota integration. However, it communicates through MQTT, so I would be able to create an MQTT sensor for it. But if all it takes is the kWh measurement, why doesn’t my template sensor work?
Thank you in advance for your help
¹ I did this because of this issue.