Below is the latest public REST API documentation for GEIA.AI. We regularly update and expand the available routes to provide you with the most up-todate functionality.

GEIA.AI Rest-API

v0.65

1. Login & Regster 6

Description

POST
/api/auth/login

Example: https://api.geia.ai/auth/login

In form-data:
email:
password:

Use the received token for use in other API routes.

Reply:

{
“status”: “ok”,
“token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA0NDc2OTUyLCJleHAiOjE1MDQ0ODQxNTIsIm5iZiI6MTUwNDQ3Njk1MiwianRpIjoiZGE5NGI3ZjQ0ODZmOWZmYzhlZjk5NzU3MGIwZWE4MjAifQ.yUF014kci7Qg1TSwXSSmc0HOof0z2zzRR5qPMRzglws”
}


Body
KeyValueDescription
email
password
Description

Get
/api/getCurrency

Example:
https://api.geia.ai/getCurrency?token=

Usage: get available app currencies & exchange rates

{
“currency_symbols”: [
{
“currency_id”: “1”,
“name”: “US Dollars”,
“prefix”: “”,
“suffix”: “$”,
“code”: “USD”,
“default_currency”: “0”,
“exchange_rate”: “0”,
“last_rate_update”: “2016-11-13 09:21:47”
},
{
“currency_id”: “2”,
“name”: “Euro”,
“prefix”: “”,
“suffix”: “€”,
“code”: “EUR”,
“default_currency”: “1”,
“exchange_rate”: “0”,
“last_rate_update”: “2016-11-13 09:21:47”
},
{
“currency_id”: “3”,
“name”: “British Pound”,
“prefix”: “£”,
“suffix”: “”,
“code”: “GBP”,
“default_currency”: “0”,
“exchange_rate”: “0”,
“last_rate_update”: “2016-11-13 09:27:58”
}
]
}


Query
KeyValueDescription
token
Description

GET
/api/getUser

Example:
https://api.geia.ai/getUser?token=

Usage: after login will get user details & user profile page

{
“tb_user”: {
“id”: 1,
“group_id”: “1”,
“username”: “superadmin”,
“email”: “email@email.com”,
“first_name”: “Matt”,
“last_name”: “Smith”,
“avatar”: “1.jpg”,
“active”: “1”,
“login_attempt”: “12”,
“last_login”: “2017-07-07 11:31:51”,
“created_at”: “2014-03-12 05:18:46”,
“updated_at”: “2017-05-13 19:52:12”
}
}


Query
KeyValueDescription
token
Description

PATCH
/api/updateUser

Example:
https://api.geia.ai/updateUser?token=


Query
KeyValueDescription
token
username
first_name
last_name
email
password
Description

POST
/api/auth/recovery

Example:
https://api.geia.ai/auth/recovery

Usage: password recovery

Body
KeyValueDescription
email
password
Description

POST
/api/auth/reset

Example:
https://api.geia.ai/auth/login

Usage: password reset

{
“error”: {
“message”: “422 Unprocessable Entity”,
“errors”: {
“token”: [
“The token field is required.”
],
“password”: [
“The password confirmation does not match.”
]
},
“status_code”: 422
}
}


Body
KeyValueDescription
email
password

2. Location Dashboard 4

Description

PATCH
/api/dashboardwater/{location_id}

Example:
https://api.geia.ai/dashboardwater/40

feilds:

{
“entry_by”: [
“The entry by field is required.”
],
“dashboardID”: [
“The dashboard i d field is required.”
],
“unitPrice”: [
“The unit price field is required.”
],
“monitoring”: [
“The monitoring field is required.”
],
“monitoringSensor”: [
“The monitoring sensor field is required.”
],
“control”: [
“The control field is required.”
],
“controlRelay”: [
“The control relay field is required.”
],
“calculationType”: [
“The calculation type field is required.”
]
}


Query
KeyValueDescription
token
unitPrice

Price o water per unit m3 or cubic feet (per user dashboard settings)

monitoring22

*OLD TEMP - ignore

monitoringSensor22

*OLD TEMP - ignore

control22

*OLD TEMP - ignore

controlRelay22

*OLD TEMP - ignore

calculationType1
Description

PATCH /api/dashboardelectricity/{dashboard-ID}

Example: https://api.geia.ai/dashboardelectricity/1

feilds:

{ “entry_by”: [ “The entry by field is required.” ], “dashboardID”: [ “The dashboard i d field is required.” ], “unitPrice”: [ “The unit price field is required.” ], “monitoring”: [ “The monitoring field is required.” ], “monitoringSensor”: [ “The monitoring sensor field is required.” ], “control”: [ “The control field is required.” ], “controlRelay”: [ “The control relay field is required.” ], “calculationType”: [ “The calculation type field is required.” ] }

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwNzY3ODQ3OSwiZXhwIjoxNTA3Njg1Njc5LCJuYmYiOjE1MDc2Nzg0NzksImp0aSI6ImQ5YjQ3MGVhY2M4YWY3NjZmOTIxZjNlMWIzNjRiNTMzIn0.jbSmi_vj3lH-mbZq5JTVFwUQhEb8XYgYyuD_KI1l4OU
dashboardID40
unitPrice23

electrical unit price for kWh in user currency

volts230

120 or 230 system

frequency60

Electrical frequenecy: 50 or 60

calculationType1
monitoring1

*OLD TEMP - ignore

monitoringSensor1

*OLD TEMP - ignore

control1

*OLD TEMP - ignore

controlRelay1

*OLD TEMP - ignore

Description

/api/dashboardDetails/{dashboard_id}

Example: https://api.geia.ai/dashboardDetails/1

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwNzY3ODQ3OSwiZXhwIjoxNTA3Njg1Njc5LCJuYmYiOjE1MDc2Nzg0NzksImp0aSI6ImQ5YjQ3MGVhY2M4YWY3NjZmOTIxZjNlMWIzNjRiNTMzIn0.jbSmi_vj3lH-mbZq5JTVFwUQhEb8XYgYyuD_KI1l4OU
Description

/api/getDashboard/{user_id}

Example: https://api.geia.ai/getDashboard/1

[ { “id”: “3”, “garden_name”: “Wine Factory”, “locationcountry”: “Hungary”, “locationcity”: “Balaton” }, { “id”: “13”, “garden_name”: “Grapes Yard”, “locationcountry”: “Hungary”, “locationcity”: “Eger” } ]

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NDcxMDU5LCJleHAiOjE1MDY0NzgyNTksIm5iZiI6MTUwNjQ3MTA1OSwianRpIjoiMjkzNzcyZDcyMzcyMjIxMDI3YjZhMmMzMjIwZTVmY2IifQ.f4kGCpvBDRl0ODlqjUZ9oCrbsILpK1Kd_H_OTOOuJKk

3. Local Gateway/Router 2

A Gateway-router moves data between the cloud and end nodes

Description

Post /api/localServerMode/{server_id}

Gateway id should be provided

Example: https://api.geia.ai/localServerMode/9

Usage: Change Gateway Network HostName or Enable / Disable debug mode (1 or 0)

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwNzY3ODQ3OSwiZXhwIjoxNTA3Njg1Njc5LCJuYmYiOjE1MDc2Nzg0NzksImp0aSI6ImQ5YjQ3MGVhY2M4YWY3NjZmOTIxZjNlMWIzNjRiNTMzIn0.jbSmi_vj3lH-mbZq5JTVFwUQhEb8XYgYyuD_KI1l4OU
debug_mode

Enable or disable debug mode

server_hostname

Gateway Hostname

Description

Get /api/getLocalServer/{dashboard_id}

Example: https://api.geia.ai/getLocalServer/{dashboard_id}

Usage: This will get the gateway details for: MQTT connection, status check, popup if not active yet (and show device active when changes) + if debug mode enabled

Example output:

