{
"id": "optional-user-generated-id",
"message": "indigo.thermostat.decreaseHeatSetpoint",
"objectId": 123456789,
"parameters": {
"value": 2
}
}
{
"id": "optional-user-generated-id",
"message": "indigo.thermostat.increaseHeatSetpoint",
"objectId": 123456789,
"parameters": {
"value": 2
}
}
{"id":"- no message id -","validationErrors":{"value":"invalid parameter key"},"error":"invalid command payload received, id: '- no message id -'"}
b = u"Die neue Temperatur ist nun {:03.1f} ºC.".format(tempGaestehaus)
dev = indigo.devices[216829489] # "Temperatursensor Gästehaus"]
tempGaestehaus = (indigo.devices[216829489].states['sensorValue']-32)*5/9
indigo.variable.updateValue(114942988,u"{:03.1f}".format(tempGaestehaus))
a = u"merckens@gmx.de;maximilian@familie-merckens.de"
s = u"Änderung der Temperatur"
b = u"Die neue Temperatur ist nun "+ u"{:03.1f}".format(tempGaestehaus) + "ºC."
indigo.server.sendEmailTo(a, subject=s, body=b)
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-X POST \
-d '{ "query": "{viewer {homes {consumption(resolution: HOURLY, last: 1) {nodes {from to totalCost unitCost unitPrice unitPriceVAT consumption consumptionUnit }} meteringPointData {estimatedAnnualConsumption } currentSubscription {priceInfo {current {total energy tax startsAt }}}}}}" }'
curl \
-H "Authorization: Bearer d1007ead2dc84a2b82f0de19451c5fb22112f7ae11d19bf2bedb224a003ff74a" \
-H "Content-Type: application/json" \
-X POST \
-d 'mutation{ sendMeterReading(input:{homeId:"some home id", reading: 123}){time reading }}'
-d '{ "query": "{viewer {homes {LiveMeasurement {power }}}}" }'
-d '{ "query": "{viewer {homes {consumption(resolution: HOURLY, last: 1) {nodes {from to totalCost unitCost unitPrice unitPriceVAT consumption consumptionUnit }} meteringPointData {estimatedAnnualConsumption } currentSubscription {priceInfo {current {total energy tax startsAt }}}}}}" }'
-H "Authorization: Bearer d1007ead2dc84a2b82f0de19451c5fb22112f7ae11d19bf2bedb224a003ff74a" \
-H "Content-Type: application/json" \
-X POST \
-d '{ "query": "{viewer {homes {consumption(resolution: HOURLY, last: 1) {nodes {from to totalCost unitCost unitPrice unitPriceVAT consumption consumptionUnit }} meteringPointData {estimatedAnnualConsumption } currentSubscription {priceInfo {current {total energy tax startsAt }}}}}}" }'
eme jota ce wrote:What about people with signatures that show multiple time zones?
eme jota ce wrote:
What about people with signatures that show multiple time zones?