MEW-01 brak kosztu w bieżącym miesiącu

piterw
Posts: 5
Joined: Sat Sep 04, 2021 8:16 am

Post

Cześć,
Wie ktoś czemu dla licznika 3 fazowego jedynie aplikacja Supli prezentuje koszt w bieżącym miesiącu? Taka informacja powinna spływać również przez MQTT.
User avatar
Robert Błaszczak
Posts: 4207
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra

Post

Koszt jest przeliczany w Cloud na podstawie podanej ceny za jednostkę energii. MEW nie zna ceny jednostkowej, więc nie może podawać kosztów.
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
User avatar
Duch__
Posts: 1837
Joined: Wed Aug 24, 2016 7:26 pm
Location: Opole

Post

Jaki problem zużycie w bieżącym miesiącu przemnożyć przez cenę 1kWh? Pytanie oczywiście do autora postu.
Image
piterw
Posts: 5
Joined: Sat Sep 04, 2021 8:16 am

Post

A gdzie jest zuzycie w danym miesiącu jak podaje total od uruchomienia? Przemnożyć.. trzeba mieć co.

Od razu wklejam co zrzuca mqtt z cloud'a. Przecież nawet koszt w PLN jest zwracany tylko dla zużycia total.

Code: Select all

[b]sensor.electricity_meter_current_phase_1[/b]
1 (Current - Phase 1)
0.218	state_class: measurement
unit_of_measurement: A
friendly_name: 1 (Current - Phase 1)
device_class: current
[b]sensor.electricity_meter_current_phase_2[/b]
1 (Current - Phase 2)
1.877	state_class: measurement
unit_of_measurement: A
friendly_name: 1 (Current - Phase 2)
device_class: current
[b]sensor.electricity_meter_current_phase_3[/b]
1 (Current - Phase 3)
1.306	state_class: measurement
unit_of_measurement: A
friendly_name: 1 (Current - Phase 3)
device_class: current
[b]sensor.electricity_meter_frequency_phase_1[/b]
1 (Frequency - Phase 1)
49.98	state_class: measurement
unit_of_measurement: Hz
friendly_name: 1 (Frequency - Phase 1)
[b]sensor.electricity_meter_frequency_phase_2[/b]
1 (Frequency - Phase 2)
49.98	state_class: measurement
unit_of_measurement: Hz
friendly_name: 1 (Frequency - Phase 2)
[b]sensor.electricity_meter_frequency_phase_3[/b]
1 (Frequency - Phase 3)
49.98	state_class: measurement
unit_of_measurement: Hz
friendly_name: 1 (Frequency - Phase 3)
[b]sensor.electricity_meter_phase_angle_phase_1[/b]
1 (Phase angle - Phase 1)
-51.9	state_class: measurement
unit_of_measurement: °
friendly_name: 1 (Phase angle - Phase 1)
[b]sensor.electricity_meter_phase_angle_phase_2[/b]
1 (Phase angle - Phase 2)
-31.7	state_class: measurement
unit_of_measurement: °
friendly_name: 1 (Phase angle - Phase 2)
[b]sensor.electricity_meter_phase_angle_phase_3[/b]
1 (Phase angle - Phase 3)
-8.3	state_class: measurement
unit_of_measurement: °
friendly_name: 1 (Phase angle - Phase 3)
[b]sensor.electricity_meter_power_active_phase_1[/b]
1 (Power active - Phase 1)
19.60092	state_class: measurement
unit_of_measurement: W
friendly_name: 1 (Power active - Phase 1)
device_class: power
[b]sensor.electricity_meter_power_active_phase_2[/b]
1 (Power active - Phase 2)
358.95244	state_class: measurement
unit_of_measurement: W
friendly_name: 1 (Power active - Phase 2)
device_class: power
[b]sensor.electricity_meter_power_active_phase_3[/b]
1 (Power active - Phase 3)
266.79344	state_class: measurement
unit_of_measurement: W
friendly_name: 1 (Power active - Phase 3)
device_class: power
[b]sensor.electricity_meter_power_apparent_phase_1[/b]
1 (Power apparent - Phase 1)
50.95376	state_class: measurement
unit_of_measurement: VA
friendly_name: 1 (Power apparent - Phase 1)
[b]sensor.electricity_meter_power_apparent_phase_2[/b]
1 (Power apparent - Phase 2)
436.24642	state_class: measurement
unit_of_measurement: VA
friendly_name: 1 (Power apparent - Phase 2)
[b]sensor.electricity_meter_power_apparent_phase_3[/b]
1 (Power apparent - Phase 3)
304.39794	state_class: measurement
unit_of_measurement: VA
friendly_name: 1 (Power apparent - Phase 3)
[b]sensor.electricity_meter_power_factor_phase_1[/b]
1 (Power factor - Phase 1)
42.1	state_class: measurement
unit_of_measurement: %
friendly_name: 1 (Power factor - Phase 1)
device_class: power_factor
[b]sensor.electricity_meter_power_factor_phase_2[/b]
1 (Power factor - Phase 2)
82.5	state_class: measurement
unit_of_measurement: %
friendly_name: 1 (Power factor - Phase 2)
device_class: power_factor
[b]sensor.electricity_meter_power_factor_phase_3[/b]
1 (Power factor - Phase 3)
87.9	state_class: measurement
unit_of_measurement: %
friendly_name: 1 (Power factor - Phase 3)
device_class: power_factor
[b]sensor.electricity_meter_power_reactive_phase_1[/b]
1 (Power reactive - Phase 1)
-33.35532	state_class: measurement
unit_of_measurement: var
friendly_name: 1 (Power reactive - Phase 1)
[b]sensor.electricity_meter_power_reactive_phase_2[/b]
1 (Power reactive - Phase 2)
-226.73186	state_class: measurement
unit_of_measurement: var
friendly_name: 1 (Power reactive - Phase 2)
[b]sensor.electricity_meter_power_reactive_phase_3[/b]
1 (Power reactive - Phase 3)
-38.8421	state_class: measurement
unit_of_measurement: var
friendly_name: 1 (Power reactive - Phase 3)
[b]sensor.electricity_meter_total_cost[/b]
1 (Total cost)
451.41	state_class: measurement
unit_of_measurement: PLN
friendly_name: 1 (Total cost)
device_class: monetary
[b]sensor.electricity_meter_total_cost_balanced[/b]
1 (Total cost - balanced)
451.41	state_class: measurement
unit_of_measurement: PLN
friendly_name: 1 (Total cost - balanced)
device_class: monetary
[b]sensor.electricity_meter_total_forward_active_energy[/b]
1 (Total forward active energy)
716.53	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total forward active energy)
device_class: energy
[b]sensor.electricity_meter_total_forward_active_energy_balanced[/b]
1 (Total forward active energy - balanced)
716.53	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total forward active energy - balanced)
device_class: energy
[b]sensor.electricity_meter_total_forward_active_energy_balanced_cost[/b]
sensor Cost
unknown	state_class: total_increasing
unit_of_measurement: EUR
friendly_name: sensor Cost
device_class: monetary
[b]sensor.electricity_meter_total_forward_active_energy_phase_1[/b]
1 (Total forward active energy - Phase 1)
147.26114	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total forward active energy - Phase 1)
device_class: energy
[b]sensor.electricity_meter_total_forward_active_energy_phase_2[/b]
1 (Total forward active energy - Phase 2)
320.94252	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total forward active energy - Phase 2)
device_class: energy
[b]sensor.electricity_meter_total_forward_active_energy_phase_3[/b]
1 (Total forward active energy - Phase 3)
248.32634	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total forward active energy - Phase 3)
device_class: energy
[b]sensor.electricity_meter_total_forward_reactive_energy_phase_1[/b]
1 (Total forward reactive energy - Phase 1)
46.54204	state_class: measurement
unit_of_measurement: kvarh
friendly_name: 1 (Total forward reactive energy - Phase 1)
[b]sensor.electricity_meter_total_forward_reactive_energy_phase_2[/b]
1 (Total forward reactive energy - Phase 2)
28.83474	state_class: measurement
unit_of_measurement: kvarh
friendly_name: 1 (Total forward reactive energy - Phase 2)
[b]sensor.electricity_meter_total_forward_reactive_energy_phase_3[/b]
1 (Total forward reactive energy - Phase 3)
41.69872	state_class: measurement
unit_of_measurement: kvarh
friendly_name: 1 (Total forward reactive energy - Phase 3)
[b]sensor.electricity_meter_total_reverse_active_energy[/b]
1 (Total reverse active energy)
0.09614	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total reverse active energy)
device_class: energy
[b]sensor.electricity_meter_total_reverse_active_energy_balanced[/b]
1 (Total reverse active energy - balanced)
0.09614	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total reverse active energy - balanced)
device_class: energy
[b]sensor.electricity_meter_total_reverse_active_energy_phase_1[/b]
1 (Total reverse active energy - Phase 1)
0.04462	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total reverse active energy - Phase 1)
device_class: energy
[b]sensor.electricity_meter_total_reverse_active_energy_phase_2[/b]
1 (Total reverse active energy - Phase 2)
0.02584	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total reverse active energy - Phase 2)
device_class: energy
[b]sensor.electricity_meter_total_reverse_active_energy_phase_3[/b]
1 (Total reverse active energy - Phase 3)
0.02568	state_class: measurement
last_reset: 1970-01-01T00:00:00+00:00
unit_of_measurement: kWh
friendly_name: 1 (Total reverse active energy - Phase 3)
device_class: energy
[b]sensor.electricity_meter_total_reverse_reactive_energy_phase_1[/b]
1 (Total reverse reactive energy - Phase 1)
33.50358	state_class: measurement
unit_of_measurement: kvarh
friendly_name: 1 (Total reverse reactive energy - Phase 1)
[b]sensor.electricity_meter_total_reverse_reactive_energy_phase_2[/b]
1 (Total reverse reactive energy - Phase 2)
146.65444	state_class: measurement
unit_of_measurement: kvarh
friendly_name: 1 (Total reverse reactive energy - Phase 2)
[b]sensor.electricity_meter_total_reverse_reactive_energy_phase_3[/b]
1 (Total reverse reactive energy - Phase 3)
22.07174	state_class: measurement
unit_of_measurement: kvarh
friendly_name: 1 (Total reverse reactive energy - Phase 3)
[b]sensor.electricity_meter_voltage_phase_1[/b]
1 (Voltage - Phase 1)
237.73	state_class: measurement
unit_of_measurement: V
friendly_name: 1 (Voltage - Phase 1)
device_class: voltage
[b]sensor.electricity_meter_voltage_phase_2[/b]
1 (Voltage - Phase 2)
236.97	state_class: measurement
unit_of_measurement: V
friendly_name: 1 (Voltage - Phase 2)
device_class: voltage
[b]sensor.electricity_meter_voltage_phase_3[/b]
1 (Voltage - Phase 3)
237.65	state_class: measurement
unit_of_measurement: V
friendly_name: 1 (Voltage - Phase 3)
device_class: voltage
P.
Last edited by piterw on Mon Sep 06, 2021 10:28 pm, edited 1 time in total.
User avatar
pzygmunt
Posts: 18924
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Do MQTT takie informacje nie są wysyłanie. Klient oblicza wartość na podstawie zgromadzonej historii.
Również Suplowe aplikacje takich informacji nie dostają. Liczą koszt na bieżąco na podstawie zgromadzonej historii.
piterw
Posts: 5
Joined: Sat Sep 04, 2021 8:16 am

Post

Rozumiem. To po grzyba, przepraszam, wysyłać wyliczenie w PLN dla total wg zadanej stawki w cloud, komuś to się do czegoś przyda? Potrzebne jest miesięczne, czyli reset zużycia w w cyklu zużytych kWh by się nadał, bo inaczej trzeba się trochę nakombinować.
User avatar
pzygmunt
Posts: 18924
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Myślę, że przynajmniej jedna osoba się znajdzie dla której ta informacja jest przydatna.
Nie wiem z czym integrujesz ale wiele rozwiązań radzi sobie z tymi danymi również przy wyliczaniu kosztów.
piterw
Posts: 5
Joined: Sat Sep 04, 2021 8:16 am

Post

HA. Domyślnie energy wprowadzone ostatnio widzę średnio sobie radzi z tymi obliczeniami. Generalnie dla jasności, pokazuje ale nie wiem czego to jest suma, muszę się przyjrzeć bo się ni cholery nie zgadza :)
User avatar
pzygmunt
Posts: 18924
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Nie zgadza się dlatego, że tam jest godzinne przesunięcie czasowe.
Osobiście sugerowałbym nie kombinować/nie wyważać otwartych drzwi i pozostać przy tym co HA oferuje w standardzie.

Return to “MQTT”