ApplY3D / mi-home-toolkit

Effortlessly manage Mi Home smart devices, such as viewing device info and enabling LAN mode for bulbs.
45 stars 3 forks source link

[Plugins] motion sensor / magnet sensor information #4

Open AndreLion opened 4 months ago

AndreLion commented 4 months ago

Does it support viewing more info about motion / magnet door sensor?

Such as "something is moving" or "door is open"

Many thanks.

AndreLion commented 4 months ago

Here are my devices:

Screenshot 2024-07-26 at 00 07 55
ApplY3D commented 4 months ago

I'm planning to add the ability to execute commands in the upcoming release.

image

I believe it's possible to get the information you need by executing the right command. Will this help you?

Additionally, I have been considering the extendibility of the application with a plugin system (for adding extra info, indicators, buttons). Your case probably requires some interval polling of the device, so it should be considered in the plugin system as well.

Ideas and contributions are welcome!