Update README.md

This commit is contained in:
Deunix@e-educ.fr
2021-04-15 15:56:52 +02:00
committed by GitHub
parent 4b2688f1ab
commit e6a24c24e4
+5 -4
View File
@@ -64,6 +64,7 @@ The following python packages will be installed:
- supervisor
- rsa >> https://stuvel.eu/python-rsa-doc/
### Installation procedure
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/&&
pip install $PACKAGE/dist/smsquitto-$VERSION.tar.gz
- Enter to start the installation
- Enter to start installation
### 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
- port: 1883 or 8883
- keepalive: 60
@@ -106,7 +107,7 @@ After installing termux on the laptop, launch Termux
### 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.
- Library is the Eclipse foundation paho-mqtt
- Simply implemente ClientMQTTBase class
@@ -118,7 +119,7 @@ After installing termux on the laptop, launch Termux
- by an address of this type
- file: ///path/to/file/sms-client.html
- demonstration
- Demonstration
- sms-client.html is fully functional
- You just have to update the apikey in this file and in the configuration file on the smartphone