maorcc / citymind_water_meter

Home Assistant Integration with cp.city-mind.com, an Israeli water meters reading service
Apache License 2.0
41 stars 2 forks source link

Water Leakage Bug #83

Open niraviry opened 1 week ago

niraviry commented 1 week ago

Hi. I had a water leakage few days back. The meter showed the drop icon untill I have solved the proble. From the log I can see the water leakage indicator popped up 3 days before I realy got a notification from my municipaly. Furthermopre, the leagage was fixed and the drop icon no longer appears at the meter nor in my municipaly water company but it is showes its on in the binary sensor. That looks like a bug.

elad-bar commented 1 week ago

can you please share screenshot / diagnostic file / logs? not sure I understand the issue as the integration doesn't calculate leak by itself, only sensor available is for alert under the account

niraviry commented 1 week ago

Hi.

The water meter showed the drop icon when the leakage was true. The binary sensor is still on and was on before it all started. I have verified it with Meniv Rishon Lezion. Now the binary sensor is still on although Meniv sees it is off and I see no drip icon on the meter.

If you still need logs, I will do that later. The on start on the 12th while the message arrived from Meniv on the morning of the 15th and is still on. No leakage at the 16th noon time where I have fixed the leakage.

Nir

בתאריך יום ו׳, 18 באוק׳ 2024 ב-10:17 מאת Elad Bar @.***

:

can you please share screenshot / diagnostic file / logs? not sure I understand the issue as the integration doesn't calculate leak by itself, only sensor available is for alert under the account

— Reply to this email directly, view it on GitHub https://github.com/maorcc/citymind_water_meter/issues/83#issuecomment-2421624048, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYPXNQ3FMA7RVT45K3NPNLZ4CYZDAVCNFSM6AAAAABQFIXUF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRRGYZDIMBUHA . You are receiving this because you authored the thread.Message ID: @.***>

elad-bar commented 1 week ago

Which meter icon? Please be more accurate, sensor name / diagnostic file / logs, your terms are not aligned with the name of sensors, In addition, i'm not guessing what happened in your physical meter nor integration , without actual data I cannot assist, Once you will be next to it, pls share the missing details

Thanks

niraviry commented 1 week ago

Hi. I thought you know the display of the meter. Adding an image. נשלח מה-iPhone שלי‫ב-18 באוק׳ 2024, בשעה 11:15, ‏‏Elad Bar @.***> כתב/ה:‬ Which meter icon? Please be more accurate, sensor name / diagnostic file / logs, your terms are not aligned with the name of sensors, In addition, i'm not guessing what happened in your physical meter nor integration , without actual data I cannot assist, Once you will be next to it, pls share the missing details Thanks

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

niraviry commented 1 week ago

The top line has a flow sensor on the left hand side, an icon that shows there is a flow and its direction and a leakage icon on the right hand side. The picture was taken during the leakage time frame. Now the drop icon is no longer on but the binary sensor of the integration is still on. Hope this helps. Nirנשלח מה-iPhone שלי‫ב-18 באוק׳ 2024, בשעה 11:15, ‏‏Elad Bar @.***> כתב/ה:‬ Which meter icon? Please be more accurate, sensor name / diagnostic file / logs, your terms are not aligned with the name of sensors, In addition, i'm not guessing what happened in your physical meter nor integration , without actual data I cannot assist, Once you will be next to it, pls share the missing details Thanks

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

niraviry commented 1 week ago

BTW, the meter model is ARAD LR9 D and or TAVOR 20-Z (both appear on the meter).

elad-bar commented 1 week ago

Did you share a picture? Asking because it's not attached.

In addition, as I understand you are talking about the meter UI itself, not related to HA, is that correct?

niraviry commented 1 week ago

Now doing it. [image]()

elad-bar commented 1 week ago

This is a repo for integration between Arad portal (cloud) and Home Assistant.

If something is not working well between the the meter itself to notifcations configured in the portal, please ask you municipality to address it with Arad.

If something is not aligned between Arad portal and the integration, please provide logs and diagnostic file, Otherwise, I cannot assist.

Please don't describe what happens in the meter, it is not relevant, as what important is just the cloud service.

niraviry commented 1 week ago

This picture show 0.8m^3/h flow, positive flow (water consumption) and the drop icon which indicate there is a leakage (set by the meter itself). This correlates with the Meniv servers (Rishon LeZion).

elad-bar commented 1 week ago

Again, please provide logs and diagnostic file

niraviry commented 1 week ago

OK.Checking how to do that. Anyway it looks like a mismach between Arad servers and the municipaly. The municipaly is OK related to the meter.

elad-bar commented 1 week ago

The question is whether you see the same details between Arad and HA, If not, I will need the information to understand what causes it

elad-bar commented 1 week ago

Instruction how to do that are available in readme https://github.com/maorcc/citymind_water_meter?tab=readme-ov-file#troubleshooting

niraviry commented 1 week ago

Got the diagnostics (removed other intergrations entries) config_entry-citymind_water_meter-01J246VDD33C989SDT46WKYPYP.json

niraviry commented 1 week ago

Thanks. Not at home to do that. Anyway the Read My Meter does not show any alert at this point.

elad-bar commented 1 week ago

Ok, so no issue for now?

niraviry commented 1 week ago

I did not say that. The Readmymeter pro does not show any alert while the city-mind does show an alert as the leakage binary_sensor is on since 3 days before the real leakage popped up. Since than it was fixed so no leakage now but binary_sensor is still on. I will submit logs later or tomorrow morning.

niraviry commented 3 days ago

Now I have found some time to add the diagnostics. I have removed/altered all personal details. Looking inside, it looks like a bug in Arad's cloud service. The binary sensor was turned on 3 days before the real leakage. The leakage was fixed by me and now the meter is fully aligned with the municipally and the ReadMyMeter app. I have contacted Arad and they do not deal with end users. I have contacted the municipally and since they are on holiday this week I will ask them to bring the issue to Arad on upcoming working day.

config_entry-citymind_water_meter-01J246VDD33C989SDT46WKYPYP (1).json

elad-bar commented 3 days ago

I think you didn't understand the purpose of the binary sensor, it just reflacts the status of configuration whether to alert in case of leakage or not, There is another sensor of alerts that tells you if there is a leak its name is Alerts

niraviry commented 3 days ago

OK. I will check. I might have missed it as I was looking for another binary sensor but did not find one. The strange thing is why was it changed on the 12th? I did not do anything.
Thanks.

niraviry commented 3 days ago

I have checked again. There is only one binary sensor in the list of entities of the integration. Th eone you are talking about is missing, at least from my entities list.