How to obtain information from pulse output - electricity measurement
Tomm206 opened this issue · 12 comments
Hello,
is it please possible to collect information from pulse output using this intregration? I use many Jablotron devices and also Wireless Pulse Convertor JA-150EM-DIN. I cannot find any data in integration. It is also mentioned in the documentation.
Thank you.
Did you add the pulse convertor to integration? Does it log something to the logs?
Solved. I wrongly set the type of pulse convertor in the integration. I corrected to "Electricity meter with pulse output" and it works. Now it shows pulses in HA – it is cumulative, and it always drops down probably when achieved a max. amount.
Any experience with conversion of these pulses to kWh and display per hour, per day or per month in HA?
Thanks.
Any experience with conversion of these pulses to kWh and display per hour, per day or per month in HA? Thanks.
@Tomm206 did you solved it? I have also pulse meter attached to jablotron, and would like to see consumption instead of pulses :) of course, I can do this in node-red and create sensor, which do this, but some integration would be better
Hi, unfortunately not, because the entity that should display data from the electricity meter with pulse output has stopped showing data (it still shows the same number), and I don't know how to correct it. There's probably something wrong with the Jablotron integration.
I can see now that another sensor was automatically created. The original one doesn't work, but the second one works normally. I didn't know that. So, I will consider now how to convert to kWh.
I suggested something like this to the first user of this sensor:
template:
- sensor:
- name: 'Energy of Device 36'
unique_id: energy_device_36
device_class: energy
unit_of_measurement: kWh
state_class: total_increasing
state: "{{ states('sensor.pulses_of_electricity_meter_with_pulse_output_device_36') | float / 10 }}"
utility_meter:
hourly_energy_device_36:
source: sensor.energy_of_device_36
name: Hourly energy device 36
cycle: hourly
You have to set the right number that means one pulse.
I wanted to try the template sensor you proposed, but unfortunately, the second pulse sensor (as mentioned above) is not available.
This issue happened after Core upgrade:
Core: 2024.3.0
Supervisor: 2024.02.1
Operating System: 12.0
The first sensor has been stuck for a very long time. The second sensor appeared recently and was functioning, but it stopped working after today's upgrade.
I can see that a problem has been detected in the logbook, but I don’t know how to access the details.
I also tried to download diagnostics but no file is available.
Please advise me on where the problem might be. Thank you.
I don't have pulse meter in my Jablotron so I don't know how it works.
In log I can see only this:
Logger: custom_components.jablotron100
Zdroj: custom_components/jablotron100/jablotron.py:2102
integrace: Jablotron 100 (dokumentace, problémy)
První výskyt: 9. března 2024 v 04:32:24 (33 výskyty)
Naposledy logováno: 09:19:11
Info packet of unknown device (device 38): 900a269c070a2d831a001b35
Info packet of unknown device (device 38): 900a269c070a2d831b001b35
State packet of unknown device (device 38): 55094f008109b047aa260d
Info packet of unknown device (device 38): 900a269c070a2d831c001b35
State packet of unknown device (device 38): 55094f008109b04c092d14
Strange thing is that I don't have device 38 in my Jablotron integration. The electricity pulse meter is device 37.
The info packets are periodic updates of device 38. It contain info about power - it may be siren or electricity meter
@Tomm206 @kukulich I have ja-150EM-DIN together with impulse electromer and have no problem with integration to HA
I have created NODE-RED sensor, which returns kWH converted from impulses (I have 800 pulses per 1kwH) and this is used by standard utility meter https://www.home-assistant.io/integrations/utility_meter
this is my solution and it seems to be working, also in Energy board