Comments (9)
Module is not working with newer OpenHAB version. Main issue is thing/thing-types.xml
, I managed to get it work by adding proper thing type definition. Someone did pull request with that 2 years ago, so I think this project is dead. What version of the Openhab you have? If you not fancy compiling yourself I think I can send you working jar file.
from openhab-greeair-binding.
I'm not familiar with this binding compilation, so if You can generate new jar for me I will really appreciate.
Do You now where to find some guidline how to compile binding ? maybe I will also try it on my own.
from openhab-greeair-binding.
Some instruction is here: https://www.openhab.org/docs/developer/bindings/ but it took me a while to figure it out.
This one should work: http://storage.pbogut.me/org.openhab.binding.greeair-2.5.2-SNAPSHOT.jar it should go to something like /usr/share/openhab2/addons
.
from openhab-greeair-binding.
@pbogut thanks for that, but no progress.
It looks like bindings gives zero reaction for item change.
2020-05-26 18:41:19.970 [DEBUG] [nding.greeair.handler.GreeAirHandler] - GreeAirconHandler for greeair:greeairthing:1ec44e7c is initializing
2020-05-26 18:41:19.972 [DEBUG] [nding.greeair.handler.GreeAirHandler] - GreeAirconHandler config for greeair:greeairthing:1ec44e7c is GreeAirconConfig{ipAddress=192.168.38.125}
2020-05-26 18:41:19.973 [TRACE] [.internal.discovery.GreeDeviceFinder] - Greeair Binding Sending scan packet to /192.168.38.255
2020-05-26 18:41:20.022 [WARN ] [eeair.internal.encryption.CryptoUtil] - Decrypted message: {"t":"dev","cid":"f4911ec44e7c","bc":"000000000000000000000000000000","brand":"gree","catalog":"gree","mac":"f4911ec44e7c","mid":"10001","model":"gree","name":"1ec44e7c","series":"gree","vender":"1","ver":"V1.2.1","lock":0}
2020-05-26 18:41:20.024 [WARN ] [eeair.internal.encryption.CryptoUtil] - Decrypted message: {"t":"dev","cid":"f4911ec44e7c","bc":"000000000000000000000000000000","brand":"gree","catalog":"gree","mac":"f4911ec44e7c","mid":"10001","model":"gree","name":"1ec44e7c","series":"gree","vender":"1","ver":"V1.2.1","lock":0}
2020-05-26 18:41:20.025 [TRACE] [.internal.discovery.GreeDeviceFinder] - Greeair Binding Response received from address /192.168.38.125
2020-05-26 18:41:20.026 [TRACE] [.internal.discovery.GreeDeviceFinder] - Greeair Binding Response : {"t":"dev","cid":"f4911ec44e7c","bc":"000000000000000000000000000000","brand":"gree","catalog":"gree","mac":"f4911ec44e7c","mid":"10001","model":"gree","name":"1ec44e7c","series":"gree","vender":"1","ver":"V1.2.1","lock":0}
2020-05-26 18:41:25.032 [DEBUG] [nding.greeair.handler.GreeAirHandler] - GreeAircon found 1 Gree Devices during scanning
2020-05-26 18:41:25.035 [WARN ] [eeair.internal.encryption.CryptoUtil] - Encrypt message: {"mac":"f4911ec44e7c","t":"bind","uid":0}
2020-05-26 18:41:25.053 [WARN ] [eeair.internal.encryption.CryptoUtil] - Decrypted message: {"t":"bindok","mac":"f4911ec44e7c","key":"XXXXXXXXXXXX","r":200}
2020-05-26 18:41:25.055 [WARN ] [reeair.internal.discovery.GreeDevice] - Key received: XXXXXXXXXXXXXX
2020-05-26 18:41:25.056 [INFO ] [nding.greeair.handler.GreeAirHandler] - Gree AirConditioner Device greeair:greeairthing:1ec44e7c from was Succesfully bound
2020-05-26 18:41:25.058 [DEBUG] [nding.greeair.handler.GreeAirHandler] - Start Greeair automatic refresh with 30 second intervals
2020-05-26 18:41:25.058 [DEBUG] [nding.greeair.handler.GreeAirHandler] - Greeair executing automatic update of values
2020-05-26 18:41:25.060 [DEBUG] [nding.greeair.handler.GreeAirHandler] - Fetching status values from device.
Looks like AC was bound as expected but when I change any settings from item list there is no action triggered. No single log about any request from user.
I'm using items list and sitemap from README example.
My openhab version: openHAB 2.5.5 Release Build
Any idea what else I can try ?
Really appreciate Your help. Thanks
from openhab-greeair-binding.
I would have to install 2.5.5 and check, now I don't have open hab but I'm 99% sure that jar worked (could be different one though, can't check now). I've did a fresh compile, and then did git pull on openhab-addons and compiled once again. It produce two different files, you can try:
http://storage.pbogut.me/1/org.openhab.binding.greeair-2.5.2-SNAPSHOT.jar
http://storage.pbogut.me/2/org.openhab.binding.greeair-2.5.2-SNAPSHOT.jar
If still doesn't work I may test myself during weekend. Have no open hab now as my RPI sdcard died.
from openhab-greeair-binding.
@cytrus77 I was checking it some time ago and it was not working at all anymore (I'm sure it used to though...). I decided to rewrite it (as I had some issues with it even when it worked, and this repo seams to be dead). If you still interested here it is https://github.com/pbogut/openhab-ewpesmart-binding/releases/tag/v0.0.1
from openhab-greeair-binding.
@pbogut Hi Pawel, thank you for your great efforts, i just saw your comment. There is another fork of the greeair binding, now called gree binding. It is available with OH 2.5.7 from official repo also, @markus7017 made it working again with OH 2.5+. You may want to sync with him, to avoid double work. As far as i see, the only real difference is that your binding can read the built-in sensor of the aircon unit. Does this function work, did you test it?
from openhab-greeair-binding.
from openhab-greeair-binding.
Guys, there is a completely refactored binding: GREE
This is part of OH 2.5.7
check the community thread
from openhab-greeair-binding.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-greeair-binding.