madmicio / LG-WebOS-Remote-Control

Remote Control for LG TV WebOS
395 stars 73 forks source link

new release problem on ios companion app #9

Closed tigroz closed 4 years ago

tigroz commented 4 years ago

the new version does not appear on the ios app, on the version on the pc everything ok, instead on the ios app says:

Custom element doesn't exist: lg-remote-control.
entity: media_player.tv_lg  
type: 'custom: lg-remote-control'
jscherry commented 4 years ago

I’m getting the same error on Mac safari

PiotrMachowski commented 4 years ago

@jscherry Could you please attach any errors from browsers console?

tigroz commented 4 years ago

yep..tested me too Safari on MacBook and i'm getting the same error

PiotrMachowski commented 4 years ago

@tigroz Could you please attach any errors from browsers console?

madmicio commented 4 years ago

I don't know if this is the case. but as early as yesterday, hacs seemed crazy. many users complained about the same problem on many well-tested cards like browsermod custom_state_switch etc etc.

if you can, compare the github code with the one on your device. try to understand if it is the same.

tigroz commented 4 years ago

@tigroz Could you please attach any errors from browsers console?

can you please show me how to do?

tigroz commented 4 years ago

I don't know if this is the case. but as early as yesterday, hacs seemed crazy. many users complained about the same problem on many well-tested cards like browsermod custom_state_switch etc etc.

if you can, compare the github code with the one on your device. try to understand if it is the same.

you mean compare browse_mod ? or LG WebOS Remote Control?

madmicio commented 4 years ago

compare the code on github and that of your card. this is done for all three cards of the remote control. if they are the same, delete the gz file in the directories of the three cards, clear the cache and see if it works. as I was telling you in the past few days this problem I also encountered with the updating of other cards

tigroz commented 4 years ago

i've deleted all 3 plugin, rebooted reinstalled and the error persists

PiotrMachowski commented 4 years ago

@jscherry @tigroz Could you please attach any errors from browsers console?

tigroz commented 4 years ago
Schermata 2020-04-25 alle 16 35 05

this screenshot could be ok?

PiotrMachowski commented 4 years ago

It's almost enough, there's some missing text on the right side. From what I can see it seems like an issue with hacs serving the file

ykiv63 commented 4 years ago

i've deleted all 3 plugin, rebooted reinstalled and the error persists

For me also. Don't works. Same error.

tigroz commented 4 years ago

i've done new screenshot now you can read all the text, any advice? thanks :)

Schermata 2020-04-27 alle 15 11 41
jscherry commented 4 years ago

Image 4-27-20 at 3 53 PM

jscherry commented 4 years ago

Above is a screenshot from an iMac. I tried deleting the gz file associated with each card as recommended and cleared the browser cache. Still not working on safari for Mac, safari on iOS, but works fine using Chrome. Has to have something to do with the Safari browser?

PiotrMachowski commented 4 years ago

@tigroz @jscherry thanks, I know the source of a problem now. The card used feature that is not supported by Safari. I should be able to fix it shortly

jscherry commented 4 years ago

How do you set the channels for the channel pad card?

jscherry commented 4 years ago

Nevermind I found the info to set channels, sorry.

madmicio commented 4 years ago

Schermata 2020-04-28 alle 00 49 45

jscherry commented 4 years ago

Just tried it using Chrome and Firefox on iOS devices. Neither work but It works fine on my iMac with Chrome? Is there something preventing the plugin from working on Apple mobile devices. Also no luck with the iOS home assistant companion app.

jscherry commented 4 years ago

We’re you guys able to correct the code issue prohibiting it from working with Safari and Apple mobile devices?

PiotrMachowski commented 4 years ago

We have a working version on a dev branch, it should be available today.

PiotrMachowski commented 4 years ago

It should be fixed in current version, could you confirm it?

tigroz commented 4 years ago

now the custom card is loaded, the problem is the backgroud color of the buttons Immagine i've added to the theme deactive-background-button-color: "#333336"

PiotrMachowski commented 4 years ago

Colors are now configurable in a configuration: documentation

colors:
  buttons: var(--deactive-background-button-color)
nandin0 commented 3 years ago

not work, same error in raspberrypi 3

Custom element doesn't exist: lg-remote-control. entity: media_player.tv_lg
type: 'custom: lg-remote-control'

rvsoftz commented 3 years ago

I was getting this error with my Raspberry setup. The strange solution was to rename the folder from “LG-WebOS-Remote-Control” to something lowercase like “lg-remote-control”. After updating the resource url and a full restart, the remote suddenly appears on my dashboard.