Anyone using IntesisHome WiFi control of mini-split AC?

I have finished a major refactoring of the Intesis Binding, review will hopefully be done soon.
What is new / has changed:

  • All channels beside ON/OFF and allowed values will be added dynamically at first Thing initialization
  • Allowed values for added channels are listed as properties
  • Allowed values changed from Number to String to better allign with homeKit, Alexa and GoogleAssistant.

The new SNAPSHOT version and readme can be found here:

You could check my version of the Intesis Binding. Most channels and stateOptions are created on the reported values from the device.

Appreciate your work very much. I’m stuck with an Intensis Home IS-IR-WIFI-1 which only works via Intensis Home website. There are no open ports available on this model.

Typo in your code? “intesis” instead of “intensis”? Keep up the good work!

Edit: @hmerk, always thought it was Intensis :exploding_head: but you are right. It’s Intesis.

If there is no open port, There is nor much we can do.

It is definitely intesis, not intensis😉

@rb44 @delid4ve @ccutrer While reviwe for the Intesis Binding is still ongoing, I started refactoring your IntesisBox Binding to have a combinde Binding for IntesisBox and IntesisHome devices.
It was necessary to change the channel names for simplification and I also moved som channels to thing properties. Would be great if you could try this alpha version for IntesisBox and provide feedback.
Compiled Jar and Sources can be found here:

Great news: The Intesis Binding with support for IntesisHome WiFi device is included in the openHAB 2.5.9 Release, which is scheduled for later today.

Next step should be to integrate IntesisBox devices, but I will need help on that, as I don‘t have those devices.
Would be great to have this ready for openHAB 3.0…

2 Likes

@hmerk as a quick test I dropped in the jar and configured the ip-address after disabling my current intesisbox addon. Hope this helps.

==> /var/log/openhab2/openhab.log <==

2020-09-21 09:03:39.729 [WARN ] [ore.thing.internal.ThingRegistryImpl] - Cannot create thing. No binding found that supports creating a thing of type 'intesis:intesisbox'.
2020-09-21 09:03:50.324 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: intesis:Mode
==> /var/log/openhab2/events.log <==
2020-09-21 09:05:47.867 [WARN ] [ore.internal.thing.ThingTypeResource] - Cannot find channel type: intesis:Mode
2020-09-21 09:06:12.720 [ERROR] [st.core.internal.thing.ThingResource] - Exception during HTTP PUT request for update config at 'things/intesis:intesisbox:intesiskid001/config'
java.lang.IllegalStateException: Thing with UID intesis:intesisbox:intesiskid001 has no handler attached.

2020-09-21 09:06:58.898 [hingStatusInfoChangedEvent] - 'intesis:intesisbox:intesiskid001' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)
2020-09-21 09:07:05.349 [hingStatusInfoChangedEvent] - 'intesis:intesisbox:intesiskid001' changed from UNINITIALIZED (DISABLED) to UNINITIALIZED (HANDLER_MISSING_ERROR)

Thanks @rb44, I will check and try to provide a new test version during the next couple of days.

Guess I found the issue, there was a typo (intesisbox intead of intesisBox) in thing-types.xml…

Cool. I’ll run a new tests when if needed

I have uploaded a new 2.5.10-SNAPSHOT version, please give it a try.

@hmerk - Seems it’s not picking up the IP address from the configuration.

