Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Has anybody done anything with Sensibo Sky?
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Has anybody done anything with Sensibo Sky?
ok well this is where I would need access to the unit to make it a whole lot faster process of debugging this thing. Otherwise it is going to be a whole lot of back and forth. it's up to you. The only thing I will need to do is to turn the unit on and off. nothing more. If i get that to work everything else should fall into place
Re: Has anybody done anything with Sensibo Sky?
You're not reading my messages, are you?
I PM'ed you the API key two days ago! And I think I told you in the thread that I would do it too!
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Has anybody done anything with Sensibo Sky?
yeah I know I have the key. but you said something about unplugging the unit. so that would remove my ability to change anything on the unit.
Re: Has anybody done anything with Sensibo Sky?
Ah, sorry. No, that's the physical heat pump I plugged out, not the Sensibo. But I actually just moved the Sensibo outside of the range of the heat pump. It doesn't take "talkback" from the pump, so it won't know the difference.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Has anybody done anything with Sensibo Sky?
ok.... give this whirly bird a twirl.
the control has changed. run the file as before just DO NOT add your api key or device name.
the control has changed. run the file as before just DO NOT add your api key or device name.
- Attachments
-
- test.py
- (32.16 KiB) Downloaded 66 times
Re: Has anybody done anything with Sensibo Sky?
I get the API key prompt, and I input that. And then connect Varmepumpe ovenpå. And I get some unicode error again.
With double quotes:
Code: Select all
Enter Command: connect Varmepumpe ovenpå
D:\test.py:843: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Traceback (most recent call last):
File "py.py", line 29, in <module>
File "D:\test.py", line 953, in <module>
dev = client.get_device(device_name)
File "D:\test.py", line 850, in get_device
raise AttributeError
AttributeError
Code: Select all
Enter Command: connect "Varmepumpe ovenpå"
D:\test.py:843: UnicodeWarning: Unicode equal comparison failed to convert both
arguments to Unicode - interpreting them as being unequal
Traceback (most recent call last):
File "py.py", line 29, in <module>
File "D:\test.py", line 953, in <module>
dev = client.get_device(device_name)
File "D:\test.py", line 850, in get_device
raise AttributeError
AttributeError- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Has anybody done anything with Sensibo Sky?
i created a github repository for this https://github.com/kdschlosser/Sensibo_Sky_API
I think I may have fixed that issue. You can download the latest version from there. you will have to rename the __init__.py to test.py and run it the same way as you just did.
I tested this thing out and I was able to power the unit on and off successfully. I didn't mess about with any of the other things.
I think I may have fixed that issue. You can download the latest version from there. you will have to rename the __init__.py to test.py and run it the same way as you just did.
I tested this thing out and I was able to power the unit on and off successfully. I didn't mess about with any of the other things.
Re: Has anybody done anything with Sensibo Sky?
I'm afraid there's something wonky there. Or I did something wrong, I don't know.
Scratch that. For some reason the file isn't downloaded when I click save as, I'm downloading some kind of Github HTML.
Code: Select all
D:\>"c:\program files (x86)\eventghost\py" test.py
Traceback (most recent call last):
File "py.py", line 29, in <module>
File "D:\test.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntaxRe: Has anybody done anything with Sensibo Sky?
I just don't get it. I can't seem to download it correctly. I tried to save as a raw file, but I still got errors:
Code: Select all
D:\>"c:\program files (x86)\eventghost\py" test.py
Traceback (most recent call last):
File "py.py", line 29, in <module>
File "D:\test.py", line 44, in <module>
import requests # NOQA
ImportError: No module named requests- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Has anybody done anything with Sensibo Sky?
go to the repository. you should see a green button that says "clone or download" when you click on it a menu opens and gives you 2 options. one is open with desktop. the other is download as zip. you want to download it as a zip.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Has anybody done anything with Sensibo Sky?
I also fixed the import error with requests. that was my bad.. sorry..
Re: Has anybody done anything with Sensibo Sky?
I got further, but I'm afraid I got this:
Code: Select all
Enter Command: connect "Varmepumpe ovenpå"
D:\test.py:916: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Command not valid for this device/mode
Enter Command: connect Varmepumpe ovenpå
Command not valid for this device/mode
Enter Command: connect "Varmepumpe ovenpå"
Command not valid for this device/mode
Enter Command:
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Has anybody done anything with Sensibo Sky?
Seems like there's another one: I still have the device available for use if you want to check yourself. I can keep it like that for around 12 more hours.
Code: Select all
Enter Command: connect "Varmepumpe ovenpå"
D:\test.py:1003: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Enter Command:- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Has anybody done anything with Sensibo Sky?
I am using it right now without issue.
Code: Select all
C:\Python36-32\python.exe C:/Users/Administrator/Documents/GitHub/pySensibo_Sky/pySensibo_Sky/__init__.py
Enter API Key:
"help" for a list of commands
Enter Command: connect Varmepumpe ovenpå
Enter Command: start poll 0.2
Enter Command: power on
Varmepumpe ovenpå.power = True # this is an event
Enter Command: power off
Varmepumpe ovenpå.power = False # this is an event
