47 Commits

Author SHA1 Message Date
mgehre
f09c7e91f3 MAX: fix null value instead of import
git-svn-id: https://svn.fhem.de/fhem/trunk@2678 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-09 20:32:54 +00:00
mgehre
555d6d0fd5 MAX: split common data into MaxCommon.pm
git-svn-id: https://svn.fhem.de/fhem/trunk@2667 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-02-08 19:44:12 +00:00
mgehre
ad1a6a7bc2 MAXLAN: more robust handling of disconnects
git-svn-id: https://svn.fhem.de/fhem/trunk@2588 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-28 20:33:06 +00:00
mgehre
dc20316766 MAX: ParseFn should return list of matched devices
git-svn-id: https://svn.fhem.de/fhem/trunk@2587 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-28 20:32:22 +00:00
mgehre
cf71a1cdb8 MAX: update copyright
git-svn-id: https://svn.fhem.de/fhem/trunk@2566 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-26 10:19:40 +00:00
mgehre
a52d94e3fe MAXLAN: fix one more error
git-svn-id: https://svn.fhem.de/fhem/trunk@2558 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-23 23:15:14 +00:00
mgehre
e8b6e3ec2a MAXLAN: fix hang on connection error
git-svn-id: https://svn.fhem.de/fhem/trunk@2527 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-18 12:38:29 +00:00
mgehre
4249eb062d MAX: Some more changes (by Jürgen Isleib)
git-svn-id: https://svn.fhem.de/fhem/trunk@2523 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-16 20:34:56 +00:00
mgehre
b3092a1fa8 MAX: fix valveConfig commit
git-svn-id: https://svn.fhem.de/fhem/trunk@2491 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-12 15:15:03 +00:00
mgehre
1024d0b4c7 MAX: better input validation, setters for ["boostDuration","boostValveposition", "decalcification","maxValveSetting","valveOffset"]
git-svn-id: https://svn.fhem.de/fhem/trunk@2489 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-12 15:14:36 +00:00
mgehre
a939707de8 MAX: make internal MAXLAN/CUL_MAX interface nicer
git-svn-id: https://svn.fhem.de/fhem/trunk@2488 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-12 15:14:22 +00:00
mgehre
b19b493208 MAX: improve parsing WallThermostatState
git-svn-id: https://svn.fhem.de/fhem/trunk@2470 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-10 22:30:05 +00:00
mgehre
4d9d04b8f6 MAX: Better parsing of HeatingThermostatConfig
git-svn-id: https://svn.fhem.de/fhem/trunk@2469 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-10 22:29:50 +00:00
mgehre
b92e4b803e MAXLAN: prefix logs
git-svn-id: https://svn.fhem.de/fhem/trunk@2460 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-09 19:38:06 +00:00
mgehre
44b746ffcc MAXLAN: update doc
git-svn-id: https://svn.fhem.de/fhem/trunk@2333 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-15 22:08:08 +00:00
mgehre
4943c73587 MAX: do not use wrong values on WallMountedThermostats
git-svn-id: https://svn.fhem.de/fhem/trunk@2328 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-15 12:34:37 +00:00
mgehre
4ad9778f5f MAXLAN: don't spam the log
git-svn-id: https://svn.fhem.de/fhem/trunk@2320 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-12 18:02:57 +00:00
mgehre
2c714aa45a MAX: show more configuration, fix adding of measurementOffset
git-svn-id: https://svn.fhem.de/fhem/trunk@2317 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-11 22:43:44 +00:00
mgehre
94cca6df5c MAX: fix perl warning
git-svn-id: https://svn.fhem.de/fhem/trunk@2309 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:20:43 +00:00
mgehre
4a98585101 MAX: increase timeouts
git-svn-id: https://svn.fhem.de/fhem/trunk@2307 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:03:53 +00:00
mgehre
afe9716965 MAX: automatically determine correct IODev
git-svn-id: https://svn.fhem.de/fhem/trunk@2303 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:03:06 +00:00
mgehre
8cf5e7a58f MAXLAN: Suppress "unsolicated" message in pairmode for N:
git-svn-id: https://svn.fhem.de/fhem/trunk@2299 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:02:11 +00:00
mgehre
c9921c7414 MAXLAN: use timeout when reading from socket
git-svn-id: https://svn.fhem.de/fhem/trunk@2296 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:01:27 +00:00
mgehre
0f7d3b9b3b MAXLAN: fix hang after pairing
git-svn-id: https://svn.fhem.de/fhem/trunk@2295 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:01:13 +00:00
mgehre
c39bd123c5 MAXLAN: implement new Send() interface
git-svn-id: https://svn.fhem.de/fhem/trunk@2291 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 14:59:45 +00:00
mgehre
9a1e0aa007 MAX: unify duplicate definitions
git-svn-id: https://svn.fhem.de/fhem/trunk@2289 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 14:59:22 +00:00
mgehre
44b72d75dc MAX: move removeDevice into factoryReset
git-svn-id: https://svn.fhem.de/fhem/trunk@2280 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-08 00:28:23 +00:00
mgehre
05780aee76 MAX/MAXLAN: Add support for WallMountedThermostat
git-svn-id: https://svn.fhem.de/fhem/trunk@2263 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-03 21:43:42 +00:00
mgehre
2e6f1a46ad MAXLAN: return undef on succesful define
git-svn-id: https://svn.fhem.de/fhem/trunk@2262 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-03 21:43:22 +00:00
mgehre
d1631c6de3 MAXLAN: support ondemand mode
git-svn-id: https://svn.fhem.de/fhem/trunk@2255 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-02 23:28:00 +00:00
mgehre
f27639b288 MAX: remember if a device is paired to the MAXLAN or CUL_MAX
git-svn-id: https://svn.fhem.de/fhem/trunk@2253 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-02 23:27:31 +00:00
mgehre
e9b0d538e2 MAX: remove depedency on Data::Dumper
git-svn-id: https://svn.fhem.de/fhem/trunk@2229 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-29 23:53:19 +00:00
mgehre
3a8213cfbf Revert "MAXLAN: work around cube bug by reconnecting"
This reverts commit bbf602fa3e2e8b0dba4cb0a79483899301fa594e.