2020-09-21 21:38:30.506 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from INITIALIZING to ONLINE
2020-09-21 21:38:30.516 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from ONLINE to OFFLINE (CONFIGURATION_ERROR): No IP address specified)
2020-09-21 21:38:33.494 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from OFFLINE (CONFIGURATION_ERROR): No IP address specified) to OFFLINE
2020-09-21 21:38:33.494 [ERROR] [s.internal.handler.IntesisBoxHandler] - openConnection(): Unable to open a connection: For input string: ""
java.lang.NumberFormatException: For input string: ""
2020-09-21 21:38:33.502 [ERROR] [s.internal.handler.IntesisBoxHandler] - write(): Unable to write to socket: null
java.lang.NullPointerException: null
2020-09-21 21:38:33.514 [INFO ] [s.internal.handler.IntesisBoxHandler] - keep alive sent
2020-09-21 21:38:33.516 [ERROR] [s.internal.handler.IntesisBoxHandler] - write(): Unable to write to socket: null
java.lang.NullPointerException: null
at org.openhab.binding.intesis.internal.handler.IntesisBoxHandler.write(IntesisBoxHandler.java:370) ~[?:?]
[.core.thing.binding.BaseThingHandler] - Handler IntesisBoxHandler tried updating the thing status although the handler was already disposed.

Thanks for testing, I will check later.

New test version can be downloaded in my repo.

@hmerk Power is working, no other channels listed, minor issue with the setup recognising the default port value.

In detail the binding initially would not read the default port number from the setup going OFFLINE while in the background still attempting to keep alive.

2020-09-23 00:39:20.151 [WARN ] [me.config.core.internal.ConfigMapper] - Could not set field value for field 'port': Can not set java.lang.String field org.openhab.binding.intesis.internal.config.IntesisConfiguration.port to java.math.BigDecimal
java.lang.IllegalArgumentException: Can not set java.lang.String field org.openhab.binding.intesis.internal.config.IntesisConfiguration.port to java.math.BigDecimal

2020-09-23 00:39:20.183 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from UNKNOWN to ONLINE
2020-09-23 00:39:23.185 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from ONLINE to OFFLINE

2020-09-23 00:39:23.185 [ERROR] [s.internal.handler.IntesisBoxHandler] - openConnection(): Unable to open a connection: For input string: "" 
java.lang.NumberFormatException: For input string: ""
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_222]
	at java.lang.Integer.parseInt(Integer.java:592) ~[?:1.8.0_222]
2020-09-23 00:39:23.194 [ERROR] [s.internal.handler.IntesisBoxHandler] - write(): Unable to write to socket: null 
java.lang.NullPointerException: null
2020-09-23 00:39:23.200 [INFO ] [s.internal.handler.IntesisBoxHandler] - keep alive sent
2020-09-23 00:39:23.203 [ERROR] [s.internal.handler.IntesisBoxHandler] - write(): Unable to write to socket: null 

I typed in the PORT value and saved to overwrite the default and the binding came online (maybe a save was sufficient, don’t know)

2020-09-23 00:45:22.294 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from OFFLINE to UNKNOWN
2020-09-23 00:45:22.297 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from UNKNOWN to ONLINE
2020-09-23 00:45:25.296 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from ONLINE to OFFLINE
2020-09-23 00:45:25.312 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from OFFLINE to ONLINE
==> /var/log/openhab2/openhab.log <==
2020-09-23 00:45:25.311 [INFO ] [s.internal.handler.IntesisBoxHandler] - keep alive sent
2020-09-23 00:45:25.329 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:ONOFF,[OFF,ON]
2020-09-23 00:45:25.331 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:MODE,[AUTO,HEAT,DRY,FAN,COOL]
2020-09-23 00:45:25.333 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:FANSP,[AUTO,1,2,3,4]
2020-09-23 00:45:25.335 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:VANEUD,[1,2,3,4,SWING]
2020-09-23 00:45:25.339 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:SETPTEMP,[180,300]
==> /var/log/openhab2/events.log <==
2020-09-23 00:45:25.347 [vent.ItemStateChangedEvent] - intesis_intesisBox_FJACWMP01_power changed from NULL to OFF

Just the Power channel is showing, disabled an re-enabled the binding in an attempt to refresh it.

