Code Monkey home page Code Monkey logo

Comments (17)

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024 1

My external was already there. I have updated with my internal now, but it doesn't help :(

from hass-gardena-smart-system.

northpower25 avatar northpower25 commented on August 23, 2024

Du you have connectet your Application Key to the APIs on the Husquarna Side?

F18F59EE-FFF9-41C7-94BD-462094544200

from hass-gardena-smart-system.

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024

Yes, I have both except Automower Connect.

from hass-gardena-smart-system.

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024

Logger: gardena.smart_system
Source: custom_components/gardena_smart_system/config_flow.py:133
First occurred: 19:08:15 (3 occurrences)
Last logged: 19:09:41

403 : {'message': 'Forbidden'}

from hass-gardena-smart-system.

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024

i did the installation manually. Could something have gone wrong there?
Is there anything else i should do? should i enter something in the configuration.yaml?

from hass-gardena-smart-system.

northpower25 avatar northpower25 commented on August 23, 2024

Normaly the installation is only need over the settings -> integration gui in hass normaly you need no manual settings in configuration.yaml if you have settings for gardena please comment it out an make the integration settings direct with the gui

from hass-gardena-smart-system.

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024

Thanks for your help.
Iäm sorry but i dont really understand.. I have nothing in my configuration.yaml file.

please tell me what to do :)
Thanks a lot!

from hass-gardena-smart-system.

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024

I entered the text below. And the only thing that was a little bit strange was the last line. I didn't get answer in the terminal. I don't know if that is normal or not. Anyway.. i can see that i have everthing installed in the folder custom components.

cd ///
git clone https://github.com/osks/hass-gardena-smart-system.git
mkdir custom_components (if not exist)
cd custom_components
ln -s ../hass-gardena-smart-system/custom_components/gardena_smart_system

from hass-gardena-smart-system.

northpower25 avatar northpower25 commented on August 23, 2024

Have you set your external URL?
B533C527-2202-4185-BDCC-69531648177B

from hass-gardena-smart-system.

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024

Still get this error:

Logginformation (ERROR)
Logger: custom_components.gardena_smart_system.config_flow
Source: custom_components/gardena_smart_system/config_flow.py:133
Integration: Gardena Smart System (documentation)
First occurred: 19:08:15 (5 occurrences)
Last logged: 20:53:48

Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/gardena_smart_system/config_flow.py", line 70, in async_step_user
user_input[CONF_CLIENT_ID])
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/gardena_smart_system/config_flow.py", line 133, in try_connection
smart_system.update_locations()
File "/usr/local/lib/python3.7/site-packages/gardena/smart_system.py", line 157, in update_locations
if len(response_data["data"]) < 1:
KeyError: 'data'

from hass-gardena-smart-system.

northpower25 avatar northpower25 commented on August 23, 2024

I entered the text below. And the only thing that was a little bit strange was the last line. I didn't get answer in the terminal. I don't know if that is normal or not. Anyway.. i can see that i have everthing installed in the folder custom components.

cd ///
git clone https://github.com/osks/hass-gardena-smart-system.git
mkdir custom_components (if not exist)
cd custom_components
ln -s ../hass-gardena-smart-system/custom_components/gardena_smart_system

Why do you have do so much? i‘ve only install it over hacs (You can otherwise copy the Filens manual in the custom_integrations folder) and make the settings over the settings-> integration -> search vor the integration and it works propably. 🤔

from hass-gardena-smart-system.

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024

I have now installed it with HACS. Still doesn't work. Nothing happens after i click OK. I type in mail, pw and token, but nothing happens when i click OK :(

from hass-gardena-smart-system.

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024

i get this:

Logginformation (ERROR)
Logger: custom_components.gardena_smart_system.config_flow
Source: custom_components/gardena_smart_system/config_flow.py:133
Integration: Gardena Smart System (documentation)
First occurred: 0:12:38 (3 occurrences)
Last logged: 0:15:13

Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/gardena_smart_system/config_flow.py", line 70, in async_step_user
user_input[CONF_CLIENT_ID])
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/gardena_smart_system/config_flow.py", line 133, in try_connection
smart_system.update_locations()
File "/usr/local/lib/python3.7/site-packages/gardena/smart_system.py", line 157, in update_locations
if len(response_data["data"]) < 1:
KeyError: 'data'

from hass-gardena-smart-system.

Jpsy avatar Jpsy commented on August 23, 2024

cd ///
git clone https://github.com/osks/hass-gardena-smart-system.git
mkdir custom_components (if not exist)
cd custom_components
ln -s ../hass-gardena-smart-system/custom_components/gardena_smart_system

Did you really enter it like this?
If so, then the first and the third command are completely broken and you created a symlink into the void.
To clean up check your custom_components folder and remove the symlink. Check whether you cloned the repo into the root folder of your system or into the home folder of your terminal user and delete it there.
Then use HACS.

from hass-gardena-smart-system.

Johnyyy85 avatar Johnyyy85 commented on August 23, 2024

I deleted the folder and installed it with HACS.
It looks like this now, but it looked liked that before aswell

image

from hass-gardena-smart-system.

osks avatar osks commented on August 23, 2024

Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/gardena_smart_system/config_flow.py", line 70, in async_step_user
user_input[CONF_CLIENT_ID])
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/gardena_smart_system/config_flow.py", line 133, in try_connection
smart_system.update_locations()
File "/usr/local/lib/python3.7/site-packages/gardena/smart_system.py", line 157, in update_locations
if len(response_data["data"]) < 1:
KeyError: 'data'

This exception comes from bad handling of the response, which may hide the real issue.

from hass-gardena-smart-system.

osks avatar osks commented on August 23, 2024

Could you open an issue in the new repository (py-smart-gardena/hass-gardena-smart-system) and continue there please?

from hass-gardena-smart-system.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.