Skip to content
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

Channel numbering #156

Open
thanomichalis opened this issue Oct 2, 2024 · 7 comments
Open

Channel numbering #156

thanomichalis opened this issue Oct 2, 2024 · 7 comments

Comments

@thanomichalis
Copy link

I have a LG C3 Evo tv, and in Greece the DTV has a number of TV digital channels but also 11 Radio channels.
The issue is that for some reason, this card does not distinguish between TV channels and Radio channels.
Radio channels start from 1-11, and TV channels start from 1-41. As a result, when i put
`channels:

  • image: /local/media/tv-logo/ert1-gr.png
    number: "1"`
    it does not open the tv channel, but the Radio channel. From channel 12 and up, it does open the tv channels since there are no radio channels.
    I have tried to change the numbering either of the tv channels or the radio channels, but still the issue remains.
    Is there any work around or should i address it to LG integration?
@madmicio
Copy link
Owner

madmicio commented Oct 2, 2024

I understand what your problem is. The fact is that the card relies on the webos integration. I'm sure that if you call the service that sets channel 1 from developer tools, the first radio channel will be tuned to the TV. You can work around this by using the card channel pad. There you can make a custom channel mapping. Otherwise you could make a change to the card code. When you call the channel via the numeric keypad, add +11 to the value you typed. But this is just a workaround. Report the problem to the webos integration developers

@thanomichalis
Copy link
Author

Thank you for the quick response.
I thought so too that it should be solved at the integration level.
However, in the developers, when i call an action for channel id, the integration allows you to call either the number, or the channel name. I just tested the channel name and it is working. Is it possible to put the channel name in the card? or it is working only with number?

@thanomichalis
Copy link
Author

You can work around this by using the card channel pad. There you can make a custom channel mapping.

I am using the channel pad, however it accepts only numbers, and as i mentioned, even if i move the tv channel from 1 to number 20, it does not open it. It opens the original channel that was on number 20!
This is why i asked you if you can add to select the name for the channel.

@madmicio
Copy link
Owner

madmicio commented Oct 2, 2024

there is the possibility to remap any button on the remote control with a service of your choice, even extra remote control. that is, you can map button 1 to turn on a light, button 2 to close a shutter. and so on. so you can remap the numbers and call the channel name directly. look on the readme there are instructions for this procedure. of course, the buttons only go from 0 to 9, so it doesn't seem like a very valid practice to me. the advice is always to integrate the channelpad into the remote control.

Thank you for the quick response. I thought so too that it should be solved at the integration level. However, in the developers, when i call an action for channel id, the integration allows you to call either the number, or the channel name. I just tested the channel name and it is working. Is it possible to put the channel name in the card? or it is working only with number?

@madmicio
Copy link
Owner

madmicio commented Oct 2, 2024

You can work around this by using the card channel pad. There you can make a custom channel mapping.

I am using the channel pad, however it accepts only numbers, and as i mentioned, even if i move the tv channel from 1 to number 20, it does not open it. It opens the original channel that was on number 20! This is why i asked you if you can add to select the name for the channel.

I don't understand. If you set a channel with the number 12 in the channelpad, you will see the first TV channel on the TV. Right?

@thanomichalis
Copy link
Author

I don't understand. If you set a channel with the number 12 in the channelpad, you will see the first TV channel on the TV. Right?

No, that is not correct.
The TV channels are from 1-41.
The radio channels are from 1-11.
If i move the tv channel 1, to number 45, and put 45 in the channel pad, it does nothing!
If i move the radio channel from 1 to number 50, and put 1 in the channel pad, it opens the radio channel at 50.

Do you think that the integration keeps a cache or something like that, so once i change the numbers on the tv, i need to reload the integration so that to take the new numbering?

@thanomichalis
Copy link
Author

Solved....!!!!

Everytime you rearrange the channel number, you need to reload the LG integration!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants