RealZimboGuy / ewelink-api-java

Java Api for the Sonoff ewelink
http://ewelink-api-java.co.zw/
15 stars 5 forks source link

Temperature and humidity #1

Closed kolbii closed 3 years ago

kolbii commented 3 years ago

I just noticed temperature and humidity values are missing from Params class so I'm not able to get none of them. Could you please add the following properties? Thanks

Example data: params: { subDevId: '......', parentid: '......', battery: 100, trigTime: '1610748707290', temperature: '-82', humidity: '7465' },

RealZimboGuy commented 3 years ago

Hi @kolbii

i have added those fields just as strings for now to the param object,

<dependency>
  <groupId>com.github.realzimboguy.ewelink.api</groupId>
  <artifactId>ewelink-api-java</artifactId>
  <version>2.1.1-RELEASE</version>
</dependency>