-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Climate.py error #10
Comments
Do you have simplejson installed? Im running HASSIO so it gets fixed automatically (if I recall correctly). I think you need to install modules on hassbian. Let me know :) |
Thanks for the quick reply! Umm.. i installed simplejson right now but the
problem remains...are there any other modules you think i should have?
Thanks!
…On Mon, May 6, 2019, 18:58 Rob Hofmann ***@***.***> wrote:
Do you have simplejson installed? Im running HASSIO so it gets fixed
automatically (if I recall correctly). I think you need to install modules
on hassbian.
Let me know :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL77JW4T7W5GMPFKKOAOHPDPUBITJANCNFSM4HLACLXA>
.
|
hi. Traceback (most recent call last): |
Hi, im not sure why this is going wrong. Maybe, if possible, you can switch to HASSIO? All dependencies will be fixed for you in that distro. Unfortunately I dont have a test-setup with hassbian available. |
Hi, looks like |
@omribenami can you try the suggestion from @srozb and let us know? |
guys with a help of a friend i got it fixed... it turned out to be like rob said... a lack of Simplejson..ive installed it on PIP command instead of PIP3... i still got an time out error because climate.py couldnt fetch the encryption keys but i extracted them myself and now its fully working. tnx for the help you guys and tnx for effort bringing gree to HA Rob!! |
Glad to hear! Enjoy. |
Hey.
After install i get the following error (hassbian 0.92.2, RPI3):
Update for climate.4th_room_ac failsTraceback (most recent call last): File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 220, in async_update_ha_state await self.async_device_update() File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 377, in async_device_update await self.hass.async_add_executor_job(self.update) File "/usr/lib/python3.5/asyncio/futures.py", line 380, in iter yield self # This tells Task to wait for completion. File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup future.result() File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result raise self._exception File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/home/homeassistant/.homeassistant/custom_components/gree/climate.py", line 408, in update self.SyncState() File "/home/homeassistant/.homeassistant/custom_components/gree/climate.py", line 326, in SyncState currentValues = self.GreeGetValues(optionsToFetch) File "/home/homeassistant/.homeassistant/custom_components/gree/climate.py", line 224, in GreeGetValues return self.FetchResult(self.CIPHER, self._ip_addr, self._port, jsonPayloadToSend)['dat'] File "/home/homeassistant/.homeassistant/custom_components/gree/climate.py", line 192, in FetchResult receivedJson = simplejson.loads(data) File "/usr/lib/python3.5/json/init.py", line 312, in loads s.class.name)) TypeError: the JSON object must be str, not 'bytes'
Thank you for the amazing effort!
The text was updated successfully, but these errors were encountered: