Closed markmghali closed 11 months ago
Hey, could you post some logs? Change the "logging_level" to "debug" instead of "warning" - restart Home Assistant and then check inside settings -> system -> logs -> load full logs. Wait around 2 minutes and copy and paste the logs to here 👍
Ensure the naming of your device is correct too. It's case sensitive so check that your device actually has no capital letters.
I corrected the case on the device name and still nothing. I do not really see anything in the logs. The device is a lenovo smart clock 2. I attached the whole log file.
Home Assistant Core
2023-07-29 10:33:10.041 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for tuya_local doing blocking calls at custom_components/tuya_local/device.py, line 76: self._api = tinytuya.Device(dev_id, address, local_key)
2023-07-29 10:33:10.266 WARNING (MainThread) [mqtt] We renamed asyncio-mqtt to aiomqtt and released a version 1.0.0 in the process. This is the last release under the asyncio-mqtt name. You can find the new repository at https://github.com/sbtinstruments/aiomqtt
2023-07-29 10:33:12.398 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] state_triggers_map: {}
2023-07-29 10:33:12.398 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] monitored_entities: set()
2023-07-29 10:33:12.402 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Current local time: 10:33:12.402400
2023-07-29 10:33:12.402 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Local time is inside the allowed casting time for Master Bedroom clock. Start time: 07:00:00 - End time: 01:00:00
2023-07-29 10:33:14.007 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Master Bedroom clock when checking for dashboard state 'Dummy': Volume: 57
Volume muted: False
2023-07-29 10:33:14.816 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Status output for Master Bedroom clock when checking for dashboard state 'Dummy': Volume: 57
Volume muted: False
2023-07-29 10:33:14.816 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] HA Dashboard (or media) is NOT playing on Master Bedroom clock!
2023-07-29 10:33:14.816 INFO (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Casting dashboard to Master Bedroom clock
2023-07-29 10:33:14.818 DEBUG (MainThread) [custom_components.continuously_casting_dashboards.dashboard_caster] Executing stop command...
2023-07-29 10:33:15.341 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up iqua_softener platform for sensor
Traceback (most recent call last):
File "/config/custom_components/iqua_softener/sensor.py", line 155, in _async_update_data
return await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/iqua_softener/sensor.py", line 156, in
I think this device might be incompatible with casting the dashboard unfortunately. Do you see anything happen on your device at all? I don't have one to test and after having a Google other users are reporting issues with trying to use Dashcast on these devices. (My Lenovo device is the 8inch 1st generation)
However - the benefit of this device is that you can side load the official HA app onto it and use that instead. I couldn't do that on my device which led me down the path of creating this integration.
How to video: https://www.youtube.com/watch?v=t0hp2xTHsqk
A post on how to sideload apps onto it: https://www.reddit.com/r/homeassistant/comments/126udom/fully_functioning_lenovo_smart_clock_2_with_ha/
Some reddit posts where users have done this:
https://www.reddit.com/r/homeassistant/comments/yuyp70/lenovo_smart_clock_2_cast_dashboard/
Yes I saw the sideloading and thought this might be easier. Yesterday it was trying to cast and I saw it on the button on the screen and the button would go away and just be a black background. Then it stopped casting. And it was adjusting the volume every few minutes on and off trying to cast and stop. Feels like it could work but might need some tweaking or something.
On Sun, Jul 30, 2023, 7:32 AM b0mbays @.***> wrote:
I think this device might be incompatible with casting the dashboard unfortunately. Do you see anything happen on your device at all? I don't have one to test and after having a Google other users are reporting issues with trying to use Dashcast on these devices. (My Lenovo device is the 8inch 1st generation)
However - the benefit of this device is that you can side load the official HA app onto it and use that instead. I couldn't do that on my device which led me down the path of creating this integration.
How to video: https://www.youtube.com/watch?v=t0hp2xTHsqk
A post on how to sideload apps onto it: https://www.reddit.com/r/homeassistant/comments/126udom/fully_functioning_lenovo_smart_clock_2_with_ha/
Some reddit posts where users have done this:
https://www.reddit.com/r/homeassistant/comments/yuyp70/lenovo_smart_clock_2_cast_dashboard/
— Reply to this email directly, view it on GitHub https://github.com/b0mbays/continuously_casting_dashboards/issues/31#issuecomment-1657128119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEENN4EPGWZTAEAZEUCAIFDXSZH4TANCNFSM6AAAAAA23RCSCU . You are receiving this because you authored the thread.Message ID: @.***>
I do have a video of It trying to cast to the screen if you want me to upload it somewhere.
On Sun, Jul 30, 2023, 10:41 AM Mark Ghali @.***> wrote:
Yes I saw the sideloading and thought this might be easier. Yesterday it was trying to cast and I saw it on the button on the screen and the button would go away and just be a black background. Then it stopped casting. And it was adjusting the volume every few minutes on and off trying to cast and stop. Feels like it could work but might need some tweaking or something.
On Sun, Jul 30, 2023, 7:32 AM b0mbays @.***> wrote:
I think this device might be incompatible with casting the dashboard unfortunately. Do you see anything happen on your device at all? I don't have one to test and after having a Google other users are reporting issues with trying to use Dashcast on these devices. (My Lenovo device is the 8inch 1st generation)
However - the benefit of this device is that you can side load the official HA app onto it and use that instead. I couldn't do that on my device which led me down the path of creating this integration.
How to video: https://www.youtube.com/watch?v=t0hp2xTHsqk
A post on how to sideload apps onto it: https://www.reddit.com/r/homeassistant/comments/126udom/fully_functioning_lenovo_smart_clock_2_with_ha/
Some reddit posts where users have done this:
https://www.reddit.com/r/homeassistant/comments/yuyp70/lenovo_smart_clock_2_cast_dashboard/
— Reply to this email directly, view it on GitHub https://github.com/b0mbays/continuously_casting_dashboards/issues/31#issuecomment-1657128119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEENN4EPGWZTAEAZEUCAIFDXSZH4TANCNFSM6AAAAAA23RCSCU . You are receiving this because you authored the thread.Message ID: @.***>
Interesting! Maybe it can work then... Yeah upload it to YouTube if you can 👍 so you're saying the device is not doing anything today though?
It wasn't doing anything 2 days ago. After I adjusted the name it has been trying to cast all day yesterday and failing over and over. I'll upload the video and send the link
On Sun, Jul 30, 2023, 12:29 PM b0mbays @.***> wrote:
Interesting! Maybe it can work then... Yeah upload it to YouTube if you can 👍 so you're saying the device is not doing anything today though?
— Reply to this email directly, view it on GitHub https://github.com/b0mbays/continuously_casting_dashboards/issues/31#issuecomment-1657225884, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEENN4AKY3BMMYC5II4TAHDXS2KWRANCNFSM6AAAAAA23RCSCU . You are receiving this because you authored the thread.Message ID: @.***>
Here it is. Right before this it adjusted the volume. After this it goes to the wallpaper/clock.
On Sun, Jul 30, 2023, 12:30 PM Mark Ghali @.***> wrote:
It wasn't doing anything 2 days ago. After I adjusted the name it has been trying to cast all day yesterday and failing over and over. I'll upload the video and send the link
On Sun, Jul 30, 2023, 12:29 PM b0mbays @.***> wrote:
Interesting! Maybe it can work then... Yeah upload it to YouTube if you can 👍 so you're saying the device is not doing anything today though?
— Reply to this email directly, view it on GitHub https://github.com/b0mbays/continuously_casting_dashboards/issues/31#issuecomment-1657225884, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEENN4AKY3BMMYC5II4TAHDXS2KWRANCNFSM6AAAAAA23RCSCU . You are receiving this because you authored the thread.Message ID: @.***>
Thanks for the video. That confirms that it looks to be incompatible unfortunately! It should pop up with a "Dashcast" screen and then the webpage. But you are just seeing a media playing screen. Somebody asked the same thing here and it just looks like casting doesn't work on the Lenovo smart clock 2.
https://www.reddit.com/r/homeassistant/comments/yuyp70/lenovo_smart_clock_2_cast_dashboard/
Your options are to either sideload the app or maybe buy a different device? The Google nest hubs work great for "continuosly casting" and I have 5 of them in our home all being casted too. Also the screens are slightly larger on these displays. Up to you!
Here's what my hubs look like:
Yes, I have a Nest hob 2 and just tested it on that and seems to work great! I will try sideloading on the smart clock.
Thank you again for helping me and the awesome project
Hello,
Thank you for the amazing work! I am trying to understand all the steps and believe I am close but I maybe missing somethings currently when I try the dashboard url on my computer I get this:![image](https://github.com/b0mbays/continuously_casting_dashboards/assets/17356528/649fc16f-d501-4be3-9be7-4a5659173f5e)
Here is my yaml:
external_url: "https: my url" auth_providers:
ontinuously_casting_dashboards: logging_level: warning #Required: Set the logging level - debug/info/warning (default is 'warning' - try 'debug' for debugging) cast_delay: 45 #Required: Time (in seconds) for casting checks between each device. start_time: "07:00" #Optional: Global start time of the casting window (format: "HH:MM") - Default is set to "07:00" and can be individually overwritten per device below. end_time: "01:00" #Optional: Global end time of the casting window (format: "HH:MM") and must be after "00:00". Default is set to "01:00" and can be individually overwritten per device below. devices: "master bedroom clock": #Required: Display name of your device. Find this on the actual device's settings or inside the Google Home app. dashboard_url: "http://xxx.xxx.x.X:8123/lovelace-tablet/google?kiosk" #Required: Dashboard URL to be casted (This must be the local IP address of your HA instance, not homeassistant.local) volume: 5 #Optional: Volume to set the display. (If you remove this, the device will remain the same volume) start_time: "07:00" #Optional: Set the start time for this device end_time: "01:00" #Optional: Set the end time for this device
Let me know what other info you may need thank you again. This is most likely my lack of understanding.