git-svn-id: https://svn.fhem.de/fhem/trunk@2192 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 14:11:28 +00:00
mgehre
2ff133f169 MAX: fix a bug where we would loose received bytes (thanks Joachim for the help)
git-svn-id: https://svn.fhem.de/fhem/trunk@2191 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 14:11:15 +00:00
mgehre
e9a0ca77bc MAXLAN: work around cube bug by reconnecting
git-svn-id: https://svn.fhem.de/fhem/trunk@2189 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:51:26 +00:00
mgehre
acde49943c MAXLAN: refactoring
git-svn-id: https://svn.fhem.de/fhem/trunk@2188 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:51:14 +00:00
mgehre
7c2095db99 MAX: clear Error on reconnect
git-svn-id: https://svn.fhem.de/fhem/trunk@2187 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:51:02 +00:00
mgehre
53465426d2 MAXLAN: add commandref entry for reconnect
git-svn-id: https://svn.fhem.de/fhem/trunk@2186 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:50:44 +00:00
mgehre
82e8a7be18 MAX: Show error in ERROR variable in FHEMWEB
git-svn-id: https://svn.fhem.de/fhem/trunk@2165 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:33:36 +00:00
mgehre
fe00ba6619 MAXLAN: add set reconnect
git-svn-id: https://svn.fhem.de/fhem/trunk@2164 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:33:23 +00:00
mgehre
d1ff00567c MAX: Move parsing to 10_MAX for reuse by CUL_MAX
git-svn-id: https://svn.fhem.de/fhem/trunk@2163 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:50 +00:00
mgehre
8769dabf0b MAXLAN: ignore invalid data (which the cube sends after a reset)
git-svn-id: https://svn.fhem.de/fhem/trunk@2162 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:32 +00:00
mgehre
9faef5fee4 MAX: increase default polling interval to 60 seconds
git-svn-id: https://svn.fhem.de/fhem/trunk@2161 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:21 +00:00
mgehre
ed6c7e8014 MAX: check for updated L: response after s: command
git-svn-id: https://svn.fhem.de/fhem/trunk@2160 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:08 +00:00
mgehre
b5299b0eb1 MAX: check correct length of configuration response
git-svn-id: https://svn.fhem.de/fhem/trunk@2152 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-21 19:57:38 +00:00
mgehre
ae0a676435 MAX: add removeDevice for set
git-svn-id: https://svn.fhem.de/fhem/trunk@2151 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-21 19:57:25 +00:00
mgehre
bc95538e6b Initial commit of 00_MAXLAN.pm and 10_MAX.pm
00_MAXLAN.pm: update doc

