Upgrade Your Old Roomba to a Smart BotVac for $5

Поділитися
Вставка
  • Опубліковано 24 кві 2018
  • Arduino Sketch:
    github.com/thehookup/MQTT-Roo...
    Required Arduino Libraries:
    www.airspayce.com/mikem/arduin...
    github.com/jfturcot/SimpleTimer
    github.com/knolleary/pubsubcl...
    Configuration.yaml Additions:
    github.com/thehookup/MQTT-Roo...
    customize.yaml Additions:
    github.com/thehookup/MQTT-Roo...
    NodeRED Flows:
    github.com/thehookup/MQTT-Roo...
    NodeRED scheduling node:
    www.npmjs.com/package/node-re...
    Wiring Schematic:
    github.com/thehookup/MQTT-Roo...
    Parts:
    ESP-01: amzn.to/2qVB2p8
    PNP Transistors: amzn.to/2FaUfrS
    Buck Converters: amzn.to/2K7FY33
    Roomba upgrades:
    Lithium Battery: amzn.to/2JnbGbp
    Brush Upgrades: amzn.to/2qVDTOB
    Tools:
    Soldering Iron: amzn.to/2JUP3Mm
    USB to TTL Adapter: amzn.to/2Hak9BW
    *As an Amazon Associate I earn a % of qualifying purchases at no cost to you.*
    Roomba OI Document:
    cfpm.org/~peter/bfz/iRobot_Roo...
    Meh, I'll just buy a new one:
    Ecovac Deebot N79 on sale: amzn.to/2HtjGab
    Use promo code JIP49E29 224.58- 64.60 = $159.98
    (not good for high pile carpet)
    Support my channel:
    Patreon: / thehookup
    Tesla Refferal Code: www.tesla.com/referral/robert...
    Music by BenSound.com
  • Навчання та стиль

