hakt0-r / homebridge-platform-linktap

Homebridge plugin for LinkTap a wireless tap.
MIT License
8 stars 2 forks source link

Autoback not working again #6

Closed Venger2005 closed 5 years ago

Venger2005 commented 5 years ago

Hi. With your previous change, autoback was working for me. Recently the app has a major update and since then autoback is no longer working with this plug-in. Not sure if there were changes made to the API alongside the app revamp which have caused this behaviour?

Any help is appreciated as having to manually check now to make sure watering is going to occur as per my 7-day schedule, which kind of defeats the purpose of my linktap homebridge automation.

hakt0-r commented 5 years ago

Sure mate I'll have a look at this. I haven't played with my automation in a while I am using their app and have setup the timers in that. Have you tried their app, they have done some updates too in it.

Venger2005 commented 5 years ago

I have been and am still using the app for my timers. But I also have an automation set up in Homebridge where if there is motion detected in a certain zone then the sprinkler will turn on for one minute and then turn off. Previously, after the changes you made, then after the automation turned off the watering mode would switch back from instant mode to the app-set 7-day schedule. Since the app update though, the autoback function no longer works for me.

Hope that makes sense!

Venger2005 commented 5 years ago

Hi. Just checking if you managed to take a look at autoback? As I'm still having the same problem with it. Any help is much appreciated. Thank you.

Venger2005 commented 5 years ago

Hi. I think I figured this out. I had uninstalled and reinstalled your plugin recently, so this got me thinking. So I checked the index.js file to see if the changes you previously made were still there, and they weren't! I had reinstalled the plugin through an npm install which installed version 0.0.9. So not quite sure what's happened here but hopefully you would have more insight into this.

hakt0-r commented 5 years ago

Sorry for the lack of reply, I am away for work and will be for a while. I can only look at it once I am back home. So... does it work?

Venger2005 commented 5 years ago

Yes, it's back to working now the index.js file has the changes added. No worries about reply speed - understand you're busy so thanks for looking at it when you can.