From e62d85fbd6301dd511db20f6241cae823ce25ef7 Mon Sep 17 00:00:00 2001 From: Kai Lauterbach Date: Mon, 15 May 2023 11:53:41 +0200 Subject: [PATCH] Readme update --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 91ed55a..9e8fc52 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,16 @@ This project is based on: https://github.com/mariusmotea/diyHue/tree/master/Lights/Arduino/Generic_Dimmable_Light -Most of the code was generated by ChatGPT. +Reef2Reef forum thread: https://www.reef2reef.com/threads/for-lumini-lominie-pixie-30-p30-hers-how-to-add-ramp-up-down-and-timer-with-memory-quite-cheaply.935409/ + +Most of the code was generated by ChatGPT and adapted by myself. The controller I use is a old NodeMCU v1.0, which is connected to 4x D4184 MOS breakout boards. See NodeMCU pins table beyond. The cable I use is a https://amzn.eu/d/0jigRCh. I cut it in half and attached it to the MOS boards. -The NodeMCU‘s power supply is a 7805, it‘s output is connected to the Vin pin. +The NodeMCU‘s power supply is a 7805, it‘s output is connected to the Vin pin of the NodeMCU. The input of the 7805 is connected to the 24V of the DC power plug. -NodeMCU pins: +NodeMCU pin connections to the cable wires: | |ch1|ch2|ch3|ch4| |--|--|--|--|--| @@ -20,11 +22,21 @@ NodeMCU pins: The HTML content is pushed to the NodeMCU separetely by using the ESP8266 Sketch Data Upload plugin of the old Arduino IDE (not "Arduino IDE"). After the firmware is written the first time to the NodeMCU. + +In case there is no data folder available in the firmware folder create it. +Open a unix style commandline with a bash and step unto the data folder. Run the script + +$ bash ../../tools/html_gen_files.sh + +This generates all of the required files and places them into the data folder. + The EEPROM's default values are set to default. All except of the timing control data block. You have to click at the link "reset timing control data" on the webinterface. +The IP address is set to dynamic (DHCP) after initial flash of the NodeMCU. + Sample schematics (no NodeMCU pins defined in there) ![Sample schematics](pic/schematics.png)