Flow to get CPU die temperature from EPIC PR1

Hi Beno,

I found this information very useful.

I am trying to get more information from my Epic. What would be the path to both internal temperatures 1 and 2? I tried with “…/thermal_zone1” without success.

After some digging around, I think the easiest way to get all three would be with an (unsupported) REST API call.

The endpoint is https://<hostname>/manage/api/v1/system/temperature

And it will return all three in JSON format:

{
  "cpu": 44.344,
  "thermistor1": 47.661572868124495,
  "thermistor2": 48.03976944777736
}

Disclaimer: I say “unsupported” because while this endpoint works on the current firmware, it is not documented in the REST API swagger, so is subject to change or revision with any other versions of firmware, so I cannot guarantee that it will work 100% of the time for every PR1/PR2 for the rest of their lifetime.

Thank you, but I am new using Node-red, I haven´t gone to the API calls yet. Is there an easier way to do it in Node-red?

It really is the easiest way to get all three at once, I’ve broken down exactly how to use the API in another thread:

Thank you, I read the post you recommended and managed to apply it to my Node-red editor and it works! I sent all of them to the float scratchpad then.

2 Likes