@caseywebb/growhaus-agent
Advanced tools
Comparing version 0.0.0-latest.20190729T211244Z.4763447 to 0.0.0-latest.20190729T211711Z.f921b60
@@ -13,3 +13,6 @@ "use strict"; | ||
const offlineFallbackSchedule = new schedule_1.LightSchedule(); | ||
process.on('SIGINT', () => driver.setBrightness(100)); | ||
process.on('SIGINT', () => { | ||
console.log('Exiting...'); | ||
driver.setBrightness(100); | ||
}); | ||
socket.on(socket_1.IncomingEvent.Brightness, (m) => { | ||
@@ -16,0 +19,0 @@ // pause until 10 minutes after we should have received a new message |
@@ -19,2 +19,3 @@ "use strict"; | ||
}; | ||
this.connect(); | ||
} | ||
@@ -21,0 +22,0 @@ on(eventType, handler) { |
{ | ||
"name": "@caseywebb/growhaus-agent", | ||
"version": "0.0.0-latest.20190729T211244Z.4763447", | ||
"version": "0.0.0-latest.20190729T211711Z.f921b60", | ||
"author": "Casey Webb (https://caseyWebb.xyz)", | ||
@@ -20,3 +20,3 @@ "bin": { | ||
"dependencies": { | ||
"@caseywebb/growhaus": "^0.0.0-47634472e81be92b9713b665bfa04d812481d483.20190729T211244Z.4763447", | ||
"@caseywebb/growhaus": "^0.0.0-f921b608fb082a224d1999d91a4b7c0cf5ca54ba.20190729T211711Z.f921b60", | ||
"autobind-decorator": "^2.4.0", | ||
@@ -23,0 +23,0 @@ "dotenv": "^8.0.0", |
Sorry, the diff of this file is not supported yet
10079
237