From c687ac2b07bffa114c37fd7727f717a4df26d45d Mon Sep 17 00:00:00 2001
From: rpiotrowski <robert.piotrowski1@pg.edu.pl>
Date: Tue, 18 Mar 2025 07:13:45 +0100
Subject: [PATCH] Add battery value to sim data

---
 serial_to_mqtt_bridge/create_sim_data.py |   5 +-
 serial_to_mqtt_bridge/sim_data.txt       | 200 +++++++++++------------
 2 files changed, 103 insertions(+), 102 deletions(-)

diff --git a/serial_to_mqtt_bridge/create_sim_data.py b/serial_to_mqtt_bridge/create_sim_data.py
index ddcb012..9641b2f 100755
--- a/serial_to_mqtt_bridge/create_sim_data.py
+++ b/serial_to_mqtt_bridge/create_sim_data.py
@@ -21,10 +21,11 @@ with open("sim_data.txt", "w") as file:
         temp = random.randint(0, 1800)  # Temperature value between 0 and 1800
         pH = random.randint(0, 1800)  # pH value between 0 and 1800
         pHRaw = pH/10  # pH value between 0 and 1800
+        battery = random.randint(0, 1800)  # pH value between 0 and 1800
         # Format the line according to the InfluxDB requirements
-        line = (f"sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 "
+        line = (f"bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 "
                 f"rssi={rssi},char={char},channel={channel},tx_power={tx_power},"
-                f"temp={temp},pH={pH},pHRaw={pHRaw},timestamp={timestamp}\n")
+                f"temp={temp},pH={pH},pHRaw={pHRaw},battery={battery},timestamp={timestamp}\n")
         
         # Write the line to the file
         file.write(line)
