Skip to content

Editing Remote control and automation

mcer12 edited this page Dec 3, 2022 · 2 revisions

Currently as of version 4.3, you can use GET requests or diyHue for automation. For two-way sync, use diyHue.

GET requests

The clock can be controlled remotely using GET requests. You can use those in your smart home app or remote control.

Some settings that might come handy:

Setting Request Values
Toggle clock ON/OFF on 1 => ON, 0 => OFF
Brightness bri 0 => Low, 1 => Medium, 2 => High
Colon colon 0 => OFF, 1 => Always ON, 2 => ON/OFF every second
Crossfade animation fade 0 => OFF, 30 => Slow, 20 => Medium, 30 => Fast
Night mode (Low brightness between 22:00 and 2:00) nmode 0 => Enabled, 1 => Disabled

All other config portal options are available as well but it's not very useful to set them remotely. And, since they're not tested, setting them up via GET request can cause unexpected behavior.

Example:

192.168.0.11/?bri=0
192.168.0.11/?bri=0&colon=0

diyHue

The clock is compatible with diyHue including brightness setting.
NOTE: Controlling the clock via diyHue doesn't save values so after reboot or power cycle, it will revert back to config portal values.
NOTE: Night mode overrides diyHue settings, so if you set high brightness but night mode is active, it will be ignored.

Get current clock status

Get current ON/OFF state and brightness via diyHue

Address (use your clock's IP):

192.168.0.11/get