Skip to content

Commit

Permalink
Fixed #4
Browse files Browse the repository at this point in the history
  • Loading branch information
GiorgioBertolotti committed Jun 29, 2019
1 parent 8e694d1 commit 75f1e63
Show file tree
Hide file tree
Showing 111 changed files with 148 additions and 70 deletions.
Binary file modified .DS_Store
Binary file not shown.
8 changes: 6 additions & 2 deletions Example/.classpath
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="D:/Documenti/Sviluppo/TadoJava/TadoAPI/target/TadoAPI-0.6.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/target/TadoAPI-0.6.1.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
10 changes: 10 additions & 0 deletions Example/src/HomeID.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
import dev.bertolotti.tadojava.MobileDevice;
import dev.bertolotti.tadojava.TadoConnector;
import dev.bertolotti.tadojava.TadoDevice;
import dev.bertolotti.tadojava.TadoException;
import dev.bertolotti.tadojava.TadoHome;
import dev.bertolotti.tadojava.TadoInstallation;
import dev.bertolotti.tadojava.TadoState;
import dev.bertolotti.tadojava.TadoZone;
import dev.bertolotti.tadojava.User;

public class HomeID {
public static void main(String[] args) {
try {
Expand Down
Binary file added TadoAPI/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion TadoAPI/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>TadoAPI</groupId>
<artifactId>TadoAPI</artifactId>
<name>TadoAPI</name>
<version>0.6</version>
<version>0.6.1</version>
<description>Java wrapper for Tado APIs</description>
<build>
<sourceDirectory>src</sourceDirectory>
Expand Down
2 changes: 1 addition & 1 deletion TadoAPI/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>TadoAPI</groupId>
<artifactId>TadoAPI</artifactId>
<version>0.6</version>
<version>0.6.1</version>
<name>TadoAPI</name>
<description>Java wrapper for Tado APIs</description>
<build>
Expand Down
Binary file added TadoAPI/src/.DS_Store
Binary file not shown.
Binary file added TadoAPI/src/dev/.DS_Store
Binary file not shown.
Binary file added TadoAPI/src/dev/bertolotti/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class Address {
private String addressLine1;
private String addressLine2;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class Capability {
private String type;
private String key;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class ContactDetails {
private String name;
private String email;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class DeviceMetadata {
private String platform;
private String osVersion;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class Geolocation {
private double latitude;
private double longitude;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.time.format.DateTimeFormatter;
import java.util.Date;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Map;

public class MobileDevice {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class MobileLocation {
private boolean stale;
private boolean atHome;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class OpenWindowDetection {
private boolean supported;
private boolean enabled;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Date;

public class OutsideTemperature {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Date;

public class SolarIntensity {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Date;

public class TadoConnectionState {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.io.IOException;
import java.time.Instant;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import org.json.JSONObject;

public class TadoDataPoint {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class TadoDazzleMode {
private boolean supported;
private boolean enabled;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.List;

public class TadoDevice {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

@SuppressWarnings("serial")
public class TadoException extends Exception {
private String code;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Date;
import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.List;

public class TadoInstallation {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.time.format.DateTimeFormatter;
import java.util.Date;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import org.json.JSONObject;

public class TadoOverlay {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Date;

public class TadoScheduleChange {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import org.json.JSONObject;

public class TadoSetting {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class TadoState {
private String presence;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

public class TadoWeather {
private SolarIntensity solarIntensity;
private OutsideTemperature outsideTemperature;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Date;
import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Date;
import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import org.json.JSONObject;

public class Temperature {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Date;

import org.json.JSONObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.time.format.DateTimeFormatter;
import java.util.Date;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.List;
import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package dev.bertolotti.tadojava;

import java.util.Date;

public class WeatherState {
Expand Down
Binary file not shown.
Binary file removed TadoAPI/target/classes/Address.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/Capability.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/ContactDetails.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/DeviceMetadata.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/Geolocation.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/ManualTermination.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/MobileDevice.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/MobileLocation.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/OpenWindowDetection.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/OutsideTemperature.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/SolarIntensity.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoConnectionState.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoConnector.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoDataPoint.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoDazzleMode.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoDevice.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoException.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoHome.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoInstallation.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoModeTermination.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoOverlay.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoScheduleChange.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoSetting.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoState.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoWeather.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoZone.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TadoZoneState.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/Temperature.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/Termination.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/TimerTermination.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/User.class
Binary file not shown.
Binary file removed TadoAPI/target/classes/WeatherState.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions TadoAPI/target/maven-archiver/pom.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Generated by Maven
#Fri May 31 17:34:54 GMT 2019
version=0.6
#Sat Jun 29 16:18:20 CEST 2019
groupId=TadoAPI
artifactId=TadoAPI
version=0.6.1
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
SolarIntensity.class
TadoZoneState.class
TimerTermination.class
MobileDevice.class
TadoHome.class
OutsideTemperature.class
TadoDazzleMode.class
TadoDevice.class
ContactDetails.class
TadoInstallation.class
TadoScheduleChange.class
TadoSetting.class
User.class
Capability.class
Termination.class
TadoConnectionState.class
TadoZone.class
MobileLocation.class
ManualTermination.class
Temperature.class
DeviceMetadata.class
TadoException.class
Geolocation.class
WeatherState.class
OpenWindowDetection.class
TadoOverlay.class
TadoConnector.class
Address.class
TadoModeTermination.class
TadoState.class
TadoDataPoint.class
TadoWeather.class
dev/bertolotti/tadojava/OutsideTemperature.class
dev/bertolotti/tadojava/OpenWindowDetection.class
dev/bertolotti/tadojava/TadoConnector.class
dev/bertolotti/tadojava/Capability.class
dev/bertolotti/tadojava/Temperature.class
dev/bertolotti/tadojava/DeviceMetadata.class
dev/bertolotti/tadojava/TadoOverlay.class
dev/bertolotti/tadojava/TadoException.class
dev/bertolotti/tadojava/TadoHome.class
dev/bertolotti/tadojava/Geolocation.class
dev/bertolotti/tadojava/TadoDataPoint.class
dev/bertolotti/tadojava/TadoModeTermination.class
dev/bertolotti/tadojava/MobileDevice.class
dev/bertolotti/tadojava/MobileLocation.class
dev/bertolotti/tadojava/WeatherState.class
dev/bertolotti/tadojava/TadoScheduleChange.class
dev/bertolotti/tadojava/ManualTermination.class
dev/bertolotti/tadojava/TadoZoneState.class
dev/bertolotti/tadojava/TadoInstallation.class
dev/bertolotti/tadojava/ContactDetails.class
dev/bertolotti/tadojava/Address.class
dev/bertolotti/tadojava/TadoWeather.class
dev/bertolotti/tadojava/Termination.class
dev/bertolotti/tadojava/TadoDevice.class
dev/bertolotti/tadojava/TimerTermination.class
dev/bertolotti/tadojava/TadoDazzleMode.class
dev/bertolotti/tadojava/TadoZone.class
dev/bertolotti/tadojava/SolarIntensity.class
dev/bertolotti/tadojava/User.class
dev/bertolotti/tadojava/TadoState.class
dev/bertolotti/tadojava/TadoConnectionState.class
dev/bertolotti/tadojava/TadoSetting.class
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoZoneState.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/SolarIntensity.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoZone.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/Geolocation.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/ManualTermination.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/MobileDevice.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/Capability.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/MobileLocation.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoException.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoDazzleMode.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoModeTermination.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/Temperature.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoHome.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/OpenWindowDetection.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/DeviceMetadata.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoConnectionState.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoWeather.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoSetting.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/Termination.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/User.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoOverlay.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/OutsideTemperature.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoScheduleChange.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoDevice.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoConnector.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoState.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoDataPoint.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TimerTermination.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/Address.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/TadoInstallation.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/WeatherState.java
/mnt/d/Documenti/Sviluppo/TadoJava/TadoAPI/src/ContactDetails.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/Capability.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/User.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoConnectionState.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/OpenWindowDetection.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/Termination.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoSetting.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/ManualTermination.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoZoneState.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoDevice.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoState.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/DeviceMetadata.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/MobileDevice.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoScheduleChange.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/WeatherState.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/ContactDetails.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoHome.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoZone.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoException.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoDazzleMode.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/MobileLocation.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/Temperature.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/Address.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/SolarIntensity.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoConnector.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoInstallation.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/OutsideTemperature.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoDataPoint.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoModeTermination.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/Geolocation.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoOverlay.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TimerTermination.java
/Users/Giorgio/Documents/Personal/TadoJava/TadoAPI/src/dev/bertolotti/tadojava/TadoWeather.java
Binary file added TadoAPI/target/original-TadoAPI-0.6.1.jar
Binary file not shown.
Binary file removed TadoAPI/target/original-TadoAPI-0.6.jar
Binary file not shown.

0 comments on commit 75f1e63

Please sign in to comment.