-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(cherry picked from commit 961cfb4313416ea795c877a6475bc071f5b924fa)
- Loading branch information
1 parent
a4113ae
commit e9a8a37
Showing
15 changed files
with
147 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,66 @@ | ||
# Remote JSY with UDP | ||
|
||
The ESP32 will communicate with the router through UDP protocol to send the JSY data. | ||
Both ESP32 needs to be connected to the same WiFi network and multicast UDP packets must be allowed. | ||
The `Remote JSY with UDP` firmware will communicate with YaSolR through UDP protocol to send the JSY data each 500 ms. | ||
Both devices needs to be connected to the same WiFi network and UDP packets must be allowed. | ||
|
||
![](https://github.com/mathieucarbou/YaSolR-OSS/assets/61346/b375bfda-6bc1-4576-afeb-26594b5c8649) | ||
![](https://github.com/mathieucarbou/YaSolR-OSS/assets/61346/b1e893d1-a272-4006-9df6-ebbe091a0ce1) | ||
|
||
## Installation with Arduino IDE | ||
|
||
_I am not familiar with Arduino IDE because this is not a correct IDE for development._ | ||
_Please help contribute to this README if the explanation needs to be improved._ | ||
|
||
1. You need to install these Arduino dependencies from the library manager or by downloading them: | ||
|
||
```c++ | ||
#include <ArduinoJson.h> // https://github.com/bblanchon/ArduinoJson | ||
#include <AsyncTCP.h> // https://github.com/mathieucarbou/AsyncTCP | ||
#include <ESPAsyncWebServer.h> // https://github.com/mathieucarbou/ESPAsyncWebServer | ||
#include <ESPDash.h> // https://github.com/mathieucarbou/ayushsharma82-ESP-DASH#dev | ||
#include <ElegantOTA.h> // https://github.com/mathieucarbou/ayushsharma82-ElegantOTA#dev | ||
#include <MycilaESPConnect.h> // https://github.com/mathieucarbou/MycilaESPConnect | ||
#include <MycilaJSY.h> // https://github.com/mathieucarbou/MycilaJSY | ||
#include <MycilaLogger.h> // https://github.com/mathieucarbou/MycilaLogger | ||
#include <MycilaSystem.h> // https://github.com/mathieucarbou/MycilaSystem | ||
#include <MycilaTaskManager.h> // https://github.com/mathieucarbou/MycilaTaskMonitor | ||
#include <MycilaTaskMonitor.h> // https://github.com/mathieucarbou/MycilaTaskMonitor | ||
#include <WebSerialLite.h> // https://github.com/mathieucarbou/WebSerialLite | ||
``` | ||
|
||
The program also uses these Arduino libraries: | ||
|
||
``` | ||
DNSServer | ||
ESP32 Async UDP | ||
ESPmDNS | ||
FS | ||
Networking | ||
LittleFS | ||
WiFi | ||
Ticker | ||
Update | ||
``` | ||
|
||
2. Compile and deploy to your board. | ||
|
||
## Installation with PlatformIO | ||
|
||
This is as simple as running: | ||
|
||
```bash | ||
pio run -t upload -e <your-board> | ||
``` | ||
|
||
## Usage | ||
|
||
Quick start is similar to YaSolR. | ||
The device will open an access point, you need to connect to it and choose the WiFI to join. | ||
|
||
Once the device has joined the WiFi and is connected to a JSY, you will see the JSY data on the web interface. | ||
|
||
- To look at the logs, go to: `http://<device-ip>/console` | ||
|
||
- To update the firmware, go to: `http://<device-ip>/update` | ||
|
||
- To add a password, change the line `#define YASOLR_ADMIN_PASSWORD ""` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.