This is a binding to control an Ulanzi clock (Ulanzi TC001 | Smart Pixel Clock for Everyday Use) flashed with the custom Awtrix 3 firmware. This binding may also be used to control other devices (e.g. self-built) that use the same firmware.
Changelog
Version 1.2.2
- Added channel update information for automated thing updates
Version 1.2.1
- Fixed a bug when trimming data points for graphs
Version 1.2
- Added deep sleep action (invoke with sleep(SECONDS))
- Added app lifetime and lifetimeMode channels (remove or mark an app as stale when there was no update for a certain amount of time)
- Added overlay channel for apps (weather condition overlay effect)
Version 1.1
- Compiled against OH 4.2.0; Works with OH 4.1 but please note that the name of the file has changed. Remove the old addon from the addon folder first and then insert the new addon file.
- Actions can now also be used within rules DSL
Version 1.0
- No functional changes. Going to stable now with the release of OH 4.1.0. Documentation is still missing though. Please ask any questions in this thread. I will compile all the answers into a proper documentation at some point in time.
Version 0.9.1
- No functional changes. Just recompiled against 4.1.0 RC1 for compatibility reasons
Version 0.9
- Sync the display channel back from the clock to OH (requires Awtrix Light firmware v0.89 or higher)
Version 0.8.1
- Fixed trigger channels
Version 0.8 - ONLY FOR openHAB 4.1.0.M2 and UP!!! You can find the previous version below in the comments
- Added support for notifications (via thing actions)
Version 0.7.1
- Fixed pushIcon channel
Version 0.7
- Brightness channel is writeable now, Autobrightness channel was added
Version 0.6
- Don’t accept commands while synching
- Channel improvements
Version 0.5.1
- Fixed display command
Version 0.5
- Smoother app initialisation for existing apps. Init will now take a bit longer now for newly created apps due to a longer timeout to receive the retained app message.
Version 0.4
- Now initialising all app items when they are linked for convenience. Note that the initialised values do not always represent the actual values of the clock (some are actually undefined).
Version 0.3
- Fixed thing actions: reboot, sound, upgrade
- Fixed thing configuration reset by discovery. Note that the basetopic value cannot be changed as long as the clock still sends on the configured value
- Sorted app channels in a more logical order
- Removed buttonControlled channel for apps
Version 0.2
- Fixed DiscoveryService “stealing” retained app messages. This change makes the recommended topic a requirement: MQTT prefix now always has to look like this: “awtrix/CLOCKNAME” where CLOCKNAME is a name of your choice.
Version 0.1
- initial release (beta state). Known issues: Bridge config options (baseTopic, appLockTimeout, discoverDefaultApps) cannot be updated after bridge creation.
Resources
Source code: