=== Setting up WellDrySense Test Suite on Port 1998 ===

----------------------------------------------------------------
[Test] Login
# Request:
{
  "function": "credentials",
  "user_name": "jpeters",
  "ps": "WellJson",
  "clientId": "bash-suite",
  "nonce": "test-nonce"
}

# Response:
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImpwZXRlcnMiLCJleHAiOjE3NjM5NTk0NjV9.3aerTVK12fwVehD10QjV6pkLZz99DzPLBArotntUITs",
  "privileges": "64",
  "user_id": 68,
  "max_role": 2,
  "status": "200 OK"
}
PASS (User ID: 68)

----------------------------------------------------------------
[Test] job_create
# Request:
{
  "function": "job_create",
  "user_name": "jpeters",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImpwZXRlcnMiLCJleHAiOjE3NjM5NTk0NjV9.3aerTVK12fwVehD10QjV6pkLZz99DzPLBArotntUITs",
  "customer_name": "TEST_SUITE_CUSTOMER_BASH",
  "address_street": "123 Bash Script Ln",
  "address_city": "Shellville",
  "devices": "[{\"mac\": \"TEST_MAC_VIRTUAL\", \"location\": \"Lab\"}]",
  "lat": "34.05",
  "lng": "-118.25"
}

# Response:
{
  "ok": 1,
  "job_id": 9,
  "status": "200 OK"
}
PASS
-> Captured Job ID: 9

----------------------------------------------------------------
[Test] job_list
# Request:
{
  "function": "job_list",
  "user_name": "jpeters",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImpwZXRlcnMiLCJleHAiOjE3NjM5NTk0NjV9.3aerTVK12fwVehD10QjV6pkLZz99DzPLBArotntUITs"
}

# Response:
{
  "ok": 1,
  "jobs": [
    {
      "job_id": 9,
      "customer_name": "TEST_SUITE_CUSTOMER_BASH",
      "address": "123 Bash Script Ln, Shellville",
      "date_from": "2025-11-22T20:44:25.484569-08:00",
      "job_status": "Active",
      "mitigation_person": "Jason Peters"
    },
    {
      "job_id": 5,
      "customer_name": "Test Job No Devices",
      "address": "100 Example St, Demo City",
      "date_from": "2025-11-22T02:58:15.989487-08:00",
      "job_status": "Active",
      "mitigation_person": "Jason Peters"
    },
    {
      "job_id": 6,
      "customer_name": "Test Job No. 2",
      "address": "105 Other St, Better City",
      "date_from": "2025-11-22T06:23:09.902552-08:00",
      "job_status": "Stopped",
      "mitigation_person": "Jason Peters"
    }
  ],
  "status": "200 OK"
}
PASS

----------------------------------------------------------------
[Test] job_details
# Request:
{
  "function": "job_details",
  "user_name": "jpeters",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImpwZXRlcnMiLCJleHAiOjE3NjM5NTk0NjV9.3aerTVK12fwVehD10QjV6pkLZz99DzPLBArotntUITs",
  "job_id": "9"
}

# Response:
{
  "ok": 1,
  "details": {
    "job_id": 9,
    "customer_name": "TEST_SUITE_CUSTOMER_BASH",
    "mitigation_person_id": 68,
    "key_person_name": null,
    "key_person_mobile": null,
    "key_person_email": null,
    "address_street": "123 Bash Script Ln",
    "address_city": "Shellville",
    "address_zip": null,
    "address_state": null,
    "address_country": null,
    "lat": 34.05,
    "lng": -118.25,
    "date_from": "2025-11-22T20:44:25.484569-08:00",
    "date_to": null,
    "job_status": "Active",
    "devices": "[{\"mac\": \"TEST_MAC_VIRTUAL\", \"location\": \"Lab\"}]",
    "alerts_config": {},
    "created_at": "2025-11-22T20:44:25.484569-08:00",
    "user_edit": 68
  },
  "status": "200 OK"
}
PASS

----------------------------------------------------------------
[Test] job_edit
# Request:
{
  "function": "job_edit",
  "user_name": "jpeters",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImpwZXRlcnMiLCJleHAiOjE3NjM5NTk0NjV9.3aerTVK12fwVehD10QjV6pkLZz99DzPLBArotntUITs",
  "job_id": "9",
  "job_status": "Stopped",
  "date_to": "2025-12-31T23:59:59"
}

# Response:
{
  "ok": 1,
  "job_id": "9",
  "status": "200 OK"
}
PASS

----------------------------------------------------------------
[Test] job_available_devices
# Request:
{
  "function": "job_available_devices",
  "user_name": "jpeters",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImpwZXRlcnMiLCJleHAiOjE3NjM5NTk0NjV9.3aerTVK12fwVehD10QjV6pkLZz99DzPLBArotntUITs"
}

