i try to show a departure monitor but the dashboard is blank.
Which is the best way, respectively node for showing data from a web service like this:
I upload a picture to show what i mean.
Many thanks in advance
Not terribly clear what you are asking for.
Are you saying that you want to have a local display of data provided by a remote API?
I think that you may have ripped those 2 lines from a web page, am I right? If so, you will need to analyse how the script works in order to work out what data comes back. Not easy since only the minimised version of the code is provided.
Perhaps if you share a link that returns the web view you took the picture of, we could look at it more closely.
Oh, sorry sorry for the confusion.
You can place a departure monitor generated as a service from this website:
Baukasten für Abfahrtsmonitore
Open the second plus symbol to compile the information needed for your tramway station. And after click on "HTML code erzeugen" you get the code i posted. The code is for your own homepage to show the departure monitor for your tramway station (see picture in my first post). When i save the code as a html-file on my desktop and click it, it shows the departure monitor. But i would like to have it in my dashboard. (i hope my english is okay to understand, sry)
thank you for your effort
Does anyone have an idea?
The easiest way to use this with Node-RED is to embed that code into the Dashboard by using the ui_template node.
Thank you very much. I´ll try it