1) The script is already there and I'm trying your previous suggestion:
"What you need to do from your python script is to call the following url:
Code: Select all
http://mypc/automation/ajaxinterface.php?do=toggleStatus&status=X&deviceid=Y
So if I put in my browser:
Code: Select all
http://mypc/automation/ajaxinterface.php?do=toggleStatus&status=1&deviceid=1
If I try to use wget:
Code: Select all
wget -O /dev/null -q http://mypc/automation/ajaxinterface.php?do=toggleStatus&status=1&deviceid=1
So I tried python:
Code: Select all
import urllib2
urllib2.urlopen("http://mypc/automation/ajaxinterface.php?do=toggleStatus&status=1&deviceid=1")
The code ran on the raspberry PI itself, as requested...
What can I try?
2) I am trying to find a similar service to display my home city temperature but I can't seem to find any
3) sure:
Code: Select all
6f 01 4b 46 7f ff 01 10 67 : crc=67 YES
6f 01 4b 46 7f ff 01 10 67 t=22937