Commit Graph

39 Commits

Author SHA1 Message Date
mgehre
814e44a324 MAX: fix valveConfig commit
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2491 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-12 15:15:03 +00:00
mgehre
255fce9ca1 MAX: better input validation, setters for ["boostDuration","boostValveposition", "decalcification","maxValveSetting","valveOffset"]
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2489 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-12 15:14:36 +00:00
mgehre
2b895aea07 MAX: make internal MAXLAN/CUL_MAX interface nicer
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2488 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-12 15:14:22 +00:00
mgehre
736477a15c MAX: improve parsing WallThermostatState
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2470 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-10 22:30:05 +00:00
mgehre
912e426de7 MAX: Better parsing of HeatingThermostatConfig
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2469 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-10 22:29:50 +00:00
mgehre
131fff5f67 MAXLAN: prefix logs
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2460 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2013-01-09 19:38:06 +00:00
mgehre
d5f282acc1 MAXLAN: update doc
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2333 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-15 22:08:08 +00:00
mgehre
fcbc372658 MAX: do not use wrong values on WallMountedThermostats
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2328 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-15 12:34:37 +00:00
mgehre
f85ee1aee3 MAXLAN: don't spam the log
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2320 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-12 18:02:57 +00:00
mgehre
6a834e3bec MAX: show more configuration, fix adding of measurementOffset
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2317 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-11 22:43:44 +00:00
mgehre
1eb47b612c MAX: fix perl warning
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2309 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:20:43 +00:00
mgehre
7319fe5f24 MAX: increase timeouts
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2307 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:03:53 +00:00
mgehre
a50bee7978 MAX: automatically determine correct IODev
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2303 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:03:06 +00:00
mgehre
26c6c561dc MAXLAN: Suppress "unsolicated" message in pairmode for N:
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2299 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:02:11 +00:00
mgehre
f89dcd7705 MAXLAN: use timeout when reading from socket
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2296 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:01:27 +00:00
mgehre
4b3222952f MAXLAN: fix hang after pairing
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2295 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 15:01:13 +00:00
mgehre
7a9049636a MAXLAN: implement new Send() interface
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2291 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 14:59:45 +00:00
mgehre
3e4334218b MAX: unify duplicate definitions
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2289 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 14:59:22 +00:00
mgehre
58fe09ab1d MAX: move removeDevice into factoryReset
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2280 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-08 00:28:23 +00:00
mgehre
f6c6a920fd MAX/MAXLAN: Add support for WallMountedThermostat
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2263 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-03 21:43:42 +00:00
mgehre
d24a649d97 MAXLAN: return undef on succesful define
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2262 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-03 21:43:22 +00:00
mgehre
2e1f9aa04b MAXLAN: support ondemand mode
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2255 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-02 23:28:00 +00:00
mgehre
5c20e04ac4 MAX: remember if a device is paired to the MAXLAN or CUL_MAX
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2253 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-02 23:27:31 +00:00
mgehre
f00deb8a75 MAX: remove depedency on Data::Dumper
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2229 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-29 23:53:19 +00:00
mgehre
a7aa5a3f30 Revert "MAXLAN: work around cube bug by reconnecting"
This reverts commit bbf602fa3e.

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2192 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 14:11:28 +00:00
mgehre
6d5fd30183 MAX: fix a bug where we would loose received bytes (thanks Joachim for the help)
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2191 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 14:11:15 +00:00
mgehre
bbf602fa3e MAXLAN: work around cube bug by reconnecting
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2189 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:51:26 +00:00
mgehre
e9234de378 MAXLAN: refactoring
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2188 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:51:14 +00:00
mgehre
9a85f4980d MAX: clear Error on reconnect
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2187 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:51:02 +00:00
mgehre
e35b4bd6f8 MAXLAN: add commandref entry for reconnect
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2186 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:50:44 +00:00
mgehre
526b3053b8 MAX: Show error in ERROR variable in FHEMWEB
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2165 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:33:36 +00:00
mgehre
a0c6aa77a9 MAXLAN: add set reconnect
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2164 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:33:23 +00:00
mgehre
721440b3c2 MAX: Move parsing to 10_MAX for reuse by CUL_MAX
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2163 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:50 +00:00
mgehre
f45bed1495 MAXLAN: ignore invalid data (which the cube sends after a reset)
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2162 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:32 +00:00
mgehre
66acb7130c MAX: increase default polling interval to 60 seconds
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2161 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:21 +00:00
mgehre
f2b7042f70 MAX: check for updated L: response after s: command
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2160 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:08 +00:00
mgehre
e616ddb1fd MAX: check correct length of configuration response
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2152 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-21 19:57:38 +00:00
mgehre
0d854bdfb5 MAX: add removeDevice for set
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2151 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-21 19:57:25 +00:00
mgehre
773928f519 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://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2144 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-19 23:03:18 +00:00