Has anybody done anything with Sensibo Sky?

If you have a question or need help, this is the place to be.
Post Reply
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Has anybody done anything with Sensibo Sky?

Post by Mastiff » Sun Feb 25, 2018 8:59 am

I can see in my app that it works for you! :mrgreen: Sorry, my mistake! :oops: As you can see I had the name of the device in quotes! But I still do not get it to work. Look:

Code: Select all

Enter Command: connect Varmepumpe ovenpå
Enter Command: power
You need to connect to a device first
Same thing with start poll. So I'm confused (more than I normally am...).

Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Has anybody done anything with Sensibo Sky?

Post by Mastiff » Sun Feb 25, 2018 9:02 am

Hang on! I see that you have a new version, I was using the previous.

Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Has anybody done anything with Sensibo Sky?

Post by Mastiff » Sun Feb 25, 2018 9:17 am

No, there still is something wrong. First time I try to connect I get a Unicode error, second time it seems like it doesn't actually connect. Can this be a difference between our systems?

Code: Select all

D:\>"c:\program files (x86)\eventghost\py" test.py
Enter API Key: (censored)
"help" for a list of commands
Enter Command: connect Varmepumpe ovenpå
D:\test.py:1036: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Enter Command: connect Varmepumpe ovenpå
Enter Command: start poll 2.0
You need to connect to a device first

User avatar
kgschlosser
Site Admin
Posts: 4754
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Has anybody done anything with Sensibo Sky?

Post by kgschlosser » Sun Feb 25, 2018 5:27 pm

i still have ome hiccups in it with python 2.7. The issue is there is a HUGE difference between the way python 2.7 unicode works (pain in the ass actually) and the way it works in python 3. I am working on making it work in both versions of python because the SDK they provide really sucks. I posted that this SDK exists on their facebook page because there seems to be a lot of people that want a working SDK. and the only issue I am having problems with is the unicode. You are going to wait until i can get the unicode crap sorted out. it's a learning process.
If you like the work I have been doing then feel free to Image

Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Has anybody done anything with Sensibo Sky?

Post by Mastiff » Sun Feb 25, 2018 8:48 pm

OK, no problem. :mrgreen: I'll wait. I have changed the API key now, but I can give you access to the device from Friday (when the four high school girls who rents the part of the house where the heat pump is, will be away for the weekend). But do you mean that we have different Python versions? In that case, why is that?

User avatar
kgschlosser
Site Admin
Posts: 4754
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Has anybody done anything with Sensibo Sky?

Post by kgschlosser » Mon Feb 26, 2018 6:06 am

I am building an SDK for it so it can be used outside of EG if someone wants to. And not everyone uses python 2.7. Plus designing it this way makes it so that I can easily update the SDK end of things without having to touch any of the EG plugin code. The unicode crap in python 2.7 is killing me tho. I never know when it is going to throw a decode error or an encode error I haven't quite grasped that part of it. Now that i say that. I think I know where the issue is. I won't be able to test it out until friday. so we are going to have to wait.
If you like the work I have been doing then feel free to Image

Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Has anybody done anything with Sensibo Sky?

Post by Mastiff » Mon Feb 26, 2018 6:45 am

Great! And sure, thanks! No problem waiting. :mrgreen:

User avatar
kgschlosser
Site Admin
Posts: 4754
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Has anybody done anything with Sensibo Sky?

Post by kgschlosser » Mon Feb 26, 2018 8:52 am

I have been speaking with the CEO of Sensibo This could end up being a replacement for the current SDK they have posted. I have also asked if there is anything more to the API. I am awaiting an answer. I have to sort out that unicode issue. I should ask if they have a development portal to their servers .. something that mimics a Sensibo that I would be able to test with.
If you like the work I have been doing then feel free to Image

Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Has anybody done anything with Sensibo Sky?

Post by Mastiff » Mon Feb 26, 2018 9:01 am

Oh, that's really cool! Looking forward to hear if that works out!

Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Has anybody done anything with Sensibo Sky?

Post by Mastiff » Fri Mar 02, 2018 5:36 pm

I'm PM'ing you a new API key now. It's yours to play with until Sunday evening (my time).

User avatar
kgschlosser
Site Admin
Posts: 4754
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Has anybody done anything with Sensibo Sky?

Post by kgschlosser » Sat Mar 03, 2018 9:24 am

OK i have the rest of the unicode issues sorted out. for both python 3 and python 2. so if you want to give it a go and see if it works let me know.

I changed up the command structure a bit. You will see when you start the script up.
If you like the work I have been doing then feel free to Image

Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Has anybody done anything with Sensibo Sky?

Post by Mastiff » Sat Mar 03, 2018 10:08 am

Sorry, but it's not working here. :( :oops:

Code: Select all

F:\Automatiseringsoppsett>"c:\program files (x86)\eventghost\py" test.py
Enter API Key: xxxx
---------- devices ----------
Varmepumpe ovenpå
-----------------------------
Enter device name to connect to: "Varmepumpe ovenpå"
F:\Automatiseringsoppsett\test.py:1036: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Successfully connected to "Varmepumpe ovenpå"
"help" for a list of commands
Enter Command: power
You need to connect to a device first


    Commands
As you can see it seems to connect o, even if it still throws an error. But it isn't connected, because any command tried says "You need to connect to a device first".

User avatar
kgschlosser
Site Admin
Posts: 4754
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Has anybody done anything with Sensibo Sky?

Post by kgschlosser » Sat Mar 03, 2018 5:15 pm

no quotes
If you like the work I have been doing then feel free to Image

Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: Has anybody done anything with Sensibo Sky?

Post by Mastiff » Sat Mar 03, 2018 5:42 pm

Sorry, my answer was not precise. I tried that first, and it makes no difference it seems.

Code: Select all

D:\>"c:\program files (x86)\eventghost\py" test.py
Enter API Key: XXXX
---------- devices ----------
Varmepumpe ovenpå
-----------------------------
Enter device name to connect to: Varmepumpe ovenpå
D:\test.py:1036: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Successfully connected to Varmepumpe ovenpå
"help" for a list of commands
Enter Command: power
You need to connect to a device first

User avatar
kgschlosser
Site Admin
Posts: 4754
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Has anybody done anything with Sensibo Sky?

Post by kgschlosser » Sun Mar 04, 2018 1:19 am

do this instead. because I only have the means to copy and paste the room name it may have something to do with the Windows clipboard.. I know it sounds really dumb. but copy and paste the device name from the screen. you will have to mark it first and then press the enter key if you are using a command prompt
If you like the work I have been doing then feel free to Image

Post Reply