Coder Social home page Coder Social logo

homebridge-neato's People

Contributors

az0uz avatar naofireblade avatar nicoh88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-neato's Issues

Support for NoGo Lines

I will receive my first Neato in a couple of days. The D7 Connected.
And I was happy to see that there is already a Homebridge Plugin.
Thanks for your work and sharing. 👍🏻
I'll give some feedback when my Neato has arrived and is connected. 😃

Possibility to change the prefix "Clean The" in zone mode

Hello, I'm very happy with this plugin, but it would be great if there was the possibility to change the prefix of the various zone from "Clean the" to "personal prefix". In my language sounds better "Pulisci" instead of "Clean the"
I know that I can change the name directly in the iPhone app but sometimes I have to reset the configuration and I have to change everything every time.

return to dock parameter

is the dock parameter/switch made to call the function to return to dock? if so it should be a press-release switch, that calls the function and return to the inactive state, no? instead is it configured with an on-off that has not much sense for an on-state after the bot is back to dock.

or is it made to prevent the robot from returning to dock? if so, refining documentation is required.

otherwise, the plugin is amazing, if only a bit more responsive for the stopping commands while the robot is busy.

congrats and I hope it helps.

problems with config file.

I am having problems with the config.json file. I have installed homebridge on iMac. I am getting the following error when starting homebridge with the config.json file listed at bottom.

[3/6/2018, 4:09:21 PM] Loaded plugin: homebridge-neato
[3/6/2018, 4:09:21 PM] Registering platform 'homebridge-neato.NeatoVacuumRobot'
[3/6/2018, 4:09:21 PM] ---
[3/6/2018, 4:09:21 PM] Loaded config.json with 1 accessories and 1 platforms.
[3/6/2018, 4:09:21 PM] ---
[3/6/2018, 4:09:21 PM] Loading 1 platforms...
[3/6/2018, 4:09:21 PM] [NeatoVacuumRobot] Initializing NeatoVacuumRobot platform...
[3/6/2018, 4:09:21 PM] Loading 1 accessories...
/usr/local/lib/node_modules/homebridge/lib/api.js:64
throw new Error("The requested accessory '" + name + "' was not registered by any plugin.");
^

Error: The requested accessory 'Neato' was not registered by any plugin.
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:64:13)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:264:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (module.js:575:32)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)

And this is the config.json file

{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},

"description": "This is an example configuration file with one fake accessory and on$

"accessories": [
    {
        "accessory": "WeMo",
        "name": "Coffee Maker"
    }
],

"platforms": [
    {
        "platform": "NeatoVacuumRobot",
        "email": "my neato login",
        "password": "my neato password"
    }
]

}

I have tried changing the "accessories": block different ways. Not sure what is going on. Can you give any advise. Thanks.

Can‘t switch ON No-Go lines

Hey there!

Started playing with this plugin the last 2 days and I love it!
I stumbled upon a issue:

  • I can't turn ON the no-go lines, which I would love to be always on (which it's supposed to be, right?)

Cheers,

Wibi

Added NPM to Homebridge unable to discover robots

I added the NPM and I am using my correct email, and password but it cant seem to find my 2 Neato D7's. Any suggestions, or any steps I am missing. Any help is appreciated I am so anxious to try this. Thanks for taking time to make this.

Joey

[NeatoVacuumRobot] unkown error - Can't log on to neato cloud. Please check your credentials.

Hi there..
It's probably the first time I'm experience this, but homebridge stopped because of the homebridge-neato plugin.
It could be because of the recent update from Neato and they have serve issues, but maybe there is a way that the plugin can handle this different than stopping whole homebridge from work.

Thanks in advance for considering a fix.

Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]: [2018-12-4 17:29:35] [NeatoVacuumRobot] unkown error
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]: [2018-12-4 17:29:35] [NeatoVacuumRobot] Can't log on to neato cloud. Please check your credentials.
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]: /usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/client.js:23
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:                         callback('unkown error');
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:                         ^
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]: TypeError: Cannot read property 'length' of undefined
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at /usr/local/lib/node_modules/homebridge-neato/index.js:43:36
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at /usr/local/lib/node_modules/homebridge-neato/index.js:60:5
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at Client.<anonymous> (/usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/client.js:23:25)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at Request._callback (/usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/api.js:42:45)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at Request.self.callback (/usr/local/lib/node_modules/homebridge-neato/node_modules/request/request.js:185:22)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at Request.emit (events.js:182:13)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at Request.<anonymous> (/usr/local/lib/node_modules/homebridge-neato/node_modules/request/request.js:1161:10)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at Request.emit (events.js:182:13)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-neato/node_modules/request/request.js:1083:12)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at Object.onceWrapper (events.js:273:13)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at IncomingMessage.emit (events.js:187:15)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at endReadableNT (_stream_readable.js:1098:12)
Dez 04 17:29:35 raspberrypi-3BPlus homebridge[1899]:     at process.internalTickCallback (internal/process/next_tick.js:72:19)
Dez 04 17:29:35 raspberrypi-3BPlus systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Dez 04 17:29:35 raspberrypi-3BPlus systemd[1]: homebridge.service: Unit entered failed state.
Dez 04 17:29:35 raspberrypi-3BPlus systemd[1]: homebridge.service: Failed with result 'exit-code'.

Only clean switch active

Hello,

