arduinoWebSockets
NTPClient
Our great sponsors
arduinoWebSockets | NTPClient | |
---|---|---|
11 | 6 | |
1,821 | 518 | |
- | 1.4% | |
7.5 | 5.3 | |
3 months ago | 10 days ago | |
C++ | C++ | |
GNU Lesser General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
arduinoWebSockets
-
error during Arduino compiling for esp8266 for Roller Blind project
in my WebSocketsServer library folder, i have these files downloaded from https://github.com/Links2004/arduinoWebSockets
- Which WebSocket library is the best/fastest for an ESP32 programmed in Arduino IDE?
-
Unable to create WebSocket Client over SSL
I'm trying to connect to my NodeJS WebSocket server with my ESP32 using a secured connection over SSL. I'm using an arduinoWebsockets library (v 2.3.7) on platformio with code:
- Websocket programming integration
-
Improving websocket reliability
Hi all, I'm working on an ESP32 project that involves real-time communication between the ESP32 and a web server to send strings and small amounts of binary data. I'm using arduino-esp32 and arduinoWebsockets to achieve this. It's working okay but I'm wondering if it's possible to make the connection a bit more reliable. There are two different issues I'm seeing periodically—one is an error from WifiClient:
-
https://np.reddit.com/r/esp8266/comments/piwwzp/fauxmo_esp8266_possibility_to_send_commands_over/hbspbpj/
#include #include /* for time server: https://github.com/arduino-libraries/NTPClient */ #include /* for alexa */ #include /* for OTA */ #include /* for OTA and timeserver */ #include /* for OTA */ #include /* for Alexa: https://github.com/me-no-dev/ESPAsyncWebServer*/ #include "fauxmoESP.h" /* for alexa */ #include "credentials.h" /* Has the config for the wifi */ #include /* for the debug output via sockets: https://github.com/Links2004/arduinoWebSockets */ fauxmoESP fauxmo; AsyncWebServer server(80); WebSocketsServer webSocket = WebSocketsServer(81); //ws debugger will run on port 81
- Best hardware for creation of simple WebSocket Server for data communication
-
Very new to Arduino, how would I get my board and a Java application to communicate?
This is the WebSocket Arduino library. It also supports socket.io. https://github.com/Links2004/arduinoWebSockets
- Communication between multiple esp8266's - what are my options other than mqtt?
-
Beginner Resources for Understanding Websockets/How to Move Beyond Local?
The project even has examples. Including the client-side integration https://github.com/Links2004/arduinoWebSockets/blob/master/examples/esp32/WebSocketClient/WebSocketClient.ino
NTPClient
-
ESP8266 NTP/RTC Clock with temp
I believe this is the ntp lib I'm currently using... https://github.com/arduino-libraries/NTPClient
-
How do you get time; is there a good library ;
Normally you sync the clock one or two times per day from the NTP server. Then you calculate the time from the time passed since last sync. If you are using the arduino ecosystem you can use this library. Otherwise you have to implement the NTP client and a timer based on interrupts.
-
Two databases in IOT solution
I used This ntp library to insert accurate datetime for my recent ESP32 project. Super easy API, with support for each time zone. Not realistic if you already have a large program overhead.
-
How do you get time; is there a good library?
By "NTP", you mean you used this library? Did you call the update() function in the loop()?
-
https://np.reddit.com/r/esp8266/comments/piwwzp/fauxmo_esp8266_possibility_to_send_commands_over/hbspbpj/
#include #include /* for time server: https://github.com/arduino-libraries/NTPClient */ #include /* for alexa */ #include /* for OTA */ #include /* for OTA and timeserver */ #include /* for OTA */ #include /* for Alexa: https://github.com/me-no-dev/ESPAsyncWebServer*/ #include "fauxmoESP.h" /* for alexa */ #include "credentials.h" /* Has the config for the wifi */ #include /* for the debug output via sockets: https://github.com/Links2004/arduinoWebSockets */ fauxmoESP fauxmo; AsyncWebServer server(80); WebSocketsServer webSocket = WebSocketsServer(81); //ws debugger will run on port 81
-
How to setup a Real Time Clock over the internet that can be used by esp?
You can use the NTP library with the time library from Paul Stoffregen.
What are some alternatives?
ESPAsyncWebServer - Async Web Server for ESP8266 and ESP32
ESPDateTime - Date Time Functions and Classes for ESP8266 and ESP32
ESPAsyncWiFiManager - Port WiFiManager to ESP Async Server
IXWebSocket - websocket and http client and server library, with TLS support and very few dependencies
Time - Time library for Arduino
WebSocket - A lightweight RFC 6455 (Web Socket) implementation for Qt5 & Qt6 (C++)
TimescaleDB - An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
ESP8266_RTOS_SDK - Latest ESP8266 SDK based on FreeRTOS, esp-idf style.
esp-rfid - ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS
espRFLinkMQTT - ESP8266 gateway between RFLink and MQTT server
MPU6050_light - Lightweight, fast and simple library to communicate with the MPU6050