Hallo,
für die LaMetric Smart Clock gibt es ja eine ganze Reihe von inoffiziellen Modulen, weit verstreut über Forum und Github.
Nachdem ich nun ein solches Gerät erstanden habe, habe ich gerade ein offizielles FHEM Modul eingecheckt.
Es unterstützt bereits alle wichtigen Funktionen, lediglich die Steuerung von Apps ist noch nicht eingebaut. Auch ist es weitgehend abwärtskompatibel zu den bisherigen Modulen, die eine statische Notation für die Notifications verwendet haben. Das LaMetric2 Modul unterstützt jetzt vollständig parseParams und macht regen Gebrauch davon.
Ab morgen dann per Update verfügbar.
Gruß
Julian
PS: Ich habe ein kryptisches Changelog mitgekritzelt für die, die es interessiert:
# Changes for version 2.0.0:
# - Code refactoring using perltidy
# - use HTTPS connectivity as default
# - Evaluate state changes based on command results to avoid additional query
# - pre-configure device attributes during initial define
# - add missing HTTP request headers for non-GET methods
# - new attribute notificationSound
# - new implementation of msg setter for flexible use of messaging options
# (using parseParams); backwards compatible to legacy static setter
# - allow better integration with FHEM msg-command
# - Multi-line support for msg setter when using new format
# - introduce message title handling as separate frame
# - Use an internal notificationIcon if no attribute was set
# - Allow to overwrite default values from device attributes withing every msg command
# - Setters to support new features
# - screensaver
# - metric
# - goal
# - New setters to be FHEM (AV media) standards compliant
# - brightness (rename reading displayBrightness to brightness)
# - mute (to mute/unmute explicitly)
# - muteT (to toggle volume)
# - bluetooth (rename reading bluetoothActive to bluetooth)
# - volume (rename reading audioVolume to volume)
# - volumeUp
# - volumeDown
# - channel
# - channelUp
# - channelDown
# - Harmonize setters and readings to reflect FHEM standards
# - brightnessMode (to separate function that from the brightness setter)
# - statusRequest (refresh kept for backwards compatibility)
# - write model to INTERNAL and attributes to accommodate FHEM device statistics
# - presence: present/absent
# - Add FHEM web frontend widgets to setters