New in this version:
- All smart time calculations were rewritten from scratch
- Added automatic summer time transition (using Timezone library)
- Now times are random at a second level (used to be a minute)
- The next event time was often incorrect in the past; now it's fixed
- Added support for interior light switches (they go off for the night, with some randomness)
- Now one can specify precisely how dark it should get (with clear skies) for the switch to be triggered, via Z_ANGLE parameter (how far the sun is under the horizon, in angular degrees). This works equally well in summer and winter.
- Added R_INTERNAL parameter (to compensate for the value of the internal resistor at A0 pin); now temperature measurements are much more accurate
- Added TH_PULLUP option (if the thermistor is used with a pullup resistor; the default is to use it with a pulldown resistor).
- Small bug fixes.