tim-hellhake / chromecast-adapter

Chromecast device adapter for WebThings Gateway
MIT License
6 stars 2 forks source link

On Off reversed #5

Closed Geffers closed 4 years ago

Geffers commented 4 years ago

Simple one - when using Chromecast add-on the on off options appear to have the reverse effect. On switches device off and visa versa

Geoff Lane

mrstegeman commented 4 years ago

I was unable to reproduce the issue, but I attempted a fix.

I just released version 0.4.2 of the add-on. Please let me know if it helps.

Geffers commented 4 years ago

Michael,

I have upgraded to 0.4.2 but still the same issue.

I have two chromecast devices, on both when the add-on shows off both chromecast are actually on.

If I press the gateway add-on button it brightens, changes to show ON but my chromecast then disappears from screen, assume it shuts down. I didnt actually know the chromecast could be shut down other that pulling the plug.

Geoff

On Wed, 1 Apr 2020, 21:01 Michael Stegeman, notifications@github.com wrote:

I was unable to reproduce the issue, but I attempted a fix.

I just released version 0.4.2 of the add-on. Please let me know if it helps.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mrstegeman/chromecast-adapter/issues/5#issuecomment-607461396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHAFSH664VXHGVVZZVXS6JDRKOMTFANCNFSM4LY2AJJQ .

freaktechnik commented 4 years ago

The way it used to work when I had initially implemented this plugin (not sure if that's still accurate) is to treat the screensaver mode of the chromecast as off. If you "turn it on" it will switch to an explicit app. This will, however not lead to something being displayed, the main intention is to enable the CEC/HDMI turn on feature. What the property does not indicate is the power or visibility status of the chromecast on your TV.

mrstegeman commented 4 years ago

@freaktechnik I was hoping you'd weigh in. 😄 Yes, that's still accurate. CEC commands are still unavailable.

Geffers commented 4 years ago

OK - I shall check that out later, Pi being used for something else at the moment. I will report back.

Geoff

On Thu, 2 Apr 2020 at 16:23, Martin Giger notifications@github.com wrote:

The way it used to work when I had initially implemented this plugin (not sure if that's still accurate) is to treat the screensaver mode of the chromecast as off. If you "turn it on" it will switch to an explicit app. This will, however not lead to something being displayed, the main intention is to enable the CEC/HDMI turn on feature. What the property does not indicate is the power or visibility status of the chromecast on your TV.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mrstegeman/chromecast-adapter/issues/5#issuecomment-607912741, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHAFSH53PFAUA7ODJJLXVTLRKSUVVANCNFSM4LY2AJJQ .

Geffers commented 4 years ago

OK, checked and understand your explanation now. The screen displayed when the chromecast is switched on is actually the same as when VLC is enabled for streaming but before it actually starts to stream.

Thank you for explanation.

Geoff

On Fri, 3 Apr 2020 at 13:09, Geoff Lane notifications@github.com wrote:

OK - I shall check that out later, Pi being used for something else at the moment. I will report back.

Geoff

On Thu, 2 Apr 2020 at 16:23, Martin Giger notifications@github.com wrote:

The way it used to work when I had initially implemented this plugin (not sure if that's still accurate) is to treat the screensaver mode of the chromecast as off. If you "turn it on" it will switch to an explicit app. This will, however not lead to something being displayed, the main intention is to enable the CEC/HDMI turn on feature. What the property does not indicate is the power or visibility status of the chromecast on your TV.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/mrstegeman/chromecast-adapter/issues/5#issuecomment-607912741 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AHAFSH53PFAUA7ODJJLXVTLRKSUVVANCNFSM4LY2AJJQ

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mrstegeman/chromecast-adapter/issues/5#issuecomment-608398122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHAFSH3BS6WDWAQJJHLPZNTRKXGXXANCNFSM4LY2AJJQ .