SmartThings Community

Sensibo integration

smartapp_hvac

#397

New app or new hub? Work on v1 and v2 for sure

Eric

-------- Message d’origine --------


#398

Hi there,

Sensibo DH and Smartapp updated under the branch MSA-635-1. Please update both

-Better usage of Sensibo servers and usage of local storage for capabilities
-Some bug fixes.

Let me know if any problems are detected.


(Marcos Arias) #399

Hello, how do I update?


#400

You need to copy and paste the code again to your current DH and SmartApp, Save and Publish for me


(d-nice) #401

Eric,

It was so cool of you to write an integration for SmartThings and Sensibo… this is literally the answer our business has been looking for for years. I hate to ask this, but for those of us who are new to writing custom code for ST, could you provide a step-by-step tutorial on exactly what to do (or at least point us to a general guide, and then plug in the details we need for your code?)

Thanks so much, and I’m sure you have a TON of great karma coming your way my friend.

Danny


(Mark) #402

(d-nice) #403

You’re the man Mark, thanks so much. I’ll dive into this… still need the instructions for the Sensibo part :wink:


#404

Please read the first post of the thread. The infos are there. Please read before asking stuffs. You are the first one who ask this since the project starting looong time ago.

Eric

-------- Message d’origine --------


#405

For your info, I started this Sensibo integration project in Nov 2015.


(Bogdan Alexe) #406

HI,

I get the following errors since the last update:

e93f864d-6d4a-4fa4-bddd-38798e752c6c 14:56:41: error java.lang.NullPointerException: Cannot get property ‘$PodUid’ on null object @line 721 (getCapabilities)
e93f864d-6d4a-4fa4-bddd-38798e752c6c 14:56:41: trace setAll() called with cool,20,auto

e93f864d-6d4a-4fa4-bddd-38798e752c6c 14:59:43: error groovy.lang.MissingPropertyException: No such property: fanLevels for class: java.lang.String @line 245 (setAll)
e93f864d-6d4a-4fa4-bddd-38798e752c6c 14:59:42: trace setAll() called with cool,20,auto


#407

So you are calling setAll from a external app like webcore?

Do the SmartApp work inside SmartThing only (no call to setAll)?


#408

Please try to change the line 721 of the SmartApps code for the following:

if (state.capabilities == null || state.capabilities.$PodUid == null || now > next)


(Bogdan Alexe) #409

I tried. That’s how i reached the second error at line 245


#410

Please elaborate in your messages, it will be easier for everyone.

Please try the modification I proposed and try only inside Smartthing for now. Do it works?

We will check the setAll() after we confirmed that Smartthing is working as expected


(Bogdan Alexe) #411
  1. I tried to apply your change and i reached another error in the device handler
    e93f864d-6d4a-4fa4-bddd-38798e752c6c 14:59:43: error groovy.lang.MissingPropertyException: No such property: fanLevels for class: java.lang.String @line 245 (setAll)
    e93f864d-6d4a-4fa4-bddd-38798e752c6c 14:59:42: trace setAll() called with cool,20,auto

  2. What do you mean to test only inside smart things? The problem seems to be related to setAll method which it’s not exposed as an action in the DTH. I can only call it from webcore which is what I was doing until reaching the errors described


#412

Hi,

So using Smartthing to control the A/C is working fine, right? You can turn it on/off change the temperature and so on?

You have only issues when you are using setAll from webcore, right?


#413

@Brutalboy is it possible to clean up the recently feed to only display when there is an actual change? I dont need to see it flooded with things like power source, temp unit etc


#414

I can remove some of the most useless info but the ferd is also displaying when a refresh/poll is done.

The refresh is done manually (using the smartapp) or every x minutes automatically.

Eric

-------- Message d’origine --------


#415

Done, please update to latest codes


#416

Hi, iwas wondering what i am doing wrong. Installed the smartappa dn device handler and was able to pull up my sensibo sky 2 but couldnt controle anythig except truning my heatpump on and off. Not sure what to do. Thanks