10_MAX.pm: update doc

00_MAXLAN.pm: Fix syntax error

00_MAXLAN.pm: remove reference to hmId

00_MAXLAN.pm: also dispatch define events from metadata, because shutter does not have configdata

10_MAX.pm: allow setting temp to "on" and "off"

10_MAX.pm: fix doc formatting

00_MAXLAN.pm: Add two set commands: raw and clock

00_MAXLAN.pm: parse current until time

00_MAXLAN.pm: send quit in Undef

00_MAXLAN.pm: beautifying

Display ctrl mode (auto/manual/temporary)

Allow setting a temporary temperature

MAX: change event delimiter to handle time

Fix bug where only one room could be handled

MAX: parse "S:" response

List roomid, send correct roomid with desired-temp

MAX: show roomname for devices

MAX: add troubleshooting when device send temperature 0

00_MAXLAN: Fix parsing of "until" date: time and month were broken

00_MAXLAN: show time offset on start

Show more state info

Set timezone to floating because local cannot be determined on fritzbox

dispatch CubeClockState only if rfaddr is known

Read valve position of HeatingThermostat by gaggi (g.sturm@sturm-busse.de)

MAX: notify if 1% percent rule is oversteped and if queue is full

Do not crash on empty Metadata response

change inital label from "initalized" to "waiting for data"

Auto reconnect if connecting failed

defer setting clock until after complete hello

cleanup

Lower polling interval to 10 seconds

Remove ReadyFn, we already got a FD

really defer setting the clock

valveposition is in percent

rename serialNr to serial

check for matching magic/version, be more robust while parsing metadata

implement SendMetadata

Add missing devices during C: response

Fill SetRoomId

Make ReadAnswer really wait for one

Make valveposition a reading/show possible settings in WebUI (by wollet42, wton1@gmx.de)

Remove DateTime module

rename room to group: fhem already has a room concept

Set temperature individually, not for the whole group

Implement setting of groupid

Remove display of groupname, it does not say anything

generate events for HeatingThermostat's readings

Switched to ReadingsBulkUpdate (thanks to tobias.faust, tobias.faust@gmx.net)

Implement interfaces: this changes the setter desired-temp to desiredTemperature

Correct some Log messages

doc: make clear that MAXLAN uses the cube exclusively

Fix webinterface showing old name for desiredTemperature

add temp4valve4.gplot for Max! HeatingThermostats

Move SetTemperature to backend, allow eco/comfort

Show eco/comfort temperature from device

Support event-on-{update,change}-reading

Correct computation of time difference (thanks Andy Fuchs)

gplot: Corrected axis range

Allow configuring of a lot of device parameters

Add optional pollintervall to define (thanks to wollet42)

Return message up to UI

Minor fixes

Fix setting desiredTemperature

Allow cancel of pairmode

gplot: better scaling (by wollet42) and steps instead of interpolation

Continue even if L: is empty

add factoryReset

request config after new device paired

Updated CUL_MAX

Correct parsing of flags

parse measured(!) temperature

Unify logic for MAXLAN and CUL_MAX into MAX

Show some unused bits

Correctly show until time only in temporary mode

Fix measured temp

Fix checks for existance

Return list of valid values for desiredTemperature

Require a value with desiredTemperature and don't show (manual)

Update doc text

Update CUL_MAX

MAXLAN: dispatch define before configuration event

Update plot to show measured temperature, too

git-svn-id: https://svn.fhem.de/fhem/trunk@2144 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-19 23:03:18 +00:00