pepotocsctl
What is GPIO wireless?
- What is pepotocsctl?mono-wireless The thermo-hygrometer AM2321 sensor, analog input, and digital input/output signals are separated by the wireless modules TWELITE and MONOSTICK. It is a program that can be remotely monitored and controlled from a location.
pepotocsctl alone does not work, you need a separate epicon. You can operate the GPIO and AM2321 sensors of the Tocos wireless module with commands.Read for 4 ports of DI (digital input)1
2# pepotocosctl
usage /usr/local/bin/pepotocosctl read->chno:0-6 | write->chno:0-6 [DO:0|1|f] to 300000msThe most port read of DI (digital input)1
# pepotocsctl 0 7
DO (Digital Out Pout) Light 1 to the first port1
# pepotocsctl 1 1
DO (Digital Out Pout) Write 1 to the first port and hold for 5 seconds1
2# pepotocsctl 1 1
1I2C thermo-hygrometer AM2321 sensor read1
2# pepotocsctl 1 1 5000
0Analog input read1
2# pepotocsctl 5
2016/01/20,19:16:19,4.0℃,75.4%Light after read1
2# pepotocosctl 6
4080,4080,4080,4080Digital input and analog input read1
2# pepotocosctl 0 0
7;4080,4080,4080,4080Wait for the read, DI change for the specified time1
2# pepotocosctl 7
f;1952,4080,4080,40801
2# pepotocosctl 7 120
e;4080,4080,4080,4080 - Please check the source code below
https://github.com/kujiranodanna/IOT-House/blob/master/raspberrypi/usr/local/bin/pepotocosctl