Thanks you for your work. I want to help testing this bundle. I have AC model with horizontal swing and quiet mode and 5 speed fan mode.
ok, then please test the last build from this evening, I implemented some more review changes, but can‘t test myself. My unit will be installed next week
Hi. I test this build. All works prefectly. Autodiscover work fine, status update correctly, swing works correctly. But when I turn on turbo mode, then set speed fan to 1 (slow mode) turbo mode switch still ON.
all other channels working?
I‘ll check the Turbo channel
Code looks good for the Turbo channel, what’s shown in the log? (should be at least DEBUG mode)
What happens when you set the mode channel to “turbo”?
Turbo mode is switch on, when I set the mode channel to “turbo”.
what‘s shown jn the log?
you could turn on Turbo in 2 way
a) sending “turbo” to channel mode
b) sending ON/OFF to channel “turbo”
I uploaded a new build (only a few change requests from review are remaining)
Please test (keep you current copy)
Hi, I set log level DEBUG for gree binding, but no debug records into log file. I turn on turbo mode by switch (turbo channel).
I suppose you have not enabled DEBUG or TRACE log, otherwise the should be output in the log (maybe an exception).
Please enable DEBUG log in the OH console and use the latest build (updated)
After adding last version of bundle my AC added as new thing after restart OH. But OH have error in log file.
2020-06-16 10:55:14.763 [WARN ] [ng.gree.internal.handler.GreeHandler] - Unable to perform auto-update
java.lang.NullPointerException: null
at org.openhab.binding.gree.internal.gson.GreeStatusResponsePackDTO.<init>(GreeStatusResponsePackDTO.java:26) ~[?:?]
at org.openhab.binding.gree.internal.handler.GreeAirDevice.getDeviceStatus(GreeAirDevice.java:122) ~[?:?]
at org.openhab.binding.gree.internal.handler.GreeHandler.lambda$1(GreeHandler.java:340) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_242]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_242]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_242]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
I have error in log file after turn on AC.
2020-06-16 11:20:07.420 [WARN ] [ng.gree.internal.handler.GreeHandler] - Unable to perform auto-update
java.lang.NullPointerException: null
at java.util.Objects.requireNonNull(Objects.java:203) ~[?:1.8.0_242]
at java.util.Arrays$ArrayList.<init>(Arrays.java:3813) ~[?:1.8.0_242]
at java.util.Arrays.asList(Arrays.java:3800) ~[?:1.8.0_242]
at org.openhab.binding.gree.internal.handler.GreeAirDevice.getIntStatusVal(GreeAirDevice.java:340) ~[?:?]
at org.openhab.binding.gree.internal.handler.GreeAirDevice.updateTempFtoC(GreeAirDevice.java:523) ~[?:?]
at org.openhab.binding.gree.internal.handler.GreeAirDevice.getDeviceStatus(GreeAirDevice.java:136) ~[?:?]
at org.openhab.binding.gree.internal.handler.GreeHandler.lambda$1(GreeHandler.java:340) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_242]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_242]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_242]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
try updated build and provide log
It’s latest build
@markus7017 - I think this post is related to Shelly binding, not Gree
ups, yes, correct
When I changed the refresh interval to 10 sec, I had some errors in log:
2020-06-16 21:11:30.004 [WARN ] [ng.gree.internal.handler.GreeHandler] - Unable to perform auto-update: Exception while receiving data, JSON=org.openhab.binding.gree.internal.gson.GreeStatusResponsePackDTO@1f6b4d (class java.lang.NullPointerException)
2020-06-16 21:11:40.013 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.018 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.022 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.027 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.030 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.036 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.040 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.044 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.048 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.051 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.055 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.058 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
2020-06-16 21:11:40.063 [WARN ] [ng.gree.internal.handler.GreeHandler] - Exception on channel update: Unable to get status value (class org.openhab.binding.gree.internal.GreeException)
If I changed “mode” channel when AC is power off, AC change mode and turn on.
I’m also testing this binding and I recommend to delete old version and restart openhab before copy the new jar file to add-on folder
That’s exactly what I did.