Hi,
I created a simple python script which works correct, when i run it on the NEMS pi in python3.
When i start it as a misc command it doesn't work and always complains "module requests not found"
Where do i have to install the modules to get the used by Nems?
Can anybody give me a hint?
thanks in advance
michael
here is my simple python script:
import requests
import sys
idx=sys.argv[1]
domoticz_url='http://username:[email protected]:80 ... ormat(idx)
response=requests.post(url=domoticz_url)
domoticz_url='http://username:[email protected]:80 ... ormat(idx)
response=requests.post(url=domoticz_url)
add python script as misc command
Re: add python script as misc command
I fixed it all and added it as a contribution here: viewtopic.php?t=1395