# Response:
{
  "ok": 1,
  "devices": [
    {
      "device_id": 770,
      "well_id": 524,
      "device_mac": "142B2F81A2CC",
      "description": "initial"
    },
    {
      "device_id": 771,
      "well_id": 525,
      "device_mac": "901506CA3A64",
      "description": "initial"
    },
    {
      "device_id": 780,
      "well_id": 533,
      "device_mac": "10061C15C358",
      "description": "initial"
    },
    {
      "device_id": 786,
      "well_id": 538,
      "device_mac": "142B2F81A12C",
      "description": "initial"
    },
    {
      "device_id": 772,
      "well_id": 526,
      "device_mac": "10061C15C304",
      "description": "initial"
    },
    {
      "device_id": 781,
      "well_id": 534,
      "device_mac": "142B2F81AA88",
      "description": "initial"
    },
    {
      "device_id": 783,
      "well_id": 535,
      "device_mac": "142B2F81AA8C",
      "description": "initial"
    },
    {
      "device_id": 773,
      "well_id": 527,
      "device_mac": "10061C15C234",
      "description": "initial"
    },
    {
      "device_id": 784,
      "well_id": 536,
      "device_mac": "142B2F81A690",
      "description": "initial"
    },
    {
      "device_id": 788,
      "well_id": 540,
      "device_mac": "142B2F81AA68",
      "description": "initial"
    },
    {
      "device_id": 798,
      "well_id": 549,
      "device_mac": "901506CA3C24",
      "description": "initial"
    },
    {
      "device_id": 496,
      "well_id": 201,
      "device_mac": "64B708890584",
      "description": ""
    },
    {
      "device_id": 500,
      "well_id": 205,
      "device_mac": "64B708897018",
      "description": ""
    },
    {
      "device_id": 505,
      "well_id": 210,
      "device_mac": "64B708890A38",
      "description": ""
    },
    {
      "device_id": 498,
      "well_id": 203,
      "device_mac": "64B708890B14",
      "description": ""
    },
    {
      "device_id": 703,
      "well_id": 460,
      "device_mac": "10061C159AA0",
      "description": ""
    },
    {
      "device_id": 639,
      "well_id": 407,
      "device_mac": "901506CA3CFC",
      "description": ""
    },
    {
      "device_id": 768,
      "well_id": 522,
      "device_mac": "142B2F81A688",
      "description": "initial"
    },
    {
      "device_id": 785,
      "well_id": 537,
      "device_mac": "142B2F819F24",
      "description": "initial"
    },
    {
      "device_id": 544,
      "well_id": 251,
      "device_mac": "64B7088909E8",
      "description": ""
    },
    {
      "device_id": 546,
      "well_id": 252,
      "device_mac": "64B708890734",
      "description": ""
    },
    {
      "device_id": 789,
      "well_id": 541,
      "device_mac": "142B2F819E18",
      "description": "initial"
    },
    {
      "device_id": 792,
      "well_id": 544,
      "device_mac": "10061C15C21C",
      "description": "initial"
    },
    {
      "device_id": 664,
      "well_id": 432,
      "device_mac": "10061C15C364",
      "description": "initial"
    },
    {
      "device_id": 750,
      "well_id": 504,
      "device_mac": "142B2F81A3D8",
      "description": "initial"
    },
    {
      "device_id": 643,
      "well_id": 411,
      "device_mac": "901506CA3CF8",
      "description": ""
    },
    {
      "device_id": 662,
      "well_id": 430,
      "device_mac": "142B2F81AA6C",
      "description": ""
    },
    {
      "device_id": 734,
      "well_id": 488,
      "device_mac": "10061C15C33C",
      "description": "initial"
    },
    {
      "device_id": 758,
      "well_id": 512,
      "device_mac": "10061C159A9C",
      "description": "initial"
    },
    {
      "device_id": 550,
      "well_id": 257,
      "device_mac": "64B708890248",
      "description": null
    },
    {
      "device_id": 553,
      "well_id": 260,
      "device_mac": "64B708897074",
      "description": null
    },
    {
      "device_id": 742,
      "well_id": 496,
      "device_mac": "901506CA3BAC",
      "description": "initial"
    },
    {
      "device_id": 743,
      "well_id": 497,
      "device_mac": "142B2F81A14C",
      "description": "initial"
    },
    {
      "device_id": 769,
      "well_id": 523,
      "device_mac": "142B2F81AAD4",
      "description": "initial"
    },
    {
      "device_id": 357,
      "well_id": 101,
      "device_mac": "64B7088902B8",
      "description": "null"
    },
    {
      "device_id": 358,
      "well_id": 102,
      "device_mac": "308398C72E58",
      "description": ""
    },
    {
      "device_id": 359,
      "well_id": 103,
      "device_mac": "64B708896BD8",
      "description": ""
    },
    {
      "device_id": 360,
      "well_id": 104,
      "device_mac": "64B708890988",
      "description": "null"
    },
    {
      "device_id": 362,
      "well_id": 106,
      "device_mac": "64B708890298",
      "description": "null"
    },
    {
      "device_id": 363,
      "well_id": 107,
      "device_mac": "4C75259783E0",
      "description": "Malo "
    },
    {
      "device_id": 386,
      "well_id": 130,
      "device_mac": "64B7088905C8",
      "description": "null"
    },
    {
      "device_id": 774,
      "well_id": 528,
      "device_mac": "901506CA42A8",
      "description": "initial"
    },
    {
      "device_id": 499,
      "well_id": 204,
      "device_mac": "64B708890288",
      "description": ""
    },
    {
      "device_id": 497,
      "well_id": 202,
      "device_mac": "64B7088906D8",
      "description": ""
    },
    {
      "device_id": 704,
      "well_id": 461,
      "device_mac": "142B2F81A5B0",
      "description": ""
    },
    {
      "device_id": 790,
      "well_id": 542,
      "device_mac": "10061C15C350",
      "description": "initial"
    },
    {
      "device_id": 793,
      "well_id": 545,
      "device_mac": "10061C15C37C",
      "description": "initial"
    },
    {
      "device_id": 669,
      "well_id": 437,
      "device_mac": "10061C15C218",
      "description": ""
    },
    {
      "device_id": 652,
      "well_id": 420,
      "device_mac": "326638316134",
      "description": ""
    },
    {
      "device_id": 748,
      "well_id": 502,
      "device_mac": "901506CA4700",
      "description": "initial"
    },
    {
      "device_id": 660,
      "well_id": 428,
      "device_mac": "901506CA3CB8",
      "description": ""
    },
    {
      "device_id": 661,
      "well_id": 429,
      "device_mac": "142B2F81AA64",
      "description": ""
    },
    {
      "device_id": 571,
      "well_id": 291,
      "device_mac": "64B70888FA84",
      "description": null
    },
    {
      "device_id": 666,
      "well_id": 434,
      "device_mac": "142B2F81A290",
      "description": "initial"
    },
    {
      "device_id": 670,
      "well_id": 438,
      "device_mac": "142B2F81AAAC",
      "description": ""
    },
    {
      "device_id": 675,
      "well_id": 441,
      "device_mac": "10061C15C278",
      "description": ""
    },
    {
      "device_id": 677,
      "well_id": 442,
      "device_mac": "10061C159A0C",
      "description": ""
    },
    {
      "device_id": 761,
      "well_id": 515,
      "device_mac": "142B2F81A4B0",
      "description": "initial"
    },
    {
      "device_id": 689,
      "well_id": 450,
      "device_mac": "142B2F81A2A4",
      "description": ""
    },
    {
      "device_id": 730,
      "well_id": 484,
      "device_mac": "10061C15C26C",
      "description": "initial"
    },
    {
      "device_id": 724,
      "well_id": 478,
      "device_mac": "10061C1599AC",
      "description": "initial"
    },
    {
      "device_id": 759,
      "well_id": 513,
      "device_mac": "142B2F81A67C",
      "description": "initial"
    },
    {
      "device_id": 764,
      "well_id": 518,
      "device_mac": "10061C15C25C",
      "description": "initial"
    },
    {
      "device_id": 763,
      "well_id": 517,
      "device_mac": "142B2F81A124",
      "description": "initial"
    },
    {
      "device_id": 318,
      "well_id": 37,
      "device_mac": "98CDACD07240",
      "description": ""
    },
    {
      "device_id": 319,
      "well_id": 30,
      "device_mac": "308398E05658",
      "description": ""
    },
    {
      "device_id": 594,
      "well_id": 296,
      "device_mac": "4267426B7477",
      "description": ""
    },
    {
      "device_id": 636,
      "well_id": 404,
      "device_mac": "10061C159A84",
      "description": ""
    },
    {
      "device_id": 775,
      "well_id": 529,
      "device_mac": "142B2F819E10",
      "description": "initial"
    },
    {
      "device_id": 640,
      "well_id": 408,
      "device_mac": "142B2F81A3E4",
      "description": ""
    },
    {
      "device_id": 645,
      "well_id": 413,
      "device_mac": "202020202022",
      "description": ""
    },
    {
      "device_id": 667,
      "well_id": 435,
      "device_mac": "142B2F81A4F8",
      "description": ""
    },
    {
      "device_id": 791,
      "well_id": 543,
      "device_mac": "901506CA3BC8",
      "description": "initial"
    },
    {
      "device_id": 741,
      "well_id": 495,
      "device_mac": "142B2F81A128",
      "description": "initial"
    },
    {
      "device_id": 731,
      "well_id": 485,
      "device_mac": "142B2F819F74",
      "description": "initial"
    },
    {
      "device_id": 710,
      "well_id": 467,
      "device_mac": "316331353961",
      "description": ""
    },
    {
      "device_id": 762,
      "well_id": 516,
      "device_mac": "10061C15C32C",
      "description": "initial"
    },
    {
      "device_id": 794,
      "well_id": 546,
      "device_mac": "10061C15C258",
      "description": "initial"
    },
    {
      "device_id": 749,
      "well_id": 503,
      "device_mac": "10061C15C320",
      "description": "initial"
    },
    {
      "device_id": 737,
      "well_id": 491,
      "device_mac": "10061C15C378",
      "description": "initial"
    },
    {
      "device_id": 757,
      "well_id": 511,
      "device_mac": "142B2F81A160",
      "description": "initial"
    },
    {
      "device_id": 744,
      "well_id": 498,
      "device_mac": "901506CA3DD0",
      "description": "initial"
    },
    {
      "device_id": 728,
      "well_id": 482,
      "device_mac": "10061C159A10",
      "description": ""
    },
    {
      "device_id": 296,
      "well_id": 51,
      "device_mac": "5002919DF284",
      "description": ""
    },
    {
      "device_id": 297,
      "well_id": 50,
      "device_mac": "308398C717DC",
      "description": ""
    },
    {
      "device_id": 298,
      "well_id": 5,
      "device_mac": "308398E056AC",
      "description": "Small Bathroom"
    },
    {
      "device_id": 299,
      "well_id": 38,
      "device_mac": "308398C7245C",
      "description": "Eye Tech"
    },
    {
      "device_id": 300,
      "well_id": 35,
      "device_mac": "308398C722F0",
      "description": ""
    },
    {
      "device_id": 562,
      "well_id": 269,
      "device_mac": "64B708897428",
      "description": ""
    },
    {
      "device_id": 559,
      "well_id": 266,
      "device_mac": "64B70888FAB0",
      "description": "Small"
    },
    {
      "device_id": 524,
      "well_id": 273,
      "device_mac": "64B708896BDC",
      "description": null
    },
    {
      "device_id": 560,
      "well_id": 267,
      "device_mac": "64B70888F6F0",
      "description": ""
    },
    {
      "device_id": 705,
      "well_id": 462,
      "device_mac": "142B2F81A5AC",
      "description": "Novi 462"
    },
    {
      "device_id": 641,
      "well_id": 409,
      "device_mac": "142B2F81A2D4",
      "description": ""
    },
    {
      "device_id": 637,
      "well_id": 405,
      "device_mac": "303663613363",
      "description": ""
    },
    {
      "device_id": 795,
      "well_id": 547,
      "device_mac": "901506CA4320",
      "description": "initial"
    },
    {
      "device_id": 657,
      "well_id": 425,
      "device_mac": "142B2F81AA60",
      "description": "initial"
    },
    {
      "device_id": 725,
      "well_id": 479,
      "device_mac": "142B2F819F78",
      "description": "initial"
    },
    {
      "device_id": 732,
      "well_id": 486,
      "device_mac": "142B2F81A434",
      "description": "initial"
    },
    {
      "device_id": 747,
      "well_id": 501,
      "device_mac": "10061C1599B0",
      "description": "initial"
    },
    {
      "device_id": 711,
      "well_id": 468,
      "device_mac": "10061C159A30",
      "description": ""
    },
    {
      "device_id": 561,
      "well_id": 268,
      "device_mac": "64B70889062C",
      "description": null
    },
    {
      "device_id": 678,
      "well_id": 443,
      "device_mac": "10061C15C310",
      "description": "initial"
    },
    {
      "device_id": 572,
      "well_id": 290,
      "device_mac": "64B70888F860",
      "description": ""
    },
    {
      "device_id": 638,
      "well_id": 406,
      "device_mac": "10061C15C398",
      "description": ""
    },
    {
      "device_id": 721,
      "well_id": 476,
      "device_mac": "901506CA3CE8",
      "description": ""
    },
    {
      "device_id": 738,
      "well_id": 492,
      "device_mac": "901506CA3CC4",
      "description": ""
    },
    {
      "device_id": 713,
      "well_id": 469,
      "device_mac": "142B2F81AAA8",
      "description": ""
    },
    {
      "device_id": 646,
      "well_id": 414,
      "device_mac": "303663613362",
      "description": ""
    },
    {
      "device_id": 672,
      "well_id": 439,
      "device_mac": "142B2F819F6C",
      "description": ""
    },
    {
      "device_id": 674,
      "well_id": 440,
      "device_mac": "901506CA4070",
      "description": ""
    },
    {
      "device_id": 564,
      "well_id": 235,
      "device_mac": "64B708890A68",
      "description": "Yulic"
    },
    {
      "device_id": 642,
      "well_id": 410,
      "device_mac": "142B2F819FA0",
      "description": ""
    },
    {
      "device_id": 797,
      "well_id": 548,
      "device_mac": "142B2F81A4D4",
      "description": "initial"
    },
    {
      "device_id": 647,
      "well_id": 415,
      "device_mac": "303663613364",
      "description": ""
    },
    {
      "device_id": 649,
      "well_id": 417,
      "device_mac": "316331353962",
      "description": ""
    },
    {
      "device_id": 745,
      "well_id": 499,
      "device_mac": "142B2F81A2B8",
      "description": "initial"
    },
    {
      "device_id": 766,
      "well_id": 520,
      "device_mac": "10061C15C29C",
      "description": "initial"
    },
    {
      "device_id": 733,
      "well_id": 487,
      "device_mac": "142B2F819E34",
      "description": "initial"
    },
    {
      "device_id": 760,
      "well_id": 514,
      "device_mac": "10061C159B0C",
      "description": "initial"
    },
    {
      "device_id": 301,
      "well_id": 13,
      "device_mac": "308398C721E4",
      "description": ""
    },
    {
      "device_id": 302,
      "well_id": 3,
      "device_mac": "308398C72CDC",
      "description": ""
    },
    {
      "device_id": 303,
      "well_id": 9,
      "device_mac": "308398C721F4",
      "description": ""
    },
    {
      "device_id": 304,
      "well_id": 17,
      "device_mac": "308398E05724",
      "description": null
    },
    {
      "device_id": 305,
      "well_id": 0,
      "device_mac": "DE2F6273361B",
      "description": null
    },
    {
      "device_id": 306,
      "well_id": 41,
      "device_mac": "308398E055C8",
      "description": "ET-B4"
    },
    {
      "device_id": 307,
      "well_id": 39,
      "device_mac": "308398C71C84",
      "description": ""
    },
    {
      "device_id": 308,
      "well_id": 29,
      "device_mac": "308398E055CC",
      "description": ""
    },
    {
      "device_id": 483,
      "well_id": 0,
      "device_mac": "AB1173AB173C",
      "description": null
    },
    {
      "device_id": 729,
      "well_id": 483,
      "device_mac": "10061C15C264",
      "description": ""
    },
    {
      "device_id": 665,
      "well_id": 433,
      "device_mac": "142B2F81A020",
      "description": "office temp"
    },
    {
      "device_id": 534,
      "well_id": 236,
      "device_mac": "64B708890F2C",
      "description": ""
    },
    {
      "device_id": 746,
      "well_id": 500,
      "device_mac": "10061C15C340",
      "description": "initial"
    },
    {
      "device_id": 765,
      "well_id": 519,
      "device_mac": "10061C159AB0",
      "description": "initial"
    },
    {
      "device_id": 630,
      "well_id": 400,
      "device_mac": "901506CA3C7C",
      "description": "initial"
    },
    {
      "device_id": 631,
      "well_id": 401,
      "device_mac": "142B2F81A104",
      "description": "ok"
    },
    {
      "device_id": 632,
      "well_id": 402,
      "device_mac": "901506CA3BDC",
      "description": "ok"
    },
    {
      "device_id": 726,
      "well_id": 480,
      "device_mac": "142B2F81AAD0",
      "description": "initial"
    },
    {
      "device_id": 756,
      "well_id": 510,
      "device_mac": "10061C159B08",
      "description": "initial"
    },
    {
      "device_id": 648,
      "well_id": 416,
      "device_mac": "10061C159B2C",
      "description": "ok"
    },
    {
      "device_id": 655,
      "well_id": 423,
      "device_mac": "142B2F819E5C",
      "description": ""
    },
    {
      "device_id": 668,
      "well_id": 436,
      "device_mac": "10061C1599C0",
      "description": ""
    },
    {
      "device_id": 735,
      "well_id": 489,
      "device_mac": "10061C15C268",
      "description": "initial"
    },
    {
      "device_id": 740,
      "well_id": 494,
      "device_mac": "142B2F819F54",
      "description": ""
    },
    {
      "device_id": 767,
      "well_id": 521,
      "device_mac": "142B2F81A69C",
      "description": "initial"
    },
    {
      "device_id": 309,
      "well_id": 43,
      "device_mac": "308398DF2FFC",
      "description": "ET-B4"
    },
    {
      "device_id": 310,
      "well_id": 20,
      "device_mac": "308398C718E0",
      "description": "Kitchen"
    },
    {
      "device_id": 311,
      "well_id": 24,
      "device_mac": "308398C71738",
      "description": ""
    },
    {
      "device_id": 312,
      "well_id": 36,
      "device_mac": "308398DF3104",
      "description": null
    },
    {
      "device_id": 313,
      "well_id": 45,
      "device_mac": "308398C727AC",
      "description": "ET-B4"
    },
    {
      "device_id": 314,
      "well_id": 26,
      "device_mac": "308398E056A4",
      "description": ""
    },
    {
      "device_id": 315,
      "well_id": 23,
      "device_mac": "308398DF2EDC",
      "description": ""
    },
    {
      "device_id": 316,
      "well_id": 14,
      "device_mac": "308398C724FC",
      "description": "U kuhinji"
    },
    {
      "device_id": 317,
      "well_id": 42,
      "device_mac": "308398C71B04",
      "description": ""
    },
    {
      "device_id": 484,
      "well_id": 0,
      "device_mac": "CC70C4CD7937",
      "description": null
    },
    {
      "device_id": 320,
      "well_id": 1,
      "device_mac": "308398DF3118",
      "description": "Eye Tech"
    },
    {
      "device_id": 321,
      "well_id": 2,
      "device_mac": "308398DF2FC8",
      "description": "ET-RB"
    },
    {
      "device_id": 322,
      "well_id": 12,
      "device_mac": "308398DF2F54",
      "description": "Office"
    },
    {
      "device_id": 323,
      "well_id": 15,
      "device_mac": "308398C72754",
      "description": ""
    },
    {
      "device_id": 324,
      "well_id": 22,
      "device_mac": "308398E05804",
      "description": "Eye Tech"
    },
    {
      "device_id": 325,
      "well_id": 0,
      "device_mac": "CA09FD8223DB",
      "description": null
    },
    {
      "device_id": 326,
      "well_id": 40,
      "device_mac": "308398C71EA8",
      "description": ""
    },
    {
      "device_id": 327,
      "well_id": 47,
      "device_mac": "308398DF2EF4",
      "description": "ET-B4"
    },
    {
      "device_id": 328,
      "well_id": 4,
      "device_mac": "98CDACD074A0",
      "description": ""
    },
    {
      "device_id": 329,
      "well_id": 31,
      "device_mac": "308398DF2F0C",
      "description": ""
    },
    {
      "device_id": 330,
      "well_id": 28,
      "device_mac": "308398DF3174",
      "description": ""
    },
    {
      "device_id": 331,
      "well_id": 0,
      "device_mac": "308398C72040",
      "description": ""
    },
    {
      "device_id": 332,
      "well_id": 46,
      "device_mac": "308398DF328C",
      "description": ""
    },
    {
      "device_id": 333,
      "well_id": 0,
      "device_mac": "5A815C521647",
      "description": null
    },
    {
      "device_id": 334,
      "well_id": 27,
      "device_mac": "308398C717A0",
      "description": "Broken"
    },
    {
      "device_id": 335,
      "well_id": 21,
      "device_mac": "308398DF2FF0",
      "description": ""
    },
    {
      "device_id": 336,
      "well_id": 19,
      "device_mac": "308398C727D0",
      "description": ""
    },
    {
      "device_id": 337,
      "well_id": 33,
      "device_mac": "308398C721E0",
      "description": ""
    },
    {
      "device_id": 338,
      "well_id": 44,
      "device_mac": "308398E055C0",
      "description": "ET-B4"
    },
    {
      "device_id": 339,
      "well_id": 25,
      "device_mac": "308398C7293C",
      "description": ""
    },
    {
      "device_id": 340,
      "well_id": 49,
      "device_mac": "308398C71B60",
      "description": ""
    },
    {
      "device_id": 341,
      "well_id": 16,
      "device_mac": "308398E055E8",
      "description": ""
    },
    {
      "device_id": 342,
      "well_id": 22,
      "device_mac": "308398C72140",
      "description": ""
    },
    {
      "device_id": 343,
      "well_id": 0,
      "device_mac": "3C26406B9566",
      "description": null
    },
    {
      "device_id": 344,
      "well_id": 32,
      "device_mac": "308398E056BC",
      "description": ""
    },
    {
      "device_id": 345,
      "well_id": 0,
      "device_mac": "940E5EC56E2F",
      "description": null
    },
    {
      "device_id": 346,
      "well_id": 0,
      "device_mac": "977C2C3D360A",
      "description": null
    },
    {
      "device_id": 347,
      "well_id": 0,
      "device_mac": "9BFF446905F7",
      "description": null
    },
    {
      "device_id": 348,
      "well_id": 0,
      "device_mac": "308398C71828",
      "description": null
    },
    {
      "device_id": 349,
      "well_id": 0,
      "device_mac": "02C063642E4A",
      "description": null
    },
    {
      "device_id": 350,
      "well_id": 0,
      "device_mac": "8BCD25F11DB9",
      "description": null
    },
    {
      "device_id": 351,
      "well_id": 0,
      "device_mac": "AD685A81D9BF",
      "description": null
    },
    {
      "device_id": 352,
      "well_id": 0,
      "device_mac": "861C78F35F75",
      "description": null
    },
    {
      "device_id": 353,
      "well_id": 0,
      "device_mac": "1AC8CBC1FE2A",
      "description": null
    },
    {
      "device_id": 354,
      "well_id": 0,
      "device_mac": "48249F9A13B3",
      "description": null
    },
    {
      "device_id": 355,
      "well_id": 0,
      "device_mac": "D16D9B26CDB6",
      "description": null
    },
    {
      "device_id": 356,
      "well_id": 0,
      "device_mac": "3F96C206BBF8",
      "description": null
    },
    {
      "device_id": 361,
      "well_id": 105,
      "device_mac": "308398C7259C",
      "description": ""
    },
    {
      "device_id": 364,
      "well_id": 108,
      "device_mac": "64B708890F88",
      "description": null
    },
    {
      "device_id": 365,
      "well_id": 109,
      "device_mac": "64B708896BE0",
      "description": ""
    },
    {
      "device_id": 366,
      "well_id": 110,
      "device_mac": "64B70888FB58",
      "description": null
    },
    {
      "device_id": 368,
      "well_id": 112,
      "device_mac": "64B7088905D0",
      "description": ""
    },
    {
      "device_id": 369,
      "well_id": 113,
      "device_mac": "64B7088905E0",
      "description": ""
    },
    {
      "device_id": 370,
      "well_id": 114,
      "device_mac": "64B7088907C4",
      "description": ""
    },
    {
      "device_id": 371,
      "well_id": 115,
      "device_mac": "64B70888FB84",
      "description": "Kitchen"
    },
    {
      "device_id": 372,
      "well_id": 116,
      "device_mac": "64B7088904F0",
      "description": "tree"
    },
    {
      "device_id": 373,
      "well_id": 117,
      "device_mac": "64B7088904F8",
      "description": ""
    },
    {
      "device_id": 374,
      "well_id": 118,
      "device_mac": "64B708890F6C",
      "description": null
    },
    {
      "device_id": 375,
      "well_id": 119,
      "device_mac": "64B70888FB80",
      "description": ""
    },
    {
      "device_id": 376,
      "well_id": 120,
      "device_mac": "D8A01D4C79F0",
      "description": ""
    },
    {
      "device_id": 377,
      "well_id": 121,
      "device_mac": "64B7088904D0",
      "description": null
    },
    {
      "device_id": 597,
      "well_id": 299,
      "device_mac": "576C64435555",
      "description": ""
    },
    {
      "device_id": 378,
      "well_id": 122,
      "device_mac": "64B7088902A4",
      "description": "Master Bathroom"
    },
    {
      "device_id": 379,
      "well_id": 123,
      "device_mac": "308398C72C1C",
      "description": "Living room"
    },
    {
      "device_id": 380,
      "well_id": 124,
      "device_mac": "64B7088905D8",
      "description": "Office"
    },
    {
      "device_id": 381,
      "well_id": 125,
      "device_mac": "64B7088905DC",
      "description": "Kitchen"
    },
    {
      "device_id": 383,
      "well_id": 127,
      "device_mac": "64B7088902AC",
      "description": "Bathroom guest"
    },
    {
      "device_id": 384,
      "well_id": 128,
      "device_mac": "64B708890F74",
      "description": ""
    },
    {
      "device_id": 385,
      "well_id": 129,
      "device_mac": "64B7088904E8",
      "description": "moj"
    },
    {
      "device_id": 387,
      "well_id": 131,
      "device_mac": "4C7525A8454C",
      "description": null
    },
    {
      "device_id": 388,
      "well_id": 132,
      "device_mac": "64B7088905FC",
      "description": null
    },
    {
      "device_id": 389,
      "well_id": 133,
      "device_mac": "308398C724E4",
      "description": null
    },
    {
      "device_id": 390,
      "well_id": 134,
      "device_mac": "64B708890F68",
      "description": null
    },
    {
      "device_id": 391,
      "well_id": 135,
      "device_mac": "64B7088904EC",
      "description": null
    },
    {
      "device_id": 392,
      "well_id": 136,
      "device_mac": "64B7088904DC",
      "description": ""
    },
    {
      "device_id": 393,
      "well_id": 137,
      "device_mac": "64B7088907AC",
      "description": ""
    },
    {
      "device_id": 394,
      "well_id": 138,
      "device_mac": "64B7088904F4",
      "description": ""
    },
    {
      "device_id": 395,
      "well_id": 139,
      "device_mac": "64B7088902A8",
      "description": ""
    },
    {
      "device_id": 396,
      "well_id": 140,
      "device_mac": "64B7088907D8",
      "description": null
    },
    {
      "device_id": 397,
      "well_id": 141,
      "device_mac": "64B70888FB50",
      "description": "null"
    },
    {
      "device_id": 403,
      "well_id": 147,
      "device_mac": "64B70888FB48",
      "description": ""
    },
    {
      "device_id": 367,
      "well_id": 111,
      "device_mac": "64B708890F78",
      "description": "Bedroom"
    },
    {
      "device_id": 382,
      "well_id": 126,
      "device_mac": "64B708890618",
      "description": "Bedroom"
    },
    {
      "device_id": 404,
      "well_id": 148,
      "device_mac": "64B70889029C",
      "description": ""
    },
    {
      "device_id": 405,
      "well_id": 149,
      "device_mac": "64B7088907B4",
      "description": ""
    },
    {
      "device_id": 406,
      "well_id": 150,
      "device_mac": "64B70889028C",
      "description": ""
    },
    {
      "device_id": 407,
      "well_id": 151,
      "device_mac": "64B708890290",
      "description": ""
    },
    {
      "device_id": 408,
      "well_id": 152,
      "device_mac": "64B708890F84",
      "description": "Na stolu"
    },
    {
      "device_id": 409,
      "well_id": 153,
      "device_mac": "64B70888FB68",
      "description": ""
    },
    {
      "device_id": 411,
      "well_id": 155,
      "device_mac": "64B7088905F4",
      "description": "Y"
    },
    {
      "device_id": 412,
      "well_id": 156,
      "device_mac": "308398C71D24",
      "description": null
    },
    {
      "device_id": 413,
      "well_id": 157,
      "device_mac": "64B708896BD4",
      "description": null
    },
    {
      "device_id": 414,
      "well_id": 158,
      "device_mac": "64B70888FB60",
      "description": ""
    },
    {
      "device_id": 415,
      "well_id": 159,
      "device_mac": "64B708890500",
      "description": "Mila"
    },
    {
      "device_id": 416,
      "well_id": 160,
      "device_mac": "64B70888FB54",
      "description": ""
    },
    {
      "device_id": 417,
      "well_id": 161,
      "device_mac": "308398C7202C",
      "description": ""
    },
    {
      "device_id": 418,
      "well_id": 162,
      "device_mac": "64B708890F60",
      "description": null
    },
    {
      "device_id": 419,
      "well_id": 163,
      "device_mac": "D8A01D4DA814",
      "description": null
    },
    {
      "device_id": 420,
      "well_id": 164,
      "device_mac": "64B7088907C0",
      "description": ""
    },
    {
      "device_id": 421,
      "well_id": 165,
      "device_mac": "308398DF2F3C",
      "description": null
    },
    {
      "device_id": 422,
      "well_id": 166,
      "device_mac": "64B708896C1C",
      "description": ""
    },
    {
      "device_id": 423,
      "well_id": 167,
      "device_mac": "D8A01D692CA0",
      "description": null
    },
    {
      "device_id": 424,
      "well_id": 168,
      "device_mac": "64B708896BCC",
      "description": null
    },
    {
      "device_id": 425,
      "well_id": 169,
      "device_mac": "64B708890980",
      "description": null
    },
    {
      "device_id": 426,
      "well_id": 170,
      "device_mac": "64B70888FB7C",
      "description": ""
    },
    {
      "device_id": 427,
      "well_id": 171,
      "device_mac": "64B7088907B8",
      "description": ""
    },
    {
      "device_id": 709,
      "well_id": 466,
      "device_mac": "316331356333",
      "description": ""
    },
    {
      "device_id": 428,
      "well_id": 172,
      "device_mac": "64B7088907CC",
      "description": ""
    },
    {
      "device_id": 429,
      "well_id": 173,
      "device_mac": "64B7088902CC",
      "description": ""
    },
    {
      "device_id": 430,
      "well_id": 174,
      "device_mac": "D8A01D4DA4B8",
      "description": null
    },
    {
      "device_id": 431,
      "well_id": 175,
      "device_mac": "308398C72DD4",
      "description": null
    },
    {
      "device_id": 432,
      "well_id": 176,
      "device_mac": "308398C71E60",
      "description": ""
    },
    {
      "device_id": 433,
      "well_id": 177,
      "device_mac": "64B7088907BC",
      "description": ""
    },
    {
      "device_id": 434,
      "well_id": 178,
      "device_mac": "64B7088904E0",
      "description": null
    },
    {
      "device_id": 435,
      "well_id": 179,
      "device_mac": "64B7088904D8",
      "description": null
    },
    {
      "device_id": 436,
      "well_id": 180,
      "device_mac": "64B7088905CC",
      "description": ""
    },
    {
      "device_id": 437,
      "well_id": 181,
      "device_mac": "64B708890F64",
      "description": null
    },
    {
      "device_id": 438,
      "well_id": 182,
      "device_mac": "D8A01D4C7BE4",
      "description": ""
    },
    {
      "device_id": 439,
      "well_id": 183,
      "device_mac": "24A1604E21D4",
      "description": null
    },
    {
      "device_id": 440,
      "well_id": 184,
      "device_mac": "64B7088907DC",
      "description": ""
    },
    {
      "device_id": 441,
      "well_id": 185,
      "device_mac": "64B7088904E4",
      "description": null
    },
    {
      "device_id": 442,
      "well_id": 186,
      "device_mac": "64B708890F5C",
      "description": null
    },
    {
      "device_id": 443,
      "well_id": 187,
      "device_mac": "64B7088907C8",
      "description": ""
    },
    {
      "device_id": 444,
      "well_id": 188,
      "device_mac": "98CDACF0BCFC",
      "description": "Master"
    },
    {
      "device_id": 445,
      "well_id": 189,
      "device_mac": "64B7088907D4",
      "description": null
    },
    {
      "device_id": 446,
      "well_id": 190,
      "device_mac": "64B7088905D4",
      "description": null
    },
    {
      "device_id": 447,
      "well_id": 191,
      "device_mac": "64B708890F80",
      "description": null
    },
    {
      "device_id": 448,
      "well_id": 192,
      "device_mac": "64B7088907D0",
      "description": ""
    },
    {
      "device_id": 449,
      "well_id": 193,
      "device_mac": "64B7088902B0",
      "description": ""
    },
    {
      "device_id": 450,
      "well_id": 194,
      "device_mac": "64B70888FB74",
      "description": ""
    },
    {
      "device_id": 451,
      "well_id": 195,
      "device_mac": "64B70889097C",
      "description": null
    },
    {
      "device_id": 452,
      "well_id": 196,
      "device_mac": "64B708896C18",
      "description": null
    },
    {
      "device_id": 453,
      "well_id": 197,
      "device_mac": "308398C72EF8",
      "description": ""
    },
    {
      "device_id": 454,
      "well_id": 198,
      "device_mac": "64B70888FB78",
      "description": "Ernie"
    },
    {
      "device_id": 455,
      "well_id": 199,
      "device_mac": "64B7088902A0",
      "description": ""
    },
    {
      "device_id": 456,
      "well_id": 100,
      "device_mac": "308398DF3100",
      "description": ""
    },
    {
      "device_id": 457,
      "well_id": 0,
      "device_mac": "16FC0BA69F9F",
      "description": null
    },
    {
      "device_id": 458,
      "well_id": 0,
      "device_mac": "6B458FCE0E3C",
      "description": null
    },
    {
      "device_id": 459,
      "well_id": 0,
      "device_mac": "D0B328108FEC",
      "description": null
    },
    {
      "device_id": 460,
      "well_id": 0,
      "device_mac": "A3C8F90A1EE9",
      "description": null
    },
    {
      "device_id": 461,
      "well_id": 0,
      "device_mac": "CD0299DEC7CB",
      "description": null
    },
    {
      "device_id": 462,
      "well_id": 0,
      "device_mac": "AB287276CCDF",
      "description": null
    },
    {
      "device_id": 463,
      "well_id": 0,
      "device_mac": "EBAC5CCE3B32",
      "description": null
    },
    {
      "device_id": 464,
      "well_id": 0,
      "device_mac": "722AF199E6CE",
      "description": null
    },
    {
      "device_id": 465,
      "well_id": 0,
      "device_mac": "16915C4271DE",
      "description": null
    },
    {
      "device_id": 466,
      "well_id": 0,
      "device_mac": "2A0FFCC4C580",
      "description": null
    },
    {
      "device_id": 467,
      "well_id": 0,
      "device_mac": "46FAE07996FD",
      "description": null
    },
    {
      "device_id": 468,
      "well_id": 0,
      "device_mac": "5F37455807FB",
      "description": null
    },
    {
      "device_id": 469,
      "well_id": 0,
      "device_mac": "3F5ECD608CD3",
      "description": null
    },
    {
      "device_id": 470,
      "well_id": 0,
      "device_mac": "329E0C0D0AC7",
      "description": null
    },
    {
      "device_id": 471,
      "well_id": 0,
      "device_mac": "17CA7205A8BB",
      "description": null
    },
    {
      "device_id": 472,
      "well_id": 0,
      "device_mac": "2978FC972A13",
      "description": null
    },
    {
      "device_id": 473,
      "well_id": 0,
      "device_mac": "AD520B68CC3F",
      "description": null
    },
    {
      "device_id": 474,
      "well_id": 0,
      "device_mac": "6C19CEBE50B4",
      "description": null
    },
    {
      "device_id": 475,
      "well_id": 0,
      "device_mac": "A33DA79FB4ED",
      "description": null
    },
    {
      "device_id": 476,
      "well_id": 0,
      "device_mac": "DBF9D5E3D847",
      "description": null
    },
    {
      "device_id": 477,
      "well_id": 0,
      "device_mac": "1EB4099F8C26",
      "description": null
    },
    {
      "device_id": 478,
      "well_id": 0,
      "device_mac": "DF26BB5708A8",
      "description": null
    },
    {
      "device_id": 479,
      "well_id": 0,
      "device_mac": "3C265D816C75",
      "description": null
    },
    {
      "device_id": 480,
      "well_id": 0,
      "device_mac": "34927A9415AB",
      "description": null
    },
    {
      "device_id": 481,
      "well_id": 0,
      "device_mac": "3D05EE0811F9",
      "description": null
    },
    {
      "device_id": 482,
      "well_id": 0,
      "device_mac": "F9C881AA65E0",
      "description": null
    },
    {
      "device_id": 485,
      "well_id": 0,
      "device_mac": "8D9B99C581FD",
      "description": null
    },
    {
      "device_id": 486,
      "well_id": 0,
      "device_mac": "BBDA40EA0A86",
      "description": null
    },
    {
      "device_id": 487,
      "well_id": 0,
      "device_mac": "81BC783E4996",
      "description": null
    },
    {
      "device_id": 488,
      "well_id": 0,
      "device_mac": "FFCCAE8F0215",
      "description": null
    },
    {
      "device_id": 489,
      "well_id": 0,
      "device_mac": "3BD19859E2E0",
      "description": null
    },
    {
      "device_id": 490,
      "well_id": 0,
      "device_mac": "CCF8FB26533B",
      "description": null
    },
    {
      "device_id": 491,
      "well_id": 0,
      "device_mac": "0E1EBDE28BA8",
      "description": null
    },
    {
      "device_id": 492,
      "well_id": 0,
      "device_mac": "AF036F22BCB7",
      "description": null
    },
    {
      "device_id": 493,
      "well_id": 0,
      "device_mac": "205D6834E4E8",
      "description": null
    },
    {
      "device_id": 494,
      "well_id": 0,
      "device_mac": "B69C2BB08639",
      "description": null
    },
    {
      "device_id": 495,
      "well_id": 1,
      "device_mac": "64B708890524",
      "description": null
    },
    {
      "device_id": 502,
      "well_id": 207,
      "device_mac": "64B7088904B0",
      "description": null
    },
    {
      "device_id": 503,
      "well_id": 208,
      "device_mac": "64B7088976BC",
      "description": ""
    },
    {
      "device_id": 504,
      "well_id": 209,
      "device_mac": "64B708890874",
      "description": ""
    },
    {
      "device_id": 506,
      "well_id": 211,
      "device_mac": "64B7088901E8",
      "description": null
    },
    {
      "device_id": 508,
      "well_id": 213,
      "device_mac": "64B708890800",
      "description": null
    },
    {
      "device_id": 509,
      "well_id": 214,
      "device_mac": "64B70889761C",
      "description": null
    },
    {
      "device_id": 511,
      "well_id": 216,
      "device_mac": "64B708896E90",
      "description": "master"
    },
    {
      "device_id": 512,
      "well_id": 217,
      "device_mac": "64B70889739C",
      "description": null
    },
    {
      "device_id": 514,
      "well_id": 294,
      "device_mac": "64B708890888",
      "description": ""
    },
    {
      "device_id": 516,
      "well_id": 0,
      "device_mac": "8FAB8CBDAA5F",
      "description": null
    },
    {
      "device_id": 518,
      "well_id": 220,
      "device_mac": "64B708890F04",
      "description": null
    },
    {
      "device_id": 519,
      "well_id": 231,
      "device_mac": "64B70889046C",
      "description": null
    },
    {
      "device_id": 520,
      "well_id": 221,
      "device_mac": "64B708890954",
      "description": null
    },
    {
      "device_id": 522,
      "well_id": 274,
      "device_mac": "64B708890614",
      "description": null
    },
    {
      "device_id": 523,
      "well_id": 278,
      "device_mac": "64B70889050C",
      "description": null
    },
    {
      "device_id": 528,
      "well_id": 271,
      "device_mac": "64B708890E54",
      "description": ""
    },
    {
      "device_id": 545,
      "well_id": 253,
      "device_mac": "64B7088976A4",
      "description": ""
    },
    {
      "device_id": 727,
      "well_id": 481,
      "device_mac": "10061C159AF4",
      "description": ""
    },
    {
      "device_id": 554,
      "well_id": 261,
      "device_mac": "64B708897050",
      "description": null
    },
    {
      "device_id": 555,
      "well_id": 262,
      "device_mac": "64B7088909C4",
      "description": null
    },
    {
      "device_id": 573,
      "well_id": 293,
      "device_mac": "64B7088976A0",
      "description": null
    },
    {
      "device_id": 574,
      "well_id": 292,
      "device_mac": "64B708890414",
      "description": null
    },
    {
      "device_id": 708,
      "well_id": 465,
      "device_mac": "901506CA3A98",
      "description": ""
    },
    {
      "device_id": 578,
      "well_id": 0,
      "device_mac": "7D57DEE3BC9F",
      "description": null
    },
    {
      "device_id": 579,
      "well_id": 0,
      "device_mac": "AB200896C218",
      "description": null
    },
    {
      "device_id": 580,
      "well_id": 0,
      "device_mac": "DE1D5CD557A3",
      "description": null
    },
    {
      "device_id": 581,
      "well_id": 0,
      "device_mac": "5451F084ECA9",
      "description": null
    },
    {
      "device_id": 582,
      "well_id": 0,
      "device_mac": "0C09228FE30E",
      "description": null
    },
    {
      "device_id": 583,
      "well_id": 0,
      "device_mac": "47558F645D1D",
      "description": null
    },
    {
      "device_id": 584,
      "well_id": 0,
      "device_mac": "4DBBC694C838",
      "description": null
    },
    {
      "device_id": 585,
      "well_id": 0,
      "device_mac": "6EFE7FBFCE51",
      "description": null
    },
    {
      "device_id": 586,
      "well_id": 0,
      "device_mac": "9AC12C2FF57B",
      "description": null
    },
    {
      "device_id": 587,
      "well_id": 0,
      "device_mac": "F823C19B3A33",
      "description": null
    },
    {
      "device_id": 588,
      "well_id": 0,
      "device_mac": "F958F64B9493",
      "description": null
    },
    {
      "device_id": 589,
      "well_id": 0,
      "device_mac": "FC9107B47036",
      "description": null
    },
    {
      "device_id": 590,
      "well_id": 0,
      "device_mac": "3C662CA26D6F",
      "description": null
    },
    {
      "device_id": 736,
      "well_id": 490,
      "device_mac": "142B2F81A268",
      "description": ""
    },
    {
      "device_id": 591,
      "well_id": 295,
      "device_mac": "64B708890784",
      "description": null
    },
    {
      "device_id": 410,
      "well_id": 154,
      "device_mac": "64B708890F70",
      "description": ""
    },
    {
      "device_id": 595,
      "well_id": 297,
      "device_mac": "4251426B7477",
      "description": ""
    },
    {
      "device_id": 596,
      "well_id": 298,
      "device_mac": "643268435A30",
      "description": ""
    },
    {
      "device_id": 739,
      "well_id": 493,
      "device_mac": "142B2F81A450",
      "description": ""
    },
    {
      "device_id": 778,
      "well_id": 532,
      "device_mac": "901506CA3E88",
      "description": "initial"
    }
  ],
  "status": "200 OK"
}
PASS