I am attempting to get my new neato D4 connected on my homebridge. I was able to add the platform to the config.json file (with the disable code line) and run home bridge. I am also able to see the clean switch. The clean switch works flawlessly and starts and pauses cleans without issue. From what I can tell I am also supposed to be able to see other switches and sensors. Siri commands to send to dock or get battery level are unrecognized.

Is there an additional step I am missing or something else I need to do to get this set up correctly?

Thanks in advance for the help and thanks for making such a useful plugin

Status inconsistencies / homebridge crash

I‘m using your great plugin version 0.5.2 with my Neato Botvac D3 Connected, Software-Version 4.4.0-72. I see all triggers in HomeKit and I‘m able to start/stop the D3 as well as sending it back to the dock. So far, so good.

I‘ve set up no-go lines, extra care and turbo-mode in the Neato app (Version 2.8.2 on an iPhone X, iOS 12.3.1) but the status is not reflected at the corresponding HomeKit tile. And even worse: As soon as I make changes in the Neato app (i.e. disabling the extra care) or enabling a feature in HomeKit (like no-go lines, which supposed to be activated already) the whole homebridge seems to crash. All accessories (connected through homebridge) in HomeKit show an exclamation mark. After restarting the homebridge service, everything works again, besides the issue described above.

I really appreciate how much work you put in this plugin! Hope you can help me with my problem. My config looks like this:

...
},
{
"platform": "NeatoVacuumRobot",
"email": "myemailaddress",
"password": "mypassword",
"refresh": "60"
},
{
"platform": "Fritz!Box",
...

Support for zone cleaning

I’m sure you were expecting to see somebody request this, but now that the zone cleaning update for the D7 is live, would it be possible to create HomeKit switches for each named zone?

I know you don’t have a D7, so testing it will be an issue.

Change icon in homekit

Hello,

Is there a way to change the icon in HomeKit? It currently just shows up as a switch.
B0A2FBB8-451C-466D-BD11-9170F94FBBE1

Neato D5 is shown in Homebridge but push the Button in the App doesn't start the Robot

Hi,

I've installed the Neato Plugin in Homebridge. Homebridge is starting and my Neto D5 is initialized correctly by Homebridge.

Also the Buttons are shown in the Home App. But when I push the Button for Clean or Dock in the App nothing happens. Also Homebridge shows no executed command.

I run iOS 11.1 beta on my iPhone on the iPhone of my wife the latest release of iOS 11 is running.

Any Idea what can cause the Problem.

In the Neato App my D5 is connected and works fine in Wifi an via remote.

Greatings Andi

Zone cleaning switches don't have settings

I've noticed that the switches to represent my zones don't have a settings page in the Home app. The result of this is that I cannot group these with the rest of the Neato device, place them in any room other than "Default Room", or remove them from my Favorites. Ideally, I would like to hide these from Homekit altogether via my config.json file. At the very least, sorting them into the appropriate room or grouping them with the Neato would go a long way to reducing clutter in my Home app.

Neato Botvac D5

Hello,

I recently install your plug-in, to integrate my Botvac D5 to my homeKit scenes. However, if the plug-in seems to works, and the accessory appear in my Home App, there are two switchs wich appear for the Neato and none of them seems to works. I can activate any of them, but the Neato doesn't move.
In the same time, the Dock detector seems to works perfectly.

How can I help you to debug it ?

Best regards,

Error with multiple robots since v0.7.0

Everything was working correctly with my two D5 up to 0.6.3. After the update homebridge throws the following error log. went back to 0.6.3. and they switch to responding again.

Oct 14 13:07:53 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Oct 14 13:07:56 raspberrypi homebridge[24512]: [10/14/2019, 1:07:55 PM] Loaded config.json with 0 accessories and 1 platforms.
Oct 14 13:07:56 raspberrypi homebridge[24512]: [10/14/2019, 1:07:56 PM] ---
Oct 14 13:07:56 raspberrypi homebridge[24512]: [10/14/2019, 1:07:56 PM] Loaded plugin: homebridge-neato
Oct 14 13:07:56 raspberrypi homebridge[24512]: [10/14/2019, 1:07:56 PM] Registering platform 'homebridge-neato.NeatoVacuumRobot'
Oct 14 13:07:56 raspberrypi homebridge[24512]: [10/14/2019, 1:07:56 PM] ---
Oct 14 13:07:56 raspberrypi homebridge[24512]: [10/14/2019, 1:07:56 PM] Loading 1 platforms...
Oct 14 13:07:56 raspberrypi homebridge[24512]: [10/14/2019, 1:07:56 PM] [NeatoVacuumRobot] Initializing NeatoVacuumRobot platform...
Oct 14 13:07:56 raspberrypi homebridge[24512]: [10/14/2019, 1:07:56 PM] [NeatoVacuumRobot] Refresh is set to: 120 seconds
Oct 14 13:07:56 raspberrypi homebridge[24512]: [10/14/2019, 1:07:56 PM] Loading 0 accessories...
Oct 14 13:07:59 raspberrypi homebridge[24512]: [10/14/2019, 1:07:59 PM] [NeatoVacuumRobot] Found robot #1 named "Unten" with serial "OPS50316-XXXXXXXXXXXX"
Oct 14 13:07:59 raspberrypi homebridge[24512]: [10/14/2019, 1:07:59 PM] [NeatoVacuumRobot] Added cleaning device named: Unten
Oct 14 13:07:59 raspberrypi homebridge[24512]: [10/14/2019, 1:07:59 PM] [NeatoVacuumRobot] Found robot #2 named "Oben" with serial "OPS48616-XXXXXXXXXXXX"
Oct 14 13:07:59 raspberrypi homebridge[24512]: [10/14/2019, 1:07:59 PM] [NeatoVacuumRobot] Added cleaning device named: Oben
Oct 14 13:07:59 raspberrypi homebridge[24512]: [10/14/2019, 1:07:59 PM] [NeatoVacuumRobot] Initializing platform accessory 'Unten'...
Oct 14 13:07:59 raspberrypi homebridge[24512]: HAP Warning: Characteristic undefined not in required or optional characteristics for service 00000049-0000-1000-8000-0026BB765291. Adding anyway.
Oct 14 13:07:59 raspberrypi homebridge[24512]: [10/14/2019, 1:07:59 PM] [NeatoVacuumRobot] Error getting robot meta information: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 1E79C603-63B8-4E6A-9CE1-D31D67981831: null
Oct 14 13:07:59 raspberrypi homebridge[24512]: [10/14/2019, 1:07:59 PM] [NeatoVacuumRobot] Found robot #1 named "Unten" with serial "OPS50316-XXXXXXXXXXXX"
Oct 14 13:07:59 raspberrypi homebridge[24512]: HAP Warning: Characteristic undefined not in required or optional characteristics for service 00000049-0000-1000-8000-0026BB765291. Adding anyway.
Oct 14 13:07:59 raspberrypi homebridge[24512]: (node:24512) UnhandledPromiseRejectionWarning: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 1E79C603-63B8-4E6A-9CE1-D31D67981831
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at Service.Switch.Service.addCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:80:13)
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at Service.Switch.Service.getCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:162:19)
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at Service.Switch.Service.setCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:183:8)
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at NeatoVacuumRobotAccessory.updated (/usr/local/lib/node_modules/homebridge-neato/accessories/neatoVacuumRobot.js:669:33)
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at updateRobot (/usr/local/lib/node_modules/homebridge-neato/index.js:253:24)
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at NeatoVacuumRobotPlatform.updateRobot (/usr/local/lib/node_modules/homebridge-neato/index.js:214:4)
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at NeatoVacuumRobotPlatform.updateRobotTimer (/usr/local/lib/node_modules/homebridge-neato/index.js:246:8)
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at robots.forEach (/usr/local/lib/node_modules/homebridge-neato/index.js:64:10)
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at Array.forEach (<anonymous>)
Oct 14 13:07:59 raspberrypi homebridge[24512]:     at getRobots (/usr/local/lib/node_modules/homebridge-neato/index.js:59:16)
Oct 14 13:07:59 raspberrypi homebridge[24512]: (node:24512) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Oct 14 13:07:59 raspberrypi homebridge[24512]: (node:24512) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Oct 14 13:08:00 raspberrypi homebridge[24512]: HAP Warning: Characteristic undefined not in required or optional characteristics for service 00000049-0000-1000-8000-0026BB765291. Adding anyway.
Oct 14 13:08:00 raspberrypi homebridge[24512]: [10/14/2019, 1:08:00 PM] [NeatoVacuumRobot] Cannot update robot. Check if robot is online. Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 1E79C603-63B8-4E6A-9CE1-D31D67981831
Oct 14 13:08:00 raspberrypi homebridge[24512]: HAP Warning: Characteristic undefined not in required or optional characteristics for service 00000049-0000-1000-8000-0026BB765291. Adding anyway.
Oct 14 13:08:00 raspberrypi homebridge[24512]: (node:24512) UnhandledPromiseRejectionWarning: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 1E79C603-63B8-4E6A-9CE1-D31D67981831
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at Service.Switch.Service.addCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:80:13)
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at Service.Switch.Service.getCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:162:19)
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at Service.Switch.Service.setCharacteristic (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Service.js:183:8)
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at NeatoVacuumRobotAccessory.updated (/usr/local/lib/node_modules/homebridge-neato/accessories/neatoVacuumRobot.js:669:33)
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at updateRobot (/usr/local/lib/node_modules/homebridge-neato/index.js:253:24)
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at robot.device.getState (/usr/local/lib/node_modules/homebridge-neato/index.js:226:5)
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at Robot.<anonymous> (/usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/robot.js:39:17)
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at /usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/robot.js:506:17
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at /usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/api.js:34:45
Oct 14 13:08:00 raspberrypi homebridge[24512]:     at process._tickCallback (internal/process/next_tick.js:68:7)
Oct 14 13:08:00 raspberrypi homebridge[24512]: (node:24512) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
Oct 14 13:09:07 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...
Oct 14 13:09:07 raspberrypi homebridge[24512]: [10/14/2019, 1:09:07 PM] Got SIGTERM, shutting down Homebridge...
Oct 14 13:09:12 raspberrypi systemd[1]: homebridgeneato.service: Main process exited, code=exited, status=143/n/a
Oct 14 13:09:12 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Oct 14 13:09:12 raspberrypi systemd[1]: homebridgeneato.service: Unit entered failed state.
Oct 14 13:09:12 raspberrypi systemd[1]: homebridgeneato.service: Failed with result 'exit-code'.

Error with non smart robots in account

