dcmeglio

Results 58 comments of dcmeglio

This looks like code for the blind tilt device, I was working on the Curtain device. Unfortunately I don't have a Tilt to test with.

Don't think so, but a theory - https://github.com/Danielhiversen/pySwitchbot/blob/9a36e4ee5934f0fb3f67ad25e6472b3796d346af/switchbot/devices/blind_tilt.py#L106 is the only reference I see to motionDirection. The only time it's not is on line 84, https://github.com/Danielhiversen/pySwitchbot/blob/9a36e4ee5934f0fb3f67ad25e6472b3796d346af/switchbot/devices/blind_tilt.py#L84 if that if statement...

I haven't been able to reproduce it, but digging through the code pyswitchbot should log `Unsuccessful, please try again` if my theory is correct https://github.com/Danielhiversen/pySwitchbot/blob/9a36e4ee5934f0fb3f67ad25e6472b3796d346af/switchbot/devices/device.py#L551C28-L551C58 @c0nt4x do you see that...

@glbailey Do you see the log entry I asked about? `Unsuccessful, please try again` ?

When this happens, what is the current position set to? By any chance is it set to Unknown?

Basically someone with merge access needs to approve it

Not sure if it’s related (if not I can file a separate issue) but I’ve been seeing similar timeouts with my sleep sensors: ``` Traceback (most recent call last): File...

> Could something be blocking network IO? Can you maybe try booting in safe mode? I can try later but I'm not seeing what @codyc1515 says. Withings is the only...

Since I can consistently reproduce this one, I'm going to try to raise a PR later to catch and retry this error.

The fix here is trickier than retries now that I see what's going on. The problem is that the error is occurring inside an asynchronous callback for cloud connection state...