-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: host is null in play url #150
Comments
Ah... in fact... I think this is a duplicate of #145. Sorry I didn't notice that earlier. Doh! |
Re: #145 (comment) You have stated here that you are using 3.0.3 of the adapter. Please install the master direct from Github and report back as to if your experience then changes to that described in #145. |
Sorry for the question, but how exactly do I do that? Never done that before. Neither https://github.com/iobroker-community-adapters/ioBroker.chromecast/tree/master nor https://github.com/iobroker-community-adapters/ioBroker.chromecast is working for me. |
Doh! There was a typo in the package.json. Fixed now so please try again. FYI, I just fixed #145 so with any luck your issue will have magically disappeared 😉 |
Please forget the versions and use the latest installed directly from GitHub master so we can troubleshoot this. What does the admin screen now show? Can you now select an IP address? If you can select an IP address, is it getting saved properly (look in system.adapter.chromecast.0 object for the native property). If it's getting saved properly, what is the URL that is being shown when you try and play a local file? |
I did use the latest installed directly from GitHub. I used https://github.com/iobroker-community-adapters/ioBroker.chromecast/tree/master and installed it via adapter view in ioBroker After that, I logged onto my ubuntu host and did iobroker add ioBroker.chromecast, which resulted in an instance with version 3.1.0. Besides that, no, I Still cannot select an IP address: |
Maybe the upload didn't run or failed? You could run If still not working, please look at the source of the Chromecast admin page... http(s)://your.iob.host/adapter/chromecast/index_m.html?0&newReact=true&0&react=colored ... and check it is the same as Github. Particularly line that the hidden option on line 119 is there: https://github.com/iobroker-community-adapters/ioBroker.chromecast/blob/master/admin/index_m.html#L119 |
yes, my page source code looks exactly the same like in https://github.com/iobroker-community-adapters/ioBroker.chromecast/blob/master/admin/index_m.html#L119 |
I notice you are using web 5.4.1. I am still on 4.3.0 here. Maybe the newer adapter isn't storing the value as expected? What is the bind value on your web config? The admin screen shows Please turn on expert mode and check what value exactly has been stored. I would expect |
Contact Details
github@alexanderolbricht.de
What happened?
I recently reinstalled the chromecast adapter to be able to send notifications to my chromecast devices in conjunction with tts adapter "sayit". Although working in the past, currently I run into an "getaddrinfo" error because my host is null.
adapter.config.webServer seems to be null. Using a second web server instance does nothing for me.
I cannot edit or select a proper IP adress in the chromecast adapter settings.
This is the configuration for my web.0 instance:
Any ideas what I can try to get rid of this error?
discovery and net-tools are running as well.
Adapter Version
3.0.3
JS-Controller Version
4.0.24
Node JS Version
18.1.0
NPM Version
8.8.0
Operating System
Ubuntu
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: