QueryAPI Trends Example

 
Hinweis

Please note, that this document is purely meant for exemplary purposes and the data and structure on your own myGEKKO controller may look different, depending on your own settings and configurations. To access the discovery Input of your own controller please refer to the QueryAPI manual: Abfrage der verfügbaren Trends

{ 
	"globals":	{ 
		"meteo":	{ 
			"trend0":	{ 
				"description":	"Outside", 
				"type":	"REAL[]", 
				"permission":	"READ", 
				"unit":	"°C", 
				"samplerate":	900 
			} 
		} 
	}, 
	"blinds":	{ 
		"item0":	{ 
			"name":	"Blinds", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Position", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"%", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"vents":	{ 
		"item0":	{ 
			"name":	"Ventilation", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Level", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"%", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"loads":	{ 
		"item0":	{ 
			"name":	"Deep Fryer", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Temperatur", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"°C", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"roomtemps":	{ 
		"item0":	{ 
			"name":	"Living Room", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Temp", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"°C", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"heatingcircuits":	{ 
		"item0":	{ 
			"name":	"Heating circuits 1", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Mischer", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"%", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"heatingsystems":	{ 
		"item0":	{ 
			"name":	"Heating system", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"destination", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"°C", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"hotwater_systems":	{ 
		"item0":	{ 
			"name":	"Hot water", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"destination", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"°C", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"stoves":	{ 
		"item0":	{ 
			"name":	"Fire Place", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Ventilation", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"%", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"energycosts":	{ 
		"item0":	{ 
			"name":	"PV production", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Power", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"kW", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"controlcircuits":	{ 
		"item0":	{ 
			"name":	"Heating rod control", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Grid feed", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"kW", 
					"samplerate":	900 
				} 
		} 
	}, 
	"air_handling_unit":	{ 
		"item0":	{ 
			"name":	"AC", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"AC", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"10%", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"saunas":	{ 
		"item0":	{ 
			"name":	"Sauna", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"On", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"pools":	{ 
		"item0":	{ 
			"name":	"Pool", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Chlorine", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"mg/hl", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"energymanager":	{ 
		"item0":	{ 
			"name":	"Energy manager", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Max", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"kW", 
					"samplerate":	900 
				} 
			} 
		} 
	}, 
	"trends":	{ 
		"item0":	{ 
			"name":	"Temperatures", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Air Input", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"", 
					"samplerate":	300 
				} 
			} 
		} 
	}, 
	"emobils":	{ 
		"item0":	{ 
			"name":	"Charging station", 
			"trends":	{ 
				"trend0":	{ 
					"description":	"Sum", 
					"type":	"REAL[]", 
					"permission":	"READ", 
					"unit":	"kWh", 
					"samplerate":	900 
				} 
			} 
		} 
	} 
}