This commit is contained in:
Koen Kanters
2019-02-13 20:06:14 +01:00
parent a62f4289a7
commit 88cec5dfa6
+5
View File
@@ -8,6 +8,11 @@ const Queue = require('queue');
const zclId = require('zcl-id');
const advancedSettings = settings.get().advanced;
if (advancedSettings.channel < 11 || advancedSettings.channel > 26) {
throw new Error(`'${advancedSettings.channel}' is an invalid channel, use a channel between 11 - 26.`);
}
const shepherdSettings = {
net: {
panId: advancedSettings.pan_id,