diff --git a/Readme.md b/Readme.md index 1be14272..34beeb0c 100644 --- a/Readme.md +++ b/Readme.md @@ -50,7 +50,6 @@ Choose one of the listed microcontrollers, but keep in mind that the ESP32 is re - ESP32 (recommended) - [AliExpress](https://s.click.aliexpress.com/e/_DdAe4Fl) or [Banggood][esp32-bg-shop] or [AliExpress][esp32-ali-shop] - ESP8266 - [AliExpress](https://s.click.aliexpress.com/e/_DCd13n1) or [Banggood][esp8266-bg-shop] or [AliExpress][esp8266-ali-shop] - - Wemos D1 mini - [AliExpress](https://s.click.aliexpress.com/e/_DFkIzM7) or [Banggood][wemos-d1-bg-shop] or [AliExpress][wemos-d1-ali-shop] - Dupont Jumpers (female to male) - [AliExpress](https://s.click.aliexpress.com/e/_DmbrJsj) or [Banggood][dupont-jumpers-shop] - 3D-printed case (see the [case](https://glow-energy.io/docs/reference/cases) folder) - LM393 Photodiode: [AliExpress](https://s.click.aliexpress.com/e/_DDkX3zN) or [Banggood][photodiode-bg-shop] or [AliExpress][photodiode-ali-shop] (please note that you will not receive an LDR) @@ -118,8 +117,6 @@ SOFTWARE. [esp32-ali-shop]: https://tc.tradetracker.net/?c=15640&m=12&a=417111&r=&u=https%3A%2F%2Faliexpress.com%2Fitem%2F1005005970816555.html [esp8266-bg-shop]: https://www.banggood.com/bang/?tt=16956_12_417111_&r=%2Fnl%2FGeekcreit-NodeMcu-Lua-ESP8266-ESP-12F-WIFI-Development-Board-p-985891.html [esp8266-ali-shop]: https://tc.tradetracker.net/?c=15640&m=12&a=417111&r=&u=https%3A%2F%2Faliexpress.com%2Fitem%2F1005005977505151.html -[wemos-d1-bg-shop]: https://www.banggood.com/bang/?tt=16956_12_417111_&r=%2Fnl%2FGeekcreit-D1-Mini-V3_0_0-WIFI-Internet-Of-Things-Development-Board-Based-ESP8266-4MB-MicroPython-Nodemcu-p-1264245.html -[wemos-d1-ali-shop]: https://tc.tradetracker.net/?c=15640&m=12&a=417111&r=&u=https%3A%2F%2Faliexpress.com%2Fitem%2F1005006018009983.html [dupont-jumpers-shop]: https://www.banggood.com/bang/?tt=16956_12_417111_&r=https%3A%2F%2Fnl.banggood.com%2F120pcs-20cm-Male-To-Female-Female-To-Female-Male-To-Male-Color-Breadboard-Jumper-Cable-Dupont-Wire-p-974006.html [photodiode-bg-shop]: https://www.banggood.com/bang/?tt=16956_12_417111_&r=https%3A%2F%2Fnl.banggood.com%2F4Pin-Photodiode-Sensor-Controller-Module-Measure-Module-p-1416445.html [photodiode-ali-shop]: https://tc.tradetracker.net/?c=15640&m=12&a=417111&r=&u=https%3A%2F%2Faliexpress.com%2Fitem%2F1005003302215339.html diff --git a/docs/docs/getting-started.mdx b/docs/docs/getting-started.mdx index 42071bd5..47958f12 100644 --- a/docs/docs/getting-started.mdx +++ b/docs/docs/getting-started.mdx @@ -21,12 +21,11 @@ To get started, you need the right hardware first, fill your 🛒 or see if you |:-----|:---------|:-|:-|:-| |**1.**| ESP32 (recommended) | [AliExpress](https://s.click.aliexpress.com/e/_DdAe4Fl) | [AliExpress][esp32-ali-shop] | [Banggood][esp32-bg-shop] | |**1.**| ESP8266 | [AliExpress](https://s.click.aliexpress.com/e/_DCd13n1) | [AliExpress][esp8266-ali-shop] | [Banggood][esp8266-bg-shop] | -|**1.**| Wemos D1 mini V4.0 | [AliExpress](https://s.click.aliexpress.com/e/_DFkIzM7) | [AliExpress][wemos-d1-ali-shop] | [Banggood][wemos-d1-bg-shop] | |**2.**| Dupont Jumpers (female to female) | [AliExpress](https://s.click.aliexpress.com/e/_DmbrJsj) | [AliExpress][dupont-jumpers-ali-shop] | [Banggood][dupont-jumpers-bg-shop] | |**3.**| LM393 Photodiode | [AliExpress](https://s.click.aliexpress.com/e/_DDkX3zN) | [AliExpress][photodiode-ali-shop] | [Banggood][photodiode-bg-shop] | |**4.**| LED RGB 5mm 4 pin - kathode | [AliExpress](https://s.click.aliexpress.com/e/_Dn1D0wT) | [AliExpress][rgbled-ali-shop] | [Banggood][rgbled-bg-shop] | -Obviously, you do not need all 3 different types of microcontrollers, but you can choose between an **ESP32** (recommended), **ESP8266** or the **Wemos D1 mini**. About the photodiode, keep in mind that there are also boards in circulation with an LDR. +Choose between an **ESP32** (recommended) or **ESP8266**. About the photodiode, keep in mind that there are also boards in circulation with an LDR. How everything should be connected can be found on the [wiring diagram](/docs/reference/diagram). Once this is done, you can proceed to step 2. @@ -127,8 +126,6 @@ Affiliate links are used on this website to support the Home Assistant Glow 🌟 [esp32-ali-shop]: https://tc.tradetracker.net/?c=15640&m=12&a=417111&r=&u=https%3A%2F%2Faliexpress.com%2Fitem%2F1005005970816555.html [esp8266-bg-shop]: https://www.banggood.com/bang/?tt=16956_12_417111_&r=%2Fnl%2FGeekcreit-NodeMcu-Lua-ESP8266-ESP-12F-WIFI-Development-Board-p-985891.html [esp8266-ali-shop]: https://tc.tradetracker.net/?c=15640&m=12&a=417111&r=&u=https%3A%2F%2Faliexpress.com%2Fitem%2F1005005977505151.html -[wemos-d1-bg-shop]: https://www.banggood.com/bang/?tt=16956_12_417111_&r=%2Fnl%2FGeekcreit-D1-Mini-V3_0_0-WIFI-Internet-Of-Things-Development-Board-Based-ESP8266-4MB-MicroPython-Nodemcu-p-1264245.html -[wemos-d1-ali-shop]: https://tc.tradetracker.net/?c=15640&m=12&a=417111&r=&u=https%3A%2F%2Faliexpress.com%2Fitem%2F1005006018009983.html [dupont-jumpers-bg-shop]: https://www.banggood.com/bang/?tt=16956_12_417111_&r=https%3A%2F%2Fnl.banggood.com%2F120pcs-20cm-Male-To-Female-Female-To-Female-Male-To-Male-Color-Breadboard-Jumper-Cable-Dupont-Wire-p-974006.html [dupont-jumpers-ali-shop]: https://tc.tradetracker.net/?c=15640&m=12&a=417111&r=&u=https%3A%2F%2Faliexpress.com%2Fitem%2F1005005945668553.html [photodiode-bg-shop]: https://www.banggood.com/bang/?tt=16956_12_417111_&r=https%3A%2F%2Fnl.banggood.com%2F4Pin-Photodiode-Sensor-Controller-Module-Measure-Module-p-1416445.html diff --git a/docs/docs/reference/diagram.mdx b/docs/docs/reference/diagram.mdx index 4223792b..b950e23e 100644 --- a/docs/docs/reference/diagram.mdx +++ b/docs/docs/reference/diagram.mdx @@ -24,20 +24,20 @@ In the tables below you will find more information, about how to connect the Pho How the Photodiode is connected to the ESP board of your choice. -| PHOTODIODE | ESP32 | Wemos D1 / ESP8266 | -|------------|--------------|--------------------| -| A0 | NOT USING | NOT USING | -| DO | D26 (GPIO26) | D7 (GPIO13) | -| VCC | 3V3 | 3V3 | -| GND | GND | GND | +| PHOTODIODE | ESP32 | ESP8266 | +|------------|--------------|-------------| +| A0 | NOT USING | NOT USING | +| DO | D26 (GPIO26) | D7 (GPIO13) | +| VCC | 3V3 | 3V3 | +| GND | GND | GND | ### Status LED How the status LED is connected to the ESP board of your choice. For each measured pulse, the LED will briefly flash *red* and in case of no WiFi connection, the LED will continue to flash *blue*. -| LED | ESP32 | D1 mini / ESP8266 | -|--------|------------|-------------------| -| RED | D2 (GPIO2) | D4 (GPIO2) | -| GREEN | D4 (GPIO4) | D2 (GPIO4) | -| BLUE | D5 (GPIO5) | D1 (GPIO5) | -| GND | GND | GND | \ No newline at end of file +| LED | ESP32 | ESP8266 | +|--------|------------|------------| +| RED | D2 (GPIO2) | D4 (GPIO2) | +| GREEN | D4 (GPIO4) | D2 (GPIO4) | +| BLUE | D5 (GPIO5) | D1 (GPIO5) | +| GND | GND | GND | \ No newline at end of file diff --git a/home-assistant-glow/d1_mini.yaml b/home-assistant-glow/d1_mini.yaml deleted file mode 100644 index 567c41f6..00000000 --- a/home-assistant-glow/d1_mini.yaml +++ /dev/null @@ -1,61 +0,0 @@ ---- -# Home Assistant Glow -# -# Read your electricity meter by means of the pulse LED on your -# meter, useful if you do not have a serial port (P1). -# © Klaas Schoute -# -substitutions: - device_name: home-assistant-glow - friendly_name: Home Assistant Glow - project_version: "4.1.0" - device_description: "Measure your energy consumption with the pulse LED on your smart meter - Wemos D1 Mini" - - # Define the GPIO pins - pulse_pin: GPIO13 - status_led: GPIO5 - led_pin_red: GPIO2 - led_pin_green: GPIO4 - -esphome: - name: '${device_name}' - comment: '${device_description}' - name_add_mac_suffix: true - min_version: 2024.6.0 - project: - name: "klaasnicolaas.home-assistant-glow" - version: "${project_version}" - -dashboard_import: - package_import_url: github://klaasnicolaas/home-assistant-glow/home-assistant-glow/d1_mini.yaml@main - -esp8266: - board: d1_mini - -packages: - remote_package: - url: https://github.com/klaasnicolaas/home-assistant-glow/ - ref: "4.1.0" - files: - - components/basis.yaml - - components/updates.yaml - - components/status_led.yaml - - components/pulse_meter.yaml - -# Enable logging -logger: - -# Allow provisioning Wi-Fi via serial -improv_serial: - -wifi: - # Set up a wifi access point - ap: - ssid: '${friendly_name}' - -# In combination with the `ap` this allows the user -# to provision wifi credentials to the device via WiFi AP. -captive_portal: - -# To have a "next url" for improv serial -web_server: