Giter Site home page Giter Site logo

Comments (16)

llewy avatar llewy commented on May 29, 2024 1

from dashcast.

BeeSci avatar BeeSci commented on May 29, 2024 1

Reinstalling both Dashcast and WebRTC with master branch did the trick for me. Don’t forget to reboot. Op za 9 mrt 2024 om 19:01 schreef BeeSci @.***>

I can confirm that the @llewy procedure works. 👍

  • Remove webrtc camera and dashcast in the HA integrations section.
  • Delete both integrations in HACS.
  • Restart HA.
  • Add integration webrtc camera in HACS, select Master for download.
  • Add integration dashcast in HACS
  • Add both integrations in HA integrations section.
  • Restart HA.
  • Upgrade HA core to version 2024.3.0
    Thank you so much @llewy

from dashcast.

rralex89 avatar rralex89 commented on May 29, 2024 1

that solution didn't work for me. but maybe i did something wrong. i'll just wait for @AlexxIT to find enough time to give us an official resolution. Thanks for all the work!

from dashcast.

llewy avatar llewy commented on May 29, 2024

Same error over here, is there a workaround any of you guys know of?

Using my Nest Hub as a baby monitor 😉

from dashcast.

Lamarqe avatar Lamarqe commented on May 29, 2024

is there a workaround any of you guys know of?

Use the automatically generated backup and revert to 2024.2.

from dashcast.

BeeSci avatar BeeSci commented on May 29, 2024

Same error message "TypeError: DashCastController.load_url() takes 2 positional arguments but 3 were given" here.
Fix "dash.load_url(url, force=force)" was applied but did not help.
Reverting to HA core V 2024.2.5 via backup solved the problem (temporarily).

from dashcast.

rralex89 avatar rralex89 commented on May 29, 2024

gave it another go today, manually installing DashCast today after reinstalling webrtc. still no luck:

2024-04-02 05:58:26.728 ERROR (SyncWorker_30) [custom_components.webrtc.utils] Can't DashCast to ['media_player.office_display'] Traceback (most recent call last): File "/config/custom_components/webrtc/utils.py", line 191, in dash_cast entity.dashcast.load_url(url, force) TypeError: DashCastController.load_url() takes 2 positional arguments but 3 were given

from dashcast.

AlexxIT avatar AlexxIT commented on May 29, 2024

https://github.com/AlexxIT/DashCast/releases/tag/v1.1.0

from dashcast.

rralex89 avatar rralex89 commented on May 29, 2024

hey Alex! Thanks for the code. it still doesn't work, same error. Question: does it work for you? Maybe i'm doing something wrong

from dashcast.

AlexxIT avatar AlexxIT commented on May 29, 2024

Show exact error

from dashcast.

rralex89 avatar rralex89 commented on May 29, 2024

surething. i'm trying to run this script:

alias: Play BabyCam on Office Display
sequence:
  - service: webrtc.dash_cast
    data:
      entity_id: media_player.office_display
      force: true
      entity: camera.baby_s_room_hd_stream
      extra:
        mode: webrtc, mse
        media: audio, video
        muted: false
mode: single
icon: mdi:baby

and i'm getting this in debug:

Traceback (most recent call last): File "/config/custom_components/webrtc/utils.py", line 191, in dash_cast entity.dashcast.load_url(url, force) TypeError: DashCastController.load_url() takes 2 positional arguments but 3 were given 2024-04-07 10:09:39.481 ERROR (SyncWorker_4) [custom_components.webrtc.utils] Can't DashCast to ['media_player.office_display']

the mediaplayer itself is a google hub 2nd gen.

from dashcast.

AlexxIT avatar AlexxIT commented on May 29, 2024

You showing error from another integration. This error not related to this integration.

from dashcast.

rralex89 avatar rralex89 commented on May 29, 2024

right. it's from WebRTC Camera, but that integrations works great. strams are working ok, i just can't use it to dashcast. let me open an issue in WebRTC as well. i believe it's also your creation :)

from dashcast.

rralex89 avatar rralex89 commented on May 29, 2024

so no use for a new bug. i manually downloaded the latest code from the WebRTC master branch as i saw you fixed it in that. now it works. The problem was that i was using the latest release in HACS, that does not include your fix.

@AlexxIT thank you really muhc for your work! i assure you that it is higly appreciated!

from dashcast.

rralex89 avatar rralex89 commented on May 29, 2024

@AlexxIT please accept my modest donation in your TRX account :) thank you for all your work

from dashcast.

AlexxIT avatar AlexxIT commented on May 29, 2024

Thanks! Got it.

from dashcast.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.