I am using MQTT for a small project where through openweather API and Node-red i am publishing sur

I am using MQTT for a small project where through openweather API and Node-red i am publishing surise time of a location which is taken as input through a form in node-red dashboard. based on this time i was trying to turn led if its night and off if its day.
but i am unable extract two values from the topic.
i was publishing sunrise and sunset time but while using in code its not working.
can anyone assist me in this?
Was this page helpful?