КОМЕНТАРІ • 348

  • @sairao4492
    @sairao4492 6 років тому +11

    This is such a thorough video, thanks for all of the information. I love that Roomba puts out such a friendly API, it makes their price tag a little more reasonable.

  • @eliset7512
    @eliset7512 11 місяців тому +74

    So far so good with this vacuum. ua-cam.com/users/postUgkx8ISPQRRAfpAaX4msGjyodObTBnlj4T5g I was a little concerned to find it seems to be all plastic, but the reviews were good, so I'm hoping for the best. Very easy to assemble Recommened, and only attachments I've used so far work well, and are easy to use. Doing a good job on the new carpet in my bedrooms and stairs. Works well on the hardwood on my main floor too. Reasonable weight and cord length. I already knew from an earlier review that it wouldn't fit under furniture, but I can use my Eufy for that, so no problem - the high traffic areas that need a stronger suction was really what I bought this for. If it continues as it's started, it will be a good buy and well worth the money. I have had two Shark Rocket stick vacs in the past that are super easy to use, but the motors just don't last well, even with scrupulous cleaning of the filters. I'm hoping for better with this Bissell.

  • @tofutodd1
    @tofutodd1 5 років тому +6

    Thank you for the great videos! Just put this together with an ESP-12E that I had and my old Roomba 530. Works awesome. Keep up the good work!

  • @Palmolive360
    @Palmolive360 3 роки тому +1

    Rob, you're a legend! I've just HA-enabled my old Roomba 785, just the fact that I'm now able to block it from cleaning when I'm home, has saved my year... Thanks!

  • @xesrochers
    @xesrochers 4 роки тому +1

    Awesome! Great video. I love my roomba, but we are not on a regular schedule and sometimes it was starting when we were in the house (a bit a a nuissance) . I assemble my kit yesterday and thanks to home assistant automations and your great video, we now have a roomba that only kicks in when we leave the house. Mucho thanks| As Mike stated below "I salute you. New home automation king"

  • @ehorlyck
    @ehorlyck 6 років тому +2

    This is awesome! I've spend hours looking how to do this. Thank you!

  • @Raptorsirrationalinventions
    @Raptorsirrationalinventions 3 роки тому +1

    Check out the areovac bins made a huge difference to my older roombas. Thanks for sharing this I was about to start developing my own!

  • @JonBoehm
    @JonBoehm 5 років тому

    This is fantastic. THANK YOU.
    What I really want is to generate a log of RUNTIME and STOP_REASON. Since they only run when I'm gone I don't get good feedback of how successful they were. I want to keep track of battery health or keep an eye out for system/sensor failures.
    I've had a small fleet of Roombas with simple automation for years now. I use an IR blaster to kick off a clean cycle when the house alarm arms.

  • @tamaskifor1094
    @tamaskifor1094 2 роки тому +2

    I am even later to the party than Søren, but I also want to thank you this inspiring video. It made me start learning electrical engineering. At the end I managed to implement this project with a Roomba 681. I am now ready to develop it further to get notification on my watch, when the Roomba is finished with cleaning a room.

    • @TheHookUp
      @TheHookUp  2 роки тому

      Awesome, this was a super fun project that I learned a lot from too. Congrats on your success!

  • @TwanJaarsveld1
    @TwanJaarsveld1 Рік тому +1

    Stil can't get over the fact that this 14yo Roomba is now fully locally controllable using home assistant and the brand new ones only work when there is cloud

  • @srenelisiussen581
    @srenelisiussen581 4 роки тому +2

    Sure, I'm late to the party, but just wanted to give you a virtual high five for this amazing project. Fitted it to my Roomba in a couple of hours and it was working. Great job. I really enjoy videos like this, making some everyday stuff we alle have in our houses, work with Home Assistant automation. How about a project to accurately measure the water level in our Delonghi espresso machines. It's so annoying that these machines only have a reed switch in the bottom saying empty. I believe we all, regularly push the button, get three drops and then the machine stops. Would love a great solution for this common problem.

  • @geektoolkit
    @geektoolkit 4 роки тому

    Your videos are so awesome....you do a great job of not only explaining, but providing additional stuff like the code and electronics diagrams, and your editing is really well done. Thankyou for this, I have an old Roomba that I was trying to figure out what to do with it, but with this I'm going to try to do these upgrades (including the battery one...that's cool to know that's available!). I'm even excited about the idea of being able to have it play some songs...I may get the R2D2 skin and have it play imperial march if I get super into it :) Thanks again, and please keep up the great work!

    • @TheHookUp
      @TheHookUp  4 роки тому

      Haha, thanks. Have fun!

  • @Pablogogo
    @Pablogogo 5 років тому +1

    your videos are fantastic, thank you for uploading such clear and precise instructions, you sir are a top class educator 👍

  • @kenmcmullan9330
    @kenmcmullan9330 3 роки тому +2

    "The Roomba Tx pin doesn't output a strong enough signal ... so we've gotta boost it up a bit ..." The Roomba serial port operates on 0..5V. So above 2.5V is "on", below 2.5V is off (thresholds notwithstanding). The ESP operates on 3.3V so anything above 1.65V is on, and below 1.6 is off. If the Roomba outputs a 2V off signal, you can see that the ESP still sees that as "on". What I think your saturated transistor does is to drop the "off" to nearer zero Volts. It's an encouraging video and (except I'm using a level shifter and planning to flash with TASMOTA) I'm essentially following it.

  • @BuddyPride87
    @BuddyPride87 6 років тому +4

    Great video. I just purchased a Refurbished Roomba 595 for $139 - which I thought was a pretty decent deal. Now if I can update its features that would be great!! I wrestled with paying so much money for the more advanced models. I haven't used Home Assistant or Node-RED before, so this would be my first project! It should arrive next week sometime, so wish me luck!

  • @robr3978
    @robr3978 3 роки тому

    Awesome video, thanks for taking the time to put this together!

  • @palmtree44444
    @palmtree44444 5 років тому +7

    I salute you. New home automation king. 👑

  • @billpayne4502
    @billpayne4502 Рік тому

    What an amazing video. Great cadence, great info, cool implementation.. love it!

  • @KerboOnYT
    @KerboOnYT 6 років тому +1

    Great video, well done. We have a fancy new Roomba but I might have to pull the ancient one out of storage and start playing. :)

  • @PatrickSullivanJ
    @PatrickSullivanJ 6 років тому +2

    This is awesome! I didn't even know this was possible

  • @claustrox
    @claustrox 4 роки тому

    Thank you very very much for all your video ( subscribed )! .
    I am totally newbie in this stuff only 2 days I have installed home assistant. But finally I did it!!!! Thank you very much you are a pure genius !

  • @VAKUL-DC
    @VAKUL-DC 6 років тому +4

    Awesome..Need More! More! More! of these. I have been looking into making non-smart devices at home - washer/dryer; basement water leak detection/mains shutoff.I was shopping for a gas water heater, HDepot had one for $150 more for wifi /alexa/ect option. please let us know if you have integrated ESP in other devices at home. Trying to get my 3d printer calibrated so i can make your door sensor - already ordered the missing parts from ali. thanks

  • @Arachnosoft
    @Arachnosoft Рік тому

    I bought several Roombas for "parts" (three 581s and one 521) a week ago, as I wanted to get a real opinion on robot vacuum cleaners without, either, investing a huge price (like the €450-500 they cost ten years ago, OMG) or going for a cheap, generic brand model without any support for spare parts or documentation.
    I'm truly amazed by the high repairability rate of those things. I've been able to disassemble all 4 of them without any doc, just with a pair of screwdrivers (including that Y shaped one for the brush motor). I replaced and exchanged the brush motors, the dustbin fans, the LCD and button panels, the handles, the top cases without ANY problem and knowledge of those appliances.
    I was wondering what was the purpose of that DIN shaped connector I discovered while removing the upper cover, and now, thanks to YOU, I know. Although I'm an all-purpose IT developer, I'm not experienced enough to play with those electronic writings and components, my most complicated experience being with my 2012 Raspberry Pi...
    But you earned a new subscriber thanks to your extremely informative and crystal clear video. Nice footage, nice explanations, perfect video cuts. Well done, and keep the good work up!

  • @nickyjaden
    @nickyjaden 2 роки тому +1

    Love it! Now I'm gonna make my Roomba Alexa compatible! Thanks for the research! :)

  • @d3str0i3r
    @d3str0i3r 5 років тому +1

    anyone that wants to do this just for the experience and doesn't care about the price, you can get the $200 roomba create on the iRobot site and then buy the cleaning parts separate, benefit of this is they send you the documentation for everything and the bot is loaded with optimized software for modding/hacking
    if the price is what you're worried about get a deebot, it's got most of the new features for about the same price as a used roomba and that's on their entry model, more in the roomba price range also gets you mopping, and a charging port with built in rechargeable handheld vacuum that the robot can automatically empty itself into

  • @javierayzaparra7956
    @javierayzaparra7956 2 роки тому

    Buen video y muy bien explicado. Después de probar entre varias programaciones me he quedado con esta.... aunque le he añadido el pause para poder parar el roomba en cualquier momento. Tengo un Roomba 650 y no me hace falta conectar el cable para tenerlo despierto. Gracias por el aporte

  • @marcusk7855
    @marcusk7855 3 роки тому

    Hey that's the one I have. Good to know I can hot it up.

  • @lsdave
    @lsdave 4 роки тому +1

    Great Video, i modified your arduino sketch and added the OTA update capability. Makes it easy if the wifi network needs to be changed or any other changes that you might want to do. Might also add a web sever for the wifi manager and manual control from a browser instead of MQTT.

  • @pillzrevil
    @pillzrevil 5 років тому

    I dont understand any of this but I am glad there are people in the world who do :-)

  • @timhomstad
    @timhomstad 6 років тому

    Great vid and impressive tinkering!

  • @timben2773
    @timben2773 5 років тому

    Awesome work, thanks a lot for the video! I have a Roomba 772. Could you maybe comment whether the 700 series can be modified similarly?

  • @AllanKobelansky
    @AllanKobelansky 3 роки тому

    Posting from the future. Well done video. Thanks for posting.

    • @dukefleed3721
      @dukefleed3721 3 роки тому

      Can you help me , I have some problem to solve

  • @jojo9982
    @jojo9982 5 років тому

    Thanks for the hook up!

  • @maxreynolds679
    @maxreynolds679 6 років тому +2

    Excellent video, thanks

  • @RogerStocker
    @RogerStocker 3 роки тому

    As Always: Just awesome. ✨

  • @delu7716
    @delu7716 5 років тому +3

    Finally I get it working. But, if I would like to drive the roomba (left and right) in order to drive toward the right room? I have read the oi interface manual but I am stuck..

  • @BrianBlakGuldager
    @BrianBlakGuldager 5 років тому +1

    Hi Frank Nice video have seen it a couple of times now and think its time to go for it. My old 560 is going to have a new life.
    If you were going to do this today yourself, would you do anything diffrent?

  • @jespera.nielsen1693
    @jespera.nielsen1693 5 років тому

    Always enjoy your videos. So much inspiration for the automated house :o) Being more of a programmer than a hardware techie; whats the main reason for using jumpwire between VCC and EN (CH_PD)? Main reason for asking is, that my favorite ESP module is Wemos Mini D1 which seems to lack a EN pin. So if it could be avoided I could use my favorite. If not I have to use another board. Again. Thansk for so much inspiration. You and DrZzs is among the best!

    • @TheHookUp
      @TheHookUp  5 років тому +1

      The d1 has a permanent connection between vcc and en, so you don't need to worry about it.

  • @TheHookUp
    @TheHookUp  6 років тому +10

    If anyone tried this and got a reboot loop on your ESP-01 it was because your RX pin was not configured properly and caused the total mAh to be returned as zero. I hadn't considered this in my original code and it caused a divide by zero error/reboot. I've updated the code on github to prevent this reboot loop. Instead of returning battery % it will return NO DATA instead.

    • @CRCinAU
      @CRCinAU 5 років тому +2

      I've spent a lot of time completely re-writing this code. I've linked to this video from the post:
      www.crc.id.au/hacking-the-roomba-600/
      Hopefully, it'll give you some good ideas to improve your code too.

    • @buzzbombkirk
      @buzzbombkirk 5 років тому +1

      Dude, awesome video. You’ve inspired me to move over to NodeRed

    • @DanieleVelardi
      @DanieleVelardi 5 років тому

      you considered problem when WIFI go DOWN? with your code it's necessary detach and attach again ESP to ROOMBA; could be a problem of mDNS announce? could you fix your code?

  • @MegaNunox
    @MegaNunox 6 років тому

    Very good video & idea, big thanks

  • @ericbowman9487
    @ericbowman9487 5 років тому +2

    Hey Rob, great video. I am running into some strange results that I cant seem to track down. I have a Roomba 650 and I purchased the same items you used in your build. I have everything connected, the commands from HA work fine, but the 0-5 "charging state" values are coming in on the roomba/battery topic (but sometimes I see values that look like battery values, like 93), and the roomba/charging topic seems to float between reporting a value of 240 and 248. (For now I do not have the keep alive pin connected just to try and simplify the troubleshooting). I found the data sheet for the 600 series and verified that the pins on the connector are the same as the 500 series. Any suggestions would be appreciated. Thanks!

  • @tushardadwal9023
    @tushardadwal9023 2 роки тому

    Awesome video Rob. I have learned a lot from your videos specially node-red and home automation. thank you for creating such inspiring videos.
    I have Roomba 655 and I'm able to start and stop it from my HA app. But the only problem is that it does not start cleaning or listen to my commands while on the dock. I have tried reconnecting it several times still the same issue. Can you please help me with this?

  • @ThunderDraws
    @ThunderDraws 4 роки тому

    wow that's awesome! great job!

  • @babakhallajian684
    @babakhallajian684 6 років тому +3

    your presentation is awesome

    • @TheHookUp
      @TheHookUp  6 років тому +1

      Thanks! My premiere skills are slowly coming back to me.

  • @JustinDiener
    @JustinDiener 6 років тому +2

    I just got this up and running on my roomba. A one thing I noticed along the way are that the OI documentation seems to say that it is not necessary to put the roomba into safe mode before issuing the cleaning command. The cleaning command can be issued from any mode, and automatically puts the roomba into passive mode. I did not test this, though.

    • @TheHookUp
      @TheHookUp  6 років тому +1

      I figured it couldn't hurt.

  • @olarenik1527
    @olarenik1527 3 роки тому

    Def check/clean the brush for hair - friend/I both have long/thick hairBISSELL PowerFresh Steam Mop Canister held more dust/dirt than I expected. Makes life easier!

  • @dronenb
    @dronenb Рік тому

    You're the man, thanks!

  • @henk-janberghorst6313
    @henk-janberghorst6313 5 років тому

    Thanks for sharing this nice project
    I using it on a Roomba 606, this type goes into sleep mode after 5 minutes, so i have to send the start command twice.
    After sending it the first time, the Roomba wakes up, after the second command (5 seconds after the first fire) it starts cleaning.
    I made a script in HA that does the job, so you can start cleaning with one push in HA
    Kind regards,
    Henk

    • @TheHookUp
      @TheHookUp  5 років тому

      Nice solution! I posted a different file on the github page for the 600 series that pulses the line every minute to keep it awake too if you're interested in that.

    • @henk-janberghorst6313
      @henk-janberghorst6313 5 років тому

      Nice I will look for it :-)

  • @claustrox
    @claustrox 4 роки тому +2

    I dont' know if you can help me.
    I have 2 roomba I changed in the sketch of the second one "const char *mqtt_client_name = "Roomba" to ""Roomba534" "but I can't make the battery and status work. What I have to change in node red for use another device? Is the change in mqtt_client_name the only thing that I have to change in sketch?
    In node-red roomba/charging roomba/status roomba/currentstatus e roomba/commands are alle green and connected .
    And I can receive all the messages listening to roomba/charging etc..
    Can you help me?

  • @denisgrabocka1269
    @denisgrabocka1269 5 років тому

    Great videos buddy very informative and articulate. I do not have much experience with mqtt but i do use Node Red for my old x10 switches and i do use SmartThings instead of Home Assistant but i like your approach to automating my old series 600 Roomba so now i am on a quest on how to merge them together ....Any pointers if you have any on ST and mqtt will be greatly appreciated . Thanks again

    • @TheHookUp
      @TheHookUp  5 років тому

      If you have node red you most likely already have an MQTT broker. I don't know anything about smart things, but node red is really all you need.

  • @RichVincelette
    @RichVincelette 6 років тому +1

    awesome video, this has been on my todo list for a while but your video may have given me the bump in motivation needed to actually do it! question, how much more (time or coverage) do you find (or guess) the roomba cleans using your "charge and resume" automation? I don't think these older roombas know where they left off (I think the brand new ones with mapping capabilities do), do you use light houses (Virtual Wall) in your house? thanks again

    • @TheHookUp
      @TheHookUp  6 років тому +1

      I don't have any virtual walls set up, but I can tell you that in a single pass the roomba will clean about 75% of my downstairs, with 2 passes there are roomba tracks over every square inch every day. This summer I'm going to be working on a virtual wall project using nodemcus.

    • @RichVincelette
      @RichVincelette 6 років тому

      The Hook Up thanks for the info! Also excited to see where you get with making virtual walls!

    • @robertperkins4909
      @robertperkins4909 Рік тому

      @@TheHookUp Did you ever do the virtual wall project?

  • @NiklasNoren
    @NiklasNoren 5 років тому +2

    How did you hide the ESP:s and such under the panel, is there space?

  • @mathiask2143
    @mathiask2143 4 роки тому +4

    Hi. My old Roomba 772 has been working flawlessly from HA since i did this upgrade thanks to this great video.
    But I have one small problem. From time to time the Roomba decides to leave the dock because of lost connection to the dock and starts moving around in search for the dock it just left. Sometimes it would be useful to just stop it where it is. Especially at night.
    The "stop" command sets it to returning-mode, witch its already in, and I can't figure out how to make it just stop where it is. Similar to pressing the round button on top of it. Maybe its called "pause"?
    Any tips on how to do this?

    • @christopherjohn333
      @christopherjohn333 2 роки тому

      I dont know if youre still looking for an answer but you could use the power command which is uses the serial sequence 133. This command shuts down the roomba in its spot.

  • @01schahal
    @01schahal 3 роки тому

    Hi ..thank you so much for details instructions. I am able to see all roomba communicating in HA but the Roomba Status is showing an Unknown ..can you please direct me what should be causing this. I can turn on off Roomba and can see the charging percentage

  • @KalebHoward
    @KalebHoward 5 років тому

    Now to update it's clock and schedule whenever it goes dead and gets plopped back on a charger.

  • @pxgardiner
    @pxgardiner 3 роки тому

    Thanks for the video - very helpful in getting it working. Did you have any issue with sleep? Mine (805) will only work if i set the baud pin low for a half second or so to wake up the roomba. If I do that, it will consistently take commands, but otherwise it mostly ignores them. Also, I can't receive anything at all from the tx pin. Is that what happens without the transistor?

  • @paolocortenova955
    @paolocortenova955 5 років тому

    Hi Rob, awesome video...Inspiring! a little question about the transistor, can I use a BD534 or a BC327? are both PNP... I've a couple of them around ;-)

    • @TheHookUp
      @TheHookUp  5 років тому

      Yes, that should work fine

  • @jareza
    @jareza 4 роки тому

    Hi, quick question, would the ESP-01 could be interchangeable with the ESP 8266? Im asking because I also want to do the motorized smart blackout thingy and will have a spare ESP 8266 for the roomba: In case It is compatible the USB to TTL adapter would not be necessary right? Im asking because I love your videos, I dream about accomplishing one of your projects but I have never even used a soldering iron. I want to tackle these two projects in order to learn more about the things you do.
    Thanks1

  • @franciscojsanchezmba
    @franciscojsanchezmba 2 роки тому

    I would be content with the app and wifi no need for schedule. Thank you

  • @jimb032
    @jimb032 6 років тому +1

    The cable is an old apple MIDI cable in mini DIN....if anyone cares. I did my automation with the IR. I started to change it to this way, but I wanted to have it map the house. The wheels slip too much to get any accuracy, so I stopped. I guess the only thing you have is the battery sensor that I do t have because mine stays with the dock. But I'm considering your upgrade because mine is 3 years old now and the new wore off. I also did it with an rfm69 radio and gateway system. Those radios are less power hungry than WiFi but it seems the roomba battery is big enough it's a mute point.

    • @WhiskeySixBravo
      @WhiskeySixBravo 5 років тому

      So I've got a 860... is it worth trying to get it to map.

    • @jimb032
      @jimb032 5 років тому

      I guess it depends on what you mean by map. If you are trying to "just" get it to a location that is not that far away, over hardwood, to start cleaning - of course it's worth it!
      If you are trying to get a CAD drawing of your house with it like I did - forget it.
      Just FYI - it's not dependent on the model - the API commands are almost the same - see the book Rob recommends "Hacking Roomba" It's just the offset that occurs due to resolution inaccuracies and wheel slippage that happens even over hardwood. The problem comes from the fact the encoders, while pretty accurate, are ran off a drive wheel instead of an idle wheel. So every single turn introduces a new offset.
      I definitely would encourage you to play with it - I assure you it's worth it. All I was trying to point out is don't try to make it something it is not like I did. For what Rob did, it's perfect. And getting it from one room to another it's accuracy is "good enough". You will find talk of some of the newer ones "mapping" the home. But this is in combination with the bump sensor, and the map is a map without real measurement and nto a CAD drawing I was trying to accomplish.
      Good luck with it!

  • @sjekiere11
    @sjekiere11 6 років тому

    Awsome idea

  • @angeryitalianchef7251
    @angeryitalianchef7251 4 роки тому

    I have a 600 series so I can't use it but I have similar thin gs like I got a remote control and I just run my Roomba every day, 2 times a day but some times it just dies in the middle of the floor

  • @dexterweb
    @dexterweb 5 років тому

    this is genius!

  • @DanieleVelardi
    @DanieleVelardi 5 років тому

    I don't found it in video: you have to change ip address of mqtt broker in flow of node red...

  • @martingradev
    @martingradev 5 років тому

    Thanks for the video! Is there enough room under the top cover for these parts, or you fitted them somewhere else?

    • @TheHookUp
      @TheHookUp  5 років тому +1

      I fit them under the cover

  • @MortenVindingSvendse
    @MortenVindingSvendse 5 років тому

    How about IR?
    Excellent guide.
    I am looking to do this on our 866. It replaced our 530 that we didn’t use a lot, and I must admit there is a world of difference from the old brush system to the new rubber roll one. SO much easier to clean and untangle!
    Anyway I way thinking: wouldn’t it be a lot easier for you to just let the Harmony control it by IR?
    Of course you couldn’t see the battery status and stuff, but still...

    • @TheHookUp
      @TheHookUp  5 років тому

      Ours isn't in the right room for the harmony.

    • @PabloRomeo1
      @PabloRomeo1 5 років тому

      @@TheHookUp A Broadlink RM Mini is an inexpensive way to do it through IR. But obviously no status info or controlling when out of view/range, so not as precise as using wifi.

  • @blueeyesvideos
    @blueeyesvideos 5 років тому

    How would I get this to work in homekit using Homebridge? I'm hoping as long as the vacuum is hooked up to the Wi-Fi I can send commands through my Json file. Any ideas? A video would be terrific

  • @DanielNictheroy
    @DanielNictheroy 3 роки тому

    Hi, great video and is working perfect! How can I incorporate the Stasis sensor to your sketch. That would tell if moving forward or not and I think would be a good way to determine if is stuck somewhere before battery dies. Would be nice to also play a noise to find if lost but that would be less important. Thank you!

    • @dukefleed3721
      @dukefleed3721 3 роки тому

      Can you help me to load a sketch, there's a pdf for to do that? Sorry for my bad write in this language.

  • @stephblackcat
    @stephblackcat 2 роки тому

    I wonder if there's any way to pull a map from it's sensor data, then tell it which zones you want it to clean...

  • @robertvanoverbeeke6968
    @robertvanoverbeeke6968 2 роки тому

    Awesome and inspiring video! I bought the gear, connected it all up. Installed a MQTT broker and client.
    I receive the following after I publish "start" to roomba/commands:
    checkin
    roomba = Rebooted
    charging = 0
    commands = start
    status = Cleaning
    However it doesn't start.
    Shortly after, status changes to "Dead Somewhere"
    What do I do wrong?

  • @minnnnnas
    @minnnnnas 2 роки тому

    Great work! Love your viedos!!!
    A bit more of a challenge. Can you upgrade Roomba 675 to have mapping? Is it possible by programming or it lacks the hardware as well?

    • @TheHookUp
      @TheHookUp  2 роки тому +1

      Not possible. Mapping requires either a lidar array or a VSLAM camera.

    • @LxonWWW
      @LxonWWW 2 роки тому

      ​@@TheHookUp There are lidar sensors to buy for tinkering like the "YDLIDAR X2". That in combination with the informations collected with this project would definitely make a interesting challenge to make a "dumb" roomba more smart with mapping.

  • @GadgetsGearCoffee
    @GadgetsGearCoffee 2 роки тому

    Does this work with the 860 too? under the handle of the 860 there is a serial port and what do you mean by hook up a voltage source for the ESP-01. As someone that's never tinkered with this, all of this sounds rather complicated because I don't even know the basics.. :(

  • @xirtama
    @xirtama 6 років тому

    Great project! I'm waiting for the parts now to upgrade my 770.
    Does anyone know if the "dustbin full" sensor is available? I'd surely like to be able to send a push notification and/or return to dock when that happens. I've googled for it and also reviewed the OI specification docs, but couldn't seem to locate it.

    • @TheHookUp
      @TheHookUp  6 років тому

      I haven't seen that sensor in the OI, no.

  • @mrFractures
    @mrFractures 6 років тому

    I saved ~$300 following this video.
    The only difference in my hardware setup is that I used the Adafruit Feather Huzzah board which has an integrated logic converter on the RX pin and ftdi module. I used the 3.3V signal from the Huzzah board TX pin directly and so far it is working fine.
    On the software side I didn't implement the Node Red black magic. Instead I used a simple HA automation for daily cleaning schedule.
    The one thing I would like to incorporate into the Arduino code is to publish a "Docked" status. Right now I can only see when the Roomba starts cleaning and returning.

    • @TheHookUp
      @TheHookUp  6 років тому

      Can you see the battery %? The code has status for docked and battery %, but you'll need to have the PNP transistor to make them work.

    • @mrFractures
      @mrFractures 6 років тому

      The Hook Up I do see a battery percentage status but I haven't validated the data. So far I only recall seeing 100% and 120% which is odd. I think I had to change the HA sensor definition topic from currentStatus to Status (or the other way around...) before I started seeing values.

    • @TheHookUp
      @TheHookUp  6 років тому

      MQTT topic roomba/charging should have your docked and charging status in it.

    • @mrFractures
      @mrFractures 6 років тому

      I defined a HomeAssistant MQTT sensor like this:
      - platform: mqtt
      name: "Roomba Charging"
      state_topic: "roomba/charging"
      But I am getting non-sense values(10,46,248,241,33) instead of the 0-5 range expected. If I take only the first digit of each number (1,4,2,2,3) then it sort of makes sense(Reconditioning,Waiting,Full Charging,Trickle Charging).
      This is the code that publishes the charging status(unmodified):
      String temp_str = String(battery_Voltage);
      temp_str.toCharArray(battery_Current_mAh_send, temp_str.length() + 1); //packaging up the data to publish to mqtt
      client.publish("roomba/charging", battery_Current_mAh_send);
      Why do we need "temp_str.length() + 1" and not just "temp_str.length()"?
      Could this be related to the board that I am using?

    • @mrFractures
      @mrFractures 6 років тому

      But really what I wanted to say is Thank You. Your content is great.

  • @Wheemer
    @Wheemer Рік тому

    A bit late to the game but just got this working. Thank you.

    • @TheHookUp
      @TheHookUp  Рік тому +1

      Awesome to hear it still works!

    • @Wheemer
      @Wheemer Рік тому

      @@TheHookUp I noticed when I first turn on the roomba switch it just lights up but doesn't move. If I hit the switch to on one more time, then it comes to life and starts cleaning. Have you ever seen such behaviour? Your insight would be great. Thanks again!!

    • @Wheemer
      @Wheemer Рік тому

      @@TheHookUp Nevermind, I see the comment below concerning the issue.

  • @heineolsen7546
    @heineolsen7546 4 роки тому +1

    Hey Rob, thx for the great video, but can I on any way do the arduino skecth in esphome instead ?

    • @TheHookUp
      @TheHookUp  4 роки тому

      No idea, I don’t mess with ESPHome very much

  • @DanieleVelardi
    @DanieleVelardi 5 років тому

    Which app used to config scheduler? There is for Android and for iOS?

  • @foxiedogitchypaws7141
    @foxiedogitchypaws7141 5 років тому

    I bought the 980(?) As a gift for myself. It's still in the box, new from bestbuy. From the beginning when I unbox this, maybe? Help set it up? ;), this spring I will be ready, Thank you ahead .

  • @seymore1532
    @seymore1532 5 років тому

    Any way to wake up a dead 510 Roomba battery? Was rarely used since new, don't want to buy a new battery if possible. Thanks

  • @joekool1361
    @joekool1361 5 років тому

    @TheHookUp Awesome project! Set it up this weekend, working well so far.
    Two questions, wondering if you’ve experienced this.
    1. The battery sensor percentage switches between the actually charge level and then a single interference. At 100% it will switch to 2, and I’ve seen 70s then switch to 1.
    2. The roomba seems to be moving a lot faster. This isn’t really an issue just curious about it.

    • @TheHookUp
      @TheHookUp  5 років тому

      1. Hmm, that's interesting, not something that I've experienced. I wonder if that could be an internal polling error in the roomba's MCU. What series roomba are you using?
      2. Mine go the same speed as before (I have a 530 and a 580)

    • @joekool1361
      @joekool1361 5 років тому

      Thank you for the fast reply.
      1. Roomba 650
      2. Did a little more digging after I posted. Cleaning the sensors may help with the speed. Apparently if it doesn't sense anything close it increases speed. I haven't paid attention to it cleaning in a couple years until testing. Maybe I am just noticing it now but existed a while. I'll let you know.
      Thanks again! I'll post how it goes.

    • @joekool1361
      @joekool1361 5 років тому

      Also I used your sketch Roomba_600_ESP01_CONFIGURE.ino, instead of RoombaESP01_CONFIGURE.ino. What are the differences and should I have used the standard one? I didn't notice much of a difference between the two sketches.

    • @TheHookUp
      @TheHookUp  5 років тому

      Hmmm, that could be the issue. The 600 sketch has a pulse to stop the roomba from sleeping. Maybe that is causing interference

  • @LaneLarson
    @LaneLarson 5 років тому

    Genius.

  • @ThatOneGuyGreggers
    @ThatOneGuyGreggers 5 років тому

    Is there a way to do this but to connect it to SmartThings?

  • @zdoranns
    @zdoranns 4 роки тому

    Bravo!

  • @deputyd0ng694
    @deputyd0ng694 3 роки тому

    I have this running in MQTT, with a 2N3906 transistor as shown. MQTT is showing the device and its states, HA shows the entities, however in MQTT explorer, the battery is saying "No Data". Also, any commands I ppublish to it manually, or by using the HA switch, the roomba does not respond to.
    Itss a roomba 805, according to my research, the pinout on the interface is the same.Should I be using a different transistor? Any other idea?

  • @theKongston
    @theKongston 6 місяців тому

    Excellent video, im trying this now. I dont know if its the library version or something, but this keeps happening:
    no matching function for call to 'SimpleTimer::setInterval(int, void (&)())'

  • @zsoltszepfalvi5798
    @zsoltszepfalvi5798 3 роки тому

    I can get Pro elite, 555, 564, 651, 770, 780 roombas second hand for around 100$. Which one do you Suggest to buy for upgrade? The key features has to be a data interface On the top and a charger on the bottom, right?

  • @stanfordwells8266
    @stanfordwells8266 Рік тому

    This is a awesome project, only thing is that the battery info doesn't seem correct always at 100% status and charging stays at 255, not getting the 1-5 status, could this be cause I'm using a esp32 instead of esp01?

  • @mikel2700
    @mikel2700 6 років тому

    Great video! I'm looking to make my Roomba smart and came across your post. Have you, or anyone here, looked at disabling the cliff sensors? I'm asking since I have dark colored floor rugs, and the sensors halt the Roomba; thinking it's about to go over a cliff.

    • @TheHookUp
      @TheHookUp  6 років тому

      I don't think you can disable only the cliff sensors and still have the rest of the safe mode sensors running. Ever tried to cover them with painters tape?

    • @mikel2700
      @mikel2700 6 років тому

      Haven't don't Painter's Tape. Tried the aluminum foil with no luck. What's working currently is using packing tape on both sides of printer paper, but not completely covering the sensor.

  • @albertocelano5402
    @albertocelano5402 3 роки тому

    Hi, know you why I'm not able to send mgs to my Roomba 871.... I've followed your great video and I've all stuff like you but my roomba don't start with NodeMcu or Arduino (I'm trying with only commands before to use MQTT)... could you help me ?thanks!

  • @brycemyles2010
    @brycemyles2010 5 років тому +3

    I've been working on this project for a few weeks, it's a super neat idea... however I keep getting the error "cannot declare variable 'espClient' to be of abstract type 'WiFiClient'" every time I go to compile the code? anyone have a solution?

    • @TheHookUp
      @TheHookUp  5 років тому

      Try updating your esp8266 boards manager.

  • @MikeErickson1082
    @MikeErickson1082 5 років тому

    Hey Rob, awesome video. I just set this up to control my 500 series and it is working great. One question though: If I manually start the Roomba via the button, the status does not update via MQTT to "Cleaning". I can see that this is only done when calling "void StartCleaning()". Is it possible to have the ESP query the status periodically via the serial interface, and report that the roomba is cleaning, if it were manually started without automation? Thanks!

    • @TheHookUp
      @TheHookUp  5 років тому

      Not possible to my knowledge.

    • @michaudjp
      @michaudjp 4 роки тому

      Replace ESP01 by ESP12, add shock/vibration sensor in the loop ,monitoring for voltage drop over some time period (prevents false positive) then update MQTT advertising roomba is now alive. Use HA to handle the rest.

  • @mirek3542
    @mirek3542 2 роки тому

    I replaced the old Ni-HM battery with a Li-Ion battery with BMS, and now the iRobot 780 vacuum cleaner doesn't recognize it when charging. Error 1, what to do with it?

  • @WhiskeySixBravo
    @WhiskeySixBravo 5 років тому

    Dude, you're super smart! How old a Roomba are we talking? I have a 860 that I'd love your advise on; to add these features would these steps be the same? Is it also possible to add mapping to my 860? There are a lot of 'dead areas' Jethro (we named ours) gets stuck in, bathrooms for an example, kitchen sink rugs, etc... Anyways, hoping you could point me in a direction.

    • @TheHookUp
      @TheHookUp  5 років тому +1

      I don't think the 800 series can be controlled this way, I think it's only 500 and 600 series roombas. :(

    • @GadgetsGearCoffee
      @GadgetsGearCoffee 2 роки тому

      @@TheHookUp there is a serial port right under the handle of the 860, is there something else preventing it from working? 860 already has advanced scheduling, I'm just looking for a way to make my 860 a wifi enabled one so I can use an NFC tag or something to launch it when I'm not home or use google home assistant - thanks in advance!

  • @davidchui4373
    @davidchui4373 6 років тому

    Fantastic video. I was looking around for MQTT enabled robot vac videos. I am sourcing around for a refurbish Roomba. Are there any other robot vacs that supports MQTT?

    • @TheHookUp
      @TheHookUp  6 років тому

      Well, it's technically not the robotvac that is supporting MQTT, it's the microcontroller. The more important thing is being able to control the vac with a microcontroller. I'm not aware of any other brands that have a serial port on them, but they might exist.

    • @davidchui4373
      @davidchui4373 6 років тому

      What's your opinion on a new wireless Roomba with home automation?

  • @matthewjones7414
    @matthewjones7414 3 роки тому

    Would a BD682 transistor do the job?

  • @jeremymckenzie9775
    @jeremymckenzie9775 5 років тому +1

    I had this working, following your video verbatim. Recently, I've discovered that the chip has started broadcasting an SSID, but yet it is still connected to my Wifi. Is there anything I can do to fix this, or do I need to try and re-flash the chip? I have reset the chip a couple times, and also re-seated the battery in the roomba. Any help is appreciated. Thanks!

    • @TheHookUp
      @TheHookUp  5 років тому +2

      I forgot I hadn't added it to this sketch. It won't hurt anything to have it broadcasting an AP (and it's not a hacking risk since it won't actually connect to anything), but if you want to get rid of it you can reflash and add "WiFi.mode(WIFI_STA);" to the setup. I've also added it to the github sketch.

  • @ronny-andrebendiksen4137
    @ronny-andrebendiksen4137 5 років тому +1

    Great video! Just uploaded the code to an ESP-01 and it ran like a charm. However, I just recently saw that you have a separate INO file for the 600-series. My Roomba is 620, and I was wondering if I have to replace the ESP-01 with a NodeMCU to prevent sleep mode, or will it function as it is?

    • @TheHookUp
      @TheHookUp  5 років тому

      You can do it with a esp-01, just need to hook up one more wire (i think I put the pin instructions in the 600 ino file)

    • @ronny-andrebendiksen4137
      @ronny-andrebendiksen4137 5 років тому

      @@TheHookUp Thanks for the quick reply! I do need to use the 600 ino file on the ESP?

    • @TheHookUp
      @TheHookUp  5 років тому

      Yeah, that's the one that has the "keep alive" ping.
      If you aren't having sleep problems you can continue to use the 500 file.

    • @ronny-andrebendiksen4137
      @ronny-andrebendiksen4137 5 років тому

      @@TheHookUp I've been running this for a day now, and I noticed a few things that could be improved. When the Roomba is returning to the dock and started charging, the status will say "Charging" even if the battery status is 100%. In that case I think it should report "Docked" or something similar. Also, if it is docked, either charging or finished charging, and you disconnect the chargers wall plug, it responds "Cleaning" even if it's docked. I will try to make some time this weekend to update the code, to accomodate for these differences previously mentioned.

    • @tad2373
      @tad2373 5 років тому

      You mention D4 on nodeMCU in the 600 file. Wound this be GPIO02 on the ESP-01? Sleep Pin value is 2 in your code and Pin 2 on the ESP-01 document seems to indicate that pin 2 is TX. I have my ESP-01 hooked up from GPIO02 to BRC on Roomba 650 and it still is going into sleep mode.@@TheHookUp

  • @perimec2
    @perimec2 5 років тому +2

    Hi, Thanks for the super video... however I'm new to this so might seems stupid question...However, I have no MQTT server at home.. would be possible to use an online server for this? if so do ypou have any suggestions or needs to change in the code?
    thanks in advence

  • @SK-cp5eh
    @SK-cp5eh 5 років тому

    hi, I loved this, and went on to buy myself a roomba and used a nodeMCU esp8266 to do it. However, my roomba is the 650, and this means i need to do the pulse. So I added the pulse code to my sketch, but now i'm confused... Which pin on the roomba needs to be pulsed?????????

    • @TheHookUp
      @TheHookUp  5 років тому +1

      Pin5, the "BRC" pin: www.irobot.lv/uploaded_files/File/iRobot_Roomba_500_Open_Interface_Spec.pdf