Closed SebSemmi closed 2 years ago
You may have to enable sensor notifications in the home app.
Hey @SebSemmi,
I wanted to see if it worked for you?
To clarify, in the home app, click the house icon in the top left, scroll down 'till you see Home Settings
, Click Sensors, and enable the sensor you want. I will close this issue next week if there is no reply.
You may have to enable sensor notifications in the home app.
I already had sensor notifications enabled. The problem was, the contacts did not open and close respectively. I enabled Enable Keep Alive and Auto Refresh Enabled, now the sensors work. But I remember there where some downsides to this options and why there weren't enabled by default in the other plugins.
Interesting. I haven't had any issue with those settings for a year. It does my whole down stairs just fine.
I am also having an issue with the contact sensors... specifically, the "docked" sensor operates in the opposite way as might be expected. The Docked sensor shows closed when the roomba is docked, and opened when the roomba is not docked. It seems the "Docked" Sensor should indicate if its docked, not that it is NOT docked
I could add a setting to change the behavior of how you want the sensor to behave. I have add a setting called "Reverse Dock Sensor" for your interpretation. This will be added tonight in the next release.
I'll echo what @SebSemmi did to get their Roomba to work. Without enabling "Enable Keep Alive" and "Auto Refresh Enabled", I could toggle the switches on my Home App or on Homebridge and nothing would happen. If I used the iRobot app to activate the Roomba (or pushed the START button on the Roomba itself), the switches would show the correct value (open for Roomba running), but they wouldn't 'do much' other than show status.
Once I made the changes that @SebSemmi did, I'm now able to control my Roomba with the switches on my Home app.
Note, I did make sure to try with all notifications enabled but that didn't do anything either.
@nikdata you have to clarify, the Roomba should show in HomeKit as one switch and up to three sensors. You then could go into each sensor and set up an notification.
@SebSemmi Sorry for the poor wording on my previous post. You are correct that I have 1 switch (that has the ability to toggle on/off) and 3 sensors (one showing if bin is full, one showing whether the Roomba is running, and one showing if the Roomba is docked).
Earlier, I wanted to say that before I enabled "Enable Keep Alive" and "Auto Refresh", the toggle switch didn't do anything. If I went and turned the Roomba on myself, then the switch would show "toggle on". In other words, if I went to the switch in the Home app and toggled on, nothing would happen. However, once I enabled the options (Enable Keep Alive & Auto Refresh), then the switch on the Home app worked. In other words, I could now go and toggle the switch on through the Home app and the Roomba would turn on.
I hope that is clearer.
SO @SebSemmi, do you notice any issues with keepAlive on, or refresh?
Occasionally seeing the docked state not refreshed. Unsure what the culprit is but my unit is only a few months old (s9) and my contacts are in great shape. I also PM my unit monthly with wipes and an air compressor. Don't believe the issue is mechanical... Anyone else seeing the docked state not refreshed in HK?
Hi every one, just got my Roomba 900 Series/Roomba 976. try the plugin. it does Activate the Roomba and it does stop it and sent it to the dock station. but like in the issue: https://github.com/homebridge-plugins/homebridge-roomba2/issues/39 there is a problem with updating the status (Charging/ not Charging) and the battery (always 100%) i tried the sensors too (none worked)
i will try what @SebSemmi suggest and be back with results
thank you
Check and after adding "Enable Keep Alive" and "Auto Refresh Enabled", now the sensors work for me too
but in this plugin: https://www.npmjs.com/package/homebridge-roomba-stv
they sais: "KEEP ALIVE (keepAlive set to true) - we will keep a connection to roomba, this will cause app to fail to connect to roomba in local network mode (cloud mode will work just fine, even in your home wifi). This will lead to better performance (status will refresh faster, and toggle will work faster as well). Keep in mind this will increase the Roomba battery consumption."
so its not OK to do so?
@karlvr My understanding is that the old options "Enable Keep Alive" and "Auto Refresh Enabled" are not being used in the latest betas. Should this issue be closed?
@khad thank you very much for helping triage and clean up the issues. Yes, those strategies have been removed. I'll close this. Hopefully the issue itself is still resolved… I'm pretty sure it is.
the running and docked contact sensors don't work. are there some configurations necessary? Running Roomba 960, coming from homebridge-roomba-stv plugin.