AdyRock / com.linktap

GNU General Public License v3.0
2 stars 3 forks source link

Receive error message: invalid capability: meter_water.total #26

Open jnk-cons opened 1 year ago

jnk-cons commented 1 year ago

Still a few malligem use, the device changes to the error state. After a repair, the device is active again, but when I start it, the error "invalid capability: meter_water.total" appears in the app.

If I delete the device and add it again, it works again for a few days until the error occurs again.

maja2020 commented 5 months ago

Hi, I have the same error on one of two valves. So I compared the device settings in dev tools. It seems that somehow the values of meter_water.total and meter_water are set to null values. About a month ago, this happend on one of the valves. After repairing the device the value of meter_water what set to 0 with this days date-time-stamp, but the meter_water.total was still null with a date time stamp of 1 month ago.

It seems the repair function does not update the meter_water.total null value. Can't see if its a string "null" (found some code that changes null to "null") Anyway, I think the value shoud be updated on repair with the result of if (this value is available from the linktap API | set to 0 - type float)

jnk-cons commented 3 months ago

Any news? LinkTap is impossible to use.

AdyRock commented 3 months ago

Sorry, I'm not sure how I missed these posts, but I will look into it as soon as I can. The weather here has been very wet this year, so I haven't needed to use my valves and therefore haven't replaced the batteries. I will get them back in service tomorrow and check everything over. In the meantime, could you open the app settings and select the Diagnostics log tab, and send the Log.

jnk-cons commented 3 months ago

Sure, here ist the ID: c40c72f6-c35d-4eeb-a8d5-8e9193a706a5

A few seconds before creating the report, I tried to open a vent which is NOT in error state. The opening failed with the error message: invalid capability: meter_water.total". If I open the vent from the LinkTap app, the vent opens and it is also shown as open in Homey. But I cannot control the vent from homey.

I have two other vents which are in error state with the same error message.

AdyRock commented 3 months ago

Unfortunately, the Homey Diagnostics report is very limited. Could you send the Log from the app settings page using the Send Log button on the page.

jnk-cons commented 3 months ago

Ah, I missed that button. I send the protocol a minute ago.

The Device with the name "Beet Mitte" is the one, which I can't control from Homey. The Device with the name "GHTank Füller" is currently in error state.

AdyRock commented 3 months ago

Sorry, could you go to the next tab along, which is the Diagnostics log, and send that one.

jnk-cons commented 3 months ago

Sure, done. I hope all information are in. Can't see the actions from today in the logs...

jnk-cons commented 3 months ago

One more info, I have also 3 apps in the store. So, if I can help during the debug process, let me know.

AdyRock commented 3 months ago

One thing I see in the log is a few webhook messages saying the device is offline. That's a message from LinkTap because the valve hasn't reported to the hub / server. Could it be that the distance between the hub and the valve is on the limit?

jnk-cons commented 3 months ago

Nothing is offline in the LinkTap app. They where offline a few days ago because of an empty battery. But they are working like a Charme using the LinkTap app.

Also After a repair, they are working. Than later, this invalid capability is shown up again

AdyRock commented 3 months ago

Ok, I will have a good look when I get home from work.