2015-03-05, 22:56
Hi guys,
here is a brief question from a beginner. :-)
I'm trying desperately to speak with my LIGHTMANAGER PRO with a URL.
If the main movie starts, the following URL should be called:
http://192.168.0.250/control?key=10
I tried it this way:
elif trigger == "Movie" and ha_settings[ "ha_movie" ]:
urllib2.urlopen('http://192.168.0.250/control?key=10')
pass
When I call the URL in a browser on the same pc, the light comes on.
The setting for "triggering when movie starts" ist set.
So what's wrong? :-(
For a tip I would be very grateful!
many greetings
fe-cologne
here is a brief question from a beginner. :-)
I'm trying desperately to speak with my LIGHTMANAGER PRO with a URL.
If the main movie starts, the following URL should be called:
http://192.168.0.250/control?key=10
I tried it this way:
elif trigger == "Movie" and ha_settings[ "ha_movie" ]:
urllib2.urlopen('http://192.168.0.250/control?key=10')
pass
When I call the URL in a browser on the same pc, the light comes on.
The setting for "triggering when movie starts" ist set.
So what's wrong? :-(
For a tip I would be very grateful!
many greetings
fe-cologne