yio-remote / dock-software Goto Github PK
View Code? Open in Web Editor NEW๐ YIO Dock Software repository
License: GNU General Public License v3.0
๐ YIO Dock Software repository
License: GNU General Public License v3.0
Add websocket command to flash the LEDs in a certain pattern when the remote is low on battery
Is your feature request related to a problem? Please describe.
While developing the YIO Remote software and dock interactions things usually break or go wrong. I.e. one needs easy access to the involved devices for problem analysis, debugging and re-configuration.
Describe the solution you'd like
I would like to use the USB serial console to issue Dock API calls.
Describe alternatives you've considered
Additional context
Add logic to the code so it reconnects, when the connection is dropped.
mDNS is set after every successful wifi connection. However after a while, the service is not discoverable anymore on the network.
After restarting the dock, everything is OK for a while.
Any ideas @nklerk ?
Describe the solution you'd like
After holding GPIO0 for 5 seconds, both WiFi and LED settings should be whiped.
Describe alternatives you've considered
Current alternative is whiping flash while the dock is connected to your computer and flash it again.
Additional context
Any other form of factory reset are welcome as a discussion.
After the wifi connection is dropped, it will try to reconnect, but then reverts to AP mode.
If there is a wifi setup, it should keep trying to reconnect.
Before you open an issue, please search on the issue tracker if a similar issue already exists or has been closed before.
Hostname as reported by inet gateway shows the default name of espressif instead of YIO-Dock-XXXXXX as what is shown during the captive portal.
So, if someone has more than one active dock on their network they share the same hostname.
Also, I believe this is the default hostname assigned by ESP.
MAC Address 4c:11:ae:60:d7:7c
Hostname espressif
IP Address 192.168.160.223
Last Activity Just Now
Uptime 1d 13h 11m 6s
Before you open an issue, please search on the issue tracker if a similar issue already exists or has been closed before.
Code should be simple to read. I've allready moved all code into functions but there are many functions.
Currently almost all functions are stored at main.cpp. Hard to read and dificult to make changes
Device the functions in seperate .h/.cpp files
There are some global variables in use that are used by many of the current functions.
To keep the code clean the functions need to be devided in seperate files whiles.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.