Hi, I’m a noob, just starting with NR. I’m not a programmer at all, but ready to learn.
I read the community portal to look for what I’m wondering about.
I’m playing around with data which is retrieved by NR by using the http request and json nodes.
I wonder how I can send this information to Home Assistant? (Maybe sending data is not the correct word). For example: I like to retrieve the Formula 1 drivers standings, and like to send the top 3 drivers to Home Assistant after each race. The current standing will be a schedule which check if a race has been done.
Retrieving the F1 drivers standings via the API-call is already been achieved.
The json parsing has been done. Now I wonder how to address the individual parts (position, driver number, driver name, points) of the json structure and “translate” it to a sensor which I can present in HA.
There is of course the alternative way: directly use the REST option in configuration.yaml. But I’m too curious if it is possible to push this kind of information from NR to HA.
Next step is to show the first three drivers. A couple of questions pops up:
is there a Custom card already available to show a competition ranking?
Or modify custom card code to show the drivers standings?
Besides I still like to understand how I could show the results from an API goal, from within HA, but also via Node Red towards HA. Yesterday, I installed the code to build send information from Node Red to HA.