@Paul_Duggins - I think we are getting somewhere here - looking at your log file does tell us something - it tells us that itās probably not HA thatās the problem.
If it was, youāll be see errors like I just got when I turned my telnet service off:
All of your errors look to relate to a Plex media player itās previously seen, but canāt see any longer.
As @Rich_Paul suggested eariler, you need to be looking at the settings on the Tivo box for remote access and/or swapping out the network cable you are using to connect the Tivo box to your router.
thanks for looking the plex server is something Iām also having issues with but that is to do with the x token key
Iām not sure the problem is with the TiVo box either
if I use telnet I can connect to the box fine . Also while in telnet I can put in the commands that are in the config file (copy and paste the good bits) and they all work
What is interesting is if I just open a cmd prompt and do the line @Rich_Paul suggested before echo IRCODE STANDBY | telnet 192.168.0.10 31339 this also doesnāt work
I think the introduction of the command line is what is causing the issue
One last thing to try then - Telnet is not enabled in Windows 10 - Iām not sure if this will help in anyway (my build is all on a Pi in Python, but anything seems worth a try) - Here is a guide for enabling Telnet on Windows 10 - give a go and see if it changes anything - http://windowsreport.com/telnet-windows-10/
I have checked all my config through and all seems ok, all the other apps are responding ok in HA. Now have the TV and Hue Lights working
However no joy with the TIVO.
Im just guessing but as the tenet works ok im going to say it isnāt the TiVo itself .
If I try to use the cmd commands directly in a cmd prompt they donāt work either im guessing it might be that so wonder if there is another way to do it
I think if we manage to get it working straight from cmd and then play that command line in the yaml in might fix it
thanks for the help @Rich_Paul it is very much appreciated
@Wishywash - You got any more ideas, the whole idea of getting HA up and running was to get this functionality running so i can eventually put it all into Alex
So while i can control a lot of other things in here this is my primary goal
I āthinkā I may have found the issue - and I donāt think itās good news.
I did a bit of googling around the telnet client and found some test code here
But then I noticed it said the following at the bottom -
Note
The above shown program will work only on linux and not on windows. The program uses the select function read the command line input (stdin). On windows the select function cannot read file descriptors. It can only read sockets created inside winsock. The python documentation on select function mentions this
Going to the Python source library and it appears that windows has limitations on the select functions which would be affecting the telnet client - Thatās how Iāve read it, but I am very new to this - @Rich_Paul care to cast an eye over my findings?
I was beginning to think this might be the case so have just laid my hands on a raspberry pi 3
When I get 10 mins will install Hassbian and start the process from the beginning
The good news I guess is that I can continue to develop the config.ymal file on my windows box and then just copy that to my raspberry once it is all set up and running
Many thanks for all of your time and effort on this guys. Im sure it wont be the last time I come to you as once I get this part working intend to get in working with the amazon echo where I think @Wishywash you have just completed
Indeed and it is totally worth the effort @Paul_Duggins. Let me know if I can help further down the process - hopefully youāll get the emulated hue to work (because it is the easier option) but if you end up going down the Haaska route like me and get stuck (it took me 5 hours to work out those instructions) - let me know and Iāll help out if I can.
@Wishywash - Many thanks for the offer, I might come to you later down the line for more coding. If you have an email address your happy to share then can also converse via there if that suits you. Once again thanks for all your efforts
So last night I managed to install Hasspian 1.1 on the Raspberry Pi3 I have acquired
I have started to put some of the code into the yaml file but am testing this one bit at a time
I have also installed samba for the file sharing and telnet but im sure there is a lot more configuration needed to get the TiVo to now do what I need it to
As a first time user of a raspberry and no experience of the system at all is there a list of next steps I need to follow now in order for this to work. For example
configure this
2 install that
As you can see I am clearly a very novice user so please make it as idiot proof as possible
To be honest there are a few steps Iād advise with a Pi - like adding SSL and setting up your ports - to make sure any connections you setup are secure.