core
core copied to clipboard
Growatt solar invertor integration error.
The problem
I live in Pakistan and my user name only authenticates on the following location, which is not available in your integration servers.
https://server.growatt.com/
So, please add this server to your integration. because all other servers do not accept my credentials and give login errors.
URL https://www.home-assistant.io/integrations/growatt_server/
What version of Home Assistant Core has the issue?
core-2023.11.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
GROWATT
Link to integration documentation on our website
https://www.home-assistant.io/integrations/growatt_server/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
same problem
same
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 359, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/growatt_server/sensor.py", line 87, in async_setup_entry
devices, plant_id = await hass.async_add_executor_job(get_device_list, api, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/growatt_server/sensor.py", line 43, in get_device_list
login_response = api.login(config[CONF_USERNAME], config[CONF_PASSWORD])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/growattServer/__init__.py", line 132, in login
data = json.loads(response.content.decode('utf-8'))['back']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hi all, sorry new to HA and I have the same issue as posted. My data at Growatt is on the server server.growatt.com and this is not on the list. I have tried all of the 3 listed with no joy. Any advice would be appreciated.
My logs show the same error as posted by snelis. Versions: Core 2023.11.3 Frontend 20231030.2
Here also. 2 Year old Installation in Germany. Server Wrong.
Same issue for me. This hasn't worked since the October update
You should now install the integration via HACS. It has the new server address of https://server.growatt.com/ So far there is no issue for me until today:
https://github.com/muppet3000/homeassistant-growatt_server_api
Same issue for me
Hi
Thank you so much for this
Regards
Graham Snelson
On 14 Dec 2023, at 09:05, Marco Baldini @.***> wrote:
Same issue for me
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/104413#issuecomment-1855449234, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY6S4TRCO2KUTJTBC7BHEUTYJK6MZAVCNFSM6AAAAAA7XTAGROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVGQ2DSMRTGQ. You are receiving this because you commented.
same Problem in Germany. the wrong server... it looks visual like (https://server.smten.com/)
but the right Server Name is https://server.growatt.com
please add it ! Thanks
fixed in #109122