National Rail Integration Fork of jfparis

Can you let me know which stations youve selected? Feel free to PM if you don’t want to post publically.

This error is relating to the data returned from the API

That’s good new but interesting it wasn’t showing in the GUI.

Can you edit the card in the GUI now you’ve added it?

Yes, I can now edit. I wonder if it was the station choice, as it didn’t appear when I initially tried to use the card.

I believe this has now been fixed. Please try again

The API wasn’t returning a time for a train which was throwing off the sorting function. Also my name searh was failing and the destination wasn’t found.

May have been down to the issue I just fixed as well. Does it work now?

Do I need to delete and redownload, reboot?

You should be able to redownload the updated version via HACS

I’ve deleted it, rebooted. Reinstalled, rebooted and still the same problem? Are you putting the full station names or just the station code. I’m picking the full station name from the list.

Sorry it worked last time. Ill remove the sensor and try again to see what happens

All good for me, thanks.

Ahh I’m an idiot. I missed something simple. Please try updating again.

Ask hacs to update repo and then redownload when there is an update available. Not sure why it doesn’t tell you there is an update

Success!!!

Now when I try to add the card to hacs through the link in the git it says

Repository plutomedia987/lovelace-nationalrail not found.

But if I add the git manually as a dashboard to hacs it works.

Good news!

Ill have a look at the link, may be a typo

Added the card. I can see it in hacs. Rebooted. But when I try to add a card. It’s not shown. I tried a manual card but again says card type not found?

Try refreshing the browser? The js files need to be loaded. Reboot doesnt always load the files in the browser. If you’re on the app, kill it and reload it.

Check the dashboard resources as I mentioned above

Working!! Great stuff!

Rebooted my phone and the card appeared in the list.

Happy to be a beta tester if needed moving forward.

1 Like

Thanks really wonderful integration. I initially started with the jfparis version but this fork has many more upgrades. I know the README update is due. In meantime, If you can update the name as it appears in ‘Add Integration’ page to distinguish.
I had both installed at a point (before switching to try out) and took me a while to understand they can’t be present at same time.

I will try changing the domain in the maifest.json tomorrow but if I do I believe everyone may have to set up their integration again. I will test it in my dev container first

1 Like

Sorry I just around to trying this. If I change the domain to make the two work at the same time. Everyone using the integration will have to set up their integration again.

I’m not sure if its just a few of you using it or others are as well.