Closed vcdx71 closed 4 years ago
Cool! For now I just want to make sure everything works. Can you try using the different capabilities and see if any errors show up in the logs. If you find one, run in debug mode and recreate it, then send me the log dump. If everything works as you would expect it to, then we can close this ticket and I will update my notes.
Hi DeeeeLAN! I have an i8 with split beds, motorized split heads and joint motorized foot, individual foot heaters and the under bed lighting.
The motorized split heads and the joint motorized foot work great, thanks!
Do you know if you can enable the foot heaters as well? I am seeing some errors in the logfile, I ran it in debug mode and it is attached. So far this is amazing!
Best, echristians SleepIQ Debug Log.txt
Thanks, it looks like there might be a few thinks to work on there. Can you get set up to run a local version of this plugin cloned from here? That will make it easier for me to push changes that you can try without publishing a new version each time. Or if you are comfortable with it, you could send me an authenticated key and I could try using that to access your bed directly (they expire after a few hours, so we would still need to work together on that one). We can talk directly through discord if you are on the Homebridge channel.
It works great, though I am seeing errors constantly in my logs like:
9/19/2020, 16:05:07] [SleepIQ] Failed to fetch outlet status: ReferenceError: bedSide is not defined
at SleepIQPlatform.
I don't have lights or outlets. You want a debug log?
Okay, I got the bedSide
issue resolved. Try out the update and check if you are getting more errors. Logs are always appreciated. In particular I would like to see a debug log where you adjust the head or foot position of the bed, including one where you interrupt moving one position to move one of the other ones. Then I can properly queue them up.
Updated, now it’s crashing homebridge
TypeError: Cannot read property 'updateLightStrip' of undefined
at /usr/local/lib/node_modules/homebridge-sleepiq/index.js:653:43
at API.
Sorry on my phone right now and can’t pull full logs.
Sorry I forgot to reply earlier. I fixed this in v4.1.4. Let me know what you see.
Thanks, updated to 4.15 and still crashing homebridge
20/2020, 09:33:42] TypeError: Cannot read property 'updateOutlet' of undefined
at /usr/local/lib/node_modules/homebridge-sleepiq/index.js:690:43
at API.
Hmm, now this one is a little more confusing. Can you send me a debug log, and include the details at the beginning when it is setting up the accessories. For some reason the plugin is setting up the outlets, but then when it attempts to read the value from the base and update the outlet service, it isn't finding it. I don't see any typos this time, so I think something else must be going on.
Here's my debug log.
https://www.icloud.com/iclouddrive/0IPelnbQV4OnFaWVX9ndx-6DQ#homebridge
Hmm, that's really odd. As far as I can tell, everything is working fine. I pushed an update that cleaned things up a bit in the area where the error occurred. Can you try updating? I suspect it will still crash. The only thing I can think of is the accessory that is getting restored from the cache is older and doesn't contain the updateOutlet
function as I have it written, but I don't know. If it crashes, try removing the outlets and light strips from the cache and see if the error goes away (save debug logs of this run). If it doesn't, I am going to need to take a much deeper look to get it fixed.
4.1.6 is still crashing HomeBridge.
I don’t have outlets or lights so I don’t have anything in the cache to delete.
That is interesting because your bed is saying otherwise. In the log it is successfully returning data when querying the outlet endpoint: [SleepIQ] outletStatus result: {"bedId":"-9223372027127346281","outlet":1,"setting":0,"timer":null}
. If you didn't have any, it would come back with a 404 error. What is the specific model of bed and base you have? How long ago did you buy them?
Although, another interesting thing is the order in which your statements are running. Which version of Homebridge are you running? Things are a little out of order or just straight up missing and I am not sure why.
If you feel comfortable with it, I would greatly appreciate it if you could share your sleepiq login with me so I can step through your data in my debugger. Your log is behaving in a way I haven't seen. You could email the credentials if that would be more comfortable, or send them through discord, I am in the Homebridge group.
I’ll give the credentials some thought.
Homebridge is 1.2.3
The bed is: FlexTop King iLE,SleepIQ Base is: FlexFit2,Stone,FlexTop King
Was purchased new in February of 2017.
We could also set up a VS Code collaboration session where you send me an invite and I work in your area, then you don't have to send me anything.
I might have to add a setting to select which base you have attached. I was hoping I could keep it auto-configured, but your base is reporting as though it has outlets even though it doesn't, so it probably needs to be manually specified. It must be the same board inside. I wonder if the ports are still there and just covered up by the casing. Because in theory if you could access them (cut a hole in the plastic, or just take the cover off), you would be able to use them through Homebridge even though you don't have a remote.
Can you send me the FCC ID of your pump? It should be on a sticker on the bottom.
The FCC ID is LPM-7000A
Yeah that is different hardware. And the complication grows because all the flexfits from 2018 on include the outlets and lights. So the plugin will need to differentiate between these differences. I might have to add check boxes that let you select which features you have available and want to turn on.
Yeah I'm a fan of checkboxes for features to enable, some of the other plugins I use have that..
I have the split head and single foot, but it looks like the sides are being grouped in home (which I can show separately), but is there a way to have just the left and right flex head and one single flex foot? Also, how do I get the plugin to recognize the outlets and under bed lights?
I would be a fan of the checkboxes as well.
@dppeak can you upload a picture of what you are seeing in home? So for the foot, you have a left and right control currently, right? And they both work fine to control the foot? Because that is an easier fix than if they don’t work.
Regarding the outlets and lights, send me some debug logs and I will see what is going on. We are pretty close to them working I think, just a few remaining bugs to figure out.
Yes, with a non-split foot you still get a foot control for each side. I've had this for a couple years now.
https://share.icloud.com/photos/09pxkCjBAHxiGmTv23MDHQqIw
https://share.icloud.com/photos/0ezDqLldrhoQct9vh9teRcjnQ
Both of those sides share a single foot but the control shows on each side, both sides do work, it just controls the entire bed since it's not a split foot.
Yeah I knew there would be separate controls, I am just glad they work, that is the part I wasn’t sure about. The API doesn’t differentiate between a split and a combined foot, so I will make sure to pull that in when I add configuration settings.
None of the controls seemed to be working, so I cleared the cached accessories and restarted. I then started receiving the following errors and the server kept restarting:
[9/21/2020, 4:08:57 PM] TypeError: Cannot read property 'updateOutlet' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:715:43
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/21/2020, 4:08:57 PM] Got SIGTERM, shutting down Homebridge...
[9/21/2020, 4:08:58 PM] TypeError: Cannot read property 'updateLightStrip' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:744:47
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/21/2020, 4:08:58 PM] TypeError: Cannot read property 'updateOutlet' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:715:43
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/21/2020, 4:08:59 PM] TypeError: Cannot read property 'updateLightStrip' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:744:47
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/21/2020, 4:09:02 PM] TypeError: Cannot read property 'updateOutlet' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:715:43
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Yes, with a non-split foot you still get a foot control for each side. I've had this for a couple years now.
https://share.icloud.com/photos/09pxkCjBAHxiGmTv23MDHQqIw
https://share.icloud.com/photos/0ezDqLldrhoQct9vh9teRcjnQ
Both of those sides share a single foot but the control shows on each side, both sides do work, it just controls the entire bed since it's not a split foot.
I didn't realize they showed up combined like that, that is pretty awesome.
@dppeak okay so at least you are consistent with @vcdx71. I am still not sure why though, especially since you definitely do have lights and outlets, IIRC.
I am going to try and put more logging in the file to see if I can figure out why that is happening, but I am not sure if I will be able to fix this issue without being able to log into the API with an account that has the extra devices, so I can step through the debugger and see what is going on (or do a VSCode collaboration with one of you).
I don’t use discord, how can I get you my credentials?
Sent
Okay, give v4.1.7 a try, it should fix the bugs. Homebridge should no longer crash and @dppeak your outlets/lights/foot warmers should be functional. Please test and report.
A device filter is in the works, should have it out tonight or tomorrow so you can hide devices that are not available or that you don't want to see.
I will also add a unified foot controller option, probably after the filter. Or alternatively you could just hide one of the two feet controllers and use the other one as the primary controller.
That fixed it, thanks!
4.1.7 is still crashing my system. I believe I cleared out the accessories before I launched it. Here is the log file. -Ed homebridge.log.txt
@brainstorm-tech can you upload a debug log? Do you have outlets and light strips on your model?
You bet. It's attached. I loaded 4.1.7, cleared accessories, updated config, and restarted in debug mode. I have an i8 bed. It doesn't have light strips but has one single light bulb underneath the bed, with settings of low, medium, or high brightness I do not have power strips.
-Ed
Interesting, what year did you buy your bed?
I don't believe debug mode made it into that log. You should see a bunch of darker grey messages in the prompt when debug mode is running successfully, like these:
We bought our bed three months ago! OK, I will try again for a debug logfile. -Ed
Here is the logfile. You were right I didn't have debug turned on. -Ed homebridge.log.txt
Okay @brainstorm-tech, try 4.1.8.
OK, still getting a crash from 4.1.8 but a little different:
[SleepIQ] Error when setting up bedsides: Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 25137c0f-8a41-42c4-a29f-32709d638202
Should be fixed in 4.1.9.
Looks like 4.1.9 has a different error:
Encountered MDNS socket error on socket 'en0' : send EHOSTDOWN 192.168.0.137:5353 Error: send EHOSTDOWN 192.168.0.137:5353 at doSend (dgram.js:697:16) at defaultTriggerAsyncIdScope (internal/async_hooks.js:311:12) at afterDns (dgram.js:643:5) at processTicksAndRejections (internal/process/task_queues.js:85:21) Encountered MDNS socket error on socket 'en1' : send EHOSTDOWN 192.168.0.137:5353 Error: send EHOSTDOWN 192.168.0.137:5353 at doSend (dgram.js:697:16) at defaultTriggerAsyncIdScope (internal/async_hooks.js:311:12) at afterDns (dgram.js:643:5) at processTicksAndRejections (internal/process/task_queues.js:85:21)
en0 is my ethernet interface. en1 is my wireless. -Ed
I am not sure if the MDNS errors are coming from this plugin or not, I haven't seen that one before, but there was another error in your log that I resolved in 4.1.10. If they are related they should both go away I expect.
Just noticed I got accessories added to home that I don’t have, ie the outlets and light strips
https://share.icloud.com/photos/0akVtxV2O2WTaVYUd9-PkRUbg
Assuming this was on purpose to fix the issue and the fix for this will be the option toggles. Just wanted to let you know in case this is unexpected.
Yes right now that is expected, for some reason the flex foundation API calls all indicate they have light strips and outlets, even if they don’t. Except @brainstorm-tech was different for some reason and didn’t, it only had a single outlet listed in the API call. I am not sure what the sleep number developers are doing.
Yes the easiest solution will be to just hide those extra devices once I get that functionality in place.
I cleared the cached and updated to the latest (v4.1.12) and I'm getting the following and sever keeps restarting.
[9/22/2020, 12:48:04 PM] [SleepIQ] Family Status GET results: {"beds":[{"status":1,"bedId":"-9223372027576545248","leftSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":70,"alertId":0,"lastLink":"00:00:00","pressure":1243},"rightSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":45,"alertId":0,"lastLink":"00:00:00","pressure":243}}]}
[9/22/2020, 12:48:05 PM] [SleepIQ] foundationStatus result: {"fsCurrentPositionPresetRight":"Not at preset","fsNeedsHoming":false,"fsRightFootPosition":"00","fsLeftPositionTimerLSB":"00","fsTimerPositionPresetLeft":"No timer running, thus no preset to active","fsCurrentPositionPresetLeft":"Not at preset","fsLeftPositionTimerMSB":"00","fsRightFootActuatorMotorStatus":"00","fsCurrentPositionPreset":"00","fsTimerPositionPresetRight":"No timer running, thus no preset to active","fsType":"Split Head","fsOutletsOn":false,"fsLeftHeadPosition":"09","fsIsMoving":false,"fsRightHeadActuatorMotorStatus":"00","fsStatusSummary":"42","fsTimerPositionPreset":"00","fsLeftFootPosition":"00","fsRightPositionTimerLSB":"00","fsTimedOutletsOn":false,"fsRightHeadPosition":"0c","fsConfigured":true,"fsRightPositionTimerMSB":"00","fsLeftHeadActuatorMotorStatus":"00","fsLeftFootActuatorMotorStatus":"00"}
[9/22/2020, 12:48:06 PM] [SleepIQ] right outletStatus result: {"bedId":"-9223372027576545248","outlet":1,"setting":0,"timer":null}
[9/22/2020, 12:48:07 PM] [SleepIQ] left outletStatus result: {"bedId":"-9223372027576545248","outlet":2,"setting":0,"timer":null}
[9/22/2020, 12:48:08 PM] [SleepIQ] right lightstrip outletStatus result: {"bedId":"-9223372027576545248","outlet":3,"setting":0,"timer":null}
[9/22/2020, 12:48:09 PM] [SleepIQ] Getting SleepIQ JSON Data...
[9/22/2020, 12:48:09 PM] [SleepIQ] left lightstrip outletStatus result: {"bedId":"-9223372027576545248","outlet":4,"setting":0,"timer":null}
[9/22/2020, 12:48:09 PM] [SleepIQ] Family Status GET results: {"beds":[{"status":1,"bedId":"-9223372027576545248","leftSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":70,"alertId":0,"lastLink":"00:00:00","pressure":1243},"rightSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":45,"alertId":0,"lastLink":"00:00:00","pressure":243}}]}
[9/22/2020, 12:48:09 PM] [SleepIQ] SleepIQ JSON data successfully retrieved
[9/22/2020, 12:48:09 PM] [SleepIQ] Privacy mode GET results: {"accountId":"xxxxxxxxxx","bedId":"-9223372027576545248","pauseMode":"off"}
[9/22/2020, 12:48:09 PM] [SleepIQ] SleepIQ Privacy Mode: off
[9/22/2020, 12:48:10 PM] [SleepIQ] footWarmingStatus result: {"Error":{"Code":404,"Message":"Foot Warmer is not connected or not working properly"}}
[9/22/2020, 12:48:10 PM] [SleepIQ] No foot warmer detected
[9/22/2020, 12:48:10 PM] [SleepIQ] bed0 privacy already added from cache
[9/22/2020, 12:48:10 PM] [SleepIQ] bed0leftSide occupancy already added from cache
[9/22/2020, 12:48:10 PM] [SleepIQ] bed0leftSide number control already added from cache
[9/22/2020, 12:48:10 PM] [SleepIQ] bed0leftSide flex foundation already added from cache
[9/22/2020, 12:48:10 PM] [SleepIQ] bed0rightSide occupancy already added from cache
[9/22/2020, 12:48:10 PM] [SleepIQ] bed0rightSide number control already added from cache
[9/22/2020, 12:48:10 PM] [SleepIQ] bed0rightSide flex foundation already added from cache
[9/22/2020, 12:48:10 PM] [SleepIQ] bed0anySide occupancy already added from cache
[9/22/2020, 12:48:10 PM] [SleepIQ] Foundation Status GET results: {"fsCurrentPositionPresetRight":"Not at preset","fsNeedsHoming":false,"fsRightFootPosition":"00","fsLeftPositionTimerLSB":"00","fsTimerPositionPresetLeft":"No timer running, thus no preset to active","fsCurrentPositionPresetLeft":"Not at preset","fsLeftPositionTimerMSB":"00","fsRightFootActuatorMotorStatus":"00","fsCurrentPositionPreset":"00","fsTimerPositionPresetRight":"No timer running, thus no preset to active","fsType":"Split Head","fsOutletsOn":false,"fsLeftHeadPosition":"09","fsIsMoving":false,"fsRightHeadActuatorMotorStatus":"00","fsStatusSummary":"42","fsTimerPositionPreset":"00","fsLeftFootPosition":"00","fsRightPositionTimerLSB":"00","fsTimedOutletsOn":false,"fsRightHeadPosition":"0c","fsConfigured":true,"fsRightPositionTimerMSB":"00","fsLeftHeadActuatorMotorStatus":"00","fsLeftFootActuatorMotorStatus":"00"}
[9/22/2020, 12:48:10 PM] [SleepIQ] SleepIQ Occupancy Data: {leftSide:false}
[9/22/2020, 12:48:10 PM] [SleepIQ] SleepIQ Sleep Number: {leftSide:70}
[9/22/2020, 12:48:10 PM] [SleepIQ] SleepIQ Flex Data: {leftSide: Head: 09, Foot:00}
[9/22/2020, 12:48:10 PM] [SleepIQ] SleepIQ Occupancy Data: {rightSide:false}
[9/22/2020, 12:48:10 PM] [SleepIQ] SleepIQ Sleep Number: {rightSide:45}
[9/22/2020, 12:48:10 PM] [SleepIQ] SleepIQ Flex Data: {rightSide: Head: 0c, Foot:00}
[9/22/2020, 12:48:11 PM] [SleepIQ] Outlet Status GET results: {"bedId":"-9223372027576545248","outlet":1,"setting":0,"timer":null}
[9/22/2020, 12:48:11 PM] [SleepIQ] SleepIQ outlet Data: {rightSide:0}
[9/22/2020, 12:48:11 PM] TypeError: Cannot read property 'updateOutlet' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:767:43
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 12:48:11 PM] Got SIGTERM, shutting down Homebridge...
[9/22/2020, 12:48:11 PM] [SleepIQ] Outlet Status GET results: {"bedId":"-9223372027576545248","outlet":2,"setting":0,"timer":null}
[9/22/2020, 12:48:11 PM] [SleepIQ] SleepIQ outlet Data: {leftSide:0}
[9/22/2020, 12:48:11 PM] TypeError: Cannot read property 'updateOutlet' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:767:43
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 12:48:12 PM] [SleepIQ] Lightstrip Status GET results: {"bedId":"-9223372027576545248","outlet":3,"setting":0,"timer":null}
[9/22/2020, 12:48:12 PM] [SleepIQ] SleepIQ lightstrip Data: {rightSide:0}
[9/22/2020, 12:48:12 PM] TypeError: Cannot read property 'updateLightStrip' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:796:47
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 12:48:12 PM] [SleepIQ] Lightstrip Status GET results: {"bedId":"-9223372027576545248","outlet":4,"setting":0,"timer":null}
[9/22/2020, 12:48:12 PM] [SleepIQ] SleepIQ lightstrip Data: {leftSide:0}
[9/22/2020, 12:48:12 PM] TypeError: Cannot read property 'updateLightStrip' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:796:47
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 12:48:14 PM] [SleepIQ] Getting SleepIQ JSON Data...
[9/22/2020, 12:48:14 PM] [SleepIQ] Family Status GET results: {"beds":[{"status":1,"bedId":"-9223372027576545248","leftSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":70,"alertId":0,"lastLink":"00:00:00","pressure":1244},"rightSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":45,"alertId":0,"lastLink":"00:00:00","pressure":243}}]}
[9/22/2020, 12:48:14 PM] [SleepIQ] SleepIQ JSON data successfully retrieved
[9/22/2020, 12:48:14 PM] [SleepIQ] Privacy mode GET results: {"accountId":"xxxxxxxxxx","bedId":"-9223372027576545248","pauseMode":"off"}
[9/22/2020, 12:48:14 PM] [SleepIQ] SleepIQ Privacy Mode: off
[9/22/2020, 12:48:15 PM] [SleepIQ] Foundation Status GET results: {"fsCurrentPositionPresetRight":"Not at preset","fsNeedsHoming":false,"fsRightFootPosition":"00","fsLeftPositionTimerLSB":"00","fsTimerPositionPresetLeft":"No timer running, thus no preset to active","fsCurrentPositionPresetLeft":"Not at preset","fsLeftPositionTimerMSB":"00","fsRightFootActuatorMotorStatus":"00","fsCurrentPositionPreset":"00","fsTimerPositionPresetRight":"No timer running, thus no preset to active","fsType":"Split Head","fsOutletsOn":false,"fsLeftHeadPosition":"09","fsIsMoving":false,"fsRightHeadActuatorMotorStatus":"00","fsStatusSummary":"42","fsTimerPositionPreset":"00","fsLeftFootPosition":"00","fsRightPositionTimerLSB":"00","fsTimedOutletsOn":false,"fsRightHeadPosition":"0c","fsConfigured":true,"fsRightPositionTimerMSB":"00","fsLeftHeadActuatorMotorStatus":"00","fsLeftFootActuatorMotorStatus":"00"}
[9/22/2020, 12:48:15 PM] [SleepIQ] SleepIQ Occupancy Data: {leftSide:false}
[9/22/2020, 12:48:15 PM] [SleepIQ] SleepIQ Sleep Number: {leftSide:70}
[9/22/2020, 12:48:15 PM] [SleepIQ] SleepIQ Flex Data: {leftSide: Head: 09, Foot:00}
[9/22/2020, 12:48:15 PM] [SleepIQ] SleepIQ Occupancy Data: {rightSide:false}
[9/22/2020, 12:48:15 PM] [SleepIQ] SleepIQ Sleep Number: {rightSide:45}
[9/22/2020, 12:48:15 PM] [SleepIQ] SleepIQ Flex Data: {rightSide: Head: 0c, Foot:00}
[9/22/2020, 12:48:16 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[9/22/2020, 12:48:21 PM] [HB Supervisor] Restarting Homebridge...
[9/22/2020, 12:48:21 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules -D
[9/22/2020, 12:48:23 PM] [HB Supervisor] Started Homebridge v1.2.3 with PID: 583
Hmm, that is odd. Can you include the earlier log information where the devices are being set up?
Cleared cached Accessories and then restarted container.
[9/22/2020, 2:16:22 PM] Homebridge v1.2.3 is running on port 51826.
[9/22/2020, 2:16:22 PM] [SleepIQ] Login result: {"userId":"xxxxxxxxxx","key":"116qDzErebUQT","registrationState":13,"edpLoginStatus":200,"edpLoginMessage":"not used"}
[9/22/2020, 2:16:23 PM] [SleepIQ] Family Status GET results: {"beds":[{"status":1,"bedId":"-9223372027576545248","leftSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":70,"alertId":0,"lastLink":"00:00:00","pressure":1356},"rightSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":45,"alertId":0,"lastLink":"00:00:00","pressure":305}}]}
[9/22/2020, 2:16:24 PM] [SleepIQ] foundationStatus result: {"fsCurrentPositionPresetRight":"Not at preset","fsNeedsHoming":false,"fsRightFootPosition":"00","fsLeftPositionTimerLSB":"00","fsTimerPositionPresetLeft":"No timer running, thus no preset to active","fsCurrentPositionPresetLeft":"Not at preset","fsLeftPositionTimerMSB":"00","fsRightFootActuatorMotorStatus":"00","fsCurrentPositionPreset":"00","fsTimerPositionPresetRight":"No timer running, thus no preset to active","fsType":"Split Head","fsOutletsOn":false,"fsLeftHeadPosition":"09","fsIsMoving":false,"fsRightHeadActuatorMotorStatus":"00","fsStatusSummary":"42","fsTimerPositionPreset":"00","fsLeftFootPosition":"00","fsRightPositionTimerLSB":"00","fsTimedOutletsOn":false,"fsRightHeadPosition":"0c","fsConfigured":true,"fsRightPositionTimerMSB":"00","fsLeftHeadActuatorMotorStatus":"00","fsLeftFootActuatorMotorStatus":"00"}
[9/22/2020, 2:16:25 PM] [SleepIQ] right outletStatus result: {"bedId":"-9223372027576545248","outlet":1,"setting":0,"timer":null}
[9/22/2020, 2:16:26 PM] [SleepIQ] left outletStatus result: {"bedId":"-9223372027576545248","outlet":2,"setting":0,"timer":null}
[9/22/2020, 2:16:27 PM] [SleepIQ] right lightstrip outletStatus result: {"bedId":"-9223372027576545248","outlet":3,"setting":0,"timer":null}
[9/22/2020, 2:16:28 PM] [SleepIQ] left lightstrip outletStatus result: {"bedId":"-9223372027576545248","outlet":4,"setting":0,"timer":null}
[9/22/2020, 2:16:28 PM] [SleepIQ] Getting SleepIQ JSON Data...
[9/22/2020, 2:16:28 PM] [SleepIQ] Family Status GET results: {"beds":[{"status":1,"bedId":"-9223372027576545248","leftSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":70,"alertId":0,"lastLink":"00:00:00","pressure":1355},"rightSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":45,"alertId":0,"lastLink":"00:00:00","pressure":304}}]}
[9/22/2020, 2:16:28 PM] [SleepIQ] SleepIQ JSON data successfully retrieved
[9/22/2020, 2:16:28 PM] [SleepIQ] New privacy switch detected.
[9/22/2020, 2:16:29 PM] [SleepIQ] Family Status GET results: {"beds":[{"status":1,"bedId":"-9223372027576545248","leftSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":70,"alertId":0,"lastLink":"00:00:00","pressure":1355},"rightSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":45,"alertId":0,"lastLink":"00:00:00","pressure":304}}]}
[9/22/2020, 2:16:29 PM] [SleepIQ] footWarmingStatus result: {"Error":{"Code":404,"Message":"Foot Warmer is not connected or not working properly"}}
[9/22/2020, 2:16:29 PM] [SleepIQ] No foot warmer detected
[9/22/2020, 2:16:29 PM] [SleepIQ] Found Bed Privacy Switch: bed0
[9/22/2020, 2:16:29 PM] [SleepIQ] Found BedSide Occupancy Sensor: bed0leftSide
[9/22/2020, 2:16:29 PM] [SleepIQ] Found BedSide Number Control: bed0leftSide
[9/22/2020, 2:16:29 PM] [SleepIQ] Found BedSide Flex Foundation: bed0leftSide
[9/22/2020, 2:16:29 PM] [SleepIQ] Found BedSide Occupancy Sensor: bed0rightSide
[9/22/2020, 2:16:29 PM] [SleepIQ] Found BedSide Number Control: bed0rightSide
[9/22/2020, 2:16:29 PM] [SleepIQ] Found BedSide Flex Foundation: bed0rightSide
[9/22/2020, 2:16:29 PM] [SleepIQ] Found BedSide Occupancy Sensor: bed0anySide
[9/22/2020, 2:16:30 PM] [SleepIQ] foundationStatus result: {"fsCurrentPositionPresetRight":"Not at preset","fsNeedsHoming":false,"fsRightFootPosition":"00","fsLeftPositionTimerLSB":"00","fsTimerPositionPresetLeft":"No timer running, thus no preset to active","fsCurrentPositionPresetLeft":"Not at preset","fsLeftPositionTimerMSB":"00","fsRightFootActuatorMotorStatus":"00","fsCurrentPositionPreset":"00","fsTimerPositionPresetRight":"No timer running, thus no preset to active","fsType":"Split Head","fsOutletsOn":false,"fsLeftHeadPosition":"09","fsIsMoving":false,"fsRightHeadActuatorMotorStatus":"00","fsStatusSummary":"42","fsTimerPositionPreset":"00","fsLeftFootPosition":"00","fsRightPositionTimerLSB":"00","fsTimedOutletsOn":false,"fsRightHeadPosition":"0c","fsConfigured":true,"fsRightPositionTimerMSB":"00","fsLeftHeadActuatorMotorStatus":"00","fsLeftFootActuatorMotorStatus":"00"}
[9/22/2020, 2:16:31 PM] [SleepIQ] right outletStatus result: {"bedId":"-9223372027576545248","outlet":1,"setting":0,"timer":null}
[9/22/2020, 2:16:32 PM] [SleepIQ] left outletStatus result: {"bedId":"-9223372027576545248","outlet":2,"setting":0,"timer":null}
[9/22/2020, 2:16:33 PM] [SleepIQ] right lightstrip outletStatus result: {"bedId":"-9223372027576545248","outlet":3,"setting":0,"timer":null}
[9/22/2020, 2:16:33 PM] [SleepIQ] Getting SleepIQ JSON Data...
[9/22/2020, 2:16:33 PM] [SleepIQ] Family Status GET results: {"beds":[{"status":1,"bedId":"-9223372027576545248","leftSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":70,"alertId":0,"lastLink":"00:00:02","pressure":1355},"rightSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":45,"alertId":0,"lastLink":"00:00:02","pressure":304}}]}
[9/22/2020, 2:16:33 PM] [SleepIQ] SleepIQ JSON data successfully retrieved
[9/22/2020, 2:16:34 PM] [SleepIQ] Privacy mode GET results: {"accountId":"-9223372027576242260","bedId":"-9223372027576545248","pauseMode":"off"}
[9/22/2020, 2:16:34 PM] [SleepIQ] SleepIQ Privacy Mode: off
[9/22/2020, 2:16:34 PM] [SleepIQ] left lightstrip outletStatus result: {"bedId":"-9223372027576545248","outlet":4,"setting":0,"timer":null}
[9/22/2020, 2:16:34 PM] [SleepIQ] Foundation Status GET results: {"fsCurrentPositionPresetRight":"Not at preset","fsNeedsHoming":false,"fsRightFootPosition":"00","fsLeftPositionTimerLSB":"00","fsTimerPositionPresetLeft":"No timer running, thus no preset to active","fsCurrentPositionPresetLeft":"Not at preset","fsLeftPositionTimerMSB":"00","fsRightFootActuatorMotorStatus":"00","fsCurrentPositionPreset":"00","fsTimerPositionPresetRight":"No timer running, thus no preset to active","fsType":"Split Head","fsOutletsOn":false,"fsLeftHeadPosition":"09","fsIsMoving":false,"fsRightHeadActuatorMotorStatus":"00","fsStatusSummary":"42","fsTimerPositionPreset":"00","fsLeftFootPosition":"00","fsRightPositionTimerLSB":"00","fsTimedOutletsOn":false,"fsRightHeadPosition":"0c","fsConfigured":true,"fsRightPositionTimerMSB":"00","fsLeftHeadActuatorMotorStatus":"00","fsLeftFootActuatorMotorStatus":"00"}
[9/22/2020, 2:16:34 PM] [SleepIQ] SleepIQ Occupancy Data: {leftSide:false}
[9/22/2020, 2:16:34 PM] [SleepIQ] SleepIQ Sleep Number: {leftSide:70}
[9/22/2020, 2:16:34 PM] [SleepIQ] SleepIQ Flex Data: {leftSide: Head: 09, Foot:00}
[9/22/2020, 2:16:34 PM] [SleepIQ] SleepIQ Occupancy Data: {rightSide:false}
[9/22/2020, 2:16:34 PM] [SleepIQ] SleepIQ Sleep Number: {rightSide:45}
[9/22/2020, 2:16:34 PM] [SleepIQ] SleepIQ Flex Data: {rightSide: Head: 0c, Foot:00}
[9/22/2020, 2:16:35 PM] [SleepIQ] footWarmingStatus result: {"Error":{"Code":404,"Message":"Foot Warmer is not connected or not working properly"}}
[9/22/2020, 2:16:35 PM] [SleepIQ] No foot warmer detected
[9/22/2020, 2:16:35 PM] [SleepIQ] bed0 privacy already added from cache
[9/22/2020, 2:16:35 PM] [SleepIQ] bed0leftSide occupancy already added from cache
[9/22/2020, 2:16:35 PM] [SleepIQ] bed0leftSide number control already added from cache
[9/22/2020, 2:16:35 PM] [SleepIQ] bed0leftSide flex foundation already added from cache
[9/22/2020, 2:16:35 PM] [SleepIQ] bed0rightSide occupancy already added from cache
[9/22/2020, 2:16:35 PM] [SleepIQ] bed0rightSide number control already added from cache
[9/22/2020, 2:16:35 PM] [SleepIQ] bed0rightSide flex foundation already added from cache
[9/22/2020, 2:16:35 PM] [SleepIQ] bed0anySide occupancy already added from cache
[9/22/2020, 2:16:35 PM] [SleepIQ] Outlet Status GET results: {"bedId":"-9223372027576545248","outlet":1,"setting":0,"timer":null}
[9/22/2020, 2:16:35 PM] [SleepIQ] SleepIQ outlet Data: {rightSide:0}
[9/22/2020, 2:16:35 PM] TypeError: Cannot read property 'updateOutlet' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:767:43
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 2:16:35 PM] Got SIGTERM, shutting down Homebridge...
[9/22/2020, 2:16:36 PM] [SleepIQ] Outlet Status GET results: {"bedId":"-9223372027576545248","outlet":2,"setting":0,"timer":null}
[9/22/2020, 2:16:36 PM] [SleepIQ] SleepIQ outlet Data: {leftSide:0}
[9/22/2020, 2:16:36 PM] TypeError: Cannot read property 'updateOutlet' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:767:43
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 2:16:36 PM] [SleepIQ] Lightstrip Status GET results: {"bedId":"-9223372027576545248","outlet":3,"setting":0,"timer":null}
[9/22/2020, 2:16:36 PM] [SleepIQ] SleepIQ lightstrip Data: {rightSide:0}
[9/22/2020, 2:16:36 PM] TypeError: Cannot read property 'updateLightStrip' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:796:47
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 2:16:37 PM] [SleepIQ] Lightstrip Status GET results: {"bedId":"-9223372027576545248","outlet":4,"setting":0,"timer":null}
[9/22/2020, 2:16:37 PM] [SleepIQ] SleepIQ lightstrip Data: {leftSide:0}
[9/22/2020, 2:16:37 PM] TypeError: Cannot read property 'updateLightStrip' of undefined
at /homebridge/node_modules/homebridge-sleepiq/index.js:796:47
at API.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/API.js:502:6)
at Request.plumbing.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:76:39)
at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-sleepiq/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:185:22)
at Request.emit (events.js:315:20)
at Request.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1154:10)
at Request.emit (events.js:315:20)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 2:16:38 PM] [SleepIQ] Getting SleepIQ JSON Data...
[9/22/2020, 2:16:38 PM] [SleepIQ] Family Status GET results: {"beds":[{"status":1,"bedId":"-9223372027576545248","leftSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":70,"alertId":0,"lastLink":"00:00:00","pressure":1355},"rightSide":{"isInBed":false,"alertDetailedMessage":"No Alert","sleepNumber":45,"alertId":0,"lastLink":"00:00:00","pressure":304}}]}
[9/22/2020, 2:16:38 PM] [SleepIQ] SleepIQ JSON data successfully retrieved
[9/22/2020, 2:16:38 PM] [SleepIQ] Privacy mode GET results: {"accountId":"-9223372027576242260","bedId":"-9223372027576545248","pauseMode":"off"}
[9/22/2020, 2:16:38 PM] [SleepIQ] SleepIQ Privacy Mode: off
[9/22/2020, 2:16:39 PM] [SleepIQ] Foundation Status GET results: {"fsCurrentPositionPresetRight":"Not at preset","fsNeedsHoming":false,"fsRightFootPosition":"00","fsLeftPositionTimerLSB":"00","fsTimerPositionPresetLeft":"No timer running, thus no preset to active","fsCurrentPositionPresetLeft":"Not at preset","fsLeftPositionTimerMSB":"00","fsRightFootActuatorMotorStatus":"00","fsCurrentPositionPreset":"00","fsTimerPositionPresetRight":"No timer running, thus no preset to active","fsType":"Split Head","fsOutletsOn":false,"fsLeftHeadPosition":"09","fsIsMoving":false,"fsRightHeadActuatorMotorStatus":"00","fsStatusSummary":"42","fsTimerPositionPreset":"00","fsLeftFootPosition":"00","fsRightPositionTimerLSB":"00","fsTimedOutletsOn":false,"fsRightHeadPosition":"0c","fsConfigured":true,"fsRightPositionTimerMSB":"00","fsLeftHeadActuatorMotorStatus":"00","fsLeftFootActuatorMotorStatus":"00"}
[9/22/2020, 2:16:39 PM] [SleepIQ] SleepIQ Occupancy Data: {leftSide:false}
[9/22/2020, 2:16:39 PM] [SleepIQ] SleepIQ Sleep Number: {leftSide:70}
[9/22/2020, 2:16:39 PM] [SleepIQ] SleepIQ Flex Data: {leftSide: Head: 09, Foot:00}
[9/22/2020, 2:16:39 PM] [SleepIQ] SleepIQ Occupancy Data: {rightSide:false}
[9/22/2020, 2:16:39 PM] [SleepIQ] SleepIQ Sleep Number: {rightSide:45}
[9/22/2020, 2:16:39 PM] [SleepIQ] SleepIQ Flex Data: {rightSide: Head: 0c, Foot:00}
[9/22/2020, 2:16:40 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
Captured this as it's restarting
[9/22/2020, 2:21:40 PM] [SleepIQ] Initializing SleepIQ platform...
[9/22/2020, 2:21:40 PM] [SleepIQ] Configuring Cached Accessory: bed0privacy UUID: 8dde952d-d3c3-439c-a933-d39a5e6681eb
[9/22/2020, 2:21:40 PM] [SleepIQ] Configuring Cached Accessory: bed0leftSideoccupancy UUID: bfd069fc-eb56-4788-b877-85033cb99c74
[9/22/2020, 2:21:40 PM] [SleepIQ] Configuring Cached Accessory: bed0leftSidenumber UUID: 4e85b00f-b84d-4fdf-8acd-94c7a4974313
[9/22/2020, 2:21:40 PM] [SleepIQ] Configuring Cached Accessory: bed0leftSideflex UUID: 12e5a3c1-f911-47db-bd8e-8fc3a6d26539
[9/22/2020, 2:21:40 PM] [SleepIQ] Configuring Cached Accessory: bed0rightSideoccupancy UUID: c4460d42-16a7-4a8c-9314-5f3c8697f122
[9/22/2020, 2:21:40 PM] [SleepIQ] Configuring Cached Accessory: bed0rightSidenumber UUID: f1c1f4d7-d4c0-4e8e-bd49-edeec85ffca9
[9/22/2020, 2:21:40 PM] [SleepIQ] Configuring Cached Accessory: bed0rightSideflex UUID: d334aab2-0bd9-4566-bad0-91e92fede833
[9/22/2020, 2:21:40 PM] [SleepIQ] Configuring Cached Accessory: bed0anySideoccupancy UUID: 41902b90-ea11-440b-b277-66061ce8338b
[9/22/2020, 2:21:40 PM] [SleepIQ] API Finished Launching
[9/22/2020, 2:21:40 PM] [SleepIQ] Checking accessories for any marked for removal
[9/22/2020, 2:21:40 PM] [SleepIQ] SleepIQ Authenticating...
Okay, try 4.1.13, I think that should be fixed now.
@DeeeeLAN That worked and now I'm seeing all the accessories as they should be.
However, I am getting the following on the outlets/lightstrips
[9/22/2020, 3:25:30 PM] [SleepIQ] Failed to set light-strip on side=L to=true : ReferenceError: sideName is not defined
at snLightStrip.setLightStrip (/homebridge/node_modules/homebridge-sleepiq/index.js:1223:25)
at snLightStrip.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/index.js:1257:12)
at Characteristic.emit (events.js:315:20)
at Characteristic.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:652:12)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1461:24
at Array.forEach (<anonymous>)
at Bridge.Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1303:10)
at HAPServer.emit (events.js:315:20)
at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:812:12)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:280:24)
at IncomingMessage.emit (events.js:315:20)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 3:25:32 PM] [SleepIQ] Failed to set outlet on side=L to=true : ReferenceError: sideName is not defined
at snOutlet.setOutlet (/homebridge/node_modules/homebridge-sleepiq/index.js:1159:25)
at snOutlet.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/index.js:1193:12)
at Characteristic.emit (events.js:315:20)
at Characteristic.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:652:12)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1461:24
at Array.forEach (<anonymous>)
at Bridge.Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1303:10)
at HAPServer.emit (events.js:315:20)
at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:812:12)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:280:24)
at IncomingMessage.emit (events.js:315:20)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 3:25:34 PM] [SleepIQ] Failed to set light-strip on side=R to=true : ReferenceError: sideName is not defined
at snLightStrip.setLightStrip (/homebridge/node_modules/homebridge-sleepiq/index.js:1223:25)
at snLightStrip.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/index.js:1257:12)
at Characteristic.emit (events.js:315:20)
at Characteristic.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:652:12)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1461:24
at Array.forEach (<anonymous>)
at Bridge.Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1303:10)
at HAPServer.emit (events.js:315:20)
at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:812:12)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:280:24)
at IncomingMessage.emit (events.js:315:20)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[9/22/2020, 3:25:35 PM] [SleepIQ] Failed to set outlet on side=R to=true : ReferenceError: sideName is not defined
at snOutlet.setOutlet (/homebridge/node_modules/homebridge-sleepiq/index.js:1159:25)
at snOutlet.<anonymous> (/homebridge/node_modules/homebridge-sleepiq/index.js:1193:12)
at Characteristic.emit (events.js:315:20)
at Characteristic.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:652:12)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1461:24
at Array.forEach (<anonymous>)
at Bridge.Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1303:10)
at HAPServer.emit (events.js:315:20)
at HAPServer.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at HAPServer._this._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:812:12)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:280:24)
at IncomingMessage.emit (events.js:315:20)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
I have a split head/single foot, let me know what data you'd like, happy to help..