Mopar component not working -"expecting value"

My mopar component used to work correctly but now I am receive the error message below when I try to use the unlock service. I understand that the component has been updated. I do have the new lock switches, horn/light service, and the sensors are working correctly. I am on version 0.92.2.

Log Details (ERROR)
Thu May 09 2019 11:31:17 GMT-0500 (Central Daylight Time)
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py”, line 121, in handle_call_service
connection.context(msg))
File “/usr/local/lib/python3.7/site-packages/homeassistant/core.py”, line 1138, in async_call
self._execute_service(handler, service_call))
File “/usr/local/lib/python3.7/site-packages/homeassistant/core.py”, line 1160, in _execute_service
await handler.func(service_call)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py”, line 194, in handle_service
required_features
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py”, line 316, in entity_service_call
future.result() # pop exception if have
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py”, line 337, in _handle_service_platform_call
await getattr(entity, func)(**data)
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mopar/lock.py”, line 47, in lock
if self._actuate(‘lock’, self._index):
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/mopar/init.py”, line 151, in actuate
response = getattr(motorparts, command)(self._session, index)
File “/usr/local/lib/python3.7/site-packages/motorparts/init.py”, line 237, in lock
remote_command(session, COMMAND_LOCK, vehicle_index)
File “/usr/local/lib/python3.7/site-packages/motorparts/init.py”, line 106, in wrapped
return function(session, *args)
File “/usr/local/lib/python3.7/site-packages/motorparts/init.py”, line 226, in remote_command
‘action’: command
File “/usr/local/lib/python3.7/site-packages/requests/models.py”, line 897, in json
return complexjson.loads(self.text, **kwargs)
File “/usr/local/lib/python3.7/site-packages/simplejson/init.py”, line 518, in loads
return _default_decoder.decode(s)
File “/usr/local/lib/python3.7/site-packages/simplejson/decoder.py”, line 370, in decode
obj, end = self.raw_decode(s)
File “/usr/local/lib/python3.7/site-packages/simplejson/decoder.py”, line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Same exact issue here. Did you find a solution?

No, still not working yet.

Any updates on this?

Just FYI, I think I have found the issue. The motorparts dependency changed the URL’s earlier this year to new URLs. Running an intercept on the POST/GET commands, it seems the URL’s have changed back to the original ones. I was able to copy the init.d file from before the updates to the deps folder and it now does actually send commands. However, the sensor/switch still do not reflect the lock/engine status (I’m not sure if they ever did since I am new to this integration).

I don’t think I have an old copy of the init.d file. Isn’t this a bug on home assistant?

I too have the same issue - bug report please this is a HA integration issue still has of version 98.5

Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 130, in handle_call_service
connection.context(msg),
File “/usr/src/homeassistant/homeassistant/core.py”, line 1235, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File “/usr/src/homeassistant/homeassistant/core.py”, line 1260, in _execute_service
await handler.func(service_call)
File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 210, in handle_service
self._platforms.values(), func, call, service_name, required_features
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 349, in entity_service_call
future.result() # pop exception if have
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 371, in _handle_service_platform_call
await getattr(entity, func)(**data)
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/mopar/lock.py”, line 46, in lock
if self._actuate(“lock”, self._index):
File “/usr/src/homeassistant/homeassistant/components/mopar/init.py”, line 142, in actuate
response = getattr(motorparts, command)(self._session, index)
File “/usr/local/lib/python3.7/site-packages/motorparts/init.py”, line 237, in lock
remote_command(session, COMMAND_LOCK, vehicle_index)
File “/usr/local/lib/python3.7/site-packages/motorparts/init.py”, line 106, in wrapped
return function(session, *args)
File “/usr/local/lib/python3.7/site-packages/motorparts/init.py”, line 226, in remote_command
‘action’: command
File “/usr/local/lib/python3.7/site-packages/requests/models.py”, line 897, in json
return complexjson.loads(self.text, **kwargs)
File “/usr/local/lib/python3.7/site-packages/simplejson/init.py”, line 518, in loads
return _default_decoder.decode(s)
File “/usr/local/lib/python3.7/site-packages/simplejson/decoder.py”, line 370, in decode
obj, end = self.raw_decode(s)
File “/usr/local/lib/python3.7/site-packages/simplejson/decoder.py”, line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Can you send me the init.d you are talking about?

Is there a moderator we can reach out to - to have this corrected?

I’m having the same issue, more than happy to provide whatever info I can to help.

I created another forum post - appear the author may not be monitoring their releases.

1 Like