67 Commits

Author SHA1 Message Date
igami
c341bf3d5b MAINTAINER: Maintainer changes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16005 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-01-27 06:05:51 +00:00
orti-otto
2652964155 59_Twilight: should solve the problem with daylightsavingtime
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14039 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-19 19:59:56 +00:00
dietmar63
4fc694cef7 59_Twilight: last change was not ok. revert
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12702 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-12-02 23:14:18 +00:00
dietmar63
56a4b9522e 59_Twilight: improvements recalculating weatherdelays
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12696 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-12-01 23:36:04 +00:00
dietmar63
ed70f55f3e 59_Twilight: second try: constat URL changed in $URL to fix problem:
https://forum.fhem.de/index.php/topic,55583.msg489421.html#msg489421

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12153 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-12 22:01:24 +00:00
dietmar63
87716ee1a0 59_Twilight: constat URL changed in $URL to fix problem:
https://forum.fhem.de/index.php/topic,55583.msg489421.html#msg489421

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12139 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-11 21:16:35 +00:00
dietmar63
35e04e140c 99_Twilight: factors for computing weater_horizon improved as joe99 suggested https://forum.fhem.de/index.php/topic,54783.msg484529.html#msg484529
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12091 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-29 19:39:03 +00:00
dietmar63
4de27a7b52 98_Twilight: patch to alow negativ weather horizons from joe99 added
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11964 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-14 19:44:24 +00:00
dietmar63
bb826754c5 98_Twilight: fix for issue #55775
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11824 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-20 18:30:59 +00:00
dietmar63
d7686ae87e 98_Twilight: second fix for issue #55583
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11808 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-17 16:19:01 +00:00
dietmar63
61e16c9ad7 98_Twilight: fix for issue #55583 (fhem forum)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11802 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-17 09:23:09 +00:00
dietmar63
5b6ed9514e 59_Twilight: improvements in errorhandling when getting wrong formatted JSON from yahoo
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11503 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-05-22 19:48:01 +00:00
dietmar63
1140b42694 98_Twilight: some minor changes due to problems with getting weather from yahoo
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11234 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-04-12 17:50:46 +00:00
dietmar63
750d362df9 59_Twilight: Change to get date from yahoo by the new syntax(select). Data ist retrieved in JSON
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11187 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-04-04 19:39:27 +00:00
dietmar63
59f043e73b 59_Twilight: issue http://forum.fhem.de/index.php/topic,13935.msg303706.html#msg303706
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8743 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-06-14 12:14:57 +00:00
dietmar63
8f376fb4aa 59_Twilight: fixed http://forum.fhem.de/index.php/topic,38059.msg303124.html#msg303124
sorry

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8733 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-06-12 14:02:00 +00:00
dietmar63
4549b484c0 59_Twilight: repair of some minor seldom bugs, and a new algorithm to calulate the twilights. The results are now calulated by SUNRISE_EL
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8732 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-06-11 20:17:15 +00:00
dietmar63
bf8bdd48a7 98_Twilight: logging eliminated
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8588 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-16 19:04:19 +00:00
dietmar63
009dd1d12f 59_Twilight: correction error when computing ss_weather, sr_weather(very seldom case)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8579 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-14 17:43:31 +00:00
dietmar63
202272f861 98_Heating_Control, 98_WeekdayTimer, 59_Twilight: big refactoring update with some minor improvements
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8305 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-27 19:40:25 +00:00
dietmar63
421e58dcbd 59_Twilight: correction of issues when starting fhem wehn reading weatherdata in nonBlockingmode
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7462 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-01-06 17:13:36 +00:00
dietmar63
3df5f6dc3a 59_Twilight: found a way to set automaticly verbose 4 in definition phase.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7402 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-01-01 22:38:18 +00:00
dietmar63
9e13694e04 59_Twilight: revised version. it is now possible to check timeouts of HttpUtils_NonblockingGet() by using verbose 4 or 5. The value of verbose is tranfered to HttpUtils_NonblockingGet().
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7394 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-01-01 18:29:50 +00:00
dietmar63
f8f037e6eb 59_Twilight: empty line removed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7360 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-12-29 16:42:43 +00:00
dietmar63
3640e2fc0c 57_Twilight.pm: reading of weather information changed to HttpUtils_NonblockingGet(). Many thanks to hermannj!!!
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7246 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-12-17 19:08:03 +00:00
mrp666
c7cd1919d7 59_Twilight: State is now also available in the readings
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6953 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-11-11 23:04:30 +00:00
dietmar63
d28fd4754e 59_Twilight.pm: correction when getting a timeout to the weather server parsing undefined xml string.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6905 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-11-06 20:35:21 +00:00
dietmar63
f357b9410b Twilight - by omitting the yahooID the weaterinformation will not be read
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6318 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-07-25 22:13:51 +00:00
dietmar63
4c3d31cba3 Twilight: immediate update of readings after definition
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6136 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-06-18 19:08:58 +00:00
dietmar63
8bea3773e1 Twilight, RandomTimer
- attribute useExtWeather added

RandomTimer
- bug fixed: sometimes the timer didn't stop.

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6056 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-06-04 18:09:31 +00:00
dietmar63
5935b256ab Twilight, Heating_Control, WeekdayTimer
Twilight,
- minor bugfix in logging 

Heating_Control, 
- set command for enabel/disable + new Reading disabled added

WeekdayTimer
- set command for enabel/disable + new Reading disabled added
 


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5946 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-05-23 17:41:49 +00:00
dietmar63
be6d64e5bb Twilight
- some minor improvements

Heating_Control
- improvemts in autodetection (EnOcean)

RandomTimer
- improvemts when waking up all the timers by RandomTimer_Wakeup()


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5879 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-05-17 16:56:20 +00:00
dietmar63
2f750934bd improvement to get german dokumentation in commandref
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5716 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-05-01 15:09:41 +00:00
dietmar63
8ae7068943 Twilight
- german documentation added

WOL
 - Reading "state" added

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5519 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-13 19:17:22 +00:00
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