diff --git a/serial_to_mqtt_bridge/sim_data.txt b/serial_to_mqtt_bridge/sim_data.txt
index 23f3bf0..c8926f2 100644
--- a/serial_to_mqtt_bridge/sim_data.txt
+++ b/serial_to_mqtt_bridge/sim_data.txt
@@ -1,100 +1,100 @@
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-68,char=37,channel=38,tx_power=8,temp=1148,pH=1410,pHRaw=141.0,timestamp=1
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-66,char=20,channel=39,tx_power=8,temp=1766,pH=1713,pHRaw=171.3,timestamp=2
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-79,char=15,channel=37,tx_power=8,temp=103,pH=1730,pHRaw=173.0,timestamp=3
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-73,char=17,channel=37,tx_power=8,temp=595,pH=172,pHRaw=17.2,timestamp=4
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-50,char=22,channel=38,tx_power=8,temp=8,pH=514,pHRaw=51.4,timestamp=5
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-84,char=16,channel=39,tx_power=8,temp=79,pH=1460,pHRaw=146.0,timestamp=6
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=23,channel=38,tx_power=8,temp=893,pH=896,pHRaw=89.6,timestamp=7
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-57,char=38,channel=39,tx_power=8,temp=1773,pH=1465,pHRaw=146.5,timestamp=8
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-87,char=21,channel=39,tx_power=8,temp=296,pH=481,pHRaw=48.1,timestamp=9
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-49,char=38,channel=39,tx_power=8,temp=1301,pH=1148,pHRaw=114.8,timestamp=10
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-76,char=23,channel=38,tx_power=8,temp=812,pH=960,pHRaw=96.0,timestamp=11
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-86,char=23,channel=37,tx_power=8,temp=26,pH=1078,pHRaw=107.8,timestamp=12
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=20,channel=39,tx_power=8,temp=1213,pH=606,pHRaw=60.6,timestamp=13
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-47,char=24,channel=38,tx_power=8,temp=1133,pH=805,pHRaw=80.5,timestamp=14
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-82,char=37,channel=37,tx_power=8,temp=1420,pH=113,pHRaw=11.3,timestamp=15
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-58,char=16,channel=38,tx_power=8,temp=316,pH=1554,pHRaw=155.4,timestamp=16
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-88,char=19,channel=39,tx_power=8,temp=1626,pH=381,pHRaw=38.1,timestamp=17
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-71,char=24,channel=37,tx_power=8,temp=1435,pH=612,pHRaw=61.2,timestamp=18
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-86,char=16,channel=37,tx_power=8,temp=658,pH=464,pHRaw=46.4,timestamp=19
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-54,char=13,channel=37,tx_power=8,temp=1302,pH=1339,pHRaw=133.9,timestamp=20
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-84,char=13,channel=37,tx_power=8,temp=906,pH=1156,pHRaw=115.6,timestamp=21
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-71,char=18,channel=37,tx_power=8,temp=1636,pH=52,pHRaw=5.2,timestamp=22
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-72,char=17,channel=37,tx_power=8,temp=1552,pH=1203,pHRaw=120.3,timestamp=23
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-57,char=13,channel=38,tx_power=8,temp=1719,pH=1773,pHRaw=177.3,timestamp=24
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-72,char=14,channel=39,tx_power=8,temp=833,pH=527,pHRaw=52.7,timestamp=25
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-75,char=38,channel=39,tx_power=8,temp=223,pH=41,pHRaw=4.1,timestamp=26
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-47,char=37,channel=37,tx_power=8,temp=560,pH=748,pHRaw=74.8,timestamp=27
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-51,char=24,channel=39,tx_power=8,temp=695,pH=1651,pHRaw=165.1,timestamp=28
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-74,char=37,channel=37,tx_power=8,temp=651,pH=1742,pHRaw=174.2,timestamp=29
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-80,char=14,channel=39,tx_power=8,temp=1073,pH=214,pHRaw=21.4,timestamp=30
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-89,char=14,channel=38,tx_power=8,temp=1164,pH=16,pHRaw=1.6,timestamp=31
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-91,char=19,channel=37,tx_power=8,temp=54,pH=564,pHRaw=56.4,timestamp=32
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-47,char=16,channel=38,tx_power=8,temp=336,pH=323,pHRaw=32.3,timestamp=33
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-62,char=21,channel=39,tx_power=8,temp=813,pH=134,pHRaw=13.4,timestamp=34
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-69,char=15,channel=39,tx_power=8,temp=1141,pH=1507,pHRaw=150.7,timestamp=35
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=14,channel=39,tx_power=8,temp=291,pH=736,pHRaw=73.6,timestamp=36
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-83,char=16,channel=38,tx_power=8,temp=590,pH=1275,pHRaw=127.5,timestamp=37
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-47,char=14,channel=37,tx_power=8,temp=125,pH=1063,pHRaw=106.3,timestamp=38
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=15,channel=39,tx_power=8,temp=1744,pH=1134,pHRaw=113.4,timestamp=39
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-54,char=20,channel=39,tx_power=8,temp=1741,pH=746,pHRaw=74.6,timestamp=40
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-55,char=38,channel=39,tx_power=8,temp=660,pH=957,pHRaw=95.7,timestamp=41
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-80,char=14,channel=38,tx_power=8,temp=560,pH=1283,pHRaw=128.3,timestamp=42
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-66,char=13,channel=39,tx_power=8,temp=1006,pH=183,pHRaw=18.3,timestamp=43
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-83,char=16,channel=39,tx_power=8,temp=1236,pH=1385,pHRaw=138.5,timestamp=44
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-75,char=14,channel=38,tx_power=8,temp=580,pH=416,pHRaw=41.6,timestamp=45
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-64,char=21,channel=38,tx_power=8,temp=396,pH=1243,pHRaw=124.3,timestamp=46
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-67,char=19,channel=37,tx_power=8,temp=1042,pH=1024,pHRaw=102.4,timestamp=47
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-88,char=22,channel=38,tx_power=8,temp=1648,pH=1168,pHRaw=116.8,timestamp=48
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-83,char=23,channel=39,tx_power=8,temp=207,pH=1450,pHRaw=145.0,timestamp=49
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-81,char=20,channel=39,tx_power=8,temp=630,pH=868,pHRaw=86.8,timestamp=50
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-88,char=22,channel=38,tx_power=8,temp=1564,pH=1382,pHRaw=138.2,timestamp=51
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-71,char=18,channel=39,tx_power=8,temp=596,pH=1148,pHRaw=114.8,timestamp=52
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-87,char=18,channel=38,tx_power=8,temp=698,pH=970,pHRaw=97.0,timestamp=53
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-77,char=38,channel=37,tx_power=8,temp=616,pH=488,pHRaw=48.8,timestamp=54
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-76,char=23,channel=37,tx_power=8,temp=715,pH=33,pHRaw=3.3,timestamp=55
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-70,char=21,channel=37,tx_power=8,temp=1302,pH=406,pHRaw=40.6,timestamp=56
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=22,channel=37,tx_power=8,temp=1233,pH=1655,pHRaw=165.5,timestamp=57
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-60,char=20,channel=38,tx_power=8,temp=1649,pH=520,pHRaw=52.0,timestamp=58
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-60,char=24,channel=37,tx_power=8,temp=359,pH=572,pHRaw=57.2,timestamp=59
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-61,char=14,channel=39,tx_power=8,temp=441,pH=1299,pHRaw=129.9,timestamp=60
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-54,char=21,channel=38,tx_power=8,temp=1559,pH=1077,pHRaw=107.7,timestamp=61
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-62,char=19,channel=37,tx_power=8,temp=1195,pH=459,pHRaw=45.9,timestamp=62
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-61,char=23,channel=37,tx_power=8,temp=298,pH=1646,pHRaw=164.6,timestamp=63
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=17,channel=37,tx_power=8,temp=1241,pH=292,pHRaw=29.2,timestamp=64
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-83,char=37,channel=37,tx_power=8,temp=851,pH=1035,pHRaw=103.5,timestamp=65
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-71,char=18,channel=39,tx_power=8,temp=442,pH=831,pHRaw=83.1,timestamp=66
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-86,char=24,channel=38,tx_power=8,temp=1462,pH=370,pHRaw=37.0,timestamp=67
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-90,char=37,channel=39,tx_power=8,temp=1149,pH=805,pHRaw=80.5,timestamp=68
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-54,char=21,channel=38,tx_power=8,temp=1522,pH=1685,pHRaw=168.5,timestamp=69
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=23,channel=37,tx_power=8,temp=1401,pH=130,pHRaw=13.0,timestamp=70
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-74,char=18,channel=39,tx_power=8,temp=1779,pH=828,pHRaw=82.8,timestamp=71
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-88,char=37,channel=38,tx_power=8,temp=1168,pH=875,pHRaw=87.5,timestamp=72
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-72,char=18,channel=38,tx_power=8,temp=565,pH=1676,pHRaw=167.6,timestamp=73
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-68,char=24,channel=39,tx_power=8,temp=407,pH=846,pHRaw=84.6,timestamp=74
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-50,char=14,channel=37,tx_power=8,temp=771,pH=1470,pHRaw=147.0,timestamp=75
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-79,char=20,channel=39,tx_power=8,temp=571,pH=1528,pHRaw=152.8,timestamp=76
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-58,char=19,channel=38,tx_power=8,temp=7,pH=154,pHRaw=15.4,timestamp=77
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-57,char=14,channel=39,tx_power=8,temp=749,pH=1128,pHRaw=112.8,timestamp=78
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-68,char=37,channel=37,tx_power=8,temp=223,pH=344,pHRaw=34.4,timestamp=79
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-48,char=19,channel=39,tx_power=8,temp=205,pH=167,pHRaw=16.7,timestamp=80
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-54,char=38,channel=39,tx_power=8,temp=660,pH=1186,pHRaw=118.6,timestamp=81
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-57,char=13,channel=39,tx_power=8,temp=188,pH=308,pHRaw=30.8,timestamp=82
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-73,char=18,channel=39,tx_power=8,temp=1417,pH=885,pHRaw=88.5,timestamp=83
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-89,char=18,channel=37,tx_power=8,temp=592,pH=484,pHRaw=48.4,timestamp=84
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-61,char=21,channel=37,tx_power=8,temp=159,pH=957,pHRaw=95.7,timestamp=85
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-84,char=17,channel=38,tx_power=8,temp=255,pH=379,pHRaw=37.9,timestamp=86
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-46,char=14,channel=39,tx_power=8,temp=1198,pH=1373,pHRaw=137.3,timestamp=87
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=24,channel=38,tx_power=8,temp=1285,pH=1356,pHRaw=135.6,timestamp=88
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=24,channel=39,tx_power=8,temp=774,pH=144,pHRaw=14.4,timestamp=89
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=19,channel=37,tx_power=8,temp=1508,pH=1501,pHRaw=150.1,timestamp=90
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-61,char=15,channel=37,tx_power=8,temp=481,pH=1504,pHRaw=150.4,timestamp=91
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-57,char=17,channel=38,tx_power=8,temp=310,pH=128,pHRaw=12.8,timestamp=92
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-76,char=14,channel=38,tx_power=8,temp=1498,pH=729,pHRaw=72.9,timestamp=93
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-81,char=21,channel=37,tx_power=8,temp=555,pH=721,pHRaw=72.1,timestamp=94
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-70,char=14,channel=39,tx_power=8,temp=287,pH=714,pHRaw=71.4,timestamp=95
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-81,char=21,channel=38,tx_power=8,temp=1585,pH=1351,pHRaw=135.1,timestamp=96
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=22,channel=37,tx_power=8,temp=301,pH=966,pHRaw=96.6,timestamp=97
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-84,char=13,channel=39,tx_power=8,temp=1291,pH=568,pHRaw=56.8,timestamp=98
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-88,char=21,channel=37,tx_power=8,temp=864,pH=453,pHRaw=45.3,timestamp=99
-sustronics,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-86,char=37,channel=38,tx_power=8,temp=1639,pH=143,pHRaw=14.3,timestamp=100
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-76,char=15,channel=39,tx_power=8,temp=1800,pH=1628,pHRaw=162.8,battery=934,timestamp=1
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-69,char=15,channel=38,tx_power=8,temp=469,pH=996,pHRaw=99.6,battery=200,timestamp=2
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-53,char=21,channel=37,tx_power=8,temp=302,pH=1151,pHRaw=115.1,battery=1454,timestamp=3
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-81,char=20,channel=39,tx_power=8,temp=1731,pH=592,pHRaw=59.2,battery=1296,timestamp=4
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-70,char=16,channel=37,tx_power=8,temp=916,pH=504,pHRaw=50.4,battery=739,timestamp=5
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-62,char=38,channel=38,tx_power=8,temp=1324,pH=552,pHRaw=55.2,battery=1293,timestamp=6
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-70,char=38,channel=38,tx_power=8,temp=1220,pH=1216,pHRaw=121.6,battery=578,timestamp=7
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-90,char=15,channel=37,tx_power=8,temp=1332,pH=1409,pHRaw=140.9,battery=62,timestamp=8
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-83,char=22,channel=37,tx_power=8,temp=198,pH=1617,pHRaw=161.7,battery=144,timestamp=9
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-68,char=13,channel=39,tx_power=8,temp=1174,pH=821,pHRaw=82.1,battery=1148,timestamp=10
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-85,char=18,channel=38,tx_power=8,temp=1011,pH=1412,pHRaw=141.2,battery=797,timestamp=11
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-90,char=14,channel=39,tx_power=8,temp=1079,pH=135,pHRaw=13.5,battery=760,timestamp=12
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=16,channel=39,tx_power=8,temp=1530,pH=198,pHRaw=19.8,battery=78,timestamp=13
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-49,char=22,channel=38,tx_power=8,temp=1740,pH=939,pHRaw=93.9,battery=1665,timestamp=14
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-65,char=37,channel=39,tx_power=8,temp=520,pH=236,pHRaw=23.6,battery=1576,timestamp=15
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-79,char=19,channel=37,tx_power=8,temp=394,pH=998,pHRaw=99.8,battery=998,timestamp=16
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-49,char=19,channel=39,tx_power=8,temp=593,pH=1227,pHRaw=122.7,battery=1409,timestamp=17
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-70,char=24,channel=38,tx_power=8,temp=1666,pH=197,pHRaw=19.7,battery=1186,timestamp=18
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-49,char=19,channel=39,tx_power=8,temp=1452,pH=1761,pHRaw=176.1,battery=535,timestamp=19
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-86,char=22,channel=39,tx_power=8,temp=1284,pH=1258,pHRaw=125.8,battery=730,timestamp=20
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-64,char=20,channel=37,tx_power=8,temp=1397,pH=1509,pHRaw=150.9,battery=1436,timestamp=21
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=23,channel=38,tx_power=8,temp=18,pH=722,pHRaw=72.2,battery=1203,timestamp=22
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=17,channel=37,tx_power=8,temp=900,pH=558,pHRaw=55.8,battery=80,timestamp=23
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-72,char=13,channel=39,tx_power=8,temp=207,pH=1321,pHRaw=132.1,battery=1393,timestamp=24
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-87,char=15,channel=38,tx_power=8,temp=354,pH=284,pHRaw=28.4,battery=703,timestamp=25
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-56,char=16,channel=37,tx_power=8,temp=1659,pH=1475,pHRaw=147.5,battery=235,timestamp=26
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-72,char=20,channel=39,tx_power=8,temp=585,pH=410,pHRaw=41.0,battery=803,timestamp=27
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=20,channel=38,tx_power=8,temp=286,pH=1137,pHRaw=113.7,battery=254,timestamp=28
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=16,channel=37,tx_power=8,temp=1071,pH=201,pHRaw=20.1,battery=1613,timestamp=29
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-58,char=37,channel=38,tx_power=8,temp=577,pH=1209,pHRaw=120.9,battery=1016,timestamp=30
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-63,char=19,channel=37,tx_power=8,temp=1494,pH=1146,pHRaw=114.6,battery=1657,timestamp=31
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-78,char=15,channel=39,tx_power=8,temp=459,pH=1193,pHRaw=119.3,battery=1713,timestamp=32
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=37,channel=39,tx_power=8,temp=214,pH=205,pHRaw=20.5,battery=521,timestamp=33
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-65,char=14,channel=39,tx_power=8,temp=89,pH=406,pHRaw=40.6,battery=134,timestamp=34
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-80,char=23,channel=38,tx_power=8,temp=1148,pH=1228,pHRaw=122.8,battery=512,timestamp=35
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-61,char=24,channel=37,tx_power=8,temp=1102,pH=1594,pHRaw=159.4,battery=942,timestamp=36
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-54,char=37,channel=37,tx_power=8,temp=1541,pH=1523,pHRaw=152.3,battery=83,timestamp=37
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=38,channel=37,tx_power=8,temp=1376,pH=982,pHRaw=98.2,battery=925,timestamp=38
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-51,char=37,channel=39,tx_power=8,temp=1673,pH=743,pHRaw=74.3,battery=592,timestamp=39
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-73,char=15,channel=38,tx_power=8,temp=1596,pH=1303,pHRaw=130.3,battery=896,timestamp=40
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-66,char=18,channel=38,tx_power=8,temp=1642,pH=1244,pHRaw=124.4,battery=15,timestamp=41
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=18,channel=37,tx_power=8,temp=377,pH=899,pHRaw=89.9,battery=629,timestamp=42
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-76,char=18,channel=39,tx_power=8,temp=656,pH=1613,pHRaw=161.3,battery=1780,timestamp=43
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-85,char=15,channel=37,tx_power=8,temp=629,pH=1470,pHRaw=147.0,battery=355,timestamp=44
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-73,char=38,channel=37,tx_power=8,temp=53,pH=110,pHRaw=11.0,battery=618,timestamp=45
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-46,char=24,channel=38,tx_power=8,temp=1315,pH=552,pHRaw=55.2,battery=864,timestamp=46
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-61,char=16,channel=37,tx_power=8,temp=1064,pH=1506,pHRaw=150.6,battery=1405,timestamp=47
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=17,channel=38,tx_power=8,temp=643,pH=1489,pHRaw=148.9,battery=529,timestamp=48
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=38,channel=37,tx_power=8,temp=1581,pH=1449,pHRaw=144.9,battery=759,timestamp=49
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-66,char=22,channel=39,tx_power=8,temp=370,pH=491,pHRaw=49.1,battery=1435,timestamp=50
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-74,char=17,channel=39,tx_power=8,temp=650,pH=387,pHRaw=38.7,battery=106,timestamp=51
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-89,char=19,channel=38,tx_power=8,temp=264,pH=1441,pHRaw=144.1,battery=874,timestamp=52
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-49,char=17,channel=38,tx_power=8,temp=104,pH=1786,pHRaw=178.6,battery=676,timestamp=53
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-68,char=14,channel=39,tx_power=8,temp=897,pH=1349,pHRaw=134.9,battery=1769,timestamp=54
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-47,char=19,channel=39,tx_power=8,temp=859,pH=1285,pHRaw=128.5,battery=1714,timestamp=55
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-56,char=13,channel=37,tx_power=8,temp=628,pH=1481,pHRaw=148.1,battery=1561,timestamp=56
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-56,char=22,channel=37,tx_power=8,temp=1027,pH=392,pHRaw=39.2,battery=1669,timestamp=57
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-46,char=21,channel=37,tx_power=8,temp=484,pH=1372,pHRaw=137.2,battery=1691,timestamp=58
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-52,char=24,channel=39,tx_power=8,temp=641,pH=1492,pHRaw=149.2,battery=606,timestamp=59
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-49,char=17,channel=38,tx_power=8,temp=1385,pH=1730,pHRaw=173.0,battery=399,timestamp=60
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-56,char=23,channel=37,tx_power=8,temp=1081,pH=1690,pHRaw=169.0,battery=1243,timestamp=61
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-86,char=14,channel=39,tx_power=8,temp=1535,pH=1060,pHRaw=106.0,battery=1336,timestamp=62
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-51,char=13,channel=37,tx_power=8,temp=844,pH=88,pHRaw=8.8,battery=749,timestamp=63
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-79,char=17,channel=37,tx_power=8,temp=597,pH=877,pHRaw=87.7,battery=1659,timestamp=64
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-60,char=17,channel=37,tx_power=8,temp=1019,pH=1396,pHRaw=139.6,battery=1351,timestamp=65
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=18,channel=39,tx_power=8,temp=787,pH=243,pHRaw=24.3,battery=112,timestamp=66
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-66,char=15,channel=39,tx_power=8,temp=332,pH=559,pHRaw=55.9,battery=265,timestamp=67
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-47,char=15,channel=39,tx_power=8,temp=1598,pH=575,pHRaw=57.5,battery=1026,timestamp=68
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-58,char=15,channel=39,tx_power=8,temp=985,pH=176,pHRaw=17.6,battery=115,timestamp=69
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-91,char=24,channel=37,tx_power=8,temp=1503,pH=1293,pHRaw=129.3,battery=982,timestamp=70
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-58,char=17,channel=39,tx_power=8,temp=1418,pH=467,pHRaw=46.7,battery=171,timestamp=71
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-67,char=19,channel=39,tx_power=8,temp=734,pH=1147,pHRaw=114.7,battery=1419,timestamp=72
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-65,char=21,channel=37,tx_power=8,temp=911,pH=1129,pHRaw=112.9,battery=683,timestamp=73
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=15,channel=38,tx_power=8,temp=368,pH=86,pHRaw=8.6,battery=128,timestamp=74
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-56,char=20,channel=38,tx_power=8,temp=50,pH=863,pHRaw=86.3,battery=20,timestamp=75
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-56,char=21,channel=37,tx_power=8,temp=1540,pH=1115,pHRaw=111.5,battery=1532,timestamp=76
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-81,char=37,channel=37,tx_power=8,temp=1443,pH=332,pHRaw=33.2,battery=150,timestamp=77
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-75,char=20,channel=37,tx_power=8,temp=32,pH=1729,pHRaw=172.9,battery=1453,timestamp=78
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-90,char=14,channel=37,tx_power=8,temp=1261,pH=738,pHRaw=73.8,battery=702,timestamp=79
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-85,char=21,channel=38,tx_power=8,temp=248,pH=1368,pHRaw=136.8,battery=480,timestamp=80
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=16,channel=39,tx_power=8,temp=91,pH=614,pHRaw=61.4,battery=1340,timestamp=81
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-74,char=23,channel=38,tx_power=8,temp=1060,pH=1207,pHRaw=120.7,battery=1519,timestamp=82
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-50,char=21,channel=38,tx_power=8,temp=545,pH=84,pHRaw=8.4,battery=967,timestamp=83
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=21,channel=38,tx_power=8,temp=861,pH=1355,pHRaw=135.5,battery=93,timestamp=84
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-92,char=16,channel=39,tx_power=8,temp=747,pH=209,pHRaw=20.9,battery=564,timestamp=85
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-77,char=38,channel=39,tx_power=8,temp=155,pH=324,pHRaw=32.4,battery=1241,timestamp=86
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=15,channel=39,tx_power=8,temp=755,pH=575,pHRaw=57.5,battery=1369,timestamp=87
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-88,char=16,channel=39,tx_power=8,temp=1532,pH=1406,pHRaw=140.6,battery=1128,timestamp=88
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-74,char=16,channel=38,tx_power=8,temp=1156,pH=1604,pHRaw=160.4,battery=1778,timestamp=89
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-82,char=37,channel=37,tx_power=8,temp=641,pH=686,pHRaw=68.6,battery=308,timestamp=90
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-50,char=13,channel=37,tx_power=8,temp=278,pH=357,pHRaw=35.7,battery=1452,timestamp=91
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-74,char=15,channel=37,tx_power=8,temp=100,pH=599,pHRaw=59.9,battery=493,timestamp=92
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-51,char=24,channel=38,tx_power=8,temp=385,pH=203,pHRaw=20.3,battery=527,timestamp=93
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-48,char=18,channel=38,tx_power=8,temp=1048,pH=1553,pHRaw=155.3,battery=1075,timestamp=94
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=38,channel=39,tx_power=8,temp=1312,pH=1146,pHRaw=114.6,battery=326,timestamp=95
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-56,char=19,channel=38,tx_power=8,temp=540,pH=886,pHRaw=88.6,battery=687,timestamp=96
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-70,char=37,channel=38,tx_power=8,temp=777,pH=1225,pHRaw=122.5,battery=295,timestamp=97
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-59,char=37,channel=37,tx_power=8,temp=30,pH=913,pHRaw=91.3,battery=1683,timestamp=98
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-47,char=23,channel=39,tx_power=8,temp=88,pH=647,pHRaw=64.7,battery=973,timestamp=99
+bssensor,espar_t=49bd40cdfcab,beacon_t=c00000000003 rssi=-73,char=16,channel=39,tx_power=8,temp=575,pH=1375,pHRaw=137.5,battery=208,timestamp=100
-- 
GitLab