[Release] Magic Home Wifi Devices - 0.88

Thanks! :slight_smile: Keep me in the loop.

Hey Adam

Nope weird CW Bulb controller shows up as dimmer not as bulb. I have lost Dimming via pico remotes no matter which way i assign them in HE on CW Bulb or Dimmable controller and regular RGB.

Scott

1 Like

Hey Adam

Also slow when i got home ,

Scott

1 Like

Thanks, Scott!

Do you have any rules or automations tied to your devices? It's helpful for debugging :slight_smile:

Hey Adam

  Just simple lighting rules on and off ,present and then button controllers for dim up and down. 

Scott

1 Like

Did this end up being part of your implementation or part of the websockets implementation? Are you still getting slowdowns while using an active websocket client?

The short answer is ... I’m not sure :slight_smile:

The other short answer is that the new version offers telnet OR socket. I’m working with staff to debug what the actual issue is. Telnet doesn’t slow down, but the routine flow is a little different between the two.

Okay, cool. The reason I'm wondering is because I'm trying to pinpoint some slowdown behavior as you've explained and an eventual crash (just one time). I haven't determined for sure what is causing the slowdown but at this point I have only drivers with a websocket implementation disabled and my hub has been fantastically stable.

Please continue to update this thread if you find any fixes or problems.

1 Like

Absolutely.

What is the other websocket driver you have? Might be helpful for debugging

This section bothers me

def setLevel(level) {
// Set the brightness of a device (0-100)
level > 100 ? (level = 100) : null
sendEvent(name: "level", value: level)
logDebug "Level set to ${level}"

setColor(hue: device.currentValue("hue"), saturation: device.currentValue("saturation"), level: level)

}

Ogiewon's Logitech integration. Again, I don't know for sure if it's websockets or if my hub just hasn't been up long enough since the last slowdown and crash. I'm only at about 36 hours uptime. Or if it's just that these extra devices are pushing the hub to its limit. I don't have any automations with the Logitech or Magic Home devices so they really shouldn't be adding much load especially idle. They are mostly for control and consolidation so that everything is in one place.

I was having slowdowns usually within 24 hours and they would get gradually worse until I had 2 and 3 second response times to any automation. I'm guessing I didn't catch one in time and that's why the hub went down.

Anyway, I'm trying to isolate the cause and the next few days should be very telling hopefully.

1 Like

Hi Scott!

Why does that bother you?

— thanks :slight_smile:

Thanks! Let me know what you find

I received my development hub today. I’ve got ~20 MagicHome devices with the new driver running on my home hub with over 100 hours of uptime. First reboot was last night with a developer update. I’m gonna keep working on it and aim for a release in the next couple days

Its the level level double call.

Scott

1 Like

Hm? There’s only one call in there. SendEvent(...) is a status write to the database only. I’ll take a look at it and triple check there’s nothing recursive, but that’s the practiced method to write this.

Sorry Automation Logic same tag same call. lol

1 Like

No need to apologize :slight_smile: I was hoping you’d seen something I hadn’t.

Nope that was the only thing that caught my eye.

1 Like

Hey Adam

Some where the set level number is not between 100 and 1 .

Scott