Classes | |
| class | Bridge |
| class | ColourDevice |
| class | Device |
| class | DeviceListEnumerator |
| class | DimmableDevice |
| class | OnOffDevice |
| struct | Stats |
| struct | User |
| Information about user. More... | |
Typedefs | |
| using | UserMap = HashMap< String, User > |
| List of users, key is user name. More... | |
| using | DeviceList = Vector< Device > |
Enumerations | |
| enum | Model { Model::LWB004, Model::LWB007 } |
| enum | Error { Error::XX } |
| enum | Status { Status::success, Status::pending, Status::error } |
Status of a setAttribute request. More... | |
Functions | |
| String | toString (Error error) |
| JsonObject | createSuccess (JsonDocument &result) |
| JsonObject | createError (JsonDocument &result, const String &path, Error error, String description) |
| String | toString (Device::Attribute attr) |
| String | toString (Device::Attributes attr) |
| bool | fromString (const char *tag, Device::Attribute &attr) |
| String | toString (Device::ColorMode mode) |
Detailed Description
Copyright 2019 mikee47 mike@sillyhouse.net
This file is part of the HueEmulator Library
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.
Copyright 2019 mikee47 mike@sillyhouse.net
This file is part of the HueEmulator Library
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.
Copyright 2019 mikee47 mike@sillyhouse.net
This file is part of the HueEmulator Library
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.
Copyright 2019 mikee47 mike@sillyhouse.net
This file is part of the HueEmulator Library
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.
Copyright 2019 mikee47 mike@sillyhouse.net
This file is part of the HueEmulator Library
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.
Stats.h - Maintain useful statistics for actions performed by a Hue Bridge
Copyright 2019 mikee47 mike@sillyhouse.net
This file is part of the HueEmulator Library
This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.
Typedef Documentation
◆ DeviceList
| using Hue::DeviceList = typedef Vector<Device> |
◆ UserMap
| using Hue::UserMap = typedef HashMap<String, User> |
List of users, key is user name.
Enumeration Type Documentation
◆ Error
|
strong |
◆ Model
|
strong |
◆ Status
|
strong |
Status of a setAttribute request.
Function Documentation
◆ createError()
| JsonObject Hue::createError | ( | JsonDocument & | result, |
| const String & | path, | ||
| Error | error, | ||
| String | description | ||
| ) |
◆ createSuccess()
| JsonObject Hue::createSuccess | ( | JsonDocument & | result | ) |
◆ fromString()
| bool Hue::fromString | ( | const char * | tag, |
| Device::Attribute & | attr | ||
| ) |
◆ toString() [1/4]
◆ toString() [2/4]
| String Hue::toString | ( | Device::Attribute | attr | ) |
◆ toString() [3/4]
| String Hue::toString | ( | Device::Attributes | attr | ) |
◆ toString() [4/4]
| String Hue::toString | ( | Device::ColorMode | mode | ) |
1.8.13