Update README.md
This commit is contained in:
@@ -64,6 +64,7 @@ The following python packages will be installed:
|
|||||||
- supervisor
|
- supervisor
|
||||||
- rsa >> https://stuvel.eu/python-rsa-doc/
|
- rsa >> https://stuvel.eu/python-rsa-doc/
|
||||||
|
|
||||||
|
|
||||||
### Installation procedure
|
### Installation procedure
|
||||||
|
|
||||||
After installing termux on the laptop, launch Termux
|
After installing termux on the laptop, launch Termux
|
||||||
@@ -76,11 +77,11 @@ After installing termux on the laptop, launch Termux
|
|||||||
cp -f $PACKAGE/smsquitto-st* $HOME/.termux/tasks/&&cp -f $PACKAGE/smsquitto/smsquitto-conf.yaml $HOME/.termux/&&
|
cp -f $PACKAGE/smsquitto-st* $HOME/.termux/tasks/&&cp -f $PACKAGE/smsquitto/smsquitto-conf.yaml $HOME/.termux/&&
|
||||||
pip install $PACKAGE/dist/smsquitto-$VERSION.tar.gz
|
pip install $PACKAGE/dist/smsquitto-$VERSION.tar.gz
|
||||||
|
|
||||||
- Enter to start the installation
|
- Enter to start installation
|
||||||
|
|
||||||
### Installation parameters
|
### Installation parameters
|
||||||
|
|
||||||
- The installation parameters are in ~/.termux/smsquitto-conf.yaml
|
- Installation parameters are in ~/.termux/smsquitto-conf.yaml
|
||||||
- host: ip or domain of the MQTT server
|
- host: ip or domain of the MQTT server
|
||||||
- port: 1883 or 8883
|
- port: 1883 or 8883
|
||||||
- keepalive: 60
|
- keepalive: 60
|
||||||
@@ -106,7 +107,7 @@ After installing termux on the laptop, launch Termux
|
|||||||
|
|
||||||
### Uses
|
### Uses
|
||||||
|
|
||||||
- A MQTT client is required to operate the phone.
|
- A MQTT client is required to the phone.
|
||||||
- The smsquittod.py module gives an example of a client written in python.
|
- The smsquittod.py module gives an example of a client written in python.
|
||||||
- Library is the Eclipse foundation paho-mqtt
|
- Library is the Eclipse foundation paho-mqtt
|
||||||
- Simply implemente ClientMQTTBase class
|
- Simply implemente ClientMQTTBase class
|
||||||
@@ -118,7 +119,7 @@ After installing termux on the laptop, launch Termux
|
|||||||
- by an address of this type
|
- by an address of this type
|
||||||
- file: ///path/to/file/sms-client.html
|
- file: ///path/to/file/sms-client.html
|
||||||
|
|
||||||
- demonstration
|
- Demonstration
|
||||||
|
|
||||||
- sms-client.html is fully functional
|
- sms-client.html is fully functional
|
||||||
- You just have to update the apikey in this file and in the configuration file on the smartphone
|
- You just have to update the apikey in this file and in the configuration file on the smartphone
|
||||||
|
|||||||
Reference in New Issue
Block a user