heimcontrol.js icon indicating copy to clipboard operation
heimcontrol.js copied to clipboard

Node keeps quitting

Open estock opened this issue 10 years ago • 2 comments

I set this up, turn on a light and leave it on over night ... when I wake up in the morning something has gone wrong, it seems as if node has failed or something. Is this a common behavior? has anyone gotten this to run for a long period of time?

estock avatar Jun 10 '14 13:06 estock

Mine runs smoothly, however ive modified the code drastically. Does it leave an error message when it crashes? Alternatively, the not so elegant solution could be to use supervisor for node. Supervisor watches node.js applications and on the event of a failure or program end, it reboots the application.

Opulence avatar Jun 10 '14 13:06 Opulence

Mine runs for weeks at a time without crashes generally. I only use the RC functionality, not GPIO or anything, though. Feel free to post the output of any crash though, maybe we can track down some bugs.

tjanson avatar Jul 21 '14 20:07 tjanson