KmanOz / KmanSonoff

Firmware for ESP8266 based itead Sonoff switches for use with HomeAssistant / mqtt
MIT License
282 stars 39 forks source link

Temperature scale selection & More information #19

Closed mjoshd closed 6 years ago

mjoshd commented 6 years ago

+++++++++++++ config_sc.h- Mentioned specific libraries required for TEMP and that the Sonoff needs to be on the mains for readings to be sent (hopefully reduce repeat questions).

Added variable to allow selection/use of Celsius or Fahrenheit.

+++++++++++++ KmanSonoff_v1.00sc.ino- Included variable to process temperatures according to scale selected in config_sc.h.

Added float variable for Heat Index calculation.

Modified 'if (isnan)' check & related MQTT pubString to pass the Heat-Index calculation to Home Assistant.

+++++++++++++ sensors.yaml- Rounded measurements to a single decimal point.

Added a reminder to match selected temperature scale for display units.

Added Heat Index (a.k.a Real Feel) sensor.