You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-24Lines changed: 7 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,7 @@
11
11
- Displays the current day's price alongside tomorrow's price.
12
12
- Shows the electricity price in kWh/SEK for the current hour.
13
13
- Allows users to select a bidding area (SE 1-4).
14
-
<!---
15
14
- Allows users to customize the price interval.
16
-
-->
17
15
18
16
This project aims to provide a standalone solution for monitoring electricity prices without relying on external services.
19
17
@@ -42,16 +40,16 @@ IO12 MISO
42
40
43
41
## ESP32
44
42
45
-
To use *kwh_display*, start by flashing the ESP32 with firmware `build-ESP32_GENERIC_250127.bin`, which is compiled from the [MicroPython](https://docs.micropython.org/en/latest/esp32/tutorial/intro.html) repository.
43
+
To use *kwh_display*, start by flashing the ESP32 with firmware `build-ESP32_GENERIC_250223.bin`, which is compiled from the [MicroPython](https://docs.micropython.org/en/latest/esp32/tutorial/intro.html) repository.
46
44
47
45
48
46
Erase and the flash the ESP32 using [esptool](https://github.com/espressif/esptool).
Edit ```/kwh_display/config.json``` to match your preferred settings. You can customize the price interval to your preference (float). The default settings are explained in the table below.
51
+
52
+
Edit ```/kwh_display/config.json``` to match your preferred settings. You can customize the price interval to your preference (float). The default price settings are explained in the table below.
55
53
56
54
| Price | Default |
57
55
| -------- | -------------------|
@@ -64,30 +62,15 @@ The case *Dyrt* is handled by an 'else' statement.
64
62
**Please note that your WiFi password will be stored in plain text. Proceed with caution.**
65
63
```json
66
64
{
67
-
"ssid": "linusgarden-IoT",
68
-
"password": "C5DT_F+BDXfsRuDd%8#6",
65
+
"ssid": "MySSID",
66
+
"password": "MyPassword",
69
67
"zone": "SE3",
70
68
"url": "http://www.elprisetjustnu.se",
71
69
"api": "/api/v1/prices/",
72
70
"billigt<": 0.5,
73
71
"normalt<": 1.5
74
72
}
75
73
```
76
-
-->
77
-
78
-
Edit ```/kwh_display/config.json``` to match your preferred settings.
79
-
80
-
**Please note that your WiFi password will be stored in plain text. Proceed with caution.**
81
-
```json
82
-
{
83
-
"ssid": "YourSSID",
84
-
"password": "YourPassword",
85
-
"zone": "SE3",
86
-
"url": "http://www.elprisetjustnu.se",
87
-
"api": "/api/v1/prices/"
88
-
}
89
-
```
90
-
91
74
When the *kwh_display* boots for the first time it will deploy a hotspot with the SSID `kwh_display` and host an FTP file server. Access the file server using your preferred method at `ftp://192.168.4.1/`. After adding `config.json` to the root of the file system, repower the device.
92
75
93
76
## Troubleshooting
@@ -105,7 +88,7 @@ Free memory after running gc.collect(): <MEM>
105
88
106
89
## Known Limitations
107
90
108
-
Currently, it is not possible to adjust the offset price according to power tariffs. Additionally, it is not possible to customize the price levels (Billigt, Normalt, Dyrt) to your own preferences. Hopefully, this feature will be added in the future.
91
+
Currently, it is not possible to adjust the offset price according to power tariffs. Hopefully, this feature will be added in the future.
0 commit comments