mirror of
https://github.com/bemble/node-red-contrib-mi-devices.git
synced 2026-03-16 17:42:44 +01:00
refactor(socket): move on/off to dedicated actions
This commit is contained in:
12
README.md
12
README.md
@@ -36,20 +36,20 @@ Note that the Wifi power plug is not configured through the configurator as it i
|
||||
|
||||
The Xiaomi configurator screen with ease of use to configure your different devices.
|
||||
|
||||

|
||||

|
||||
|
||||
Tip: use the configurator from the side-panel (hamburger menu, configuration nodes) to manage your devices. Node-red doesn't update underlying edit screens if the configuration panel is opened / closed from the edit node screen. (If you do, you need to first close the edit node screen and reopen it by double-clicking the node you want to edit the properties for.)
|
||||
|
||||
### How to use different nodes
|
||||
|
||||
Here an example of how to use the different nodes:
|
||||

|
||||

|
||||
|
||||
|
||||
### Sample flows
|
||||
|
||||
Here are different flow (screenshot of [importable sample-flows.json](sample-flows.json "Different flows using Mi Devices")):
|
||||

|
||||

|
||||
|
||||
## Enable LAN mode
|
||||
|
||||
@@ -69,8 +69,8 @@ Mainland China and language can set on English.
|
||||
|
||||
If you change here something, you lose your password!
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## Roadmap
|
||||
|
||||
@@ -80,7 +80,7 @@ If you change here something, you lose your password!
|
||||
- [ ] Set action status when no token available
|
||||
- [ ] Add gateway status
|
||||
- [ ] Update icons
|
||||
- [ ] Refactor socket and set on/off actions
|
||||
- [X] Refactor socket and add on/off actions
|
||||
- [X] Add device SID in output
|
||||
- [X] Remove different output styles
|
||||
- [X] Code cleanup
|
||||
|
||||
Reference in New Issue
Block a user