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?
I also just updated the library so you can give that a shot as well. I think I may have located the issue.
Re: Has anybody done anything with Sensibo Sky?
No, sorry. Same result. And it's the same symbol if I copy it or if I write it as an å with my keyboard.
- 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 now it appears to be the same symbol. But it might not be. It's complicated. Because all I am doing is copying and pasting what is being returned by the Sensibo Sky server.
I am going to add having it print out the types. I am not sure what is different here. It's driving me crazy. Because it works on my end. I am trying to think of what could be different.
I am going to add having it print out the types. I am not sure what is different here. It's driving me crazy. Because it works on my end. I am trying to think of what could be different.
Re: Has anybody done anything with Sensibo Sky?
No, it doesen't just look like the same. It is the same. I checked it. You can too: http://www.babelstone.co.uk/Unicode/whatisit.html The character is identified as U+00E5 in both cases.
Can the reason be that you're working on a system with the languague/keyboard set to English, while mine is set to Norwegian? It has to be the keyboard, in that case. I tried it on my server, which has Windows Server 2008 R2 English (there is no Norwegian version of that), and that didn't change anything. I haven't tried it on the server with English keyboard, but I will do that now.
Can the reason be that you're working on a system with the languague/keyboard set to English, while mine is set to Norwegian? It has to be the keyboard, in that case. I tried it on my server, which has Windows Server 2008 R2 English (there is no Norwegian version of that), and that didn't change anything. I haven't tried it on the server with English keyboard, but I will do that now.
Re: Has anybody done anything with Sensibo Sky?
Hang on! I suddenly see that you write that you have updated the library! I'm not even sure what library that is, so that may be what I'm missing here!
Re: Has anybody done anything with Sensibo Sky?
Changing the server to US keyboard and language didn't change anyhting. But I'm thinking that the library you are mentioning in the first post on this page, which I managed to overlook...
can be the thing. So please let me know what library that is, and how I update it.
Re: Has anybody done anything with Sensibo Sky?
I tried to update EG to the very latest version (I had the second to latest) hoping that this would update the library you mentioned, but that didn't change anything.
Re: Has anybody done anything with Sensibo Sky?
I also went back to Github and saw a new commit during the night, and that changed the line number with the error:
And then the regular "not connected" stuff.
Code: Select all
Enter device name to connect to: Varmepumpe ovenpå
D:\test.py:1143: 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- 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?
the library is what I am putting onto Github.
But none the less... give this a go and see if it works. This will forego any keyboard input
I really do hope it does. I have been messing around with this all night.
But none the less... give this a go and see if it works. This will forego any keyboard input
I really do hope it does. I have been messing around with this all night.
- Attachments
-
- SensiboSky-0.1.0b.egplugin
- (13.3 KiB) Downloaded 65 times
Re: Has anybody done anything with Sensibo Sky?
I'm afraid you won't like me anymore...
I added the plugin, chose "Execute" with the API key in, chose the heat pump from Available units, clicked Add and finally chose that in the dropdown list of Selected units. Then I clicked Apply, and EG started to bleed:
And this is actually working when you do it on my unit? The API key hasn't changed yet, btw. It will be there for 8-10 more hours.
Also double clicing the Get/Set Power macro is blood red too:
Btw if it helps I could set up a Team Viewer to a VM with EG and the script installed, so you can see if it's a Norwegian problem.
Code: Select all
12:19:08 Exception in thread Thread-34988:
12:19:08 Traceback (most recent call last):
12:19:08 File "threading.pyc", line 801, in __bootstrap_inner
12:19:08 File "threading.pyc", line 754, in run
12:19:08 File "C:\ProgramData\EventGhost\plugins\SensiboSky\__init__.py", line 176, in do
12:19:08 d = self.device_names
12:19:08 File "C:\ProgramData\EventGhost\plugins\SensiboSky\__init__.py", line 166, in device_names
12:19:08 self.__add_device(device_name)
12:19:08 File "C:\ProgramData\EventGhost\plugins\SensiboSky\__init__.py", line 143, in __add_device
12:19:08 device = self._sensibo_sky.get_device(device_name)
12:19:08 File "C:\ProgramData\EventGhost\plugins\SensiboSky\pySensibo_Sky\__init__.py", line 1183, in get_device
12:19:08 name = name.decode('utf-8')
12:19:08 File "encodings\utf_8.pyc", line 16, in decode
12:19:08 UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 16: ordinal not in range(128)
12:19:08 Also double clicing the Get/Set Power macro is blood red too:
Code: Select all
12:20:41 Traceback (most recent call last) (WIP-2018.02.28-12.06.26):
12:20:41 File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 162, in ProcessingTask
12:20:41 self.Configure(*args, **kwargs)
12:20:41 File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 106, in Configure
12:20:41 treeItem.Configure(*args)
12:20:41 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 80, in Configure
12:20:41 return self.executable.Configure(*args)
12:20:41 File "C:\ProgramData\EventGhost\plugins\SensiboSky\__init__.py", line 624, in Configure
12:20:41 device_ctrl = wx.Choice(panel, -1, choices=self.plugin.device_names)
12:20:41 File "C:\ProgramData\EventGhost\plugins\SensiboSky\__init__.py", line 166, in device_names
12:20:41 self.__add_device(device_name)
12:20:41 File "C:\ProgramData\EventGhost\plugins\SensiboSky\__init__.py", line 143, in __add_device
12:20:41 device = self._sensibo_sky.get_device(device_name)
12:20:41 File "C:\ProgramData\EventGhost\plugins\SensiboSky\pySensibo_Sky\__init__.py", line 1183, in get_device
12:20:41 name = name.decode('utf-8')
12:20:41 File "encodings\utf_8.pyc", line 16, in decode
12:20:41 UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 16: ordinal not in range(128)- 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?
The team viewer thing might be best. Because I am not sure what the issue is. it works like a champ on my end.
Tho the error I am now seeing I have seen before. Let me make another change
Tho the error I am now seeing I have seen before. Let me make another change
- 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 here goes.
- Attachments
-
- SensiboSky-0.1.1b.egplugin
- (13.3 KiB) Downloaded 68 times
Re: Has anybody done anything with Sensibo Sky?
That didn't complain when choosing the unit, but it did complain on restart of EG:
But on the other han I can now click the power and such without a problem. And I seeeee you!!!!
I think this is as close as you've ever been! I can turn off power!!!! This is both me and you, I think:
Code: Select all
12:34:29 utf-8 name decode error
12:34:29 latin-1 name decode error
12:34:29 utf-8 pod_name decode error
12:34:29 latin-1 pod_name decode error
12:34:29 name: <type 'unicode'> pd_name: <type 'unicode'>Code: Select all
12:35:30 C:\Program Files (x86)\EventGhost\eg\Classes\EventGhostEvent.py:123: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
12:35:30 eventString == key or
12:35:30 SensiboSky.Varmepumpe ovenpå.room_humidity.20.20 {'new_value': 20.2}Code: Select all
12:37:00 SensiboSky.Varmepumpe ovenpå.room_humidity.19.90 {'new_value': 19.9}
12:37:02 SensiboSky.Varmepumpe ovenpå.room_dew_point.-4.02 {'new_value': -4.022531712154368}
12:37:05 SensiboSky.Varmepumpe ovenpå.room_heat_index.18.14 {'new_value': 18.135166666666667}
12:37:05 MQTT.eg/Tellstick.Temperatur u"Viking,69,21.1"
12:37:05 SensiboSky.Varmepumpe ovenpå.power.True {'new_value': True}- 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?
well it is butchering the unicode. but at least it is running.
LOL
I will work on that in a while. everything should work even tho the unicode is all goofed.
LOL
I will work on that in a while. everything should work even tho the unicode is all goofed.
Re: Has anybody done anything with Sensibo Sky?
Brilliant, thanks a lot!
I love that it gives events when something else changes the settings! That way the EG web page will be updated when I change the settings from the app as well!
