Inconsistent 1-Wire Temp updates
-
I've hooked up a DS18B20 1-Wire temp sensor to my UniPi and I can see it in the web control panel. However, when I look at the data coming through the web socket, the timing is not consistent:
{"interval": 15, "value": 21.25, "circuit": "2830EFB004000049", "address": "2830EFB004000049", "time": 1456962722.759756, "typ": "DS18B20", "lost": false, "dev": "temp"} 3/2/2016, 4:52:18 PM4bbd6548.b4429c msg.payload : string [168] {"interval": 15, "value": 21.2, "circuit": "2830EFB004000049", "address": "2830EFB004000049", "time": 1456962737.773646, "typ": "DS18B20", "lost": false, "dev": "temp"} 3/2/2016, 4:52:48 PM4bbd6548.b4429c msg.payload : string [169] {"interval": 15, "value": 21.25, "circuit": "2830EFB004000049", "address": "2830EFB004000049", "time": 1456962767.799219, "typ": "DS18B20", "lost": false, "dev": "temp"} 3/2/2016, 4:53:03 PM4bbd6548.b4429c msg.payload : string [168] {"interval": 15, "value": 21.2, "circuit": "2830EFB004000049", "address": "2830EFB004000049", "time": 1456962782.857316, "typ": "DS18B20", "lost": false, "dev": "temp"}
Sometimes it arrives in 15 seconds, sometimes in 30.
A little help please?
Thanks,
Brett.
-
I've hooked up a DS18B20 1-Wire temp sensor to my UniPi and I can see it in the web control panel. However, when I look at the data coming through the web socket, the timing is not consistent:
{"interval": 15, "value": 21.25, "circuit": "2830EFB004000049", "address": "2830EFB004000049", "time": 1456962722.759756, "typ": "DS18B20", "lost": false, "dev": "temp"} 3/2/2016, 4:52:18 PM4bbd6548.b4429c msg.payload : string [168] {"interval": 15, "value": 21.2, "circuit": "2830EFB004000049", "address": "2830EFB004000049", "time": 1456962737.773646, "typ": "DS18B20", "lost": false, "dev": "temp"} 3/2/2016, 4:52:48 PM4bbd6548.b4429c msg.payload : string [169] {"interval": 15, "value": 21.25, "circuit": "2830EFB004000049", "address": "2830EFB004000049", "time": 1456962767.799219, "typ": "DS18B20", "lost": false, "dev": "temp"} 3/2/2016, 4:53:03 PM4bbd6548.b4429c msg.payload : string [168] {"interval": 15, "value": 21.2, "circuit": "2830EFB004000049", "address": "2830EFB004000049", "time": 1456962782.857316, "typ": "DS18B20", "lost": false, "dev": "temp"}
Sometimes it arrives in 15 seconds, sometimes in 30.
A little help please?
Thanks,
Brett.
-
New data is sent only if the new value is different than the last one which will cause this behavior.