33 Commits

Author SHA1 Message Date
dietmar63
b453794fbf improvements in
Twilight 
   a new way to set unset internal timer

Heating_Control
   bug repaired when using times specified in Perlcode(update at midnight)
   autodetect HM-TC-IT-WM-W-EU as  heating
   device is no longer checked to get more flexibility
   support for $NAME, $EVENT beside of @, %(some obsolet) 

Weekday_Timer
   code optimisation
   bug fixing
   bug repaired when using times specified in Perlcode(update at midnight)
   support for $NAME, $EVENT beside of @, %(some obsolet) 

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5241 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-16 22:44:28 +00:00
dietmar63
80e21771bb - Twilight, improvement without efects in calculation
- WOL, immediate refresh after set command

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4568 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-05 23:10:13 +00:00
dietmar63
cc0c85e2b5 - dokumentation improved
59_Twilight now supports the function >>>> twilight($twilight, $reading, $min, $max) that works like sunset_abs() sunrise_abs()

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4533 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-02 20:19:46 +00:00
dietmar63
8f8961548e - twilights are now first computed after 30 seconds after definition
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4302 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-30 19:37:54 +00:00
dietmar63
e33e90dd7b - some problems with InternalTimers fixed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4277 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-23 18:09:25 +00:00
dietmar63
a6e8f9e404 - some problem starting fhem fixed: the module was responsible for messages like "Use of uninitialized value $arg in string eq at /usr/local/FHEM/bin/fhem.pl line 2311."
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4141 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-02 20:43:13 +00:00
dietmar63
81241bfceb internal improvements
the behavior should not be affected 

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4117 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-10-27 12:26:04 +00:00
dietmar63
f0f235094d force svn ID
bug in default parameter for HM Heating Control

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4062 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-10-17 20:18:49 +00:00
dietmar63
e56a9bbec0 conversion from Log to Log3
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3858 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-09-04 21:53:36 +00:00
dietmar63
bd699feed2 avoiding to raise light events on startup of Twilight
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3773 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-23 15:24:19 +00:00
dietmar63
2fa5e1bb33 Test $Id
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3728 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-17 21:26:51 +00:00
dietmar63
781f2b85bd # $Id added to get version information
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3720 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-16 18:46:51 +00:00
dietmar63
b389df8d78 - $hash->{WEATHER_HORIZON} must be initialized, some hardware is that fast, that cumputing sunpos runs into error - mine isnt!
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3719 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-16 18:35:52 +00:00
dietmar63
fba6eac067 - bug in Twilight_Get repaired
- longitude and latitude now taken from TW definition

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3718 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-16 18:26:49 +00:00
dietmar63
17e6f0123e new Version of Twilight.
method changed, how to raise events
added new readings - see documentation


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3711 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-15 20:39:59 +00:00
dietmar63
bf1259260a bugfixing on Twilight
- calling GetFileFromUrl with noshutdown=1 just like in Weather.pm
- computing arcusCosisnus only when parameter between [-1,+1] else returning "nan" not a Number
- updating MAINTAINER.txt

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3273 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-06-10 17:22:22 +00:00
rudolfkoenig
2b4fdf866d readingsUpdate attribute-Namelist and documentation unified
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2406 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-03 12:51:51 +00:00
borisneubert
573d5c7ee0 introduced readingsBulkUpdate, readingsSingleUpdate
introduced GPLv2

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2099 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-08 20:56:21 +00:00
rudolfkoenig
6a2e174e05 THE SPLIT
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2076 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-04 13:49:43 +00:00
rudolfkoenig
37dd09a222 Reformatted (in order to understand) and fixed the summer/winter bug
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1658 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-06-26 10:33:32 +00:00
rudolfkoenig
4abf58b770 Typos
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1630 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-06-20 07:18:13 +00:00
rudolfkoenig
a541ec55c4 GetHttpFile -> GetFileFromURL change
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1629 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-06-20 07:16:29 +00:00
rudolfkoenig
2b88b55a8b Another try to fix the midsummer problem.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1621 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-06-16 07:49:23 +00:00
rudolfkoenig
36784f0cf3 BugFix for Sommer values.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1609 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-06-09 13:46:51 +00:00
unimatrix27
bb39885883 added check if weather location is valid. if not, generate log entry and give meaningful values to readings
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1481 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-04-24 10:20:49 +00:00
unimatrix27
358323bf55 New Reading "condition" in Twilight to react directly on weather condition code without Twilight internal mapping
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1480 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-04-23 18:55:49 +00:00
unimatrix27
4e8fd4632f GetHttpFile now uses new Timeout Parameter
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1432 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-04-10 07:08:19 +00:00
unimatrix27
783266e0c6 replaced complex if-branch with simple array (contributed by Daniel Wiedemann)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1414 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-04-05 10:02:56 +00:00
unimatrix27
287e3335cd remove funktion prototypes to avoid conflicts and the known prototype traps
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1389 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-03-25 20:51:22 +00:00
unimatrix27
824c57b03d Change in next update time detection. Now a light-change should takes effect immediately (in 59_Twilight.pm)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1386 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-03-25 18:57:53 +00:00
unimatrix27
b7cab2e655 removal of stupid timer bug in 59_Twilight.pm
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1382 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-03-25 09:48:21 +00:00
unimatrix27
eca2f602ea Bugfix in 59_Twilight.pm to ensure correct daylight saving time / timzone calculation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1381 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-03-25 09:02:41 +00:00
unimatrix27
14f5f73e4d New module "Twilight" for calculation of daylight-phases based on the script available for the Homematic CCU from http://www.homematic-wiki.info/mw/index.php/TCLScript:twilight
Update commandref.html to reflect interface of new module



git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1376 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-03-23 12:33:55 +00:00