73 Commits

Author SHA1 Message Date
mgehre
28cc08c88b MAXLAN: implement new Send() interface
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2291 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 14:59:45 +00:00
mgehre
66b71e6ed0 MAX: unify duplicate definitions
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2289 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-09 14:59:22 +00:00
mgehre
0b9ea2bd3c MAX: move removeDevice into factoryReset
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2280 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-08 00:28:23 +00:00
mgehre
c7a4288301 MAX/MAXLAN: Add support for WallMountedThermostat
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2263 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-03 21:43:42 +00:00
mgehre
de5560d8d8 MAXLAN: return undef on succesful define
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2262 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-03 21:43:22 +00:00
mgehre
d868c98e99 MAXLAN: support ondemand mode
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2255 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-02 23:28:00 +00:00
mgehre
ae62422ffa MAX: remember if a device is paired to the MAXLAN or CUL_MAX
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2253 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-12-02 23:27:31 +00:00
mgehre
d78a769c82 MAX: remove depedency on Data::Dumper
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2229 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-29 23:53:19 +00:00
mgehre
ac1fb5cedf Revert "MAXLAN: work around cube bug by reconnecting"
This reverts commit bbf602fa3e2e8b0dba4cb0a79483899301fa594e.

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2192 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 14:11:28 +00:00
mgehre
fb57021806 MAX: fix a bug where we would loose received bytes (thanks Joachim for the help)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2191 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 14:11:15 +00:00
mgehre
36d53a2b17 MAXLAN: work around cube bug by reconnecting
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2189 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:51:26 +00:00
mgehre
5d891f1154 MAXLAN: refactoring
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2188 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:51:14 +00:00
mgehre
0f65472bd3 MAX: clear Error on reconnect
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2187 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:51:02 +00:00
mgehre
9a5f7c22e6 MAXLAN: add commandref entry for reconnect
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2186 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-25 09:50:44 +00:00
mgehre
25d10d9786 MAX: Show error in ERROR variable in FHEMWEB
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2165 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:33:36 +00:00
mgehre
a916ed9623 MAXLAN: add set reconnect
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2164 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:33:23 +00:00
mgehre
fcfb6a2dc5 MAX: Move parsing to 10_MAX for reuse by CUL_MAX
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2163 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:50 +00:00
mgehre
c82cfe4562 MAXLAN: ignore invalid data (which the cube sends after a reset)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2162 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:32 +00:00
mgehre
ecd93e62e4 MAX: increase default polling interval to 60 seconds
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2161 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:21 +00:00
mgehre
a10665d020 MAX: check for updated L: response after s: command
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2160 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-23 07:32:08 +00:00
mgehre
5aeabbe0c2 MAX: check correct length of configuration response
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2152 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-21 19:57:38 +00:00
mgehre
d7d65c0147 MAX: add removeDevice for set
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2151 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-21 19:57:25 +00:00
mgehre
e34be2d059 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/fhem@2144 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-11-19 23:03:18 +00:00