New Plugin - Flair Smart Vents

User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

New Plugin - Flair Smart Vents

Post by FlyingDiver »

I've started working on a plugin for Flair devices - https://flair.co

If anyone is using these devices and would be willing to help test things I the plugin progresses, please let me know. I need someone else to test the initial authentication as soon as possible, to make sure that the method I'm using works for all users, and not just on my account (which is tied to the developer agreement).
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
SSteve
Posts: 89
Joined: Wed Sep 12, 2012 7:12 pm
Location: Sierra Foothills, California
Contact:

Re: New Plugin - Flair Smart Vents

Post by SSteve »

I'm using the thermostat pucks, not the smart vents, but if it's helpful I can try to do some testing.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

SSteve wrote:I'm using the thermostat pucks, not the smart vents, but if it's helpful I can try to do some testing.
As long as you have a Flair login, that should work. I'll post something this weekend.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

Pre-release 0.0.0 - https://github.com/FlyingDiver/Indigo-F ... /tag/0.0.0

Create an account device with username and password. If you have vents, create vent devices.

Use the menu command to dump the Flair data to the log.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
SSteve
Posts: 89
Joined: Wed Sep 12, 2012 7:12 pm
Location: Sierra Foothills, California
Contact:

Re: New Plugin - Flair Smart Vents

Post by SSteve »

The account device seems to be working. Here's the log output.

