DeeeeLAN / homebridge-sleepiq

SleepIQ Homebridge plugin
18 stars 10 forks source link

split head/single foot #28

Closed vcdx71 closed 4 years ago

vcdx71 commented 4 years ago

I have a split head/single foot, let me know what data you'd like, happy to help..

DeeeeLAN commented 4 years ago

Progress! That is a good sign. Okay I fixed that error in 4.1.14.

dppeak commented 4 years ago

Something different now.

[9/22/2020, 6:54:18 PM] [SleepIQ] Lightstrip Status GET results: {"bedId":"-9223372027576545248","outlet":4,"setting":0,"timer":null}
[9/22/2020, 6:54:18 PM] [SleepIQ] SleepIQ lightstrip Data: {leftSide:0}
[9/22/2020, 6:54:20 PM] [SleepIQ] Outlet -> true
[9/22/2020, 6:54:20 PM] [SleepIQ] Setting outlet on side=L to=true
[9/22/2020, 6:54:20 PM] [SleepIQ] Getting SleepIQ JSON Data...
[9/22/2020, 6:54:20 PM] [SleepIQ] outlet PUT result: {"Error":{"Code":400,"Message":"Property [outletId] of class [class com.bamlabs.SetFoundationOutletParameters] cannot be null,Property [setting] of class [class com.bamlabs.SetFoundationOutletParameters] cannot be null"}}
brainstorm-tech commented 4 years ago

Hey I am running 4.1.14 with no errors! I will put it through a full test, but so far it looks like almost everything is showing. Will report back soon.

Thanks!

DeeeeLAN commented 4 years ago

@brainstorm-tech good to hear!

@dppeak try 4.1.15, it should fix that issue.

dppeak commented 4 years ago

@DeeeeLAN Almost everything is working as it should. The left side outlet/lightstrip buttons are working as they should. However, the right side outlet/lightstrip buttons are actually turning on the left side lights.

[9/23/2020, 9:58:58 AM] [SleepIQ] Lightstrip Status GET results: {"bedId":"-9223372027576545248","outlet":3,"setting":0,"timer":null}
[9/23/2020, 9:58:58 AM] [SleepIQ] SleepIQ lightstrip Data: {rightSide:0}
[9/23/2020, 9:58:58 AM] [SleepIQ] Lightstrip Status GET results: {"bedId":"-9223372027576545248","outlet":4,"setting":0,"timer":null}
[9/23/2020, 9:58:58 AM] [SleepIQ] SleepIQ lightstrip Data: {leftSide:0}
[9/23/2020, 9:58:59 AM] [SleepIQ] LightStrip -> true
[9/23/2020, 9:58:59 AM] [SleepIQ] Setting light-strip on side=R to=true
[9/23/2020, 9:58:59 AM] [SleepIQ] light-strip PUT result: {}

[9/23/2020, 10:02:43 AM] [SleepIQ] Outlet Status GET results: {"bedId":"-9223372027576545248","outlet":2,"setting":0,"timer":null}
[9/23/2020, 10:02:43 AM] [SleepIQ] SleepIQ outlet Data: {leftSide:0}
[9/23/2020, 10:02:43 AM] [SleepIQ] Outlet Status GET results: {"bedId":"-9223372027576545248","outlet":1,"setting":0,"timer":null}
[9/23/2020, 10:02:43 AM] [SleepIQ] SleepIQ outlet Data: {rightSide:0}
[9/23/2020, 10:02:44 AM] [SleepIQ] Lightstrip Status GET results: {"bedId":"-9223372027576545248","outlet":4,"setting":1,"timer":null}
[9/23/2020, 10:02:44 AM] [SleepIQ] SleepIQ lightstrip Data: {leftSide:1}
[9/23/2020, 10:02:44 AM] [SleepIQ] Lightstrip Status GET results: {"bedId":"-9223372027576545248","outlet":3,"setting":0,"timer":null}
[9/23/2020, 10:02:44 AM] [SleepIQ] SleepIQ lightstrip Data: {rightSide:0}
DeeeeLAN commented 4 years ago

Interesting. So just to confirm, the outlet 3 is definitely right side, right?

DeeeeLAN commented 4 years ago

Should be fixed in 4.1.16.

dppeak commented 4 years ago

@DeeeeLAN YOU ROCK!! Everything is working great!

DeeeeLAN commented 4 years ago

Hurray!! Okay, I am going to close this ticket for now. Left to do from this thread is an ignore filter, and a unified foot control for beds with a single foot. I will also be adding the automatic delay when setting a scene that moves two flex units to make sure the first finishes before starting the second so it isn't interrupted.

@dppeak, @vcdx71, @brainstorm-tech please try and do a thorough test of all the various flex features and open new tickets with any bugs you might find (hopefully none). If anybody has a bed with a massage unit in it, that is also something I would like to get added so please open a ticket.

dppeak commented 4 years ago

@DeeeeLAN Our bed has the massage unit, so I can open a ticket.