Comments (75)
Can you please let us know the plugin name so we can see their source code as a reference implementation
from homebridge-skyq-tvremote.
@neilpatel121 Thank you for your prompt reply!
With pleasure, Homebridge Bravia Tvos - https://github.com/SeydX/homebridge-bravia-tvos#readme
greetings michel
P.S: skyq-tvremote - great job !!!
from homebridge-skyq-tvremote.
Thanks, what Siri command do you use to change the channel, can you type the command pls
from homebridge-skyq-tvremote.
@neilpatel121 I've set up a scene for each channel.
And then I say over my homepod, Hey Siri activate RTL as an example. Everyone can determine that themselves when setting up the scene :-)
from homebridge-skyq-tvremote.
@neilpatel121 In my case, of course, in German. But the Sony plug-in works in all languages, as I understand it.
from homebridge-skyq-tvremote.
Ok I think I understand how you got it work, there is an alternative way you can do this, which I use all ready, I expose channels as switches in the home app, then you can use Siri to control the switch,
from homebridge-skyq-tvremote.
Take a look at this https://github.com/AdamSwinden/homebridge-sky-q#readme
from homebridge-skyq-tvremote.
This is what I use to use Siri to change sky channels
from homebridge-skyq-tvremote.
@neilpatel121 I don't understand that again now. After adding them to the home app, no channels can be seen in your plug-in at all. The Sony plug-in pulls the channels out of the TV and I can then use them for scenes.
Ah okay ... have only now received your link ... so that will also work with your plug-in. I'll try it out tomorrow, hopefully I'll make it. The Sony is so beautifully simple :-)
from homebridge-skyq-tvremote.
I've added the feature to switch channels.
Could you test v1.2.0-beta.1
please?
from homebridge-skyq-tvremote.
@EpicKris Very happy but how do I find the beta and how do I install it?
from homebridge-skyq-tvremote.
@EpicKris Very happy but how do I find the beta and how do I install it?
Are you using Hombridge Config UI X?
from homebridge-skyq-tvremote.
@EpicKris Very happy but how do I find the beta and how do I install it?
Are you using Hombridge Config UI X?
yes, v4.41.0
from homebridge-skyq-tvremote.
yes, v4.41.0
Go to the Plugins
tab, select the tool (right of Settings
), select Install Previous Version
, select the latest beta, then select select Install
.
You'll need to revert to the latest version manually after testing.
from homebridge-skyq-tvremote.
Could you test 1.2.0-beta.3
?
from homebridge-skyq-tvremote.
@EpicKris Hi, I installed the last beta and I can now turn Sky Q on and off again. So the connection is there. But there are no channels to be seen. greetings michel
from homebridge-skyq-tvremote.
Could you test 1.2.0-beta.5
please?
from homebridge-skyq-tvremote.
Could you include your Homebridge logs please?
from homebridge-skyq-tvremote.
Have you tried removing and re-adding the TV since using the latest beta?
from homebridge-skyq-tvremote.
Have you tried removing and re-adding the TV since using the latest beta?
the TV? no why? It has nothing to do with the Sky Q Box, does it? But I deleted the Sky Q Box and added it again to test it. The Sky Q receiver is connected via HDMI 3 and the type of reception is cable
from homebridge-skyq-tvremote.
Could you include your Homebridge config.json please?
from homebridge-skyq-tvremote.
The logging is a lot less chatty now thanks.
The issue with the inputs not appearing after a restart and requiring the home app to be killed and reopened persists. There is also an error thrown if you select the input:
[25/04/2021, 12:20:22] [skyq-tvremote] [Sky Q Mini] Set Input: 101
[25/04/2021, 12:20:22] [homebridge-skyq-tvremote] This plugin threw an error from the characteristic 'Active Identifier': Unhandled error thrown inside write handler for characteristic: input.split is not a function or its return value is not iterable. See https://git.io/JtMGR for more info.
Originally posted by @benfysh in #19 (comment)
from homebridge-skyq-tvremote.
The logging is a lot less chatty now thanks.
The issue with the inputs not appearing after a restart and requiring the home app to be killed and reopened persists. There is also an error thrown if you select the input:
[25/04/2021, 12:20:22] [skyq-tvremote] [Sky Q Mini] Set Input: 101 [25/04/2021, 12:20:22] [homebridge-skyq-tvremote] This plugin threw an error from the characteristic 'Active Identifier': Unhandled error thrown inside write handler for characteristic: input.split is not a function or its return value is not iterable. See https://git.io/JtMGR for more info.
Originally posted by @benfysh in #19 (comment)
okay and that means what now? Can the problem be solved?
from homebridge-skyq-tvremote.
@michel0271 Could you visit http://192.168.178.40:9006/as/services and include the data here please?
from homebridge-skyq-tvremote.
@benfysh Could you test 1.2.0-beta.6
please?
from homebridge-skyq-tvremote.
@benfysh Could you test
1.2.0-beta.6
please?
testet... the same... no Channels, on/ off Works
from homebridge-skyq-tvremote.
Could you test 1.2.0-beta.7
please?
from homebridge-skyq-tvremote.
Could you test
1.2.0-beta.7
please?
tested, now we can no longer find the Sky Q Box on Homebridge and in the HomeApp
from homebridge-skyq-tvremote.
Could you include your Homebridge logs please? Please truncate them to only the latest run.
from homebridge-skyq-tvremote.
I'm not seeing any errors.
@benfysh Could you confirm this please?
from homebridge-skyq-tvremote.
I installed Beta 7 again. Sky Q can now be seen in HomeBridge, but it does not appear in the HomeApp
from homebridge-skyq-tvremote.
I'm not seeing any errors.
@benfysh Could you confirm this please?
Now I have installed the normal version again and I can no longer add this to the Home App either. IP address has stayed the same from Sky Q. Could it be that Apple blocks it after too many attempts? Or that there are problems at Apple?
from homebridge-skyq-tvremote.
Now I have installed the normal version again and I can no longer add this to the Home App either. IP address has stayed the same from Sky Q. Could it be that Apple blocks it after too many attempts? Or that there are problems at Apple?
Remember that TVs are external accessories, you may need to re-add it.
from homebridge-skyq-tvremote.
Remember that TVs are external accessories, you may need to re-add it.
nothing to be done, I installed the normal version 1.2.0 now. Sky Q Box can also be seen in Homebridge. But I can no longer add the box to the Home app.
from homebridge-skyq-tvremote.
Try Homebridge Settings
> Remove Single Cached Accessory
.
from homebridge-skyq-tvremote.
Basic plugin functionality is working as expected (Beta 7). This issue still persists #19 (comment)
With regards to the channels as input. When you select ''BBC One Yorks' it seems to send 101 twice and sometimes ends up on 110 as opposed to 101. The input then gets stuck on ''BBC One Yorks' and requires a restart in order to reset.
Logs shown when selecting input are displayed below:
[25/04/2021, 14:15:16] [skyq-tvremote] [Sky Q Mini] Set Input: 101
[25/04/2021, 14:15:16] [skyq-tvremote] [Sky Q Mini] Set Input: 101
[25/04/2021, 14:15:16] [skyq-tvremote] Error: This callback function has already been called by someone else; it can only be called one time.
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:6:13
at /usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:146:95
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:4069) UnhandledPromiseRejectionWarning: Error: This callback function has already been called by someone else; it can only be called one time.
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:6:13
at /usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:148:17
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:4069) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
from homebridge-skyq-tvremote.
@EpicKris At least the channel is switched even if it is wrong. However, switching only worked once.
from homebridge-skyq-tvremote.
Could you test 1.2.0-beta.8
please?
from homebridge-skyq-tvremote.
Could you test
1.2.0-beta.8
please?
Tested, unfortunately the same again. When setting up in the Home App, Sky One HD was suggested which I left that way. This time the one-time switching does not work either. On / off works. I have a real guilty conscience, you are trying so hard for me ... sorry. You're great!
from homebridge-skyq-tvremote.
Please, don't apologise, it would be a great feature for this plugin.
Could you include your logs please?
from homebridge-skyq-tvremote.
Beta 8 working here will change to 101 reliably now with no error in the logs. However it is still getting 'stuck' on ''BBC One Yorks' as the selected input showing on the tile after changing channels / power cycling the box and this remains even if you kill and reopen the home app requiring a homebridge restart in order to reset to blank.
I am not sure what the expected behaviour is or if you can get the currently tuned channel in order to correctly set the input if the channel is changed? Some way to reset the input selector after choosing a channel may work?
from homebridge-skyq-tvremote.
Somehow we have to manage that the channel list can be read out by the plug-in of the Sky Q receiver. At least that's how it works with the Sony TV OS plug-in. But maybe that's not even possible with the Sky Q Receiver?
from homebridge-skyq-tvremote.
Somehow we have to manage that the channel list can be read out by the plug-in of the Sky Q receiver. At least that's how it works with the Sony TV OS plug-in. But maybe that's not even possible with the Sky Q Receiver?
I've grabbed the channel list from the Sky Q receiver, which is why you're seeing Sky One HD
which s channel 100
for you.
Could you test 1.2.0-beta.9
please?
from homebridge-skyq-tvremote.
Somehow we have to manage that the channel list can be read out by the plug-in of the Sky Q receiver. At least that's how it works with the Sony TV OS plug-in. But maybe that's not even possible with the Sky Q Receiver?
I've grabbed the channel list from the Sky Q receiver, which is why you're seeing
Sky One HD
which s channel100
for you.Could you test
1.2.0-beta.9
please?
Tested, Sky One HD set up as relaxed as suggested. It was switched once and even on the correct channel! :-) The whole thing did not work once, then unfortunately no longer. However, the other channels are not displayed. On / off works.
from homebridge-skyq-tvremote.
@EpicKris is the intention to show all the channels from /as/services as inputs? (I am only seeing the first currently) I think there is a limit to the number of inputs to be displayed
From https://github.com/jsiegenthaler/homebridge-eosstb#readme
Input service. The input (TV channels) utilises one service per input.
The maximum possible channels (inputs) are thus 100 - 3 = 97
An option may be to grab the favourites from a box via /as/services/favourites if they exist and use those?
from homebridge-skyq-tvremote.
@EpicKris is the intention to show all the channels from /as/services as inputs? (I am only seeing the first currently) I think there is a limit to the number of inputs to be displayed
Yes, this exactly what we're trying to achieve, thank you for pointing out the limit as I'd forgotten about that.
An option may be to grab the favourites from a box via /as/services/favourites if they exist and use those?
Could you provide me with data for the /as/services/favourites
please?
from homebridge-skyq-tvremote.
Could you also test 1.2.0-beta.10
please?
from homebridge-skyq-tvremote.
Could you provide me with data for the
/as/services/favourites
please?
This is from the one box I have them set on:
{
"favourites" : [
{
"lcn" : 1,
"sid" : "1044"
},
{
"lcn" : 2,
"sid" : "4081"
},
{
"lcn" : 3,
"sid" : "2076"
},
{
"lcn" : 4,
"sid" : "4075"
},
{
"lcn" : 5,
"sid" : "4010"
},
{
"lcn" : 6,
"sid" : "2075"
},
{
"lcn" : 7,
"sid" : "4002"
},
{
"lcn" : 8,
"sid" : "2104"
},
{
"lcn" : 9,
"sid" : "4077"
}
]
}
from homebridge-skyq-tvremote.
1.2.0-beta.10
is now showing the first 97 channels as inputs on all boxes (after killing and opening the home app after restarting homebridge) and you can change channels by selecting the inputs.
It still has the same behaviour in that the previously selected input persists even if the channel is changed or the box is power cycled.
from homebridge-skyq-tvremote.
Good job! Many Thanks! I am very happy! I would like to continue to support you with the beta. Maybe we will get it to switch faster. The on-off function is also fast?
from homebridge-skyq-tvremote.
It still has the same behaviour in that the previously selected input persists even if the channel is changed or the box is power cycled.
Is there an endpoint to get the current channel that you're aware of?
from homebridge-skyq-tvremote.
It still has the same behaviour in that the previously selected input persists even if the channel is changed or the box is power cycled.
Is there an endpoint to get the current channel that you're aware of?
not that I am aware of
from homebridge-skyq-tvremote.
Is there an endpoint to get the current channel that you're aware of?
not that I am aware of
Not that I could find either, I don't think there's a way around this issue without being able to grab that information.
from homebridge-skyq-tvremote.
been having a look around, this like the HA community have managed to do this,
https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer
from homebridge-skyq-tvremote.
can't find now typescript or js implementations, seems quite involved, with soap request, better reference implantation here..
https://github.com/4n0nD3v3l0p3r/Home_Assistant_SkyQ_MediaPlayer/blob/master/skyq/sky_remote.py
from homebridge-skyq-tvremote.
@neilpatel121 Great find, I'm going to create a separate library so we can utilise this, it even has device discovery.
from homebridge-skyq-tvremote.
I have no idea what you're doing, but I'll be there ... First Beta Tester 😂👍🏼
from homebridge-skyq-tvremote.
So I can't test the Soap requests because I don't have access to a Sky Q yet.
from homebridge-skyq-tvremote.
So I can't test the Soap requests because I don't have access to a Sky Q yet.
Let me know if I can help in any way.
Thanks for all you've done with this plugin considering you don't have a Sky Q box!
from homebridge-skyq-tvremote.
For now I've released this as is. #19 has been fixed and this feature is almost done. And will re-visit this again soon.
I have started developing a library at https://github.com/EpicKris/node-sky-q, you're welcome to test that as is if you'd like, however the Soap part hasn't been fully built out yet.
from homebridge-skyq-tvremote.
Will you continue to work on the plugin? E.g. faster switching times? greetings michel
from homebridge-skyq-tvremote.
Will you continue to work on the plugin? E.g. faster switching times? greetings michel
The actual speed of switching cannot be increased, it currently works by "backing up" and then entering the channel number as if it were a remote. I'm not aware of any other way of changing the channel currently.
from homebridge-skyq-tvremote.
ok
from homebridge-skyq-tvremote.
Can we have an option to not have channels listed? It shows as 97 off on my favourites page which means you cannot easily power cycle from the control centre. The LG web OS plug in for example has an option for channel control/volume control etc
from homebridge-skyq-tvremote.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from homebridge-skyq-tvremote.
Could you test v1.3.0-beta.0
?
from homebridge-skyq-tvremote.
Could you test
v1.3.0-beta.0
?
Favourites are now being loaded as 'Inputs' on the box where I have them set instead of the first 100 channels. On boxes without favourites no 'Inputs' are being loaded. Not sure if this is what you are expecting?
The input is also not synced with the actual channel on the box assume you are not getting the state yet?
The issue persists that on the first open of the home all inputs are shown as switches as opposed to selectable inputs. Killing and reopening the home app resolves this.
from homebridge-skyq-tvremote.
So I'm trying to use the favourites from the Sky box for the input list instead of the first 100 channels.
Could you send me a full screenshot please?
from homebridge-skyq-tvremote.
Sure:
After restarting homebridge only on first load of the home app:
After killing and reopening the home app.
from homebridge-skyq-tvremote.
The latest screenshot appears to be expected behaviour?
from homebridge-skyq-tvremote.
The latest screenshot appears to be expected behaviour?
Yes, it just requires you to kill and reopen the home app (even if wasn't running previously) in order to get the expected behaviour. Minor in the scheme of things and may be on the iOS as opposed to the plugin side.
from homebridge-skyq-tvremote.
Yes, it just requires you to kill and reopen the home app (even if wasn't running previously) in order to get the expected behaviour. Minor in the scheme of things and may be on the iOS as opposed to the plugin side.
Oh yes, I experienced the same issue, but does seem to be an iOS issue, tried with a couple of different devices.
from homebridge-skyq-tvremote.
Hi Both,
Was this resolved - i can't see the inputs when i load this plugin into Home?
Thanks
from homebridge-skyq-tvremote.
This is what I use to use Siri to change sky channels
Does this still work, if so how?
Could you let me see the code?
from homebridge-skyq-tvremote.
@simon3163 Please open a new issue.
from homebridge-skyq-tvremote.
Related Issues (20)
- Error Message in log HOT 3
- Unhandled exception in log at every startup for Sky Q Platinum + 3 Mini for Sky Italy HOT 6
- Reduce logging or put a "disable logging" option. HOT 7
- Unable to add in home app HOT 8
- Homebridge will not start HOT 1
- Partial Channel List HOT 5
- BUG SKY Q MINI HOT 1
- Sky Q Mini BUG HOT 12
- Cannot add to Home app (not appearing) HOT 1
- Deep Standby HOT 2
- Sky Mini appears as favourite in Homekit after rebootingHB HOT 1
- Sky Q - Load Netflix, YouTube. HOT 1
- Can't add to Apple Home App HOT 2
- Change favourite channels / rewind/fast-forward HOT 5
- Slow homebridge HOT 2
- Can't see how to use Favourite channels HOT 2
- Request error crushes homebridge HOT 11
- RequestError: Error: connect ECONNREFUSED HOT 1
- Volume control not working in control centre remote HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-skyq-tvremote.