naofireblade / homebridge-neato

A Neato vacuum robot plugin for homebridge.
MIT License
69 stars 18 forks source link

Neato Botvac D5 #1

Closed lolfr closed 7 years ago

lolfr commented 7 years ago

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,

naofireblade commented 7 years ago

Hello lolfr,

thank you for posting here. I appreciate that. First of all, please make sure you use the latest version 0.3.0 of the plugin that i published 4 days ago. What App do you use for homekit? Can you try "Elgato Eve"? You should see 4 switches, the dock state and battery state. Do you see all that?

img_0106

It would be really helpful if you could start your homebridge with the debug command for my plugin (just change the path to your directory): sudo DEBUG=homebridge-neato homebridge -U /var/lib/homebridge

Then please check the console output for messages from the robot. Like this:

[5/17/2017, 7:14:23 PM] [Sam] Found robot: Sam

There will also be an output of all available commands for the robot (some null). Ignore that for now. Set the switch for "Go To Dock" to off and the available commands will be output in the console again (all true or false). That should look like this:

homebridge-neato Robot { homebridge-neato _baseUrl: 'https://nucleo.neatocloud.com/vendors/neato/robots/', homebridge-neato name: 'Sam', homebridge-neato _serial: '', homebridge-neato _secret: '', homebridge-neato eco: false, homebridge-neato spotWidth: 100, homebridge-neato spotHeight: 100, homebridge-neato spotRepeat: false, homebridge-neato isCharging: false, homebridge-neato isDocked: true, homebridge-neato isScheduleEnabled: false, homebridge-neato dockHasBeenSeen: false, homebridge-neato charge: 98, homebridge-neato canStart: true, homebridge-neato canStop: false, homebridge-neato canPause: false, homebridge-neato canResume: false, homebridge-neato canGoToBase: false } +880ms

Can you paste that here? But please REMOVE YOUR SERIAL AND SECRET before pasting, otherwise i might clean your house :) .

Best wishes Arne

naofireblade commented 7 years ago

Another question. Does an exclamation mark occur when you try to start cleaning with the Eve App? Can you enable and disable the schedule and does it change properly on the robot?

naofireblade commented 7 years ago

Hey, you might not need to debug. I checked the neato docs and created a pull request for the underlying neato node which the owner instantly published. So after an update to 0.3.1 the plugin should work with your D5 now. Just run: sudo npm update -g homebridge-neato

lolfr commented 7 years ago

Whoa 😲 you're fast.

I'll have plan to do the test this weekend. But in the meantime I have to debug my system, because I installed a bunch of plug-ins for homebridge and now it's quit inexplicably really often.

I'll check this and keep you in touch.
Laurent

On 18 May 2017 at 19:23:55, Arne (notifications@github.com(mailto:notifications@github.com)) wrote:

Hey, you might not need to debug. I checked the neato docs and created a pull request for the underlying neato node which the creator instantly published. So after an update to 0.3.1 the plugin should work with your D5 now. Just run sudo npm update -g homebridge-neato

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub(https://github.com/naofireblade/homebridge-neato/issues/1#issuecomment-302482352), or mute the thread(https://github.com/notifications/unsubscribe-auth/AXyg-MsnzoGbwq8hLqavSUA05IKii265ks5r7H6rgaJpZM4Ndo_u).

lolfr commented 7 years ago

So I do the update and it's works fine now.

Next step for me is to create scripts. 😁

Thanksgiving a lot for the terrific job !! 👍👍👍

On 18 May 2017 at 19:58:23, Laurent Peronnet (lolfrgm@gmail.com(mailto:lolfrgm@gmail.com)) wrote:

Whoa 😲 you're fast.

I'll have plan to do the test this weekend. But in the meantime I have to debug my system, because I installed a bunch of plug-ins for homebridge and now it's quit inexplicably really often.

I'll check this and keep you in touch.
Laurent

On 18 May 2017 at 19:23:55, Arne (notifications@github.com(mailto:notifications@github.com)) wrote:

Hey, you might not need to debug. I checked the neato docs and created a pull request for the underlying neato node which the creator instantly published. So after an update to 0.3.1 the plugin should work with your D5 now. Just run sudo npm update -g homebridge-neato

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub(https://github.com/naofireblade/homebridge-neato/issues/1#issuecomment-302482352), or mute the thread(https://github.com/notifications/unsubscribe-auth/AXyg-MsnzoGbwq8hLqavSUA05IKii265ks5r7H6rgaJpZM4Ndo_u).

naofireblade commented 7 years ago

Great to hear that. Thanks for your feedback.

lolfr commented 7 years ago

Hey there…

After using my configuration for several weeks, I had to re-install my system, and… now it's not working anymore ! 😩 The homebridge command tell me that : “Error: The requested accessory 'NeatoVacuumRobot' was not registered by any plugin.”

Do you have any idea ?

Thanks

naofireblade commented 7 years ago

Yes, i updated the plugin meanwhile to support multiple robots at once. You have to put your config now into "platforms". In the readme is an example for the new config.

lolfr commented 7 years ago

Damn… I knew i would have to read the readme file… always RTFM !! 😅

Sorry, and thanks again for your terrific work.

Cheers

On 6 June 2017 at 21:10:30, Arne (notifications@github.com(mailto:notifications@github.com)) wrote:

Yes, i updated the plugin meanwhile to support multiple robots at once. You have to put your config now into "platforms". In the readme is an example for the new config.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub(https://github.com/naofireblade/homebridge-neato/issues/1#issuecomment-306587439), or mute the thread(https://github.com/notifications/unsubscribe-auth/AXyg-In19cmAkwQobvZeCPHD52Km4oP3ks5sBaQmgaJpZM4Ndo_u).