jonnybergdahl / HomeAssistant_Growcube_Integration

Elecrow Growcube integration for Home Assistant
15 stars 1 forks source link

Device in HASS disconnects after sometime #6

Closed aescolastico closed 4 months ago

aescolastico commented 10 months ago

So the integration for some reason stops being able to communicate with my grow cube after a few hours of adding the device. I have to delete and readd to fix it everytime

image

jonnybergdahl commented 9 months ago

The current version does not do reconnect, as I haven't found a trusted way to detect disconnects.

You can try reloading the integration instead. image

aescolastico commented 9 months ago

reloading unfortunately doesnt solve the problem. only readding does.

51av0sh commented 8 months ago

Same issue with mine. I have to remove and re-add the integration after a few hours. It also mixes up the reading between all 4 sensors.

jonnybergdahl commented 8 months ago

Can you activate logging and let me know what errors you see?

In Integrations, goto Growcube and click the > icon. Bottom left, clikc Enable debug logging. Log is viewed under System - Logs.

mliebl73 commented 6 months ago

home-assistant_growcube_2024-05-16T15-38-27.315Z.log

does this help? (did not check for errors, but I definitely get disconnects / unknown data)

thanks for that integration anyway :)

jonnybergdahl commented 6 months ago

I still haven't added a proper reconnect, but I have fixed some issues in the growcube-client that made my device unavailable when there was a problem with a sensor. Please update to 0.9.4.

mliebl73 commented 6 months ago

hmmmm I only see the 0.9.2 release

jonnybergdahl commented 6 months ago

Yes, sorry about that. 0.9.4 introduced a showstopper bug, so I had to pull it. It is published now though.

jonnybergdahl commented 4 months ago

This should be fixed now. I pulled the cable, and it did reconnect after I plugged the cable in.

mliebl73 commented 4 months ago

works like a charm, thank you!