Code: Select all

   Flair                           Flair account (233791916): Data:
{
    "7638": {
        "attributes": {
            "active-schedule-id": null,
            "city": redacted,
            "country": "US",
            "created-at": "2019-01-18T22:13:55.270925+00:00",
            "default-hold-duration": "3h",
            "frozen-pipe-pet-protect": true,
            "hold-reason": null,
            "hold-until": null,
            "hold-until-schedule-event": false,
            "home": true,
            "home-away-mode": "Flair Autohome Autoaway",
            "humidity-away-max": 80,
            "humidity-away-min": 10,
            "hysteresis-a": 50,
            "hysteresis-b": 100,
            "hysteresis-heat-cool-mode": 111,
            "is-active": true,
            "latitude": redacted,
            "licensed-features": [],
            "location": redacted,
            "location-type": "address",
            "longitude": redacted,
            "mode": "manual",
            "name": "Our Place in the Sun",
            "preheat-precool": true,
            "puck-client-id": redacted,
            "puck-client-secret": redacted,
            "release-channel": "production",
            "reporting-gateway": true,
            "set-point-mode": "Home Evenness For Active Rooms Follow Third Party",
            "set-point-temperature-c": 17.78,
            "setup-complete": true,
            "setup-mode": false,
            "setup-mode-first-time": true,
            "setup-step": "step-five",
            "state": "CA",
            "state-updated-at": "2020-01-05T20:16:39.026684+00:00",
            "structure-away-mode": "Off Only",
            "structure-heat-cool-mode": "float",
            "structure-heat-cool-mode-calculated": null,
            "structure-heat-cool-mode-popup-resolved-at": null,
            "structure-type": null,
            "temp-away-max-c": 25.0,
            "temp-away-min-c": 16.6,
            "temperature-scale": "F",
            "time-zone": "America/Los_Angeles",
            "updated-at": "2020-01-05T20:16:39.225957+00:00",
            "use-remote-sensor-occupancy": null,
            "zip-code": redacted
        },
        "pucks": {
            "bd921f58-5b5c-5d96-fbf2-7f8059fa3338": {
                "beacon-interval-ms": 4095,
                "bluetooth-tx-power-mw": 500,
                "created-at": "2019-01-24T06:12:46.262792+00:00",
                "current-humidity": 57.9166666666667,
                "current-rssi": -82.0,
                "current-temperature-c": 18.3116666666667,
                "demo-mode": 0,
                "display-number": "bd92",
                "drop-rate": 1.02708333333333,
                "features": null,
                "humidity-offset": null,
                "inactive": false,
                "ir-download": false,
                "ir-setup-enabled": null,
                "is-gateway": false,
                "locked": null,
                "name": "Bedroom-bd92",
                "oauth-app-assigned-at": null,
                "orientation": "standing",
                "puck-display-color": "white",
                "reporting-interval-ds": 255,
                "sub-ghz-radio-tx-power-mw": null,
                "temperature-offset-c": null,
                "temperature-offset-override-c": null,
                "updated-at": "2020-01-04T20:08:02.655700+00:00"
            },
            "e6328d39-83fd-56b6-6cd9-34a96a5e967d": {
                "beacon-interval-ms": 4095,
                "bluetooth-tx-power-mw": 500,
                "created-at": "2019-01-24T06:11:23.277207+00:00",
                "current-humidity": 51.0,
                "current-rssi": 0.0,
                "current-temperature-c": 19.1675,
                "demo-mode": 0,
                "display-number": "e632",
                "drop-rate": 1.03416666666667,
                "features": null,
                "humidity-offset": null,
                "inactive": false,
                "ir-download": false,
                "ir-setup-enabled": null,
                "is-gateway": true,
                "locked": null,
                "name": "Living Room-e632",
                "oauth-app-assigned-at": null,
                "orientation": "standing",
                "puck-display-color": "white",
                "reporting-interval-ds": 255,
                "sub-ghz-radio-tx-power-mw": null,
                "temperature-offset-c": null,
                "temperature-offset-override-c": null,
                "updated-at": "2020-01-05T00:40:40.109129+00:00"
            }
        },
        "rooms": {
            "9267": {
                "active": true,
                "air-return": false,
                "created-at": "2019-01-24T06:02:33.559949+00:00",
                "current-humidity": 51.0,
                "current-temperature-c": 19.1675,
                "frozen-pipe-pet-protect": true,
                "hold-reason": null,
                "hold-until": null,
                "hold-until-schedule-event": null,
                "humidity-away-max": 80,
                "humidity-away-min": 10,
                "level": null,
                "name": "Living Room",
                "occupancy-mode": "Flair Auto",
                "preheat-precool": true,
                "pucks-inactive": "Active",
                "room-away-mode": "Smart Away",
                "room-type": null,
                "set-point-c": 20.01,
                "set-point-manual": false,
                "state-updated-at": "2019-12-02T13:41:06.219738+00:00",
                "temp-away-max-c": 22.5,
                "temp-away-min-c": 16.0,
                "updated-at": "2019-12-02T13:41:06.223472+00:00",
                "windows": null
            },
            "9268": {
                "active": true,
                "air-return": false,
                "created-at": "2019-01-24T06:14:45.464153+00:00",
                "current-humidity": 57.916666666666664,
                "current-temperature-c": 18.3116666666667,
                "frozen-pipe-pet-protect": true,
                "hold-reason": null,
                "hold-until": null,
                "hold-until-schedule-event": null,
                "humidity-away-max": 80,
                "humidity-away-min": 10,
                "level": null,
                "name": "Bedroom",
                "occupancy-mode": "Flair Auto",
                "preheat-precool": true,
                "pucks-inactive": "Active",
                "room-away-mode": "Smart Away",
                "room-type": null,
                "set-point-c": 20.01,
                "set-point-manual": false,
                "state-updated-at": "2019-12-02T13:41:11.513290+00:00",
                "temp-away-max-c": 22.5,
                "temp-away-min-c": 16.0,
                "updated-at": "2019-12-02T13:41:11.519032+00:00",
                "windows": null
            }
        },
        "thermostats": {},
        "vents": {},
        "zones": {
            "37414": {
                "created-at": "2019-01-18T22:14:25.517121+00:00",
                "name": "Dining Room",
                "updated-at": "2019-10-02T13:05:55.264200+00:00"
            },
            "37778": {
                "created-at": "2019-01-27T18:02:06.227813+00:00",
                "name": "Bedroom",
                "updated-at": "2019-10-02T13:05:55.498480+00:00"
            }
        }
    }
}
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

Excellent. Now, what do you want the plugin to do for your setup? You have no vents to control, which is my use case. I'm thinking a pseudo-thermostat device which shows temperature and humidity?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
SSteve
Posts: 89
Joined: Wed Sep 12, 2012 7:12 pm
Location: Sierra Foothills, California
Contact:

Re: New Plugin - Flair Smart Vents

Post by SSteve »

