diff --git a/COPYING b/COPYING new file mode 120000 index 0000000..2eac441 --- /dev/null +++ b/COPYING @@ -0,0 +1 @@ +LICENSE.GPL3 \ No newline at end of file diff --git a/COPYING.LESSER b/COPYING.LESSER new file mode 120000 index 0000000..dc71033 --- /dev/null +++ b/COPYING.LESSER @@ -0,0 +1 @@ +LICENSE.LGPL3 \ No newline at end of file diff --git a/README.md b/README.md index e35ccef..4900a19 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ -Repository for the nymea energy experience plugin. +# nymea-experience-plugin-energy +This repository contains the nymea experience plugin that exposes +energy-related functionality to nymea. It provides the manager +implementation, JSON APIs and helper utilities used by the nymea +runtime to collect, log and expose energy data. + +Alongside the plugin, the repository ships the reusable `libnymea-energy` +library that provides the abstract energy manager interfaces and helper +types for external plugins. + +## License + +The nymea experience plugin sources are licensed under the terms of the +GNU General Public License version 3 or (at your option) any later +version. The shared `libnymea-energy` library is licensed under the GNU +Lesser General Public License version 3 or (at your option) any later +version. Refer to the included `LICENSE.GPL3`, `LICENSE.LGPL3` and the +SPDX headers inside the source files for the complete text. diff --git a/debian-qt5/control b/debian-qt5/control index a26e900..a928cb6 100644 --- a/debian-qt5/control +++ b/debian-qt5/control @@ -1,12 +1,12 @@ Source: nymea-experience-plugin-energy Section: utils Priority: optional -Maintainer: nymea GmbH +Maintainer: chargebyte austria GmbH Standards-Version: 4.6.0 Homepage: https://nymea.io -Build-Depends: debhelper (>= 9.0.0), - dpkg-dev (>= 1.16.1~), - libnymea-dev (>= 0.17), +Build-Depends: debhelper, + dpkg-dev, + libnymea-dev, nymea-dev-tools:native, qt5-qmake, qtbase5-dev, @@ -42,4 +42,3 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libnymea-energy (= ${binary:Version}), Description: Library for nymea expergy experience plugins - Development files - diff --git a/debian-qt5/copyright b/debian-qt5/copyright index 39c232f..4e243c1 100644 --- a/debian-qt5/copyright +++ b/debian-qt5/copyright @@ -1,27 +1,30 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: nymea-experience-plugin-energy -Upstream-Contact: nymea GmbH +Upstream-Contact: chargebyte austria GmbH Copyright: 2013-2024, nymea GmbH + 2024-2025, chargebyte austria GmbH Download: http://www.github.com/nymea/nymea-experience-plugin-energy Source: https://github.com/nymea/nymea-experience-plugin-energy.git -License: GPL-3 +License: GPL-3+ On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. -License: LGPL-3 +License: LGPL-3+ On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-3'. Files: debian/* -License: GPL-3 +License: GPL-3+ Copyright: 2013-2024, nymea GmbH + 2024-2025, chargebyte austria GmbH Files: plugin/* -License: GPL-3 +License: GPL-3+ Copyright: 2013-2024, nymea GmbH + 2024-2025, chargebyte austria GmbH Files: libnymea-energy/* -License: LGPL-3 +License: LGPL-3+ Copyright: 2013-2024, nymea GmbH - + 2024-2025, chargebyte austria GmbH diff --git a/debian-qt6/control b/debian-qt6/control index ca7567f..624e74e 100644 --- a/debian-qt6/control +++ b/debian-qt6/control @@ -1,7 +1,7 @@ Source: nymea-experience-plugin-energy Section: utils Priority: optional -Maintainer: nymea GmbH +Maintainer: chargebyte austria GmbH Standards-Version: 4.7.2 Homepage: https://nymea.io Build-Depends: debhelper, @@ -21,6 +21,7 @@ Description: nymea experiece plugin for energy related use cases This nymea experience adds the support energy related use caes to nymea. + Package: libnymea-energy Section: libs Architecture: any @@ -31,6 +32,7 @@ Description: Library for nymea energy experience plugins This library is used by plugins loaded by the nymea energy experience. + Package: libnymea-energy-dev Section: libdevel Architecture: any @@ -39,4 +41,3 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, libnymea-energy (= ${binary:Version}), Description: Library for nymea expergy experience plugins - Development files - diff --git a/libnymea-energy/energylogs.cpp b/libnymea-energy/energylogs.cpp index 2412395..93c6487 100644 --- a/libnymea-energy/energylogs.cpp +++ b/libnymea-energy/energylogs.cpp @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of libnymea-energy. * -* GNU Lesser General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU Lesser General Public License as published by the Free -* Software Foundation; version 3. This project 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 -* Lesser General Public License for more details. +* libnymea-energy is free software: you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public License +* as published by the Free Software Foundation, either version 3 +* of the License, or (at your option) any later version. +* +* libnymea-energy 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License -* along with this project. If not, see . -* -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* along with libnymea-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/libnymea-energy/energylogs.h b/libnymea-energy/energylogs.h index eb7d5f1..f09e723 100644 --- a/libnymea-energy/energylogs.h +++ b/libnymea-energy/energylogs.h @@ -1,30 +1,24 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * +// SPDX-License-Identifier: LGPL-3.0-or-later + +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of libnymea-energy. * -* GNU Lesser General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU Lesser General Public License as published by the Free -* Software Foundation; version 3. This project 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 -* Lesser General Public License for more details. +* libnymea-energy is free software: you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public License +* as published by the Free Software Foundation, either version 3 +* of the License, or (at your option) any later version. +* +* libnymea-energy 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License -* along with this project. If not, see . -* -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* along with libnymea-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/libnymea-energy/energymanager.cpp b/libnymea-energy/energymanager.cpp index cdc131f..e4c7690 100644 --- a/libnymea-energy/energymanager.cpp +++ b/libnymea-energy/energymanager.cpp @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of libnymea-energy. * -* GNU Lesser General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU Lesser General Public License as published by the Free -* Software Foundation; version 3. This project 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 -* Lesser General Public License for more details. +* libnymea-energy is free software: you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public License +* as published by the Free Software Foundation, either version 3 +* of the License, or (at your option) any later version. +* +* libnymea-energy 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License -* along with this project. If not, see . -* -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* along with libnymea-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/libnymea-energy/energymanager.h b/libnymea-energy/energymanager.h index edeef1e..f04e78d 100644 --- a/libnymea-energy/energymanager.h +++ b/libnymea-energy/energymanager.h @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of libnymea-energy. * -* GNU Lesser General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU Lesser General Public License as published by the Free -* Software Foundation; version 3. This project 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 -* Lesser General Public License for more details. +* libnymea-energy is free software: you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public License +* as published by the Free Software Foundation, either version 3 +* of the License, or (at your option) any later version. +* +* libnymea-energy 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License -* along with this project. If not, see . -* -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* along with libnymea-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/libnymea-energy/energyplugin.cpp b/libnymea-energy/energyplugin.cpp index 0ba0685..8dd8cf1 100644 --- a/libnymea-energy/energyplugin.cpp +++ b/libnymea-energy/energyplugin.cpp @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of libnymea-energy. * -* GNU Lesser General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU Lesser General Public License as published by the Free -* Software Foundation; version 3. This project 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 -* Lesser General Public License for more details. +* libnymea-energy is free software: you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public License +* as published by the Free Software Foundation, either version 3 +* of the License, or (at your option) any later version. +* +* libnymea-energy 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License -* along with this project. If not, see . -* -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* along with libnymea-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ @@ -58,4 +52,3 @@ void EnergyPlugin::initPlugin(EnergyManager *energyManager, ThingManager *thingM init(); } - diff --git a/libnymea-energy/energyplugin.h b/libnymea-energy/energyplugin.h index be58fca..a7e2481 100644 --- a/libnymea-energy/energyplugin.h +++ b/libnymea-energy/energyplugin.h @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: LGPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of libnymea-energy. * -* GNU Lesser General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU Lesser General Public License as published by the Free -* Software Foundation; version 3. This project 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 -* Lesser General Public License for more details. +* libnymea-energy is free software: you can redistribute it and/or +* modify it under the terms of the GNU Lesser General Public License +* as published by the Free Software Foundation, either version 3 +* of the License, or (at your option) any later version. +* +* libnymea-energy 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License -* along with this project. If not, see . -* -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* along with libnymea-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/plugin/energyjsonhandler.cpp b/plugin/energyjsonhandler.cpp index 4a70285..38b1855 100644 --- a/plugin/energyjsonhandler.cpp +++ b/plugin/energyjsonhandler.cpp @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of nymea-experience-plugin-energy. * -* GNU General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU General Public License as published by the Free Software -* Foundation, GNU version 3. This project 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. +* nymea-experience-plugin-energy 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, either version 3 of the License, or +* (at your option) any later version. * -* You should have received a copy of the GNU General Public License along with -* this project. If not, see . +* nymea-experience-plugin-energy 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. * -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* You should have received a copy of the GNU General Public License +* along with nymea-experience-plugin-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/plugin/energyjsonhandler.h b/plugin/energyjsonhandler.h index 8e8c2b1..c5e54f9 100644 --- a/plugin/energyjsonhandler.h +++ b/plugin/energyjsonhandler.h @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of nymea-experience-plugin-energy. * -* GNU General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU General Public License as published by the Free Software -* Foundation, GNU version 3. This project 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. +* nymea-experience-plugin-energy 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, either version 3 of the License, or +* (at your option) any later version. * -* You should have received a copy of the GNU General Public License along with -* this project. If not, see . +* nymea-experience-plugin-energy 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. * -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* You should have received a copy of the GNU General Public License +* along with nymea-experience-plugin-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/plugin/energylogger.cpp b/plugin/energylogger.cpp index 2e6a814..4865284 100644 --- a/plugin/energylogger.cpp +++ b/plugin/energylogger.cpp @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of nymea-experience-plugin-energy. * -* GNU General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU General Public License as published by the Free Software -* Foundation, GNU version 3. This project 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. +* nymea-experience-plugin-energy 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, either version 3 of the License, or +* (at your option) any later version. * -* You should have received a copy of the GNU General Public License along with -* this project. If not, see . +* nymea-experience-plugin-energy 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. * -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* You should have received a copy of the GNU General Public License +* along with nymea-experience-plugin-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/plugin/energylogger.h b/plugin/energylogger.h index 40e50ad..fd8acad 100644 --- a/plugin/energylogger.h +++ b/plugin/energylogger.h @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of nymea-experience-plugin-energy. * -* GNU General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU General Public License as published by the Free Software -* Foundation, GNU version 3. This project 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. +* nymea-experience-plugin-energy 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, either version 3 of the License, or +* (at your option) any later version. * -* You should have received a copy of the GNU General Public License along with -* this project. If not, see . +* nymea-experience-plugin-energy 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. * -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* You should have received a copy of the GNU General Public License +* along with nymea-experience-plugin-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/plugin/energymanagerimpl.cpp b/plugin/energymanagerimpl.cpp index a08dcbe..98b76d0 100644 --- a/plugin/energymanagerimpl.cpp +++ b/plugin/energymanagerimpl.cpp @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of nymea-experience-plugin-energy. * -* GNU General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU General Public License as published by the Free Software -* Foundation, GNU version 3. This project 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. +* nymea-experience-plugin-energy 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, either version 3 of the License, or +* (at your option) any later version. * -* You should have received a copy of the GNU General Public License along with -* this project. If not, see . +* nymea-experience-plugin-energy 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. * -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* You should have received a copy of the GNU General Public License +* along with nymea-experience-plugin-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ @@ -353,4 +347,3 @@ void EnergyManagerImpl::logDumpConsumers() } } - diff --git a/plugin/energymanagerimpl.h b/plugin/energymanagerimpl.h index 27d19da..f70242a 100644 --- a/plugin/energymanagerimpl.h +++ b/plugin/energymanagerimpl.h @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of nymea-experience-plugin-energy. * -* GNU General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU General Public License as published by the Free Software -* Foundation, GNU version 3. This project 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. +* nymea-experience-plugin-energy 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, either version 3 of the License, or +* (at your option) any later version. * -* You should have received a copy of the GNU General Public License along with -* this project. If not, see . +* nymea-experience-plugin-energy 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. * -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* You should have received a copy of the GNU General Public License +* along with nymea-experience-plugin-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/plugin/experiencepluginenergy.cpp b/plugin/experiencepluginenergy.cpp index 35f7329..3c1c9a6 100644 --- a/plugin/experiencepluginenergy.cpp +++ b/plugin/experiencepluginenergy.cpp @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of nymea-experience-plugin-energy. * -* GNU General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU General Public License as published by the Free Software -* Foundation, GNU version 3. This project 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. +* nymea-experience-plugin-energy 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, either version 3 of the License, or +* (at your option) any later version. * -* You should have received a copy of the GNU General Public License along with -* this project. If not, see . +* nymea-experience-plugin-energy 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. * -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* You should have received a copy of the GNU General Public License +* along with nymea-experience-plugin-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ diff --git a/plugin/experiencepluginenergy.h b/plugin/experiencepluginenergy.h index 1f374e9..711a85a 100644 --- a/plugin/experiencepluginenergy.h +++ b/plugin/experiencepluginenergy.h @@ -1,30 +1,24 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Copyright 2013 - 2025, nymea GmbH -* Contact: contact@nymea.io +* Copyright (C) 2013 - 2024, nymea GmbH +* Copyright (C) 2024 - 2025, chargebyte austria GmbH * -* This file is part of nymea. -* This project including source code and documentation is protected by -* copyright law, and remains the property of nymea GmbH. All rights, including -* reproduction, publication, editing and translation, are reserved. The use of -* this project is subject to the terms of a license agreement to be concluded -* with nymea GmbH in accordance with the terms of use of nymea GmbH, available -* under https://nymea.io/license +* This file is part of nymea-experience-plugin-energy. * -* GNU General Public License Usage -* Alternatively, this project may be redistributed and/or modified under the -* terms of the GNU General Public License as published by the Free Software -* Foundation, GNU version 3. This project 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. +* nymea-experience-plugin-energy 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, either version 3 of the License, or +* (at your option) any later version. * -* You should have received a copy of the GNU General Public License along with -* this project. If not, see . +* nymea-experience-plugin-energy 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. * -* For any further details and any questions please contact us under -* contact@nymea.io or see our FAQ/Licensing Information on -* https://nymea.io/license/faq +* You should have received a copy of the GNU General Public License +* along with nymea-experience-plugin-energy. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */