Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matter redesigned UI #18855

Merged
merged 1 commit into from
Jun 11, 2023
Merged

Conversation

s-hadinger
Copy link
Collaborator

Description:

Redesigned UI to allow to dynamically add or remove endpoints without a restart, and automatically probe remote Tasmota devices using ESP8266 or OpenBK.

Note: dynamically adding endpoints leverages Matter Bridge which works currently with Apple and Google controllers. Alexa only supports a single endpoint.

The examples below are done with ESP32C3 with RGB (PWM) led.

Autoconfigure at start

At start, the local sensors and devices are auto-configured, here RGB light:
image

Pairing to an Apple TV controller via iPhone

The Apple Home app shows a new Matter Bridge as well as a new RGB Light. Wait a few seconds for the communication to stabilize, and you can control the RGB light either locally on Tasmota or via Apple Home app.

If you look at Matter Advanced Configuration page, you will see two fabrics configured:
image

Add a remote Tasmota device

I will now add a remote ESP32 based Tasmota device M5StickC with ENV sensor: 1 Light (led), AXP192 temperature, BMP280 and SHT30 sensors.

Enter the IP address of the device and press "Auto-configure remote Tasmota"
image

The following page appears:
image

Since we're not interested in AXP192 internal temperature, remove the type for this device:
image

Now press "Add endpoins"

The configuration now contains the added endpoints:
image

They have been dynamically added to Apple Home App

Show current readings

If you go back to Tasmota main page, you will get the current readings for sensors as sent to the Matter controller:
image

Limitations

Auto-detections currently detects only the following:

  • Light 0/1/2/3 channels
  • Sensors for Temperature, Pressure, Humidity, Illuminance

Not yet supported in remote devices, or not detected:

  • remote shutters
  • lights with 4/5 channels
  • split CT/RGB lights (SetOption37 128)
  • independant PWM channels (SetOption68 1)
  • occupancy sensors

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.4.9
  • The code change is tested and works with Tasmota core ESP32 V.2.0.9
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@s-hadinger s-hadinger merged commit a014f54 into arendst:development Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant