Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Netatmo] Binding rewrite without external dependencies #12357

Merged
merged 67 commits into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
6577ebf
Switching to SNAPSHOT 3.3
clinique Feb 23, 2022
fe7502e
Correcting schedule handling of energy home
clinique Feb 24, 2022
982e2f9
Protect maximum temperature setting
clinique Feb 25, 2022
a62544b
Capabilities enhancement and @jlaur code review integration.
clinique Feb 26, 2022
a85d155
Simplified the handler architecture.
clinique Mar 3, 2022
7262f22
Removing ApiBridge
clinique Mar 8, 2022
8ceec0a
Finalization of the inclusion of a Netatmo API bridge.
clinique Mar 8, 2022
30bc6d0
Solving problem on token refresh
clinique Mar 15, 2022
4313989
Correcting documentation of thing configuration example
clinique Mar 18, 2022
6fdf093
Renamed NABridge to NAAccount
clinique Mar 21, 2022
7643f06
Changing things name. Decoupled from Netatmo API description of modul…
clinique Mar 23, 2022
1082a1d
Doc error, some files remained unstaged.
clinique Mar 23, 2022
6a06da7
Adressing all open comments
clinique Mar 25, 2022
1f51af0
Unstaging missing files
clinique Mar 25, 2022
f595a0e
Adressing jlaur fine comments
clinique Mar 25, 2022
ea73521
Generating default netatmo.properties files to get ready for crowdin
clinique Mar 25, 2022
4c2c942
Correcting an issue in auto-discovery generated by thing type names c…
clinique Mar 28, 2022
835ea74
Dynamic channels enhancements
clinique Mar 29, 2022
089a2ef
Adressing issue with Person events
clinique Mar 30, 2022
3d2d39a
Address reconnection issue
clinique Apr 1, 2022
2acf49f
Switching to SNAPSHOT 3.3
clinique Apr 5, 2022
6380db1
Solving conflicts.
clinique Apr 5, 2022
fbc2250
Correcting outside temperature channel group type.
clinique Apr 6, 2022
1f454ba
Addressing @jlaur review comments
clinique Apr 17, 2022
0506630
Adding list of available modules in the README.MD
clinique Apr 19, 2022
b32b62c
Imrpoved channel types and README
lolodomo Apr 25, 2022
d6a2809
Merge pull request #11 from lolodomo/fix_channeltypes_README
clinique Apr 26, 2022
1a21aae
@lolodomo review. Adressed redundant channel config, various README o…
clinique Apr 26, 2022
dc6fae4
Adressing disconnection issue + some left overs
clinique Apr 26, 2022
39da6a5
Fix NetatmoException to keep the error message
lolodomo Apr 27, 2022
15858f7
README: list thing parameters
lolodomo Apr 27, 2022
96dde79
Improved set of the HTTP request content type
lolodomo Apr 27, 2022
97bac08
Merge pull request #12 from lolodomo/fix_NetatmoException
clinique Apr 28, 2022
39da3d2
Merge pull request #13 from lolodomo/doc_thing_parameters
clinique Apr 28, 2022
3681f45
Merge pull request #14 from lolodomo/request_content_type
clinique Apr 28, 2022
09c0b92
Integrating @jlaur observations
clinique Apr 28, 2022
2703b64
Adressing some forgot observations
clinique Apr 28, 2022
36c277c
Fix bridge/things status handling
lolodomo Apr 28, 2022
0c48f12
Merge pull request #15 from lolodomo/bridgethinghandling
clinique Apr 28, 2022
695829e
Merging @lolodomo PR n° 15 + requested corrections.
clinique Apr 28, 2022
eea483d
Forgot to apply spotless
clinique Apr 28, 2022
2d48d8e
Code corrections
clinique Apr 29, 2022
ffd041c
Adressing @jlaur minor comments
clinique Apr 30, 2022
4d8eab2
Several fixes related to the management of home events
lolodomo Apr 30, 2022
1cd5121
Merge pull request #16 from lolodomo/homeevent
clinique Apr 30, 2022
8b7ec37
Default translations and various minor corrections
clinique May 1, 2022
e60b3cd
Correction of last-event#video-url
clinique May 1, 2022
5863602
Added capability for camera to detect offline status.
clinique May 2, 2022
d2f3ded
Reintroduced refreshPeriod for Cameras (at HOME level as Home holds t…
clinique May 2, 2022
c872003
Taking in account configured refreshInterval.
clinique May 2, 2022
c3c4d49
Adding channels to handle vpn url of video feeds.
clinique May 2, 2022
b09322e
No live stream URL if camera monitoring is disabled
lolodomo May 2, 2022
722b0ca
Merge pull request #17 from lolodomo/live_stream_url
clinique May 3, 2022
b95835f
Adding local and vpn channels for snapshots
clinique May 3, 2022
002fef5
Ignore monitoring status when handling camera events
lolodomo May 3, 2022
3267852
Merge pull request #18 from lolodomo/ignore_monitoring_status
clinique May 3, 2022
855123d
Addressing code review comments.
clinique May 4, 2022
57e1dd1
Adressing last code review comments.
clinique May 5, 2022
bf2dd45
Trying to address modules staying unknown until next cycle.
clinique May 5, 2022
ef7a0c5
Correcting bug messages.
clinique May 5, 2022
f80b9fa
Changed data freshness timeout to 3600 s.
clinique May 6, 2022
383c720
Detect camera disconnection/reconnection
lolodomo May 6, 2022
74482ab
Merge pull request #19 from lolodomo/detect_disconnected_camera
clinique May 6, 2022
f8e56df
Refresh strategy fixed when thing is OFFLINE
lolodomo May 6, 2022
ebccc88
Merge pull request #20 from lolodomo/refresh_strategy_when_offline
clinique May 6, 2022
23b1b7b
Integrated last comments of @jlaur
clinique May 6, 2022
45526e2
Correction of pmd
clinique May 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions bundles/org.openhab.binding.netatmo/NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,3 @@ https://www.eclipse.org/legal/epl-2.0/.
== Source Code

https://github.com/openhab/openhab-addons

== Third-party Content

commons-codec
* License: Apache 2.0 License
* Project; https://commons.apache.org/proper/commons-codec
* Source: https://commons.apache.org/proper/commons-codec

gson-fire
* License: Apache 2.0 License
* Project: http://gsonfire.io
* Source: https://github.com/julman99/gson-fire

json
* License: JSON License
* Project: https://www.json.org
* Source: https://github.com/douglascrockford/JSON-java

okhttp
* License: Apache 2.0 License
* Project: https://square.github.io/okhttp
* Source: https://github.com/square/okhttp

okio
* License: Apache 2.0 License
* Project: https://square.github.io/okio/2.x/okio/jvm/okio
* Source: https://github.com/square/okio

oltu.oauth2
* License: Apache 2.0 License
* Project: https://oltu.apache.org
* Source: https://svn.apache.org/viewvc/oltu/trunk

netatmo-swagger-decl
* License: MIT License
* Project: https://dev.netatmo.com
* Source: https://github.com/cbornet/netatmo-swagger-decl
931 changes: 387 additions & 544 deletions bundles/org.openhab.binding.netatmo/README.md

Large diffs are not rendered by default.

110 changes: 0 additions & 110 deletions bundles/org.openhab.binding.netatmo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,114 +14,4 @@

<name>openHAB Add-ons :: Bundles :: Netatmo Binding</name>

<properties>
<bnd.importpackage>!android.*,!com.android.org.*,!org.apache.harmony.*,!sun.*,!org.apache.oltu.*</bnd.importpackage>
</properties>

<dependencies>
<dependency>
<groupId>org.openhab.osgiify</groupId>
<artifactId>org.json.json</artifactId>
<version>20131018</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>okhttp</artifactId>
<version>2.7.5</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>com.google.android</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>logging-interceptor</artifactId>
<version>2.7.5</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>com.google.android</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>1.6.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.gsonfire</groupId>
<artifactId>gson-fire</artifactId>
<version>1.8.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.oltu.oauth2</groupId>
<artifactId>org.apache.oltu.oauth2.client</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.oltu.oauth2</groupId>
<artifactId>org.apache.oltu.oauth2.common</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.8</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
<scope>compile</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.21</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>https://raw.githubusercontent.com/cbornet/netatmo-swagger-decl/35e27745fb0d432bc6c8b5ec7a83ed2a09944cea/spec/swagger.yaml</inputSpec>
<language>java</language>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<sourceFolder>src/main/java</sourceFolder>
<java8>true</java8>
<dateLibrary>java8-localdatetime</dateLibrary>
<useRuntimeException>true</useRuntimeException>
</configOptions>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<!-- Required for JDK 17 compatibility, see: https://github.com/swagger-api/swagger-codegen/issues/11253 -->
<groupId>com.github.jknack</groupId>
<artifactId>handlebars</artifactId>
<version>4.3.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

<feature name="openhab-binding-netatmo" description="Netatmo Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle dependency="true">mvn:org.openhab.osgiify/org.json.json/20131018</bundle>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.netatmo/${project.version}</bundle>
</feature>
</features>

This file was deleted.

This file was deleted.

Loading