leftyfl1p / homebridge-poolcontroller

Homebridge plugin for Pentair pools
5 stars 5 forks source link

not working with Hoobs install #9

Open therapcat opened 5 years ago

therapcat commented 5 years ago

Hi Sorry if this is a dumb question, but I have hoobs image and I've got the harmony plugin working, but this one does not work for me. Do I have to do a global install? or install in a specific directory? The Poolcontroller is working and I can access it at localhost:3000.

therapcat commented 5 years ago

got it working. did a global install and it was able to be accessed by Homebridge.

BUT!!!! The pool controller keeps shutting down on me. It will run for like 15 minutes and then stop responding. I have to keep going into the directory and typing npm start

Can this be fixed? is there something I'm doing wrong?

Raspberry PI with HOOBS OS, and running off POE. Homebridge never stops working...just the poolcontroller which causes the accessories to stop responding in the Home App and via the web interface

tagyoureit commented 5 years ago

You should either use Tmux (or similar) to keep your sessions alive or a process monitor like PM2 to monitor the status of the app. The O/S might be shutting down the connection, possibly?

If that's not it, look in the logs to see if there is any reason it shuts down.

therapcat commented 5 years ago

So the controller stops when I close my SSH window or when it times out and closes the SSH session. Does that session need to be running all the time? Is that why I need Tmux?

Thanks,

Chris

On Aug 29, 2019, at 9:55 PM, tagyoureit notifications@github.com<mailto:notifications@github.com> wrote:

You should either use Tmux (or similar) to keep your sessions alive or a process monitor like PM2https://github.com/tagyoureit/nodejs-poolController/tree/6.0-DEV#another-alternative-method to monitor the status of the app. The O/S might be shutting down the connection, possibly?

If that's not it, look in the logs to see if there is any reason it shuts down.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/leftyfl1p/homebridge-poolcontroller/issues/9?email_source=notifications&email_token=ALK72A2TBCWVP4SFLGBVPZ3QHCR2LA5CNFSM4ISFSJFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QRCWA#issuecomment-526455128, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALK72A4DUATDT4QJD5IAIBDQHCR2LANCNFSM4ISFSJFA.

tagyoureit commented 5 years ago

Yes, exactly.