Being able to manually turn the power on/off and set the temperature would be a great start.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

Right now I'm going to be limited to showing status. The API calls to change a device don't seem to be working. I've got to open a ticket with Flair.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

I'm working on adding minimal support for the mini splits. I forgot to put that into the first release, and I don't have any so I'm doing this just based on the API docs. I'll have that for you to try tomorrow, I think. Still status only until Flair gets back to me.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

Pre-release 0.0.1 - https://github.com/FlyingDiver/Indigo-F ... /tag/0.0.1

If you have mini-split HVAC units controlled by Flair, please install this version and post the Data. Also, please advise on whether

This version does have a Thermostat device for the mini-split, but it's not operational yet. I've done two Thermostat devices before (Ecobee and Nexia), but those are traditional ducted units, not mini-splits. The API that Flair uses is confusing. In manual mode, it only has one set point. In automatic mode, the set points are for the room, not the HVAC unit. So I'm not really sure how to model it in Indigo.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
SSteve
Posts: 89
Joined: Wed Sep 12, 2012 7:12 pm
Location: Sierra Foothills, California
Contact:

Re: New Plugin - Flair Smart Vents

Post by SSteve »

I'm going to be away for a few days. I'll give it a try when I get back.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

SSteve wrote:I'm going to be away for a few days. I'll give it a try when I get back.
So will I. Leaving this afternoon, should be back Saturday.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
SSteve
Posts: 89
Joined: Wed Sep 12, 2012 7:12 pm
Location: Sierra Foothills, California
Contact:

Re: New Plugin - Flair Smart Vents

Post by SSteve »

Installed 0.0.1. Here's the data:

