Hi Everyone,
I never saw anything listed in the forums, but curious if any of you are using Xiaomi Mi Vacuum smart vacuum (uses Wifi) with HomeSeer? I had mine for a couple of months now and I'm loving it for everyday vacuum cleaning throughout the house.
In the app, I can create basic cleaning schedules. But now that I just started with Homeseer, I'm hoping to start doing some more advanced cleaning schedules. Right now I have it clean twice a day - noon and midnight. Without going too far into details, what I am going to do is have it run through a cleaning if we arm the house and are away. But not have it run if it ran within the past 6 hours. Same deal will apply when we are at home as well. I can do that with virtual switches/conditions in events with no problem.
But now I'm thinking, how can I control the vacuum in HomeSeer? I found a python scripts that accomplishes my goal at here: https://github.com/rytilahti/python-mirobo. I installed it on my Mac Server (separate from my HS Box - which I'm running in Vmware Fusion) . I can ssh into the Mac Server and run commands such as "mirobo start" and "mirobo stop". With using Plink and event scripting, I think I can easily accomplish what I originally want here
Now having said that, I noticed that you can also get the status of the vacuum as well with the python scripts such as typing in "mirobo status". I'm thinking this would really help me out. While I love this vacuum, sometimes it will say the main brush is blocked when it gets to the thicker carpet in our house and pause. It tells you to check the main brush. But all I have to do is resume the cleanup in the app and it picks off. So what I would like to do is find a away of picking up the status results and if the status says that the main brush is blocked, go ahead and run the start command again. And thinking about it further, maybe have the status communicate back to homeseer via Json somehow to control the vacuum virtual switch.
Trying to find some ideas here as I am scattered in different directions on having status updates and two way communications. Now one thing I have done was install this in Home Assistant successfully (https://home-assistant.io/components...xiaomi_vacuum/). I tried looking at using MQTT, but Home Assistant isn't quite clear on how to use MQTT with a physical switch (the vac shows up as a physical switch in Home Assistant. Plus from what I researched, MQTTT won't tell me about the detailed status in Home Assistant. Json is what you have to use. I thought about calling a JSON url from HS to HA, but it doesn't appear to be easy enough for me in HS. I saw a post by Sparkman to where he done something with a WD Live product. But I can't correlate how to do that with the JSON post URLs to Homeseer. And then parsing it will be another battle.
I'm curious what everyone thoughts are in integrating this product somehow with HS.
I never saw anything listed in the forums, but curious if any of you are using Xiaomi Mi Vacuum smart vacuum (uses Wifi) with HomeSeer? I had mine for a couple of months now and I'm loving it for everyday vacuum cleaning throughout the house.
In the app, I can create basic cleaning schedules. But now that I just started with Homeseer, I'm hoping to start doing some more advanced cleaning schedules. Right now I have it clean twice a day - noon and midnight. Without going too far into details, what I am going to do is have it run through a cleaning if we arm the house and are away. But not have it run if it ran within the past 6 hours. Same deal will apply when we are at home as well. I can do that with virtual switches/conditions in events with no problem.
But now I'm thinking, how can I control the vacuum in HomeSeer? I found a python scripts that accomplishes my goal at here: https://github.com/rytilahti/python-mirobo. I installed it on my Mac Server (separate from my HS Box - which I'm running in Vmware Fusion) . I can ssh into the Mac Server and run commands such as "mirobo start" and "mirobo stop". With using Plink and event scripting, I think I can easily accomplish what I originally want here
Now having said that, I noticed that you can also get the status of the vacuum as well with the python scripts such as typing in "mirobo status". I'm thinking this would really help me out. While I love this vacuum, sometimes it will say the main brush is blocked when it gets to the thicker carpet in our house and pause. It tells you to check the main brush. But all I have to do is resume the cleanup in the app and it picks off. So what I would like to do is find a away of picking up the status results and if the status says that the main brush is blocked, go ahead and run the start command again. And thinking about it further, maybe have the status communicate back to homeseer via Json somehow to control the vacuum virtual switch.
Trying to find some ideas here as I am scattered in different directions on having status updates and two way communications. Now one thing I have done was install this in Home Assistant successfully (https://home-assistant.io/components...xiaomi_vacuum/). I tried looking at using MQTT, but Home Assistant isn't quite clear on how to use MQTT with a physical switch (the vac shows up as a physical switch in Home Assistant. Plus from what I researched, MQTTT won't tell me about the detailed status in Home Assistant. Json is what you have to use. I thought about calling a JSON url from HS to HA, but it doesn't appear to be easy enough for me in HS. I saw a post by Sparkman to where he done something with a WD Live product. But I can't correlate how to do that with the JSON post URLs to Homeseer. And then parsing it will be another battle.
I'm curious what everyone thoughts are in integrating this product somehow with HS.
Comment