Sensibo integration

smartapp_hvac

(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


#417

I have the same problem. I dont know when it started. But I’m only able to turn it on/off. It was working fine before.

Here are some logs:

Smartapp:

[add63d81-9a35-45b3-8674-46a67ec4dbb1](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#add63d81-9a35-45b3-8674-46a67ec4dbb1) 10:20:25: debug get remoteCapabilities Failed

[add63d81-9a35-45b3-8674-46a67ec4dbb1](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#add63d81-9a35-45b3-8674-46a67ec4dbb1) 10:20:25: debug Status : 200

[add63d81-9a35-45b3-8674-46a67ec4dbb1](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#add63d81-9a35-45b3-8674-46a67ec4dbb1) 10:20:25: trace getCapabilities() called - Request sent to Sensibo API(remoteCapabilities) for PODUid : abL73RoM - SmartThingsv1.5

[add63d81-9a35-45b3-8674-46a67ec4dbb1](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#add63d81-9a35-45b3-8674-46a67ec4dbb1) 10:20:25: debug Now : 1537086025218 Next : 60000

[add63d81-9a35-45b3-8674-46a67ec4dbb1](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#add63d81-9a35-45b3-8674-46a67ec4dbb1) 10:20:25: trace getCapabilities() called

Device:

[8326ac4e-39f4-4ab8-87b3-5adbe3dc57d7](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#8326ac4e-39f4-4ab8-87b3-5adbe3dc57d7) 10:20:25: error groovy.lang.MissingPropertyException: No such property: temperatures for class: java.lang.String @line 344 (temperatureUp)

[8326ac4e-39f4-4ab8-87b3-5adbe3dc57d7](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#8326ac4e-39f4-4ab8-87b3-5adbe3dc57d7) 10:20:25: trace temperatureUp() called with 21

[8326ac4e-39f4-4ab8-87b3-5adbe3dc57d7](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#8326ac4e-39f4-4ab8-87b3-5adbe3dc57d7) 10:20:25: debug Current target temperature = 21

[8326ac4e-39f4-4ab8-87b3-5adbe3dc57d7](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#8326ac4e-39f4-4ab8-87b3-5adbe3dc57d7) 10:20:25: trace raiseTemperature() called

#418

I installed your smartapp version from 31 july, this version works fine


(Yves Racine) #419

Hi @Brutalboy,

I’m interested in calling your switchFanLevel command within my zoned heating/cooling smartapps. Your current implementation doesn’t allow it as the command can only be used within your DTH.

Could you change your switchFanLevel to accept an optional parameter (i.e. high, medium, low) with a null default value or even better implement the following commands?

switchFanHigh()
switchFanMed()
switchFanLow()

This would be appreciated also for Webcore users.

Regards.


(Stian Ranvik) #420

Only on/off works after update yesterday. Tried also adding the smartapp again, and making new devices.

  • Using the old classic app on android.
  • Smartthins V2 UK hub.

#421

You are using which branch of github??

This weird because mine is working fine. No problem.

Have you try to click refresh in smartapp (in smartthing) for each unit. It will force a check.

Also send me full log in pvt msg


(Stian Ranvik) #422

DH log:

7616d90d-8c64-4c46-b2ee-cd5ca143eff1
00:01:37: error groovy.lang.MissingPropertyException: No such property: temperatures for class: java.lang.String @line 344 (temperatureUp)

7616d90d-8c64-4c46-b2ee-cd5ca143eff1 00:01:37: trace temperatureUp() called with 23

7616d90d-8c64-4c46-b2ee-cd5ca143eff1 00:01:37: debug Current target temperature = 23

7616d90d-8c64-4c46-b2ee-cd5ca143eff1 00:01:37: trace raiseTemperature() called

Smartapp Log:

5d7b8911-78dd-4026-a8ef-e7d3a635c6d3
00:01:37: debug get remoteCapabilities Failed

5d7b8911-78dd-4026-a8ef-e7d3a635c6d3 00:01:37: debug Status : 200

5d7b8911-78dd-4026-a8ef-e7d3a635c6d3 00:01:37: trace getCapabilities() called - Request sent to Sensibo API(remoteCapabilities) for PODUid : pAFpwVBz - SmartThingsv1.5

5d7b8911-78dd-4026-a8ef-e7d3a635c6d3 00:01:37: debug Now : 1537135297219 Next : 60000

5d7b8911-78dd-4026-a8ef-e7d3a635c6d3 00:01:37: trace getCapabilities() called

5d7b8911-78dd-4026-a8ef-e7d3a635c6d3 00:01:37: trace getCapabilities() called

Hub Firmware: 22.14
Have tried refresh
DH/App branch: MSA-635-1


#423

I will do some tests this week… I will let you know if I find something

Eric

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


#424

Eric, first I want to thank you for your work. If you have a Paypal account for donations, please PM me as I would like to contribute. I have installed your Sensibo integration but am having an issue.

I set the temp to 78 F. and it shows that the temp is set to 78 but it never shuts off and keeps dropping. I turned it off at 72.

Also, I am in the tropics and we don’t have heaters. Can the heat related buttons be removed?

Again, thanks for your work. It’s awesome of you to share!

Cheers,


#425

I do not understand your issue. you said that the app is pushing buttons on his own?