2020-09-23 00:53:40.353 [INFO ] [s.internal.handler.IntesisBoxHandler] - keep alive sent
==> /var/log/openhab2/events.log <==
2020-09-23 00:53:47.269 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from ONLINE to UNINITIALIZED
==> /var/log/openhab2/openhab.log <==
2020-09-23 00:53:47.294 [ERROR] [s.internal.handler.IntesisBoxHandler] - read(): IO Exception: Socket closed
==> /var/log/openhab2/events.log <==
2020-09-23 00:53:47.299 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from UNINITIALIZED to OFFLINE
2020-09-23 00:53:47.353 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from OFFLINE to UNINITIALIZED (DISABLED)
2020-09-23 00:53:53.062 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from UNINITIALIZED (DISABLED) to INITIALIZING
2020-09-23 00:53:53.086 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from INITIALIZING to UNKNOWN
2020-09-23 00:53:53.101 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from UNKNOWN to ONLINE
2020-09-23 00:53:56.089 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from ONLINE to OFFLINE
==> /var/log/openhab2/openhab.log <==
2020-09-23 00:53:56.094 [INFO ] [s.internal.handler.IntesisBoxHandler] - keep alive sent
==> /var/log/openhab2/events.log <==
2020-09-23 00:53:56.095 [hingStatusInfoChangedEvent] - 'intesis:intesisBox:FJACWMP01' changed from OFFLINE to ONLINE
==> /var/log/openhab2/openhab.log <==
2020-09-23 00:53:56.111 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:ONOFF,[OFF,ON]
2020-09-23 00:53:56.113 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:MODE,[AUTO,HEAT,DRY,FAN,COOL]
2020-09-23 00:53:56.115 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:FANSP,[AUTO,1,2,3,4]
2020-09-23 00:53:56.117 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:VANEUD,[1,2,3,4,SWING]
2020-09-23 00:53:56.119 [INFO ] [s.internal.handler.IntesisBoxHandler] - LIMITS:SETPTEMP,[180,300]

After this just the keep alive every 45 sec.
The AC unit does respond the the power command :+1:

2020-09-23 00:57:39.362 [temChannelLinkRemovedEvent] - Link 'intesis_intesisBox_FJACWMP01_power => intesis:intesisBox:FJACWMP01:power' has been removed.
2020-09-23 00:57:41.113 [INFO ] [s.internal.handler.IntesisBoxHandler] - keep alive sent
2020-09-23 00:57:41.245 [WARN ] [s.internal.handler.IntesisBoxHandler] - Refresh channel power

2020-09-23 00:57:41.253 [.ItemChannelLinkAddedEvent] - Link 'intesis_intesisBox_FJACWMP01_power-intesis:intesisBox:FJACWMP01:power' has been added.
2020-09-23 00:57:53.254 [ome.event.ItemCommandEvent] - Item 'intesis_intesisBox_FJACWMP01_power' received command ON
2020-09-23 00:57:53.260 [nt.ItemStatePredictedEvent] - intesis_intesisBox_FJACWMP01_power predicted to become ON
2020-09-23 00:57:53.274 [vent.ItemStateChangedEvent] - intesis_intesisBox_FJACWMP01_power changed from NULL to ON

2020-09-23 00:59:44.474 [ome.event.ItemCommandEvent] - Item 'intesis_intesisBox_FJACWMP01_power' received command OFF
2020-09-23 00:59:44.479 [nt.ItemStatePredictedEvent] - intesis_intesisBox_FJACWMP01_power predicted to become OFF
2020-09-23 00:59:44.495 [vent.ItemStateChangedEvent] - intesis_intesisBox_FJACWMP01_power changed from ON to OFF

Thanks for testing, i will take a look tomorrow…

No problem. Going forward we might want to use private email to spare this thread some back and forth …

To whom it may concern :wink:

After the intesis binding has been merged into openHAB 2.5.9, I started working with @rb44 on implementing the IntesisBox support to be added into openHAB 3.0.
We have now started the pull request to have the additions reviewed and hopefully merged soon.
So there is a good chance to have a complete Intesis Binding within openHAB 3.0 release.

Quick followup, Intesis binding looking good and working well. It’s up 24/7 of course, never missed a beat. Attached a couple of screenshots

:+1: Sounds great !!!