kevinatown / MMM-Screencast

A module to cast to the magic mirror
MIT License
166 stars 34 forks source link

Cast does not show up on phone. Nothing displayed in Magic Mirror #90

Open prof-toro opened 4 years ago

prof-toro commented 4 years ago

I can't seem to get MMM-Screencast to work. I've installed, deleted and re-installed several times and nothing seems to work. I've even removed all other modules and still can't seem to get it to work. I've tried using different devices to cast but no casting option shows up on any.

For your reference I've added a log file but I don't see anything telling in it. log.log

prof-toro commented 4 years ago

To expedite things I've attached the config file with all the other modules removed. config.txt

jgreen84 commented 4 years ago

I have been struggling with the same problem and my config is pretty much the same as yours.

It just occurred to me to try casting from YouTube in Chrome on my Mac and that works perfectly. So you may want to see if you have the same issue in which it's just the YouTube app (potentially just iOS) that isn't showing the MM as a castable device. Hopefully that helps narrow down the problem as well.

kevinatown commented 4 years ago

@prof-toro your log was really helpful. It seems you might be missing some code from MMM-Screencast: No helper found for module: MMM-Screencast. MMM-Screencast does contain a node_helper.js so it should be loaded.

Please delete the folder and reclone or try pulling. Then please reinstall and MMM-Screencast dependencies.

kevinatown commented 4 years ago

@jgreen84 your issue might be different. I have had no issues casting from my iPhone's youtube app. Can you provide anymore info on your issue? Also, got to ask are you connected to the same wifi?

jgreen84 commented 4 years ago

@kevinatown ah ok yes it does sound different for sure. I actually get two devices in my cast list from Chrome on my iMac. I believe that is because I'm currently connected via ethernet as well as Wi-Fi. The final installation won't have Ethernet. I suppose I could try unhooking the Ethernet to see if that makes a difference on the phone.

kevinatown commented 4 years ago

@jgreen84 the ethernet does sound like a potential issue. Please give that a go and let me know!

prof-toro commented 4 years ago

@kevinatown I'm not sure what the issue is. I checked the MMM-Screencast and there is a helper_node.js present and I've tried all your solutions but still I get the same error.

prof-toro commented 4 years ago

@kevinatown after trying one last time it started working. I was literally about to cut my losses and give up. What I did was copy the Screencast folder to the modules folder and as an added precaution copied the node_helper.js file to the MagicMirror folder. Not sure if that was what solved the problem or if it was just coincidence but seeing as I've been trying to solve this for days I don't want to tempt fate and change anything to find out.

jgreen84 commented 4 years ago

@kevinatown i disconnected the Ethernet and now I just have the one cast option from my iMac. Sadly I'm still not seeing it as an option in YouTube app on the iPhone.