![]() R = requests.post( " data=data, headers=headers )Ĭlient1. Shutil.move(newloc+"/new.txt", oldloc+"/old.txt") ![]() Make sure to uninstall all the previously installed USB Drivers for Huawei Honor phones. Download Huawei USB Drivers from the above table on your PC. If not os.path.exists(newloc+"/new.txt"): Follow the below quick steps to learn how to download and install them on your PC: 1. R = requests.get(" root = ET.fromstring(r.content) Oldloc = "/home/pi/alarmsms/temp" #Location to store old.txt for comparisonĬlient1=paho.Client("control1") #create MQTT client object Newloc = "/home/pi/alarmsms/temp" #Location to store new.txt for comparison Ok, so once that is done you can insert the SIM into the E3531 and plug it. This publishes any new SMS to a MQTT topic (I have nodered then manipulate the SMS XML and run automations based on the content) - I can’t code so this is a bodge, but it does seem to work: #!/usr/bin/pythonīroker = "192.168.7.1" #MQTT broker IP address Free download drivers for Huawei E3372 you can with direct links (Widnows 10. ![]() I’ve had a play and have made a script in python that I run as a daemon. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |