There is a bug with state reporting. Fixes proposed but awaiting approval. https://github.com/home-assistant/home-assistant/pull/28897
The issue is with the lovelace media player card. You can still use turn_on service.
There is a bug with state reporting. Fixes proposed but awaiting approval. https://github.com/home-assistant/home-assistant/pull/28897
The issue is with the lovelace media player card. You can still use turn_on service.
All good. I donāt have any automations for controlling it yet just something I noticed and wanted to make sure it wasnāt on my end. Flipped through a couple recent pages of comments and didnāt see anything.
Thank you
I had a problem with my network and ps stopped responding to commands. How do I reset the integration?
In mobile application does not appear home assistant
Is there an easy way to turn off the ps4 completely? Ie. not just rest mode?
I donāt think we have any functionality via HA that isnāt in the PS4 companion app, and I donāt believe the companion app has any way to turn it right off? Soā¦ No, I donāt think so?
@Courtenay_Watson @ryan6061 I donāt believe there is a way to turn off completely from the companion app. I donāt think remote play can do that either .
As far as features go, if any of the official Playstation apps has the ability to perform a feature, we may be able to add it. However, if they donāt then weāre pretty much out of luck.
Looking if anyone else is having this issue.
Iāve been using the component successfully for quite some time now. Recently however Iāve gotten an invalid config notification on restart. and get this error in the log
2020-01-08 22:40:18 ERROR (MainThread) [homeassistant.setup] Error during setup of component ps4
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 172, in _async_setup_component
hass, processed_config
File "/usr/src/homeassistant/homeassistant/components/ps4/__init__.py", line 56, in async_setup
transport, protocol = await async_create_ddp_endpoint()
File "/usr/local/lib/python3.7/site-packages/pyps4_2ndscreen/ddp.py", line 130, in async_create_ddp_endpoint
transport, protocol = await loop.create_task(connect)
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1211, in create_datagram_endpoint
raise ValueError("Passing `reuse_address=True` is no "
ValueError: Passing `reuse_address=True` is no longer supported, as the usage of SO_REUSEPORT in UDP poses a significant security concern.
I tried removing and recreating the integration. It doesnāt give me any error. But it doesnāt create any entities. Just says āintegration has no devices.ā I have a feeling it has something to do with the 'reuse_address=true being some update somewhere that broke this. But just want to make sure Iām not missing anything.
Iām running the hassio supervisor via docker on ubuntu 18.04 lts.
Same thing happening to me on hassio 103.6 on an RPi. I tried the same steps as you.
This should be fixed in 104.0. It was caused by an update to python 3.7.6.
Hi that sound good but when will 104 be released?
Should be next wednesday.
I can confirm this fixed the issue!
My ps4 switch is shown as on in HomeKit when itās in Standby mode, any idea how to fix this?
I apologize for this bug. There seems to be no progress for resolving this. All proposed fixes including a revert of the change have been disapproved or have been ignored unfortunately.
Hi Guys, First time posting here.
Newbie in Home Assistant. I was able to already do some funky stuff with hass.
Itās runnung as container on my Rasbian/PI4 install.
Now I try to add my PS4. And I canāt seem to do anything.
The PS4 integrations partis turning around and after some time
and as far as i know hass, the only log I see is :
[pyps4_2ndscreen.credential] Credential service has timed out with no response.
And nothing more. Can one of you guide/help me on settings this ?
For info, the PS4 is on static IP and is connecter to the same network obviously.
@EkielZan Welcome to HA. Have you by chance followed the instructions in the docs? https://www.home-assistant.io/integrations/ps4/ You will need to use the Sony PS4 2nd Screen app and tap on the Home-assistant device when the wheel is spinning.
I canāt get the power off function to work. But if pushing pause it works perfect and after some button mashing on pause the power off works too. Har tried to delete it and set it up as new again. Same problem. Everything else works just fine.
Update 0.105.4 Problem python 3.8.1
2020-02-15 16:54:14 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 418, in start resp = await task File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/aiohttp/web_app.py", line 458, in _handle resp = await handler(request) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl return await handler(request) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware return await handler(request) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/ban.py", line 72, in ban_middleware return await handler(request) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/auth.py", line 135, in auth_middleware return await handler(request) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/view.py", line 123, in handle result = await result File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/components/config/config_entries.py", line 160, in post return await super().post(request, flow_id) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/components/http/data_validator.py", line 50, in wrapper result = await method(view, request, *args, **kwargs) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/data_entry_flow.py", line 89, in post result = await self._flow_mgr.async_configure(flow_id, data) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/data_entry_flow.py", line 130, in async_configure result = await self._async_handle_step(flow, cur_step["step_id"], user_input) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/data_entry_flow.py", line 172, in _async_handle_step result: Dict = await getattr(flow, method)(user_input) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/homeassistant/components/ps4/config_flow.py", line 70, in async_step_creds self.creds = await self.hass.async_add_executor_job( File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/pyps4_2ndscreen/helpers.py", line 79, in get_creds credentials = Credentials(device_name) File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/pyps4_2ndscreen/credential.py", line 43, in __init__ self.start() File "/mnt/mmc0/work/homeassistant/lib/python3.8/site-packages/pyps4_2ndscreen/credential.py", line 54, in start sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) OSError: [Errno 92] Protocol not available
do you think it will be fixed in the future?
Hi allā¦ yesterday i have configured my PS4 with the native component and now my log is full of thousands of messages like this ā2020-02-26 21:25:45 ERROR (MainThread) [homeassistant.components.ps4] Games file was not parsed correctlyā what does it mean? In the āstatesā section there is the media_player.playstation_4 entity so I think the integration worksā¦