66 Commits

Author SHA1 Message Date
orti-otto
34609ad49e 59_Twilight: should solve the problem with daylightsavingtime
git-svn-id: https://svn.fhem.de/fhem/trunk@14039 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-04-19 19:59:56 +00:00
dietmar63
0f8479a658 59_Twilight: last change was not ok. revert
git-svn-id: https://svn.fhem.de/fhem/trunk@12702 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-12-02 23:14:18 +00:00
dietmar63
46a8bd6c7c 59_Twilight: improvements recalculating weatherdelays
git-svn-id: https://svn.fhem.de/fhem/trunk@12696 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-12-01 23:36:04 +00:00
dietmar63
6bb4476e98 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@12153 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-12 22:01:24 +00:00
dietmar63
4c83acde0a 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@12139 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-09-11 21:16:35 +00:00
dietmar63
494555d5df 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@12091 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-29 19:39:03 +00:00
dietmar63
05cab5ecd7 98_Twilight: patch to alow negativ weather horizons from joe99 added
git-svn-id: https://svn.fhem.de/fhem/trunk@11964 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-08-14 19:44:24 +00:00
dietmar63
cb73fda61a 98_Twilight: fix for issue #55775
git-svn-id: https://svn.fhem.de/fhem/trunk@11824 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-20 18:30:59 +00:00
dietmar63
d604381ec3 98_Twilight: second fix for issue #55583
git-svn-id: https://svn.fhem.de/fhem/trunk@11808 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-17 16:19:01 +00:00
dietmar63
c45fcf8c7e 98_Twilight: fix for issue #55583 (fhem forum)
git-svn-id: https://svn.fhem.de/fhem/trunk@11802 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-07-17 09:23:09 +00:00
dietmar63
4bc7686d3d 59_Twilight: improvements in errorhandling when getting wrong formatted JSON from yahoo
git-svn-id: https://svn.fhem.de/fhem/trunk@11503 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-05-22 19:48:01 +00:00
dietmar63
5847fba36e 98_Twilight: some minor changes due to problems with getting weather from yahoo
git-svn-id: https://svn.fhem.de/fhem/trunk@11234 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-04-12 17:50:46 +00:00
dietmar63
87b7b5d9a5 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@11187 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-04-04 19:39:27 +00:00
dietmar63
e90c4419c3 59_Twilight: issue http://forum.fhem.de/index.php/topic,13935.msg303706.html#msg303706
git-svn-id: https://svn.fhem.de/fhem/trunk@8743 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-06-14 12:14:57 +00:00
dietmar63
2c94795bb5 59_Twilight: fixed http://forum.fhem.de/index.php/topic,38059.msg303124.html#msg303124
sorry

git-svn-id: https://svn.fhem.de/fhem/trunk@8733 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-06-12 14:02:00 +00:00
dietmar63
953e752736 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@8732 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-06-11 20:17:15 +00:00
dietmar63
fcf39c6d85 98_Twilight: logging eliminated
git-svn-id: https://svn.fhem.de/fhem/trunk@8588 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-16 19:04:19 +00:00
dietmar63
8897bfe7fd 59_Twilight: correction error when computing ss_weather, sr_weather(very seldom case)
git-svn-id: https://svn.fhem.de/fhem/trunk@8579 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-05-14 17:43:31 +00:00
dietmar63
76df7c129b 98_Heating_Control, 98_WeekdayTimer, 59_Twilight: big refactoring update with some minor improvements
git-svn-id: https://svn.fhem.de/fhem/trunk@8305 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-03-27 19:40:25 +00:00
dietmar63
d69c676c87 59_Twilight: correction of issues when starting fhem wehn reading weatherdata in nonBlockingmode
git-svn-id: https://svn.fhem.de/fhem/trunk@7462 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-01-06 17:13:36 +00:00
dietmar63
686b14aebc 59_Twilight: found a way to set automaticly verbose 4 in definition phase.
git-svn-id: https://svn.fhem.de/fhem/trunk@7402 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-01-01 22:38:18 +00:00
dietmar63
0dc3f066ad 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@7394 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-01-01 18:29:50 +00:00
dietmar63
b524d0de27 59_Twilight: empty line removed
git-svn-id: https://svn.fhem.de/fhem/trunk@7360 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-12-29 16:42:43 +00:00
dietmar63
caa55f3525 57_Twilight.pm: reading of weather information changed to HttpUtils_NonblockingGet(). Many thanks to hermannj!!!
git-svn-id: https://svn.fhem.de/fhem/trunk@7246 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-12-17 19:08:03 +00:00
mrp666
290d6e7328 59_Twilight: State is now also available in the readings
git-svn-id: https://svn.fhem.de/fhem/trunk@6953 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-11-11 23:04:30 +00:00
dietmar63
c561b1a06e 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@6905 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-11-06 20:35:21 +00:00
dietmar63
7d1ac5e2a5 Twilight - by omitting the yahooID the weaterinformation will not be read
git-svn-id: https://svn.fhem.de/fhem/trunk@6318 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-07-25 22:13:51 +00:00
dietmar63
4b475f469e Twilight: immediate update of readings after definition
git-svn-id: https://svn.fhem.de/fhem/trunk@6136 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-06-18 19:08:58 +00:00
dietmar63
42bc524cfe Twilight, RandomTimer
- attribute useExtWeather added

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

