As important as smart locks have been to vacation rental, smart thermostats may play an even more important role in helping hosts manage the operational expenses of a short-term rental business.
Depending on where the property is located in the world, heating or cooling unoccupied units can result in significant costs and cut substantially into rental revenue. In many cases, hosts are left to rely on their cleaning service crews to help manage temperatures in-between reservations. This is unreliable and doesn't account for the scenarios where pre-cooling/heating a unit just before a guest arrives would deliver the best guest experience.
If you run a property management company or short-term rental business, switching out your old thermostat for an ecobee smart thermostat can yield significant benefits to your bottom line... but only if you can take advantage of its most useful features.
If you are a developer, keep reading. If you prefer to talk to someone about your business needs, click the button below or follow this link to schedule a half-hour discovery call.
To take full advantage of the benefits of smart thermostats, you’ll need to be able to integrate with them. Yonomi makes this process easy by providing a GraphQL-based API to perform the most important smart thermostat functions with ecobee smart thermostats. Using Yonomi's API you can automatically manage ecobee smart thermostat settings for all your rental units, including:
query getAllIntegrations { |
Click the Play button and select getAllIntegrations from the dropdown that appears under the button to execute the GraphQL query. The response is a list of details for all available integrations on the Yonomi Platform, including the ecobee integrationID which we'll use in the next step.
If you received an error, please be sure you either deleted or renamed the existing anonymous query.
mutation generateAccountLinkingUrl ($integrationId: ID!) { |
Notice this mutation uses a query variable called integrationId that we’ll need to populate. Scroll down to the Query Variables area at the bottom of the Editor window area. You may need to grab and drag the Query variable pane up to access it. Once accessible, paste the following:
{ |
Copy the integrationID of the ecobee Integration object from the previous call and paste it as the value of the integrationId
variable, replacing the existing value (replaceWithEcobeeIntegrationID
):
Click the Play button and select the generateAccountLinkingUrl mutation to run that call. The response will be a payload that includes a long URL – this is the Account Linking URL for an ecobee account.
query getMyDevices { |
Notice the Device ID (id) in the response – we’ll need to use this for the next step. You’ll find the device ID as the first id
variable under each node object in the response (per the GraphQL query above).
mutation makeSetThermostatModeRequest ($deviceId: ID!) { |
Next, copy the thermostat's DeviceID from the getMyDevices query response in the previous step. Open the Query Variables pop-up window and add the following variable, replacing replaceWithDeviceID with your copied DeviceID:
"deviceId": "replaceWithDeviceID"
|
Be sure to include commas between variable definitions.
Click the play button and select the makeModeChangeRequest request from the list to execute it. Your thermostat should change from current mode to Off mode. To change the thermostat to Cool or Heat mode, simply change the mode variable of the makeModeChangeRequest mutation from OFF to COOL or HEAT.
Congratulations - you've just controlled your ecobee smart thermostat via API using Yonomi Platform - and hopefully, it was easier than you expected. :)
Yonomi’s API provides support not only for ecobee Smart Thermostats but for many other smart home devices, including Honeywell thermostats, Schlage Locks, TP-Link and Philips lights, and much more.
To dig into the API to learn how to obtain thermostat state and change temperature browse to our developer site at https://developers.yonomi.com.
Want to speak to a human? Follow this link to schedule a half-hour strategy session. We'd like to understand your business needs and see how we can support you.