Solar Panel Hot Tub Data

View the live dashboard here: Live Hot Tub Dashboard

Information about the hot tub data

At the moment I only have three sensors working: one in the hot tub; one in the third solar panel (the last one before the water goes back into the hot tub); and finally the one inside the pipe that delivers the hot water from the solar panel back to the hot tub – water in sensore. There are two files to download – the easy one or the one that needs a bit of python coding to sort the date and time.

Easy to read file: format

2020-05-27 09:51:33,417 INFO:Pump on: Hot Tub: 26.7

Date <space> Time <space> message type <space> sensor location <space> temp in C

Sensor location is either:

  • in the ‘hot tub’
  • in the pipe that flows from the solar panel ‘water in’
  • in the ‘solar panel’ unit

Download Hot Tub Main.log file

Harder file to read: format

16.4;29.5;54.4;1591623822.4354668

hot tub sensor; water in from the solar panel sensor; solar panel sensor; python time

Note to convert python time back to GMT. Time intervals are floating-point numbers in units of seconds. Particular instants in time are expressed in seconds since 12:00am, January 1, 1970(epoch).

There is a popular time module available in Python which provides functions for working with times, and for converting between representations. The function time.time() returns the current system time in ticks since 12:00am, January 1, 1970(epoch).

Read more here: https://www.tutorialspoint.com/python/python_date_time.htm

Download Hot Tub stats.log file