All Apps and Add-ons

Is it possible to display data in celsius instead of fahrenheit in Nest Home Thermostat app?

rocklobster
Engager

I've just installed this app, so may have missed this setting somewhere - but is it possible to display the data in celsius rather than fahrenheit?

Tags (1)
1 Solution

Damien_Dallimor
Ultra Champion

I just opened up the app and had a look at it's internals.

To change to celsius , you could quite simply change the search commands in nest/default/data/ui/home.xml and nest/default/data/ui/temperature.xml (using a text editor or via the Splunk Web Simple XML editor).

They seem to be using a macro called "c_to_f" which you could just remove.

Ideally the app would have a setup asking you for your preferred unit of measurement.

View solution in original post

Azeemering
Builder

To evaluate Fahrenheit to Celsius in SPL itself:

   | eval Temperature_Fahrenheit=Temperature_Celsius*1.8+32
0 Karma

Damien_Dallimor
Ultra Champion

I just opened up the app and had a look at it's internals.

To change to celsius , you could quite simply change the search commands in nest/default/data/ui/home.xml and nest/default/data/ui/temperature.xml (using a text editor or via the Splunk Web Simple XML editor).

They seem to be using a macro called "c_to_f" which you could just remove.

Ideally the app would have a setup asking you for your preferred unit of measurement.

rocklobster
Engager

Thanks Damien - I actually found that a couple minutes ago and have since stripped out all of that conversion.

For reference the Inside Temp in Celsius should use the search

sourcetype=nest Collection=shared | stats latest(current_temperature) as temp
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...