Code: Select all

      "FAN AUTO": [
                                    "25"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            }
                        },
                        "COOL": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN HI": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN LOW": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN MID": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN HI": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN LOW": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN MID": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ]
                            }
                        },
                        "DRY": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            }
                        },
                        "FAN": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            }
                        },
                        "HEAT": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25",
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN HI": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN LOW": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN MID": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN HI": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN LOW": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN MID": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ]
                            }
                        }
                    }
                },
                "default-fan-speed": "AUTO",
                "fan-speed": "Auto",
                "incremental": false,
                "ir-device-model-id": null,
                "make-id": "3f6b4204-b4e8-4f41-89e4-7ae7950a57b8",
                "make-name": "FUJITSU",
                "mode": "Heat",
                "model-id": "0790ffdd-adf7-4e9a-b0ab-35ce28fa4206",
                "name": "Dining Room",
                "power": "Off",
                "quiet-hours-end": "07:30:00",
                "quiet-hours-start": "23:00:00",
                "swing": "On",
                "swing-auto": true,
                "temperature": 20,
                "temperature-compensation": "FLAIR NUDGE",
                "to-download": false,
                "type": "MiniSplit"
            },
            "e0a094db-cc5a-4f8e-9810-08096a774a82": {
                "-temperature-compensation-limit-c": 300,
                "button-presses": [],
                "capabilities": "Both",
                "codeset-id": "821",
                "codesets": [
                    {
                        "capabilities": "Both",
                        "codeset-id": "821",
                        "id": 3,
                        "rank": 2
                    }
                ],
                "constraints": {
                    "OFF": {
                        "COOL": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            }
                        }
                    },
                    "ON": {
                        "AUTO": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            }
                        },
                        "COOL": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN HI": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN LOW": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN MID": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN HI": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN LOW": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN MID": [
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ]
                            }
                        },
                        "DRY": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            }
                        },
                        "FAN": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            }
                        },
                        "HEAT": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25",
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN HI": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN LOW": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN MID": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN HI": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN LOW": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ],
                                "FAN MID": [
                                    "16",
                                    "17",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "25",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
                                ]
                            }
                        }
                    }
                },
                "default-fan-speed": "AUTO",
                "fan-speed": "Auto",
                "incremental": false,
                "ir-device-model-id": null,
                "make-id": "3f6b4204-b4e8-4f41-89e4-7ae7950a57b8",
                "make-name": "FUJITSU",
                "mode": "Heat",
                "model-id": "0790ffdd-adf7-4e9a-b0ab-35ce28fa4206",
                "name": "Bedroom",
                "power": "On",
                "quiet-hours-end": "07:30:00",
                "quiet-hours-start": "23:00:00",
                "swing": "On",
                "swing-auto": true,
                "temperature": 19,
                "temperature-compensation": "FLAIR NUDGE",
                "to-download": false,
                "type": "MiniSplit"
            }
        },
        "pucks": {
            "bd921f58-5b5c-5d96-fbf2-7f8059fa3338": {
                "beacon-interval-ms": 4095,
                "bluetooth-tx-power-mw": 500,
                "created-at": "2019-01-24T06:12:46.262792+00:00",
                "current-humidity": 50.1666666666667,
                "current-rssi": -77.3333333333333,
                "current-temperature-c": 19.4975,
                "demo-mode": 0,
                "display-number": "bd92",
                "drop-rate": 1.02708333333333,
                "features": null,
                "humidity-offset": null,
                "inactive": false,
                "ir-download": false,
                "ir-setup-enabled": null,
                "is-gateway": false,
                "locked": null,
                "name": "Bedroom-bd92",
                "oauth-app-assigned-at": null,
                "orientation": "standing",
                "puck-display-color": "white",
                "reporting-interval-ds": 255,
                "sub-ghz-radio-tx-power-mw": null,
                "temperature-offset-c": null,
                "temperature-offset-override-c": null,
                "updated-at": "2020-01-16T14:31:27.361770+00:00"
            },
            "e6328d39-83fd-56b6-6cd9-34a96a5e967d": {
                "beacon-interval-ms": 4095,
                "bluetooth-tx-power-mw": 500,
                "created-at": "2019-01-24T06:11:23.277207+00:00",
                "current-humidity": 50.0,
                "current-rssi": 0.0,
                "current-temperature-c": 18.6125,
                "demo-mode": 0,
                "display-number": "e632",
                "drop-rate": 1.03416666666667,
                "features": null,
                "humidity-offset": null,
                "inactive": false,
                "ir-download": false,
                "ir-setup-enabled": null,
                "is-gateway": true,
                "locked": null,
                "name": "Living Room-e632",
                "oauth-app-assigned-at": null,
                "orientation": "standing",
                "puck-display-color": "white",
                "reporting-interval-ds": 255,
                "sub-ghz-radio-tx-power-mw": null,
                "temperature-offset-c": null,
                "temperature-offset-override-c": null,
                "updated-at": "2020-01-12T05:49:39.668690+00:00"
            }
        },
        "rooms": {
            "9267": {
                "active": true,
                "air-return": false,
                "created-at": "2019-01-24T06:02:33.559949+00:00",
                "current-humidity": 50.0,
                "current-temperature-c": 18.6125,
                "frozen-pipe-pet-protect": true,
                "hold-reason": null,
                "hold-until": null,
                "hold-until-schedule-event": false,
                "humidity-away-max": 80,
                "humidity-away-min": 10,
                "level": null,
                "name": "Living Room",
                "occupancy-mode": "Flair Auto",
                "preheat-precool": true,
                "pucks-inactive": "Active",
                "room-away-mode": "Smart Away",
                "room-type": null,
                "set-point-c": 20.01,
                "set-point-manual": false,
                "state-updated-at": "2020-01-11T14:48:19.993046+00:00",
                "temp-away-max-c": 22.5,
                "temp-away-min-c": 16.0,
                "updated-at": "2020-01-11T14:48:19.998585+00:00",
                "windows": null
            },
            "9268": {
                "active": true,
                "air-return": false,
                "created-at": "2019-01-24T06:14:45.464153+00:00",
                "current-humidity": 50.166666666666664,
                "current-temperature-c": 19.4975,
                "frozen-pipe-pet-protect": true,
                "hold-reason": null,
                "hold-until": null,
                "hold-until-schedule-event": false,
                "humidity-away-max": 80,
                "humidity-away-min": 10,
                "level": null,
                "name": "Bedroom",
                "occupancy-mode": "Flair Auto",
                "preheat-precool": true,
                "pucks-inactive": "Active",
                "room-away-mode": "Smart Away",
                "room-type": null,
                "set-point-c": 18.9,
                "set-point-manual": false,
                "state-updated-at": "2020-01-16T14:27:40.861928+00:00",
                "temp-away-max-c": 22.5,
                "temp-away-min-c": 16.0,
                "updated-at": "2020-01-16T14:27:40.867132+00:00",
                "windows": null
            }
        },
        "structure": {
            "active-schedule-id": null,
            "city": "redacted",
            "country": "US",
            "created-at": "2019-01-18T22:13:55.270925+00:00",
            "default-hold-duration": "3h",
            "frozen-pipe-pet-protect": true,
            "hold-reason": "geofence",
            "hold-until": null,
            "hold-until-schedule-event": false,
            "home": true,
            "home-away-mode": "Flair Autohome Autoaway",
            "humidity-away-max": 80,
            "humidity-away-min": 10,
            "hysteresis-a": 50,
            "hysteresis-b": 100,
            "hysteresis-heat-cool-mode": 111,
            "is-active": true,
            "latitude": redacted,
            "licensed-features": [],
            "location": "redacted.",
            "location-type": "address",
            "longitude": redacted,
            "mode": "manual",
            "name": "Our Place in the Sun",
            "preheat-precool": true,
            "puck-client-id": "8b1evO3eopxAk9vGrXjyYWzny6920Rjk5XjzT6oO",
            "puck-client-secret": "PExuvkRhYXZsQqDNxLzolUOpQutTeK0fOP2pEOzXbggBixylhUc7x3ZVgVGr",
            "release-channel": "production",
            "reporting-gateway": true,
            "set-point-mode": "Home Evenness For Active Rooms Follow Third Party",
            "set-point-temperature-c": 17.78,
            "setup-complete": true,
            "setup-mode": false,
            "setup-mode-first-time": true,
            "setup-step": "step-five",
            "state": "CA",
            "state-updated-at": "2020-01-16T20:02:56.960524+00:00",
            "structure-away-mode": "Off Only",
            "structure-heat-cool-mode": "float",
            "structure-heat-cool-mode-calculated": null,
            "structure-heat-cool-mode-popup-resolved-at": null,
            "structure-type": null,
            "temp-away-max-c": 25.0,
            "temp-away-min-c": 16.6,
            "temperature-scale": "F",
            "time-zone": "America/Los_Angeles",
            "updated-at": "2020-01-16T20:02:57.165850+00:00",
            "use-remote-sensor-occupancy": null,
            "zip-code": "redacted"
        },
        "thermostats": {},
        "vents": {}
    }
}
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: New Plugin - Flair Smart Vents