My account
https://user-images.githubusercontent.com/20209851/71785259-8eddf980-2fcb-11ea-8b99-44a5dc8fbad6.png
{
"platform": "NeatoVacuumRobot",
"email": "x@x",
"password": "xxx"
}
[1/5/2020, 2:27:20 PM] [NeatoVacuumRobot] Initializing NeatoVacuumRobot platform...
[1/5/2020, 2:27:20 PM] [NeatoVacuumRobot] Refresh is set to: auto
[1/5/2020, 2:27:20 PM] Loading 0 accessories...
[1/5/2020, 2:27:21 PM] [NeatoVacuumRobot] Error getting robot meta information: no serial or secret: null
Setup Payload:
X-HM://0023IX8JIE9NF
Scan this code with your HomeKit app

[1/5/2020, 2:27:21 PM] [NeatoVacuumRobot] Error getting robot meta information: no serial or secret: null
[1/5/2020, 2:27:21 PM] [NeatoVacuumRobot] Successful login but can't connect to your neato robot: Error: This callback function has already been called by someone else; it can only be called one time.
[1/5/2020, 2:27:21 PM] Homebridge is running on port 51826.
(node:1672) UnhandledPromiseRejectionWarning: Error: This callback function has already been called by someone else; it can only be called one time.
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:12:13
at /usr/local/lib/node_modules/homebridge-neato/index.js:116:7
at /usr/local/lib/node_modules/homebridge-neato/index.js:147:7
at Client. (/usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/client.js:46:25)
at /usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/api.js:34:45
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1672) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1672) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[1/5/2020, 2:27:22 PM] [WebUI] Homebridge Config UI X v4.6.7 is listening on :: port 8080

Originally posted by @RCdiy in #47 (comment)

Botvac D5 is always put into 'extra-care' mode when started.

It's me again. ;)

I guess it has something to with the payload posted to the neato cloud. I tried to figure it out on my own but as I am a total JS noob, maybe you can point me to where the specific call is made to start the robot.

I had the same problem with a php script, there I had to alter a parameter called navigationMode from 2 to 1.

thanks for your help

Neato App on IOS fails when plugin is used

I have a D3. With the plugin installed, everything works fine. But my ability to use the app from my iPhone now fails. Prior to the homebridge-neato plugin, I could start the app and connect to the D3 from anywhere (home or out and about using 3g/4g/LTE). I also got notifications on my phone when cleaning completed and an updated coverage map. With the homebridge plugin enabled, I can control it from the Home app in IOS, but not from the Neato app. Further, while it cleans, etc I get no notifications when cleaning is done or maps (which are tied to the IOS app). Is there a login limitation? I know with Arlo's you can only connect from the app or the plugin, not both at the same time. Is there something similar with this plugin? Are others experiencing the same issue?

Robot doesn't show

Hi,

I did have this sort of working using 0.6.3 but it was flakey - so I thought I would try the Beta (Now 0.7.0-11) and my vacuum has disappeared. I am no home bridge or Linux wizard though so any help would be appreciated!

BotVac Connected - stops after couple seconds

Hi,

I have a BotVac connected and I successfully implemented your plugin (thank you for creating it).
I have a problem, that when I turn on switch "Neato Clean" the neato starts and after cca. 5 seconds it stops and the "Neato Go to Dock" turns on by itself.

If you could help I would really appreaciate it.

Thank you

David

Robot stuck error notifications and cleaning map

I was wondering if would be possible to add a fake camera accessory to the plugin so that you can get rich notifications that include the cleaning map/the map of where the robot is stuck? Home Assistant uses this technique

Robot stuck, cleaning complete etc could trigger a fake motion event which would then retrieve the latest cleaning map and would show up as a thumbnail in a notification.

Spot Size and Clean Twice not showing up with D7

I saw you added features for spot size and clean twice, however I'm not seeing either of these features with my D7. I do have a switch for Spot Clean, but that is it. I only noticed because it cleaned a really small spot compared to when I do it with the Neato app.

Is there something I'm missing in my config? Currently it looks exactly like the example config.

I've completely uninstalled and reinstalled the plugin and it still looks like this screenshot.
Screen Shot 2020-03-13 at 9 03 26 AM

unexpected error, Error getting robot meta information

Hi thank you for your effort to create this useful plugin
I have a neato D5, working well here, and my neato account and password both double checked.
here is the config:
"platform": "NeatoVacuumRobot",
"email": "@gmail.com",
"password": "
****"

when running homebridge, all other plugins works well( yeelight and aqara)
but the error showed, and there are only 3 lines about neato:
[2/14/2020, 22:51:58] [NeatoVacuumRobot] Initializing NeatoVacuumRobot platform...
[2/14/2020, 22:51:58] [NeatoVacuumRobot] Refresh is set to: auto
[2/14/2020, 22:52:03] [NeatoVacuumRobot] Error getting robot meta information: Error: Request failed with status code 404: null

no neato show in the homekit.

what is the problem? would you please help?

Thanks.

Phil

Homebridge crashes when 2 zones have the same name

Hey there.
Thanks @naofireblade and at all participant developers. Great update to @0.6.0.
Love Zone cleaning. [♥]
https://forum.smartapfel.de/forum/thread/1408-homebridge-neato-f%C3%BCr-neato-botvac-connected-saugroboter/?postID=61703#post61703

A suggestion for a next update. At the moment when there is a duplicate in the Neato app with the room name, the plugin has a problem with this. In my case my floor plan has two rooms with the identical name "Flur".
After I renamed one of the rooms into "Flur klein", to have a "Flur" and a "Flur klein", the plugin works perfect. Maybe tthis info helps.

