Hi, I am completely new to Node Red and want to use it to integrate some PLC Logic into HomeAssistant.
My PLC is a Siemens LOGO!8 which controlls light and temperature of some terrariums - while HomeAssistant should be a "nice Dashboard" with other integrations.
I would like to display some parameters of the PLC control on this Dashboard (for now, only displaying, not controlling anything in LOGO)
I've got the NodeRed integration into HomeAssistant working - and also the connection to my LOGO Hardware.
This is fine - and I am also able to display the Status of some Sensors, and stuff like this.
Now, comming to my main issue:
On my LOGO, I have an astronomical clock running, which is checking for Sunrise and Sunset to trigger, when the lights should go on and off.
On the LOGO Display, I can see the correct time format:
Sunrise: 07:04 AM
Sunset: 05:37 PM (17:37)
But if I'm trying to get the value of this block in NodeRed, I am getting:
Sunrise: 1796
Sunset: 5943
Any Idea, what I need to do to get the same output as in the LOGO Display?
Any kind of calculation or formatting?
Honestly, I were not able to figure out, what kind of format the output from my logo SHOULD be (it's not seconds or minutes, or anything that I could convert into a date/time format)
Thanks a lot and with best regards,
Christoph