I get a location payload from Datacake as a string separated by the coma. I want to separate it to two single values to pass it on to Home Assistant as single values latitude and longitude. Does anyone know how I separate it? Or even better, how I can use it directly as coordinates in Home Assistant?
Assuming you have the Home Assistant add-on for Node Red installed then you will have Event Node installed
This allows you to generate an event into HA against an entity.
So you will need to work out "where" i.e. which entity you want to send this to and from there you then push the data across (as Steve has documented above) by including it in the message payload - the tricky bit will be working out what format the entity you are planning on passing this data to supports.
As Steve has said there are very few on here who use NR and HA (i am one of the few) - you would be better off trying this question in the NR subforum of third party integrations on the HA forum - there are a couple of very switched on guys there.
If you did not want to use the HA nodes - you can just pump this data out from NR through MQTT and have HA monitoring (subscribe) to the channels you are using