/XIAOMI_YI_NET_COMMANDER

XIAOMI YI NETWORK COMMANDER

Primary LanguageAGS Script

XIAOMI_YI_NET_COMMANDER

XIAOMI YI NETWORK COMMANDER

This is a simple network listen script, using netcat,
which receives commands from network port (in this example on port 1234)
and copy them to file /tmp/fuse_d/commands_from_app.ash
(based on information from AirKite member:
https://dashcamtalk.com/forum/threads/xiaomi-yi-share-your-scripts-and-settings.12707/page-11#post-214957 )

Unfortunately built-in netcat not functioning properly and closed connection when external client trying connect,
for this reason I include full netcat inside SCRIPTS folder

You can send via tcp connection any command accepted by .ash script eg.:
t pwm 1 enable (+ LF)
This is another and alternative method for sending commands to commands_from_app.ash
instead sending the entire commands_from_app.ash file via ftp
and can be used with arduino/esp8266 etc

paypal.me/reaper7md