Post by FlyingDiver »

Did you miss the beginning of that data? Looks like the first lines are missing.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
SSteve
Posts: 89
Joined: Wed Sep 12, 2012 7:12 pm
Location: Sierra Foothills, California
Contact:

Re: New Plugin - Flair Smart Vents

Post by SSteve »

I think something got written to the log after I selected but before I hit Copy. There was some extra stuff at the end after I pasted. I didn't think to look at the beginning to see if the same number of characters got lopped off. Anyway, here's the first bit:

Code: Select all

   Flair                           Flair account (233791916): Data:
{
    "7638": {
        "hvac-units": {
            "3ef8ce07-0603-4fe9-88ab-a8e8ed05b3a6": {
                "-temperature-compensation-limit-c": 300,
                "button-presses": [],
                "capabilities": "Both",
                "codeset-id": "821",
                "codesets": [
                    {
                        "capabilities": "Both",
                        "codeset-id": "821",
                        "id": 3,
                        "rank": 2
                    }
                ],
                "constraints": {
                    "OFF": {
                        "COOL": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            }
                        }
                    },
                    "ON": {
                        "AUTO": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            },
                            "ON": {
                                "FAN AUTO": [
                                    "25"
                                ]
                            }
                        },
                        "COOL": {
                            "OFF": {
                                "FAN AUTO": [
                                    "25",
                                    "18",
                                    "19",
                                    "20",
                                    "21",
                                    "22",
                                    "23",
                                    "24",
                                    "26",
                                    "27",
                                    "28",
                                    "29",
                                    "30"
Locked

Return to “Discontinued Plugins”