mirror of https://github.com/arendst/Tasmota.git
Makes it easier to follow this guide.
parent
a3b0b5af35
commit
a7f3d535e8
|
@ -13,7 +13,7 @@ At the bottom of the lamp stand there is also a 'Reset' button, which can be pre
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Tasmota supports it directly as `Module "Mi Desk Lamp"`.
|
Tasmota supports it directly as `Module "Mi Desk Lamp"`. Per default it's deactivated in the `my_user_config.h` you need to uncomment `#define ROTARY_V1` for it to appear as a module option in the UI.
|
||||||
|
|
||||||
To configure it as `Generic`, here is the GPIO assignment:
|
To configure it as `Generic`, here is the GPIO assignment:
|
||||||
- GPIO02: Button (`GPIO_KEY1`)
|
- GPIO02: Button (`GPIO_KEY1`)
|
||||||
|
@ -150,4 +150,4 @@ is situated on your desk, so it's a perfect place for temp+humidity measurements
|
||||||
If you want to place the sensor inside the lamp base, then you may need to remove some
|
If you want to place the sensor inside the lamp base, then you may need to remove some
|
||||||
material from one of the weight panels, and if you choose to place it on the outside
|
material from one of the weight panels, and if you choose to place it on the outside
|
||||||
(eg. near the base), then a convenient and relatively hidden path for the 3 wires is
|
(eg. near the base), then a convenient and relatively hidden path for the 3 wires is
|
||||||
above the power jack, just enlarge the hole by 2 mm-s with a file.
|
above the power jack, just enlarge the hole by 2 mm-s with a file.
|
Loading…
Reference in New Issue