Thanks again guys for the time you are investing, your great work and ongoing development.

Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Found robot #1 named "Robbi" with serial "xxxxxxx-xxxxxxx" Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Adding zone cleaning for: Wohnzimmer Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Adding zone cleaning for: Schlafzimmer Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Adding zone cleaning for: Esszimmer Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Adding zone cleaning for: Küche Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Adding zone cleaning for: Flur Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Adding zone cleaning for: Badezimmer Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Adding zone cleaning for: Flur Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Initializing platform accessory 'Robbi'... Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Initializing platform accessory 'Robbi - Wohnzimmer'... Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Initializing platform accessory 'Robbi - Schlafzimmer'... Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Initializing platform accessory 'Robbi - Esszimmer'... Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Initializing platform accessory 'Robbi - Küche'... Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Initializing platform accessory 'Robbi - Flur'... Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Initializing platform accessory 'Robbi - Badezimmer'... Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] Initializing platform accessory 'Robbi - Flur'... Jul 15 15:23:11 raspberrypi-3BPlus homebridge[449]: [2019-7-15 15:23:11] [NeatoVacuumRobot] error getting boundaries: Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: xxxxx-xxxx-xxxx-xxxx-xxxxx: undefined

Switch Status not auto refresh

I noticed that the switches are not showing the live status in Eve App.
For Example Neato is doing his scheduled job but I have to pull to refresh to see that the clean switch goes to "on" or the "Dock" switches to away.
This mean I can't define any further rules depending on the on/off status because it's not updating automatically.

img_1027

No-go-Lines not working when starting trough homekit (D3)

Hi! great work with the plugin!
The D3 got an update earlier this week which added no go lines functionality.
But when started trough the plugin the no go lines isnt activated.
I see that the D5 had the same problem earlier so maybe its just a small correction needed?

Cheers Linus!

Dock Sensor not working under iOS 11 beta

Just to let you know, the plugin worked perfectly but with the latest iOS 11 beta I don't get the dock sensors to trigger. My two robots definitely are online, as I can start them from the home app on my iPad. Is there any way to check if it's on my side? Other sensors like motion and door are still doing their job as expected.

Neato D3 HomeKit

Hi naofireblade,

i've installed your Neato Plugin with all dependencies and updated the Config.json with the Platform Block, including my Credentials from the Neato Account.
But it doesn't Show up in HomeKit.
Tried some Reboots and reinstalled everything again, but it's still the same.
Maybe you can Help me here? Would be much appreciated!

Thanks!

Can not add robot to homekit

plugin installation and config are probably clean. Homebridge starts without error and also the homematic plugin goes. Can not add robot to homekit. What can this be?

D7 Connected no battery info

Hello, great job.
It's strange but I can't see the battery status of my D7 Connected (Battery - Not supported)

Accessories disappear then reappear

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

Multipule neatos

Can this plug in handle multiple neatos? If so how do I configure it?

Thanks

Homebridge crashes when map has no zones

I had to send off my D7 for repair and noticed Homebridge wouldn't start up because the neato plugin was throwing an error due to my vacuum being disconnected.

Is it possible to have this fail more gracefully without affecting other plugins?

homebridge_1  | [8/1/2019, 3:55:08 AM] [NeatoVacuumRobot] error getting boundaries: Error: Request failed with status code 404: undefined
homebridge_1  | [8/1/2019, 3:55:08 AM] [NeatoVacuumRobot] Found robot #1 named "CatBot" with serial "OPS05418-7C3866EF12CA"
homebridge_1  | (node:3593) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined
homebridge_1  |     at that.robots.(anonymous function).maps.forEach (/usr/local/lib/node_modules/homebridge-neato/index.js:50:40)
homebridge_1  |     at Array.forEach (<anonymous>)
homebridge_1  |     at /usr/local/lib/node_modules/homebridge-neato/index.js:49:41
homebridge_1  |     at robot.getMapBoundaries (/usr/local/lib/node_modules/homebridge-neato/index.js:110:53)
homebridge_1  |     at /usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/robot.js:410:17
homebridge_1  |     at /usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/robot.js:482:17
homebridge_1  |     at /usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/api.js:34:45
homebridge_1  |     at process._tickCallback (internal/process/next_tick.js:68:7)
homebridge_1  | (node:3593) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
homebridge_1  | (node:3593) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
homebridge_1  | [8/1/2019, 3:55:08 AM] [NeatoVacuumRobot] Error: Request failed with status code 404: null

Support no robots

I was adding support to my homebridge setup while I wait for delivery of a neato. When no robots are on the account, it kills homebridge from starting up. You should handle this better.

[2018-3-24 22:41:44] [NeatoVacuumRobot] Successful login but no robots associated with your account.
/usr/lib/node_modules/homebridge-neato/index.js:39
for (var i = 0; i < that.robots.length; i++) {
^

TypeError: Cannot read property 'length' of undefined
at /usr/lib/node_modules/homebridge-neato/index.js:39:36
at /usr/lib/node_modules/homebridge-neato/index.js:68:8
at Client. (/usr/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/client.js:42:17)
at Request._callback (/usr/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/api.js:42:45)
at Request.self.callback (/usr/lib/node_modules/homebridge-neato/node_modules/request/request.js:186:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request. (/usr/lib/node_modules/homebridge-neato/node_modules/request/request.js:1163:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)

Homebridge crashes when neato servers can’t be reached

So this is really weird. When I restart my Pi the neato plugin throws the following error protocol. If I restart the service a few minutes later everything suddenly works fine. Any idea what this might be causing? (Credentials edited)

May 29 10:59:44 raspberrypi systemd[1]: Started Node.js HomeKit Server.
May 29 10:59:52 raspberrypi homebridge[390]: [5/29/2019, 10:59:52 AM] Loaded config.json with 0 accessories and 2 platforms.
May 29 10:59:52 raspberrypi homebridge[390]: [5/29/2019, 10:59:52 AM] ---
May 29 10:59:53 raspberrypi homebridge[390]: [5/29/2019, 10:59:53 AM] Loaded plugin: homebridge-config-ui-x
May 29 10:59:53 raspberrypi homebridge[390]: [5/29/2019, 10:59:53 AM] Registering platform 'homebridge-config-ui-x.config'
May 29 10:59:53 raspberrypi homebridge[390]: [5/29/2019, 10:59:53 AM] ---
May 29 10:59:54 raspberrypi homebridge[390]: [5/29/2019, 10:59:54 AM] Loaded plugin: homebridge-neato
May 29 10:59:54 raspberrypi homebridge[390]: [5/29/2019, 10:59:54 AM] Registering platform 'homebridge-neato.NeatoVacuumRobot'
May 29 10:59:54 raspberrypi homebridge[390]: [5/29/2019, 10:59:54 AM] ---
May 29 10:59:54 raspberrypi homebridge[390]: [5/29/2019, 10:59:54 AM] Loading 2 platforms...
May 29 10:59:54 raspberrypi homebridge[390]: [5/29/2019, 10:59:54 AM] [NeatoVacuumRobot] Initializing NeatoVacuumRobot platform...
May 29 10:59:54 raspberrypi homebridge[390]: [5/29/2019, 10:59:54 AM] [Config] Initializing config platform...
May 29 10:59:54 raspberrypi homebridge[390]: [5/29/2019, 10:59:54 AM] [Config] Spawning homebridge-config-ui-x with PID 697
May 29 10:59:54 raspberrypi homebridge[390]: [5/29/2019, 10:59:54 AM] Loading 0 accessories...
May 29 10:59:55 raspberrypi homebridge[390]: [5/29/2019, 10:59:55 AM] [NeatoVacuumRobot] { Error: getaddrinfo EAI_AGAIN beehive.neatocloud.com beehive.neatocloud.com:443
May 29 10:59:55 raspberrypi homebridge[390]:     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)
May 29 10:59:55 raspberrypi homebridge[390]:   errno: 'EAI_AGAIN',
May 29 10:59:55 raspberrypi homebridge[390]:   code: 'EAI_AGAIN',
May 29 10:59:55 raspberrypi homebridge[390]:   syscall: 'getaddrinfo',
May 29 10:59:55 raspberrypi homebridge[390]:   hostname: 'beehive.neatocloud.com',
May 29 10:59:55 raspberrypi homebridge[390]:   host: 'beehive.neatocloud.com',
May 29 10:59:55 raspberrypi homebridge[390]:   port: 443,
May 29 10:59:55 raspberrypi homebridge[390]:   config:
May 29 10:59:55 raspberrypi homebridge[390]:    { adapter: [Function: httpAdapter],
May 29 10:59:55 raspberrypi homebridge[390]:      transformRequest: { '0': [Function: transformRequest] },
May 29 10:59:55 raspberrypi homebridge[390]:      transformResponse: { '0': [Function: transformResponse] },
May 29 10:59:55 raspberrypi homebridge[390]:      timeout: 0,
May 29 10:59:55 raspberrypi homebridge[390]:      xsrfCookieName: 'XSRF-TOKEN',
May 29 10:59:55 raspberrypi homebridge[390]:      xsrfHeaderName: 'X-XSRF-TOKEN',
May 29 10:59:55 raspberrypi homebridge[390]:      maxContentLength: -1,
May 29 10:59:55 raspberrypi homebridge[390]:      validateStatus: [Function: validateStatus],
May 29 10:59:55 raspberrypi homebridge[390]:      headers:
May 29 10:59:55 raspberrypi homebridge[390]:       { Accept: 'application/vnd.neato.nucleo.v1',
May 29 10:59:55 raspberrypi homebridge[390]:         'Content-Type': 'application/json;charset=utf-8',
May 29 10:59:55 raspberrypi homebridge[390]:         'User-Agent': 'axios/0.18.0',
May 29 10:59:55 raspberrypi homebridge[390]:         'Content-Length': 58 },
May 29 10:59:55 raspberrypi homebridge[390]:      method: 'post',
May 29 10:59:55 raspberrypi homebridge[390]:      url: 'https://beehive.neatocloud.com/sessions',
May 29 10:59:55 raspberrypi homebridge[390]:      data: '{"email":"******************","password":"***********************"}' },
May 29 10:59:55 raspberrypi homebridge[390]:   request:
May 29 10:59:55 raspberrypi homebridge[390]:    Writable {
May 29 10:59:55 raspberrypi homebridge[390]:      _writableState:
May 29 10:59:55 raspberrypi homebridge[390]:       WritableState {
May 29 10:59:55 raspberrypi homebridge[390]:         objectMode: false,
May 29 10:59:55 raspberrypi homebridge[390]:         highWaterMark: 16384,
May 29 10:59:55 raspberrypi homebridge[390]:         finalCalled: false,
May 29 10:59:55 raspberrypi homebridge[390]:         needDrain: false,
May 29 10:59:55 raspberrypi homebridge[390]:         ending: false,
May 29 10:59:55 raspberrypi homebridge[390]:         ended: false,
May 29 10:59:55 raspberrypi homebridge[390]:         finished: false,
May 29 10:59:55 raspberrypi homebridge[390]:         destroyed: false,
May 29 10:59:55 raspberrypi homebridge[390]:         decodeStrings: true,
May 29 10:59:55 raspberrypi homebridge[390]:         defaultEncoding: 'utf8',
May 29 10:59:55 raspberrypi homebridge[390]:         length: 0,
May 29 10:59:55 raspberrypi homebridge[390]:         writing: false,
May 29 10:59:55 raspberrypi homebridge[390]:         corked: 0,
May 29 10:59:55 raspberrypi homebridge[390]:         sync: true,
May 29 10:59:55 raspberrypi homebridge[390]:         bufferProcessing: false,
May 29 10:59:55 raspberrypi homebridge[390]:         onwrite: [Function: bound onwrite],
May 29 10:59:55 raspberrypi homebridge[390]:         writecb: null,
May 29 10:59:55 raspberrypi homebridge[390]:         writelen: 0,
May 29 10:59:55 raspberrypi homebridge[390]:         bufferedRequest: null,
May 29 10:59:55 raspberrypi homebridge[390]:         lastBufferedRequest: null,
May 29 10:59:55 raspberrypi homebridge[390]:         pendingcb: 0,
May 29 10:59:55 raspberrypi homebridge[390]:         prefinished: false,
May 29 10:59:55 raspberrypi homebridge[390]:         errorEmitted: false,
May 29 10:59:55 raspberrypi homebridge[390]:         emitClose: true,
May 29 10:59:55 raspberrypi homebridge[390]:         bufferedRequestCount: 0,
May 29 10:59:55 raspberrypi homebridge[390]:         corkedRequestsFree: [Object] },
May 29 10:59:55 raspberrypi homebridge[390]:      writable: true,
May 29 10:59:55 raspberrypi homebridge[390]:      _events:
May 29 10:59:55 raspberrypi homebridge[390]:       [Object: null prototype] {
May 29 10:59:55 raspberrypi homebridge[390]:         response: [Function: handleResponse],
May 29 10:59:55 raspberrypi homebridge[390]:         error: [Function: handleRequestError] },
May 29 10:59:55 raspberrypi homebridge[390]:      _eventsCount: 2,
May 29 10:59:55 raspberrypi homebridge[390]:      _maxListeners: undefined,
May 29 10:59:55 raspberrypi homebridge[390]:      _options:
May 29 10:59:55 raspberrypi homebridge[390]:       { maxRedirects: 21,
May 29 10:59:55 raspberrypi homebridge[390]:         maxBodyLength: 10485760,
May 29 10:59:55 raspberrypi homebridge[390]:         protocol: 'https:',
May 29 10:59:55 raspberrypi homebridge[390]:         path: '/sessions',
May 29 10:59:55 raspberrypi homebridge[390]:         method: 'post',
May 29 10:59:55 raspberrypi homebridge[390]:         headers: [Object],
May 29 10:59:55 raspberrypi homebridge[390]:         agent: undefined,
May 29 10:59:55 raspberrypi homebridge[390]:         auth: undefined,
May 29 10:59:55 raspberrypi homebridge[390]:         hostname: 'beehive.neatocloud.com',
May 29 10:59:55 raspberrypi homebridge[390]:         port: null,
May 29 10:59:55 raspberrypi homebridge[390]:         nativeProtocols: [Object],
May 29 10:59:55 raspberrypi homebridge[390]:         pathname: '/sessions' },
May 29 10:59:55 raspberrypi homebridge[390]:      _ended: false,
May 29 10:59:55 raspberrypi homebridge[390]:      _ending: true,
May 29 10:59:55 raspberrypi homebridge[390]:      _redirectCount: 0,
May 29 10:59:55 raspberrypi homebridge[390]:      _redirects: [],
May 29 10:59:55 raspberrypi homebridge[390]:      _requestBodyLength: 58,
May 29 10:59:55 raspberrypi homebridge[390]:      _requestBodyBuffers: [ [Object] ],
May 29 10:59:55 raspberrypi homebridge[390]:      _onNativeResponse: [Function],
May 29 10:59:55 raspberrypi homebridge[390]:      _currentRequest:
May 29 10:59:55 raspberrypi homebridge[390]:       ClientRequest {
May 29 10:59:55 raspberrypi homebridge[390]:         _events: [Object],
May 29 10:59:55 raspberrypi homebridge[390]:         _eventsCount: 6,
May 29 10:59:55 raspberrypi homebridge[390]:         _maxListeners: undefined,
May 29 10:59:55 raspberrypi homebridge[390]:         output: [],
May 29 10:59:55 raspberrypi homebridge[390]:         outputEncodings: [],
May 29 10:59:55 raspberrypi homebridge[390]:         outputCallbacks: [],
May 29 10:59:55 raspberrypi homebridge[390]:         outputSize: 0,
May 29 10:59:55 raspberrypi homebridge[390]:         writable: true,
May 29 10:59:55 raspberrypi homebridge[390]:         _last: true,
May 29 10:59:55 raspberrypi homebridge[390]:         chunkedEncoding: false,
May 29 10:59:55 raspberrypi homebridge[390]:         shouldKeepAlive: false,
May 29 10:59:55 raspberrypi homebridge[390]:         useChunkedEncodingByDefault: true,
May 29 10:59:55 raspberrypi homebridge[390]:         sendDate: false,
May 29 10:59:55 raspberrypi homebridge[390]:         _removedConnection: false,
May 29 10:59:55 raspberrypi homebridge[390]:         _removedContLen: false,
May 29 10:59:55 raspberrypi homebridge[390]:         _removedTE: false,
May 29 10:59:55 raspberrypi homebridge[390]:         _contentLength: null,
May 29 10:59:55 raspberrypi homebridge[390]:         _hasBody: true,
May 29 10:59:55 raspberrypi homebridge[390]:         _trailer: '',
May 29 10:59:55 raspberrypi homebridge[390]:         finished: false,
May 29 10:59:55 raspberrypi homebridge[390]:         _headerSent: true,
May 29 10:59:55 raspberrypi homebridge[390]:         socket: [TLSSocket],
May 29 10:59:55 raspberrypi homebridge[390]:         connection: [TLSSocket],
May 29 10:59:55 raspberrypi homebridge[390]:         _header:
May 29 10:59:55 raspberrypi homebridge[390]:          'POST /sessions HTTP/1.1\r\nAccept: application/vnd.neato.nucleo.v1\r\nContent-Type: application/json;charset=utf-8\r\nUser-Agent: axios/0.18.0\r\nContent-
May 29 10:59:55 raspberrypi homebridge[390]:         _onPendingData: [Function: noopPendingOutput],
May 29 10:59:55 raspberrypi homebridge[390]:         agent: [Agent],
May 29 10:59:55 raspberrypi homebridge[390]:         socketPath: undefined,
May 29 10:59:55 raspberrypi homebridge[390]:         timeout: undefined,
May 29 10:59:55 raspberrypi homebridge[390]:         method: 'POST',
May 29 10:59:55 raspberrypi homebridge[390]:         path: '/sessions',
May 29 10:59:55 raspberrypi homebridge[390]:         _ended: false,
May 29 10:59:55 raspberrypi homebridge[390]:         res: null,
May 29 10:59:55 raspberrypi homebridge[390]:         aborted: undefined,
May 29 10:59:55 raspberrypi homebridge[390]:         timeoutCb: null,
May 29 10:59:55 raspberrypi homebridge[390]:         upgradeOrConnect: false,
May 29 10:59:55 raspberrypi homebridge[390]:         parser: null,
May 29 10:59:55 raspberrypi homebridge[390]:         maxHeadersCount: null,
May 29 10:59:55 raspberrypi homebridge[390]:         _redirectable: [Circular],
May 29 10:59:55 raspberrypi homebridge[390]:         [Symbol(isCorked)]: false,
May 29 10:59:55 raspberrypi homebridge[390]:         [Symbol(outHeadersKey)]: [Object] },
May 29 10:59:55 raspberrypi homebridge[390]:      _currentUrl: 'https://beehive.neatocloud.com/sessions' },
May 29 10:59:55 raspberrypi homebridge[390]:   response: undefined }
May 29 10:59:55 raspberrypi homebridge[390]: [5/29/2019, 10:59:55 AM] [NeatoVacuumRobot] Can't log on to neato cloud. Please check your credentials.
May 29 10:59:55 raspberrypi homebridge[390]: (node:390) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined
May 29 10:59:55 raspberrypi homebridge[390]:     at /usr/local/lib/node_modules/homebridge-neato/index.js:43:36
May 29 10:59:55 raspberrypi homebridge[390]:     at /usr/local/lib/node_modules/homebridge-neato/index.js:60:5
May 29 10:59:55 raspberrypi homebridge[390]:     at Client.<anonymous> (/usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/client.js:19:25)
May 29 10:59:55 raspberrypi homebridge[390]:     at /usr/local/lib/node_modules/homebridge-neato/node_modules/node-botvac/lib/api.js:34:45
May 29 10:59:55 raspberrypi homebridge[390]:     at process._tickCallback (internal/process/next_tick.js:68:7)
May 29 10:59:55 raspberrypi homebridge[390]: (node:390) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block
May 29 10:59:55 raspberrypi homebridge[390]: (node:390) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node
May 29 11:00:22 raspberrypi homebridge[390]: [5/29/2019, 11:00:22 AM] [Config] Console v4.4.3 is listening on 0.0.0.0 port 8053
May 29 11:01:25 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...

Issue with config.json file

I followed the instructions and I keep getting "There was a problem reading your config.json file."

My Neato portion of the config looks like this (some surrounding sections included for formatting):

"ringing": {
"event": "single",
"motion": false,
"contact": false
}
},
{
"platform": "NeatoVacuumRobot",
"email": "myemail",
"password": "mypassword"
}
{
"platform": "Nest",

I don't know if this makes a difference but I had to use "sudo npm install -g --unsafe-perm homebridge-neato" when installing the plug in. I did the same thing to install Homebridge and the two other working platforms I have. This is the only way I can get homebridge and its platforms installed for some reason. Could that be the problem? I don't understand what I'm doing wrong, why it says there was a problem with my config.

Hide switches by configuration

Add an optional configuration parameter to hide switches. One parameter with an array of switch names to hide should fit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.