Sending a message using inject and taking data from entities

Hello All,

What I am trying to achieve is the following:

  • Use inject node to trigger everyday at 5 o’clock

  • Once it triggers to send a message to a debug node in readable text. Something like below:

    • Daily snapshot is 28’ C and 58% Humidity
  • The 28’ C is the current state of sensor.reggies_temperature

  • The 58% is the current state of sensor.reggies_humidity

Im hoping that this is prettty Billy basic stuff, but again, im a still a noob at this… lol

Thanks in advance for any pointers.

Let me know if you need any more information

Rob

If you go to the bottom of the inject node settings panel, the drop down options should be self explanatory.

The debug does not log outside of nodered is this just for testing?

If you set one of the entities to an current state node, do not set a value in the is section. Just leave it blank. The state/variable (temp or hum) will be in the payload position.

The format to pass the state/variable (temp or hum) will depend on where it will be used. Home assistant nodes it can be passed as {{payload}} .