----------------------------------------------------------------
[Test] job_weather
# Request:
{
  "function": "job_weather",
  "user_name": "jpeters",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImpwZXRlcnMiLCJleHAiOjE3NjM5NTk0NjV9.3aerTVK12fwVehD10QjV6pkLZz99DzPLBArotntUITs",
  "job_id": "9"
}

# Response:
{
  "ok": 1,
  "weather": {
    "time": "2025-11-22 20:30",
    "temp_c": 16.8,
    "temp_f": 62.2,
    "humidity": 44,
    "condition": "Clear sky"
  },
  "status": "200 OK"
}
PASS

----------------------------------------------------------------
[Test] get_job_sensor_bucketed_data
# Request:
{
  "function": "get_job_sensor_bucketed_data",
  "user_name": "jpeters",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImpwZXRlcnMiLCJleHAiOjE3NjM5NTk0NjV9.3aerTVK12fwVehD10QjV6pkLZz99DzPLBArotntUITs",
  "job_id": "9",
  "sensor": "temperature",
  "date": "2025-11-22",
  "to_date": "2025-11-22",
  "bucket_size": "15m"
}

# Response:
{
  "ok": 1,
  "job_id": "9",
  "sensor": "temperature",
  "units": "°F",
  "color": "red",
  "bucket_size": "15m",
  "date_from": "2025-11-22",
  "date_to": "2025-11-22",
  "time_zone": "America/Los_Angeles",
  "chart_data": [],
  "status": "200 OK"
}
PASS

----------------------------------------------------------------
[Test] Cleanup
-> Deleting Job ID: 9 from database...
Cleanup successful. Database restored.

=== Test Suite Finished ===    