- This topic is empty.
-
AuthorPosts
-
September 2, 2021 at 5:02 am #896adminKeymaster
is there any way to extract information from a cloud database to display in HMI App. can it be REST connector? or maybe OPC-UA
I have a Service in http://www.initialstate.com to iot store data, is posible to fetch this trends and show in HMI App?
Thanks.
September 2, 2021 at 5:02 am #893adminKeymasterHello grzegorz914,
Quite some time ago you helped me creating a REST to do translate a DNSNAME using Google….that is working great.
I have a Sensibo Sky to control my AC. As you will see, i was able to simulate the CURL GET and get a Success 200What i need is to translate the curl into de HMI PAD interface to create the REST.
Some how im not providing the info correctly. Can you tell me which part of the GET should go into the different
fields?? I want to get the Humidity Field.Thank You as always
===================================================
#!/bin/bashcurl -X GET https://home.sensibo.com/api/v2/users/me/pods?
fields=*&apiKey={My_Key} -H “Authorization:
Basic {My_Authorization_String}==”
===================================================
{
“status”: “success”,
“result”: [{
“configGroup”: “stable”,
“macAddress”: “bc:dd:c2:11:f7:86”,
“isGeofenceOnExitEnabled”: false,
“features”: [“softShowPlus”],
“currentlyAvailableFirmwareVersion”: “SKY30044”,
“cleanFiltersNotificationEnabled”: false,
“connectionStatus”: {
“isAlive”: true,
“lastSeen”: {
“secondsAgo”: 73,
“time”: “2021-02-07T23:55:56.230588Z”
}
},
“filtersCleaning”: null,
“acState”: {
“on”: true,
“fanLevel”: “auto”,
“timestamp”: {
“secondsAgo”: 0,
“time”: “2021-02-07T23:57:10.180603Z”
},
“temperatureUnit”: “F”,
“targetTemperature”: 86,
“mode”: “cool”,
“swing”: “stopped”
},
“isOwner”: true,
“mainMeasurementsSensor”: null,
“motionSensors”: [],
“id”: “9TV3vG39”,
“firmwareVersion”: “SKY30044”,
“roomIsOccupied”: null,
“warrantyEligible”: “no”,
“motionConfig”: null,
“measurements”: {
“batteryVoltage”: null,
“temperature”: 24.7,
“humidity”: 89.0,
“time”: {
“secondsAgo”: 73,
“time”: “2021-02-07T23:55:56.230588Z”
},
“rssi”: -37,
“piezo”: [null, null],
“pm25”: 0
},
“isClimateReactGeofenceOnEnterEnabledForThisUser”: false,
“homekitSupported”: false,
“pureBoostConfig”: null,
“smartMode”: null,
“shouldShowFilterCleaningNotification”: false,
“location”: {
“latLon”: [18.3623166363707, -66.1984604224563],
“updateTime”: {
“secondsAgo”: 8732705,
“time”: “2020-10-29T22:12:05Z”
},
“features”: [],
“country”: “Puerto Rico”,
“occupancy”: “n/a”,
“createTime”: {
“secondsAgo”: 39132025,
“time”: “2019-11-13T01:56:45Z”
},
“address”: [“Calle Sauco”, ” Bayam\u00f3n”, ” Toa Alta 00957″],
“geofenceTriggerRadius”: 200,
“subscription”: null,
“id”: “i8scqLrFkP”,
“name”: “Home”
},
“sensorsCalibration”: {
“temperature”: 0.0,
“humidity”: 0.0
},
“tags”: [],
“productModel”: “skyv2”,
“isMotionGeofenceOnEnterEnabled”: false,
“lastHealthcheck”: null,
“temperatureUnit”: “F”,
“schedules”: [{
“nextTime”: “2021-02-08T11:00:00”,
“podUid”: “9TV3vG39”,
“recurringDays”: [“Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Sunday”],
“createTimeSecondsAgo”: 39130119,
“isEnabled”: true,
“createTime”: “2019-11-13T02:28:31”,
“acState”: {
“extra”: {
“scheduler”: {
“climate_react”: null,
“motion”: null,
“on”: true
}
},
“on”: true,
“fanLevel”: “auto”,
“temperatureUnit”: “F”,
“targetTemperature”: 83,
“mode”: “cool”
},
“targetTimeLocal”: “07:00”,
“timezone”: “America/Puerto_Rico”,
“nextTimeSecondsFromNow”: 39769,
“causedBy”: {
“username”: “ramonfardonk”,
“firstName”: “Ramon”,
“lastName”: “Fardonk”,
“email”: “ramon.fardonk@gmail.com”
},
“id”: “JthHxezn9K”
}, {
“nextTime”: “2021-02-08T00:00:00”,
“podUid”: “9TV3vG39”,
“recurringDays”: [“Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Sunday”],
“createTimeSecondsAgo”: 39129922,
“isEnabled”: true,
“createTime”: “2019-11-13T02:31:48”,
“acState”: {
“on”: false,
“fanLevel”: “low”,
“temperatureUnit”: “F”,
“targetTemperature”: 68,
“mode”: “cool”
},
“targetTimeLocal”: “20:00”,
“timezone”: “America/Puerto_Rico”,
“nextTimeSecondsFromNow”: 169,
“causedBy”: {
“username”: “ramonfardonk”,
“firstName”: “Ramon”,
“lastName”: “Fardonk”,
“email”: “ramon.fardonk@gmail.com”
},
“id”: “hb4MEFvMLy”
}, {
“nextTime”: “2021-02-08T18:00:00”,
“podUid”: “9TV3vG39”,
“recurringDays”: [“Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”, “Sunday”],
“createTimeSecondsAgo”: 23419868,
“isEnabled”: true,
“createTime”: “2020-05-12T22:26:02”,
“acState”: {
“extra”: {
“scheduler”: {
“climate_react”: null,
“motion”: null,
“on”: true
}
},
“on”: true,
“fanLevel”: “auto”,
“temperatureUnit”: “F”,
“targetTemperature”: 86,
“mode”: “cool”
},
“targetTimeLocal”: “14:00”,
“timezone”: “America/Puerto_Rico”,
“nextTimeSecondsFromNow”: 64969,
“causedBy”: {
“username”: “ramonfardonk”,
“firstName”: “Ramon”,
“lastName”: “Fardonk”,
“email”: “ramon.fardonk@gmail.com”
},
“id”: “vagdWvqrX3”
}],
“isClimateReactGeofenceOnExitEnabled”: false,
“remoteCapabilities”: {
“modes”: {
“dry”: {
“temperatures”: {},
“swing”: [“stopped”, “rangeFull”]
},
“heat”: {
“swing”: [“stopped”, “rangeFull”],
“temperatures”: {
“C”: {
“isNative”: false,
“values”: [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30]
},
“F”: {
“isNative”: true,
“values”: [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86]
}
},
“fanLevels”: [“low”, “medium”, “high”, “auto”]
},
“fan”: {
“swing”: [“stopped”, “rangeFull”],
“temperatures”: {},
“fanLevels”: [“low”, “medium”, “high”]
},
“cool”: {
“swing”: [“stopped”, “rangeFull”],
“temperatures”: {
“C”: {
“isNative”: false,
“values”: [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30]
},
“F”: {
“isNative”: true,
“values”: [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86]
}
},
“fanLevels”: [“low”, “medium”, “high”, “auto”]
}
}
},
“serial”: “181902459”,
“accessPoint”: {
“password”: null,
“ssid”: “SENSIBO-I-41990”
},
“remote”: {
“window”: false,
“toggle”: true
},
“room”: {
“icon”: “Lounge”,
“uid”: “bWZzD3dV”,
“name”: “Solar Room”
},
“qrId”: “ACQHHDQUWB”,
“firmwareType”: “esp8266ex”,
“timer”: null,
“remoteFlavor”: “Swimming Grasshopper”,
“isGeofenceOnEnterEnabledForThisUser”: false,
“isMotionGeofenceOnExitEnabled”: false,
“remoteAlternatives”: [“_hisense1fb”, “_whirlpool1f2”, “_whirlpool1f”]
}]
} -
AuthorPosts
- You must be logged in to reply to this topic.