paoloantinori / ha_vodafone_power_station_device_tracker

Custom Device Tracker for Home Assistant to use Vodafone Power Station router network map.
MIT License
2 stars 1 forks source link

Error setting up platform legacy vodafone_power_station #8

Open simonegirlanda opened 1 year ago

simonegirlanda commented 1 year ago

Since a few weeks I'm having this error and the device tracker is no more working.

can I help to solve?

Logger: homeassistant.components.device_tracker Source: custom_components/vodafone_power_station/device_tracker.py:154 Integration: Device tracker (documentation, issues) First occurred: 09:34:57 (1 occurrences) Last logged: 09:34:57

Error setting up platform legacy vodafone_power_station Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 971, in json return complexjson.loads(self.text, **kwargs) File "/usr/local/lib/python3.10/site-packages/simplejson/init.py", line 514, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 386, in decode obj, end = self.raw_decode(s) File "/usr/local/lib/python3.10/site-packages/simplejson/decoder.py", line 416, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 293, in async_setup_legacy scanner = await hass.async_add_executor_job( File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/vodafone_power_station/device_tracker.py", line 34, in get_scanner scanner = VodafonePowerStationDeviceScanner(config[DOMAIN]) File "/config/custom_components/vodafone_power_station/device_tracker.py", line 52, in init data = self.get_router_data() File "/config/custom_components/vodafone_power_station/device_tracker.py", line 154, in get_router_data _LOGGER.debug("Full Response: %s" % response.json()) File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 975, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Amerigo1973 commented 1 year ago

the same for me

chemelli74 commented 1 year ago

Working on a new integration that will be part of the core.

Can you share the exact model of Vodafone Station you are using ?

If you want to contact me on discord we can test the new library together.

Simone

Amerigo1973 commented 1 year ago

Il mer 12 lug 2023, 13:32 Simone Chemelli @.***> ha scritto:

Working on a new integration that will be part of the core.

Can you share the exact model of Vodafone Station you are using ?

If you want to contact me on discord we can test the new library together.

Simone

— Reply to this email directly, view it on GitHub https://github.com/paoloantinori/ha_vodafone_power_station_device_tracker/issues/8#issuecomment-1632365406, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK3DZLRRATXSDDZXUNRB6LXP2DN5ANCNFSM6AAAAAAXYV4RR4 . You are receiving this because you commented.Message ID: <paoloantinori/ha_vodafone_power_station_device_tracker/issues/8/1632365406 @github.com>

asettico commented 1 year ago

Nome del prodotto: Vodafone Power Station Versione e tipo hardware: VOX30v1 Versione Firmware: XS_3.9.00.05

let me know how can I contribute.

chemelli74 commented 1 year ago

Nome del prodotto: Vodafone Power Station Versione e tipo hardware: VOX30v1 Versione Firmware: XS_3.9.00.05

Thx!

let me know how can I contribute.

Please join HomeAssistant on Discord and then contact me: chemelli74#2180

Simone