No Tasmota Energy Grid Integration

I use the ESP based IR reader Tasmota solution to read my energy. Everything works fine, i can see the values in HA, but i am unable to select the entities in the Energy dashboard. I think i have to modify the entities with additional attributes and do not know how. Can someone help me?

Hi! I have the same problem. Do you have a solution untilgbare now?
Thanks and greatings !

same here. tasmota Total energy (FROM Grid) is available but EnergySupply (To Grid) is not available. Do not understand why and how to change

If you compare the attributes in dev tools states.

Do they both have state_class and device_class?

state_class: total_increasing
device_class: energy 

Is what you want for the energy dashboard.
You can use customise.yaml to add these if they don’t exist currently, assuming you can’t change them on the device or mqtt entry.

You need to use the manual section, the UI section has been removed for security reasons.

thanks. I got it with this information via a separate template. I did not got it as a customization. currently no need to analyse the reason. I think I will check later how to change the mqtt entry/tasmota-config

template:
  - sensor:
      - name: "TasmotaTotalEnergySupply"
        unit_of_measurement: kWh
        device_class: energy
        state_class: total_increasing
        state: "{{ states('sensor.tasmota_energy_supply')|float}}"

1 Like

I would like to understand where this information comes from. The Tasmota config is for me the same for both sensors
1,77070100010800ff@1000,Comsumption,kWh,Total,4
;for meters measuring feed-in SGM-Cx-xxx2xx
1,77070100020800ff@1000,Supply,kWh,Supply,4

look here. So why knows HomeAssistant that Total has class energy and total_increasing while supply is missing it…?

>D
>B
->sensor53 r
>M 1
+1,3,s,16,9600,ENERGY
1,77070100010800ff@1000,Comsumption,kWh,Total,4
;for meters measuring feed-in SGM-Cx-xxx2xx
1,77070100020800ff@1000,Supply,kWh,Supply,4
;all commented lines from here on for 3-phase meter SGM-C4
1,77070100100700ff@1,Actual Power,W,Power,0
1,77070100200700ff@1,Voltage L1,V,Voltage,1
;1,77070100340700ff@1,Voltage L2,V,Voltage_L2,1
;1,77070100480700ff@1,Voltage L3,V,Voltage_L3,1
1,770701001f0700ff@1,Current L1,A,Current,2
;1,77070100330700ff@1,Current L2,A,Current_L2,2
;1,77070100470700ff@1,Current L3,A,Current_L3,2
;1,77070100510701ff@1,Phaseangle L2-L1,deg,phase_angle_L2_L1,0
;1,77070100510702ff@1,Phaseangle L3-L1,deg,phase_angle_L3_L1,0
1,77070100510704ff@1,Phaseangle I/U L1,deg,phase_angle_L1,1 
;1,7707010051070fff@1,Phaseangle I/U L2,deg,phase_angle_L2,1  
;1,7707010051071aff@1,Phaseangle I/U L3,deg,phase_angle_L3,1 
1,770701000e0700ff@1,Frequency,Hz,Freq,1
;all commented lines from here on just for completeness
;1,7707010000020000@1,Firmware Version,,FwVer,0
;1,77070100605a0201@1,Firmware Checksum,,FwCheck,0
;1,7707010061610000@1,Error Register,,ErrorReg,0
;1,7707010060320101@1,Hardware Version,,HwVer,0
;1,7707010060320104@1,Parameter Version,,ParamVer,0
1,77070100600100ff@#,Server-ID,,ID,0
;You can find your server-id printed on your meter. If you want you can also convert it to your Identifikationsnummer with some ASCII, DEC and HEX encoding. 0A-01-45-46-52-ST-UV-WX-YZ = 1EFR + string(S) + string(T) + hexToDec(UVWXYZ)
#