Hi there,
I’m trying to create a high temperature script but when I receive the email I don’t get a temperature display. Could someone take a look please.
/system health
:if ([get temperature]>70) do={/tool e-mail send to=“XXXXX@XXXXXX” subject=[/system identity get name] body=(“High temperature. Current temperature is :”.[/system health get temperature])} else {:log info “temperature is ok.”}
:if ([get temperature]>10) do={/tool e-mail send to=“XXX@XXXX” subject=[/system identity get name] body=(“High temperature. Current temperature is :”.[/system health get temperature])} else {:log info (“temperature is ok.”.[/system health get temperature])}
But it seems now I’m not getting any emails nor is it working correctly - in the RB log it just stating temperature ok.
I’ve been playing around with this more and I believe it must be a bug in the firmware, as to why its not reporting correctly.
I’ll send it over to MK.
the problem is, RB800 have CPU probe, so reported temperature is actually cpu-temperature, while RB540G have on-board probe, that reports ambient temperature near some hot parts and is reported as temperature. It is done so to reduce confusion in case there is board with both probes.