fix W1 range
This commit is contained in:
@@ -35,7 +35,7 @@ func NewDeviceState() *DeviceState {
|
||||
alarmActive: false,
|
||||
alarmType: "",
|
||||
params: map[int]int{
|
||||
1: 127, // W1 - Min Threshold (middle of 0-255)
|
||||
1: 1200, // W1 - Min Threshold (default as per docs)
|
||||
2: 2047, // W2 - Max Threshold (middle of 0-4095)
|
||||
3: 25, // W3 - Pulse Count (middle of 1-50)
|
||||
4: 30500, // W4 - Time Window (middle of 1000-60000)
|
||||
|
||||
Reference in New Issue
Block a user