[ { “id”: “8”, “mqtt_topic”: “#”, “mqtt_raw_topic”: “”, “mqtt_user”: “admin”, “server_mac”: “00:xx:11:22:11:11”, “server_ip”: “85.12.2.45”, “server_local_ip”: “x.x.x.x”, “server_hostname”: “Main-server.intra”, “core_version”: “0”, “debug_mode”: “1”, “active”: “0” } ]

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwODAyNjk2NywiZXhwIjoxNTA4MDM0MTY3LCJuYmYiOjE1MDgwMjY5NjcsImp0aSI6IjMwNzc0MWI3YTJmMGM4MjQwYmRmZjZhZjg2NjEzOWVjIn0.WW8dyPLt8sBQvFjveTFSR36LDkTfcfNcrWFsPXmLbwo

3.5. Node Devices 4

Nodes are the wirless end devices connected to electrical switches,solenoids and sensors.

Description

Patch /api/updatedevices/{dashboard_id}/{node_id}

Dashboard_id + Node id should be provided

Example: https://api.geia.ai/updatedevices/{dashboard_id}/{local_serverID}

Usage: 1. Change node host name 2. Change node describtion (or notes) 3. Replace faulty node by adding the new replacement MAC address (change mac address)

** If no change in Values you mus send OLD values retreived from API, else values will be overwritten by “NULL” value**

Query
KeyValueDescription
token
notes

Name or describtion for this device - must submit same value as retrieved by the API r overwrite it with new one

macaddress

Macaddress should always be submited with value retreived from API - ELSE IT WILL MAKE VALUE AS NULL!!. Macaddress should only be changed incase of faulty hardware being replaced (“Replace Faulty Device” button)

hostname

Always send the current Hostname retreived from API (else it will be overwritten by NULL) - only change if new hostname is defined

Description

GET /api/getDevices/{Dashboard-ID}/?active=0

active = 0 (show nodes not activated yet or in system) active = 1 (show nodes activated in systm)

Example: https://api.geia.ai/getDevices/4

Usage: get list of active or inactive nodes. Mainly for the dropdowns (use active only)

Could be also used to list nodes (once active and ocne inactive)

Query
KeyValueDescription
token
active1

1 = Active, 0=Inactive

Description

GET

Example: http://growapp2.xlabs.systems/api/grow/public

Usage: Get Available PINS per node for drop down selection on ad sensors or switches

Query
KeyValueDescription
token
active0

4. Sensors 6

Description

GET /api/getSensorTypes/{Category-ID}

Example: https://api.geia.ai/getSensorTypes/1

Usage: Get list of sensor types per category

Array: [ { “id”: “1”, “Name”: “PH Sensor”, “TypeID”: “1”, “CodeName”: “PH”, “PinType”: “A”, “SpecialParam1”: “”, “SpecialParam2”: “”, “ManufactorName”: “Generic”, “SKU”: “” }, { “id”: “6”, “Name”: “Water Tempreture”, “TypeID”: “1”, “CodeName”: “DS”, “PinType”: “D”, “SpecialParam1”: “”, “SpecialParam2”: “”, “ManufactorName”: “Generic”, “SKU”: “DS18B20” } ]

Query
KeyValueDescription
token
Description

GET /api/devicesensors/{dashboard_id}/{device_id}

Example: https://api.geia.ai/devicesensors/{dashboard_id}/{device_id}

Usage: Get list of sensor types per device

Array:

Query
KeyValueDescription
token
Description

GET /api/Devicesensors/{dashboard_id}

Example: https://api.geia.ai/api/Devicesensors/40

Usage: Get list of All sensors per location/dashboard

Array: [ { “id”: “19”, “device_id”: “21”, “freindly_name”: “Test API Sensor”, “sensor_category”: “1”, “sensor_type”: “2”, “user_config1”: null, “user_config2”: null, “pin_type1”: “D”, “pin_number”: “5”, “digital_pin_number2”: null, “update_rate”: “45”, “is_public”: null }, { “id”: “21”, “device_id”: “21”, “freindly_name”: “Test API Sensor”, “sensor_category”: “1”, “sensor_type”: “2”, “user_config1”: null, “user_config2”: null, “pin_type1”: “D”, “pin_number”: “5”, “digital_pin_number2”: null, “update_rate”: “45”, “is_public”: null } ]

Query
KeyValueDescription
token
Description

GET /api/devicesensors/{Sensor-ID}

Example: https://api.geia.ai/devicesensors/3

Usage: Get sensor details

[ { “id”: “3”, “device_id”: “1”, “freindly_name”: “PH for Aquaponics tank”, “sensor_category”: “1”, “sensor_type”: “1”, “user_config1”: “”, “user_config2”: “”, “pin_type1”: “”, “pin_number”: “0”, “digital_pin_number2”: “0”, “update_rate”: “1”, “is_public”: “0” } ]

Query
KeyValueDescription
token
Description

GET /api/getSensorHistory/{sensor_id}/{form}/{to}

Time format (From/To): 2017-06-27 12:49:09 (2017-06-27 also possible)

Example: https://api.geia.ai/getSensorHistory/13/2017-06-27 12:49:09/2017-07-27 12:49:09/

Usage: Get sensor history details

Sample output: [ { “id”: “1”, “sensor_id”: “13”, “value”: “0”, “log_time”: “2017-06-27 12:49:09”, “mqtt_message_time”: “2017-06-27 12:49:09” }, { “id”: “2”, “sensor_id”: “13”, “value”: “12.65”, “log_time”: “2017-06-27 12:49:09”, “mqtt_message_time”: “2017-06-27 12:49:09” } ]

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwODE3MDM2MSwiZXhwIjoxNTA4MTc3NTYxLCJuYmYiOjE1MDgxNzAzNjEsImp0aSI6ImJkMWY5YTkwMTlmYjU3NTBkODIzOWEwYWY3NTllMzk5In0.1h-RHb2fGokocAHW74HJXeBGJV8-9nU9oFV6FGHVibI
Description

GET /sensorsbytype/{dashboard_id}/

Params: ?types=$SensorType1,$SensorType2.$SensorType1 Sensor Types can be optained from API 4.1.2

example : PH,DS

Example: https://api.geia.ai/getSensorType/{dashboard_id}

Note: This will retreive only Active sensors!

Usage: For drop down selections, this will bring available sensors by type require in the specific function (example for light, lux type sensors needed)

Example results for “PIR” sensortype: [ { “id”: “19”, “device_id”: “21”, “freindly_name”: “Test API Sensor”, “sensor_type”: “2”, “pin_type1”: “D”, “pin_number”: “5”, “digital_pin_number2”: null } ]

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwODE3MDM2MSwiZXhwIjoxNTA4MTc3NTYxLCJuYmYiOjE1MDgxNzAzNjEsImp0aSI6ImJkMWY5YTkwMTlmYjU3NTBkODIzOWEwYWY3NTllMzk5In0.1h-RHb2fGokocAHW74HJXeBGJV8-9nU9oFV6FGHVibI
typesPH,DS,PIR

Multiple Types can be defined (sensor_type = 2 = PIR)

5. Actuators (Relay/Electrical Socket/solenoid valve) 5

Electrical Switches, actuators and solenoids

Description

GET /api/getActuators/{dashboard_id}

Example: https://api.geia.ai/getActuators/0

Usage: Get a list of actuators for drop down

[ { “id”: “1”, “freindly_name”: “KItchen light”, “device_id”: “13”, “actuator_type”: “Valve”, “normally_closed”: “0”, “pin_number”: “2”, “watts_usage”: “400”, “is_public”: “0” }, { “id”: “6”, “freindly_name”: “Test”, “device_id”: “13”, “actuator_type”: “Relay”, “normally_closed”: “0”, “pin_number”: “13”, “watts_usage”: “100”, “is_public”: “1” }, { “id”: “10”, “freindly_name”: “Main flowering lights “, “device_id”: “16”, “actuator_type”: “Relay”, “normally_closed”: “0”, “pin_number”: “13”, “watts_usage”: “300”, “is_public”: “0” }, { “id”: “8”, “freindly_name”: “AeroPumps”, “device_id”: “16”, “actuator_type”: “Relay”, “normally_closed”: “0”, “pin_number”: “12”, “watts_usage”: “180”, “is_public”: “0” } ]

Query
KeyValueDescription
token
Description

GET /api/getActuatorDetails/{dashboard_id}/{device_id}

Example: https://api.geia.ai/getActuatorDetails/0/16

Usage: Get a list of actuators per device

[ { “id”: “10”, “freindly_name”: “Main flowering lights “, “device_id”: “16”, “normally_closed”: “0”, “special_parameter”: “”, “actuator_type”: “Relay”, “pin_number”: “13”, “watts_usage”: “300”, “is_public”: “0”, “force_overide”: “0”, “force_type”: “0” }, { “id”: “8”, “freindly_name”: “AeroPumps”, “device_id”: “16”, “normally_closed”: “0”, “special_parameter”: “”, “actuator_type”: “Relay”, “pin_number”: “12”, “watts_usage”: “180”, “is_public”: “0”, “force_overide”: “0”, “force_type”: “0” } ]

Query
KeyValueDescription
token
Description

GET /api/ActuatorDetails/{dashboard_id}

Simillar to 5.2, but this one icludes also inactive actuators!

Example: https://api.geia.ai/ActuatorDetails/0

Usage: Get all actuators per Location / Dashboard

[ { “id”: “10”, “freindly_name”: “Main flowering lights “, “device_id”: “16”, “normally_closed”: “0”, “special_parameter”: “”, “actuator_type”: “Relay”, “pin_number”: “13”, “watts_usage”: “300”, “is_public”: “0”, “force_overide”: “0”, “force_type”: “0” }, { “id”: “8”, “freindly_name”: “AeroPumps”, “device_id”: “16”, “normally_closed”: “0”, “special_parameter”: “”, “actuator_type”: “Relay”, “pin_number”: “12”, “watts_usage”: “180”, “is_public”: “0”, “force_overide”: “0”, “force_type”: “0” } ]

Query
KeyValueDescription
token
Description

GET /api/getActuatorDetail/{actuator_id}

Example: https://api.geia.ai/getActuatorDetail/10

Usage: Get actuator details [ { “id”: “10”, “freindly_name”: “Main flowering lights “, “device_id”: “16”, “normally_closed”: “0”, “special_parameter”: “”, “actuator_type”: “Relay”, “pin_number”: “13”, “watts_usage”: “300”, “is_public”: “0”, “force_overide”: “0”, “force_type”: “0” } ]

Query
KeyValueDescription
token
Description

GET /api/getActuatorHistory/{actuator_id}/{form}/{to}

Time format (From/To): 2017-06-27 12:49:09 (2017-06-27 also possible)

Example: https://api.geia.ai/getActuatorHistory/8//2017-06-27 12:49:09/2017-07-27 12:49:09/

Usage: Get actuator history details (when actuator changed state: ON or OFF)

Query
KeyValueDescription
token

6. Hand log journals 7

Description

POST /api/addPlantJournal

(id, entry_by, plant_id, sub_plant_id, title, comment, image, user_rate, is_sick, symptoms, symptoms_comment, grow_rate, size, log_date, stage_achivment_type, is_public, is_forum_question, clonned) VALUES (NULL, ‘1’, ‘7’, ‘12;13;14;15’, ‘Under watered’, ‘Pump dind\’t work, plants heavily dried out’, NULL, NULL, NULL, NULL, “, NULL, NULL, CURRENT_TIMESTAMP OR User defined, NULL, NULL, NULL, NULL)

{ “plant_id”: [ “The plant id field is required.” ], “sub_plant_id”: [ “The sub plant id field is required.” ], “title”: [ “The title field is required.” ], “comment”: [ “The comment field is required.” ] }

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
plant_id9
sub_plant_id1
titletest api
commentPostman comment tet
Description

POST /api/addWatercondition

(id, entry_by, sensor_id, water_id, added_water_amount, comment, water_temp, ph, ec, tds, gh, kh, phosphate, no2, no3, nh3, nh4, cal, mag, phosphorus, potassium, dissolved_oxygen, ORP, date, clor) VALUES (NULL, ‘1’, NULL, ‘1112’, NULL, “, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, CURRENT_TIMESTAMP, NULL);

{ “sensor_id”: [ “The sensor id field is required.” ], “water_id”: [ “The water id field is required.” ], “comment”: [ “The comment field is required.” ] }

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
water_id2
commentinjection test
Description

POST /api/addNutritionlog

entry_by,entry_by_controller,nutrition_id,water_id,amount_injected,unit_type`

‘1’, NULL, ‘14’, ‘321’, ‘12.44’, ‘mm’

Example: https://api.geia.ai/addNutritionlog

{ “unit_type”: [ “The unit type field is required.” ], “nutrition_id”: [ “The nutrition id field is required.” ], “amount_injected”: [ “The amount injected field is required.” ] }

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
water_id1
nutrition_id2
amount_injected3
unit_typemm
Description

POST /api/addClimatelog

Example: https://api.geia.ai/addClimatelog

zone_id, air_temp, humidity, co2, light, lumens

{ “assets_id”: [ “The assets id field is required.” ], “title”: [ “The title field is required.” ] }

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
zone_id3
Description

POST /api/addExpenses

Example: https://api.geia.ai/addExpenses

{ “assets_id”: [ “The assets id field is required.” ], “title”: [ “The title field is required.” ] }

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
expense_againsttest
expenseTypetes api
titletest
descriptiontest expese
amount3
Description

POST /api/addSale

Example: https://api.geia.ai/addSale

{ “assets_id”: [ “The assets id field is required.” ], “title”: [ “The title field is required.” ] }

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
titletest
descriptiontes api
income_type1

Type of sale: (plant, yeilds,assets)

amount1

sale price

Description

POST /api/addAssetlog

Example: https://api.geia.ai/addAssetlog

{ “assets_id”: [ “The assets id field is required.” ], “title”: [ “The title field is required.” ] }

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
assets_id1
titleff

7. Rooms / Zones 6

Description

POST /api/rooms

Example: https://api.geia.ai/rooms

{ “outdoor”: [ “The outdoor field is required.” ], “zoneName”: [ “The zone name field is required.” ], “zoneArea”: [ “The zone area field is required.” ], “dashboardID”: [ “The dashboard i d field is required.” ] }

Query
KeyValueDescription
token
dashboardID

Location ID here

zoneType

Options: Garden area, Greenouse, Room, box/GrowTent

zoneName

Name of the new Area

zoneDescribtion

Optional: Area description

outdoor

indoor (1) or outdoor (0)

zoneArea

Optional: Size of area in m2 or ft2

zoneHeight

Optional: Area Height in cm / in

zoneWidth

Optional: Area Width in cm / in

zoneLength

Optional: Area Length in cm / in

is_public

Optional: 1 = Public And 0 = Private

Description

PATCH /api/rooms/{room-id}

Example: https://api.geia.ai/rooms/4

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
Description

DELETE /api/rooms/{room-id}

Example: https://api.geia.ai/rooms/4

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
Description

GET /api/getrooms/{dashboard_id}

Example: https://api.geia.ai/getrooms/13

[ { “id”: “4”, “zoneName”: “Living room”, “outdoor”: “0” }, { “id”: “11”, “zoneName”: “API ROOM”, “outdoor”: “0” } ]

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
Description

GET /api/getRooms/{dashboard_id}

Example: https://api.geia.ai/getRooms/13

Usage: List of Rooms with extended details

{ “zones”: [ { “id”: 4, “entry_by”: “1”, “outdoor”: “0”, “zoneName”: “Living room”, “zoneDescribtion”: “

Aquapoonics and Living wall

”, “zoneType”: “room”, “zoneHeight”: “2”, “zoneWidth”: “7”, “zoneLength”: “12”, “zoneArea”: “110”, “dashboardID”: “13”, “is_public”: null }, { “id”: 11, “entry_by”: “1”, “outdoor”: “0”, “zoneName”: “API ROOM”, “zoneDescribtion”: null, “zoneType”: null, “zoneHeight”: null, “zoneWidth”: null, “zoneLength”: null, “zoneArea”: null, “dashboardID”: “13”, “is_public”: null } ] }


Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NjAzNzI5LCJleHAiOjE1MDY2MTA5MjksIm5iZiI6MTUwNjYwMzcyOSwianRpIjoiNDM0MWMxNDdjZDUyMTA0OGI3YWY2ZjI3ZTc0MDA1MDYifQ.44yFYfhoqKuk29_dYWfgBOIi4pnZVk7lodaSjUw0YTg
Description

GET /api/getRoomdetail/{roomid}

Example: https://api.geia.ai/getRoomdetail/4

Usage: Get room details

{ “zones”: [ { “id”: 4, “entry_by”: “1”, “outdoor”: “0”, “zoneName”: “Living room”, “zoneDescribtion”: “

Aquapoonics and Living wall

”, “zoneType”: “room”, “zoneHeight”: “2”, “zoneWidth”: “7”, “zoneLength”: “12”, “zoneArea”: “110”, “dashboardID”: “13”, “is_public”: null } ] }


Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NjAzNzI5LCJleHAiOjE1MDY2MTA5MjksIm5iZiI6MTUwNjYwMzcyOSwianRpIjoiNDM0MWMxNDdjZDUyMTA0OGI3YWY2ZjI3ZTc0MDA1MDYifQ.44yFYfhoqKuk29_dYWfgBOIi4pnZVk7lodaSjUw0YTg

8..1 Grow beds 3

Description

POST /api/getWaterGrowbeds?water={Water-Tank-Id}

Example: https://api.geia.ai/getWaterGrowbeds?water=1

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOi8vYXBpLmdlaWEuYWkvYXV0aC9sb2dpbiIsImlhdCI6MTUyNjkxMTIyMywiZXhwIjoxNTI2OTE4NDIzLCJuYmYiOjE1MjY5MTEyMjMsImp0aSI6InVuOHk3N3J4VEEyamFJbFQifQ.t1WkteVSeZ81aIOwgo7HjP3MsigHnFurvHi1HcAnVIg
water6

water tank ID

Description

Get /api/getGrowbeds?zone={zone-Id}

Example: https://api.geia.ai/getGrowbeds?zone=1

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUxMDg4MDEyNiwiZXhwIjoxNTEwODg3MzI2LCJuYmYiOjE1MTA4ODAxMjYsImp0aSI6IjUzMGMyNWFjNjI2Y2ExNGViNTAwYmIyZDRmZmMzNTdiIn0.I5eZ4fZiXdV4m262WxZpwnC6oYGMrTfqpjKurbQnPcE
zone17

Zone (room/Area) ID

Description

Get /api/growbeds/{growbed-Id}

Example: https://api.geia.ai/growbeds/{id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUxMDg4MDEyNiwiZXhwIjoxNTEwODg3MzI2LCJuYmYiOjE1MTA4ODAxMjYsImp0aSI6IjUzMGMyNWFjNjI2Y2ExNGViNTAwYmIyZDRmZmMzNTdiIn0.I5eZ4fZiXdV4m262WxZpwnC6oYGMrTfqpjKurbQnPcE

8.2 Climate 2

Description

GET /api/getClimatelist/{zone_id}

Example: https://api.geia.ai/getClimatelist/{zone_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
Description

GET /api/zonesclimate/{zoneclimate_id}

Example: https://api.geia.ai/zonesclimate/{zoneclimate_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo

8.3 Air 2

Description

GET /api/getAirlist/{air_id}

Example: https://api.geia.ai/api/getAirlist/{air_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwOTgxNDAzMiwiZXhwIjoxNTA5ODIxMjMyLCJuYmYiOjE1MDk4MTQwMzIsImp0aSI6ImRmY2E2OWY2ODI0YTVkZjUzZDhkNmI5MWVkZTBiZmEzIn0.T9pV1Xitj2ex6FcoEBxEWZ6V7_tejd_cnQybLz8XrIU
Description

GET /api/air/{air_id}

Example: https://api.geia.ai/air/{air_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwOTgxNDAzMiwiZXhwIjoxNTA5ODIxMjMyLCJuYmYiOjE1MDk4MTQwMzIsImp0aSI6ImRmY2E2OWY2ODI0YTVkZjUzZDhkNmI5MWVkZTBiZmEzIn0.T9pV1Xitj2ex6FcoEBxEWZ6V7_tejd_cnQybLz8XrIU

8.4 Light 3

Description

GET /api/getLightslist/{zone_id}

Example: https://api.geia.ai/getLightslist/{zone_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwOTgyMTI3NywiZXhwIjoxNTA5ODI4NDc3LCJuYmYiOjE1MDk4MjEyNzcsImp0aSI6IjFkMmJiZjE2ZTRmYjM4OGJlMzk2MGJlNTI5ZDcxMTcwIn0.lv6iHjIRaLGKhLUIQXA3KkQMb8bS1bmajpy80OwDobo
Description

GET /api/lights/{light_id}

Example: https://api.geia.ai/lights/{light_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwOTgyMTI3NywiZXhwIjoxNTA5ODI4NDc3LCJuYmYiOjE1MDk4MjEyNzcsImp0aSI6IjFkMmJiZjE2ZTRmYjM4OGJlMzk2MGJlNTI5ZDcxMTcwIn0.lv6iHjIRaLGKhLUIQXA3KkQMb8bS1bmajpy80OwDobo
Description

GET /api/GetAlllights

Example: https://api.geia.ai/GetAlllights

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwOTgyMTI3NywiZXhwIjoxNTA5ODI4NDc3LCJuYmYiOjE1MDk4MjEyNzcsImp0aSI6IjFkMmJiZjE2ZTRmYjM4OGJlMzk2MGJlNTI5ZDcxMTcwIn0.lv6iHjIRaLGKhLUIQXA3KkQMb8bS1bmajpy80OwDobo

8.5 Water 3

Description

GET /api/getWaterlist/{dashboard_id}

Example: https://api.geia.ai/getWaterlist/{dashboard_id}

*Tanks are no longer in dashboard without zone…

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUxMDY4NDA2MCwiZXhwIjoxNTEwNjkxMjYwLCJuYmYiOjE1MTA2ODQwNjAsImp0aSI6ImZiMjZmMjQ0MTNkODJjMmY1NGE0MTIzZTA4NDYxZmRhIn0.ve-WzdjHSQUjDPMUONeFc1hA4kRJz6cQcf6i6yIQ0oA
Description

GET /api/getWatersources/{dashboard_id}/{zone_id}

Example: https://api.geia.ai/getWatersources/{dashboard_id}/{zone_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUxMDY4NDA2MCwiZXhwIjoxNTEwNjkxMjYwLCJuYmYiOjE1MTA2ODQwNjAsImp0aSI6ImZiMjZmMjQ0MTNkODJjMmY1NGE0MTIzZTA4NDYxZmRhIn0.ve-WzdjHSQUjDPMUONeFc1hA4kRJz6cQcf6i6yIQ0oA
Description

GET /api/watersources/{watersource_id}

Example: https://api.geia.ai/watersources/{watersource_id}

This will get the details for water tank

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUxMDY4NDA2MCwiZXhwIjoxNTEwNjkxMjYwLCJuYmYiOjE1MTA2ODQwNjAsImp0aSI6ImZiMjZmMjQ0MTNkODJjMmY1NGE0MTIzZTA4NDYxZmRhIn0.ve-WzdjHSQUjDPMUONeFc1hA4kRJz6cQcf6i6yIQ0oA

8.5.6. Nutritions & Fertilisers 6

Add fertilizers or nutrition, track the usage, costs and currnt quantities available for each.

Its also possible to control & automate the dosaging of nutritions and inject fertilisers or any other to water tanks such as water reservuiars, ponds, aquariums, pool etc

Description

POST /api/waternutrition

Example: https://api.geia.ai/waternutrition

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUwODAyNjk2NywiZXhwIjoxNTA4MDM0MTY3LCJuYmYiOjE1MDgwMjY5NjcsImp0aSI6IjMwNzc0MWI3YTJmMGM4MjQwYmRmZjZhZjg2NjEzOWVjIn0.WW8dyPLt8sBQvFjveTFSR36LDkTfcfNcrWFsPXmLbwo
name
water_source_id
nut_type
capacity
Description

GET /api/waternutrition

Example: https://api.geia.ai/waternutrition

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUxMDc2MTEyMCwiZXhwIjoxNTEwNzY4MzIwLCJuYmYiOjE1MTA3NjExMjAsImp0aSI6IjAwN2UxYTI1ZTA3ZWE0MTU1MmYzMDBjMjc4ZDhlYzQxIn0.cbpL1h25kHynATtNINQqWh31NyvufuYwxsV5Tg4FiAE
dashboardID40
Description

GET /api/getWaternutrition/{water_id}

Example: https://api.geia.ai/getWaternutrition/{water_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
Description

GET /api/waternutrition/{waternutrition_id}

Example: https://api.geia.ai/waternutrition/{waternutrition_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
Description

GET /api/getWaternutritionlog/{waternutrition_id}

Example: https://api.geia.ai/getWaternutritionlog/{waternutrition_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
Description

GET /api/getwaterNutritionlog/{water_id}

Example: https://api.geia.ai/getwaterNutritionlog/{water_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo

8.6. Safety Triggers & Alerting 2

Define Alerts or Safety rules: This sections allows to trigger electrical devices and/or suspend automation work on list of selected electrical devices when a sensor has a certain value.

Optionally, Its possible to set only notification type and message when this alert is triggered.

Sample usage: Alert and stop watering if there is water leak

Description

GET /api/getSafetylist/{zone_id}

Example: https://api.geia.ai/getSafetylist/{zone_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2dyb3dhcHAyLnhsYWJzLnN5c3RlbXNcL2FwaVwvZ3Jvd1wvcHVibGljXC9hcGlcL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTA2NTk2NDczLCJleHAiOjE1MDY2MDM2NzMsIm5iZiI6MTUwNjU5NjQ3MywianRpIjoiYjk3YWUzMTgzNWEzNDA5N2Y0ZDhlZDhmZjc3ZWJkNjMifQ.1ZU3bziVfR0Tz_AFnxCU5ANAPlu9OvH7oYFvKvdfCKo
Description

GET /api/zonesafety/{zonesafety_id}

Example: https://api.geia.ai/zonesafety/{zonesafety_id}

Query
KeyValueDescription
tokeneyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpc3MiOiJodHRwOlwvXC9ncm93YXBwMi54bGFicy5zeXN0ZW1zXC9hcGlcL2dyb3dcL3B1YmxpY1wvYXBpXC9hdXRoXC9sb2dpbiIsImlhdCI6MTUxMDc2OTI3MCwiZXhwIjoxNTEwNzc2NDcwLCJuYmYiOjE1MTA3NjkyNzAsImp0aSI6IjI1ODIyNDJhNmExZGFhMDA5YzY3YjY1Y2IzZjU5YTI5In0.QLCk-xaz150oCCZcIJrUZv0HQFUjnRNAWKfXLGZYILU


Generated at 2024-05-28 12:50:24 by docgen