-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessories disappear then reappear #44
Comments
I have the same. It happens if the internet connection get lost. Then all zone accessories disappear from the home app. |
When your zone accessories reappear, do they end up in a different room? Mine always reappear in the same room as my Homebridge hub instead of the separate Neato room I created. |
Yes, they are all in the standard room. |
It happened again yesterday after I added a new plugin to my config, except this time it was worse. Now that I’m on iOS 13 it changed the names of everything to “[robot name] - [zone name]” instead of “clean the [zone name]” Edit: now they’ve just disappeared. I haven’t changed anything, I opened my Home app this morning and the zones are gone. |
Ok I understand that the accessories reappear in a different room after restarting homebridge. Do they disappear as well after restarting homebridge or while it is running? |
There have been a few occasions where they disappear while homebridge is
running. Most of the time they survive a reboot, but they reset after any
changes are made to homebridge, probably to do with the cache being cleared.
…On Sat, Sep 14, 2019 at 1:48 PM Arne ***@***.***> wrote:
Ok I understand that the accessories reappear in a different room after
restarting homebridge. Do they disappear as well after restarting
homebridge or while it is running?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#44?email_source=notifications&email_token=AHWLHYDBUB37NHKYWENCAWLQJVEYRA5CNFSM4ITITHZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6XD3MQ#issuecomment-531512754>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHWLHYA5US4LJO3KUIVZ6B3QJVEYRANCNFSM4ITITHZQ>
.
|
I will read into the caching of homebridge. In previous versions of my plugin, homebridge just crashed when the neato servers were not available. In the current version, I catch these problems but the result is, that I get no robots if the neato server is offline. An easy alternative would be to add the robots manually to the homebridge config as accessories, but I don't want to burden the users with that additional step, so I need to find another way. |
Thanks for looking into it. I have an idea for a sloppy fix, but it'd only work for iOS 13 and up. If you can make the switches appear as a grouped accessory, then even if they do appear in the wrong room it'd be easy to move everything over to the right place in one go. Currently all the robot functions except the zones are grouped. |
The zones are not grouped on purpose to be able to sort them into different rooms. I‘m currently beta testing a new release with @ DJay-X that reduces the API calls massively which should stop the connection problems with the resulting drop in/outs. A definite solution will be adding a cache, I‘m still looking into that. |
This has happened several times this week. First time was after a power outage, second I have no idea |
@naofireblade any chance of getting access to that beta? I’ve been experimenting with a HomeKit automation that triggers Neato when I leave the house but due to the deleting and readding the shortcut loses reference to the robot and can’t run it. Not having a JavaScript background I’ve been trying to slowly figure out how to hack the caching in myself (or don’t delete and re add) but admittedly it’s a slow process 😄 |
Hi, sorry to hear that. |
I just wanted to check in about this. Everything reset again because my router updated its firmware today. I understand you have time constraints, but when you do get a chance to work on things again, this is a pretty major bug |
+1 for a fix to the zones problem. |
+1! |
Another nudge here. Would really love for the accessories to cache! Let me know if there’s anything I can do to support / fast track this development. |
It would be ideal to add cached accessories. I’d rather go in and manually delete the the cache when things change (like adding or removing a zone) than the current behavior |
I'm seeing the same behavior here. When the plugin can't reach the Neato servers, the accessories disappear from HomeKit, and when they reappear they're treated as new accessories, so they end up in the default room with default settings. Standard behavior should probably be something like, if the Neato server can't be reached, the plugin keeps the cached accessory config as-is until server connection is available (so the accessory would remain in HomeKit but show as "no response"), then checks the cached config against whatever is received from the Neato server, making any necessary adjustments at that point. |
Any update here? I keep experiencing this problem |
From what I can tell we need to copy this template https://github.com/homebridge/homebridge-plugin-template/blob/18a88dd8dc6390ce5c408def6bf7ba45d6f4a789/src/platform.ts#L11 Making a class that implements Next step when recreating out accessories we need to check which ones exist already and don't recreate. In the sample it's done here https://github.com/homebridge/homebridge-plugin-template/blob/18a88dd8dc6390ce5c408def6bf7ba45d6f4a789/src/platform.ts#L78 Im trying to play around but Im a complete Javascript noob. |
Working on this right now. I have to convert the plugin to typescript and dynamic platform. I will report back here when a beta is available. |
Good news, I got the dynamic platform working and robots no longer disappear. I still have some work to do to move all the functionality to typescript and improve some stuff. |
You should setup a patreon or some way to donate. Ive literally spent days trying to figure this out but not been a JS dev I really struggled. I'd love to buy you a beer. |
Agreed! Many plugins now have a donate option that shows up if you use Homebridge UI X |
I have a BuyMeACoffee profile. I will add the donation link to homebridge, when the next release of the plugin gets verified. |
I published version 1.0.0-beta.2 . Some TODOs remain until the final release. You can install the beta with Changelog:1.0.0-beta.1
TODO until 1.0.0 release
|
The code for the beta can be found here: https://github.com/naofireblade/homebridge-neato/tree/dynamic-platform |
The good news is: the beta version (1.0.0 beta.2) is now creating at least one robot, but is still missing the second one: May 4 20:54:12 Rasp4 homebridge[5279]: [04/05/2021, 8:54:12 pm][NeatoVacuumRobot] Neato account has 2 robot s |
Thanks for testing! Is the second robot connected to the internet? |
I installed the new beta and indeed the snd robot was disconnected from the WiFi - THX for bringing this up!
All working fine now!!!!
… On May 5, 2021, at 10:36 AM, Arne ***@***.***> wrote:
Thanks for testing! Is the second robot connected to the internet?
Can you install beta.3 in debug mode and post the output to help identify the problem?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#44 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AOPG6A25HZ6JTYXX2MYSS4DTMD7R7ANCNFSM4ITITHZQ>.
|
Alright, can u disconnect the robot again, restart homebridge and see if the robot still exists there? That would be cool. |
I did - working!
- syslog spits out an error that it can’t be reached, but it’s still in the accessories pane!
… On May 5, 2021, at 12:02 PM, Arne ***@***.***> wrote:
Alright, can u disconnect the robot again, restart homebridge and see if the robot still exists there? That would be cool.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#44 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AOPG6A7SX23PZOAPAOE7GO3TMEJSTANCNFSM4ITITHZQ>.
|
@naofireblade Thanks for your work. Meanwhile I was also able to install the latest beta.6
But am I doing something wrong?
|
Hi,
is there a desire to get the new D8 also working with the plugin?
KR
Ekke
… On May 5, 2021, at 6:14 PM, Ekkehard Schuetz ***@***.***> wrote:
I did - working!
- syslog spits out an error that it can’t be reached, but it’s still in the accessories pane!
> On May 5, 2021, at 12:02 PM, Arne ***@***.*** ***@***.***>> wrote:
>
>
> Alright, can u disconnect the robot again, restart homebridge and see if the robot still exists there? That would be cool.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub <#44 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AOPG6A7SX23PZOAPAOE7GO3TMEJSTANCNFSM4ITITHZQ>.
>
|
@naofireblade I recently installed Homebridge. My Neato vacuum keeps moving back to the default room as originally mentioned in this issue. I'm on v0.7.3 of your plugin. |
I've noticed that lately every few days all Neato accessories disappear only to reappear after restarting Homebridge. They reappear in the wrong room and I have to set up all my scenes involving Neato all over again. So far it's happened twice this week. I don't see anything in the logs but I'll look harder and update here if I find something relevant
The text was updated successfully, but these errors were encountered: