Thanks to this forum I have been re-using and creating bits of Python Code to do various things.
For the next step in controling my Daikin Airco I want to create a Url for the urllib2.urlopen Python code.
Below is the action to put the airco on. I want to control the "f_rate" based upon an Indigo Variable. It could be 7 or A.
import urllib2
urllib2.urlopen("http://192.168.X.XX/aircon/set_control_info?pow=1&mode=4&stemp=21&shum=0&f_rate=A&f_dir=0")
==============================================================
import urllib2
urllib2.urlopen("http://192.168.X.XX/aircon/set_control_info?pow=1&mode=4&stemp=21&shum=0&f_rate=<INDIGO VARABLE>&f_dir=0")
How can I create this via python code