git-svn-id: https://svn.fhem.de/fhem/trunk@6056 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-06-04 18:09:31 +00:00
dietmar63
23b25c141c 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@5946 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-05-23 17:41:49 +00:00
dietmar63
80ee54cbb6 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@5879 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-05-17 16:56:20 +00:00
dietmar63
b10fb992d0 improvement to get german dokumentation in commandref
git-svn-id: https://svn.fhem.de/fhem/trunk@5716 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-05-01 15:09:41 +00:00
dietmar63
084e09b2ae Twilight
- german documentation added

WOL
 - Reading "state" added

git-svn-id: https://svn.fhem.de/fhem/trunk@5519 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-13 19:17:22 +00:00
dietmar63
3bac07dffc 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@5241 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-03-16 22:44:28 +00:00
dietmar63
02fcf125d2 - Twilight, improvement without efects in calculation
- WOL, immediate refresh after set command

git-svn-id: https://svn.fhem.de/fhem/trunk@4568 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-05 23:10:13 +00:00
dietmar63
7b9c56db28 - 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@4533 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-01-02 20:19:46 +00:00
dietmar63
4f058a51fe - twilights are now first computed after 30 seconds after definition
git-svn-id: https://svn.fhem.de/fhem/trunk@4302 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-30 19:37:54 +00:00
dietmar63
aee5d48ca5 - some problems with InternalTimers fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@4277 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-23 18:09:25 +00:00
dietmar63
d9461843c3 - 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@4141 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-11-02 20:43:13 +00:00
dietmar63
c75eb852b2 internal improvements
the behavior should not be affected 

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

git-svn-id: https://svn.fhem.de/fhem/trunk@4062 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-10-17 20:18:49 +00:00
dietmar63
34d36c436d conversion from Log to Log3
git-svn-id: https://svn.fhem.de/fhem/trunk@3858 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-09-04 21:53:36 +00:00
dietmar63
69ef4dd14d avoiding to raise light events on startup of Twilight
git-svn-id: https://svn.fhem.de/fhem/trunk@3773 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-23 15:24:19 +00:00
dietmar63
6c1a81b9f5 Test $Id
git-svn-id: https://svn.fhem.de/fhem/trunk@3728 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-17 21:26:51 +00:00
dietmar63
48c199ef0f # $Id added to get version information
git-svn-id: https://svn.fhem.de/fhem/trunk@3720 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-16 18:46:51 +00:00
dietmar63
2fae29cb9a - $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@3719 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-16 18:35:52 +00:00
dietmar63
aa1c74d247 - bug in Twilight_Get repaired
- longitude and latitude now taken from TW definition

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


git-svn-id: https://svn.fhem.de/fhem/trunk@3711 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-08-15 20:39:59 +00:00
dietmar63
d8e5e137fe 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@3273 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-06-10 17:22:22 +00:00
rudolfkoenig
b128ebbc5a readingsUpdate attribute-Namelist and documentation unified
git-svn-id: https://svn.fhem.de/fhem/trunk@2406 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-03 12:51:51 +00:00