ferdies Posted January 5, 2014 Share Posted January 5, 2014 Hi, I have recently upgraded my Venstar firmware to 3.10 with API v3. Doing the test now on how to control the temperature setting from ISY. As per documentation below, I have set network config as follows. I am just getting response like: HTTP/1.0 200 OK (However, temp settings were not changed by the program). Please let me know if I am doing it incorrectly. Thanks. Link to comment
joe.good Posted January 6, 2014 Share Posted January 6, 2014 Ferdies, did you ever figure this out? I'm considering buying a new Venstar and hooking it up to my ISY, so I was looking around at posts. Link to comment
shannong Posted January 6, 2014 Share Posted January 6, 2014 I don't have one and am not familiar with ISY network resources. However, I'm excitedly wathcing this post. I'm looking to dump my Insteon thermostats and like the idea of network integration with a pretty thermostat like the T6800 vs trying to choose a Z-wave thermostat and upgrading my ISY to support it. Link to comment
Michel Kohanim Posted January 6, 2014 Share Posted January 6, 2014 Hello ferdies, all looks good. Are you saying that although you get 200OK, the thermostat settings do not change? With kind regards, Michel Link to comment
ferdies Posted January 7, 2014 Author Share Posted January 7, 2014 Hello ferdies, all looks good. Are you saying that although you get 200OK, the thermostat settings do not change? With kind regards, Michel That's correct, Michael. Although I got 200 OK - my thermostat setting did not change at all. So I am assuming that there was something wrong with the connection even it if was saying ok. I dont have any issue with http GET command. However, http POST command (either triggered by ISY or Vestar was not "accepting" the command) seemed to be the problem. Hope we can resolve this. Thanks. Link to comment
Michel Kohanim Posted January 7, 2014 Share Posted January 7, 2014 Hi ferdies, Unfortunately the only way to test this would be to use a utility like curl and send the same command from your computer and see what happens. With kind regards, Michel Link to comment
ferdies Posted January 8, 2014 Author Share Posted January 8, 2014 Hi, I tried running a python script from a linux machine: ****** import urllib url = 'http://192.168.1.95/control' params = urllib.urlencode({ 'forceunocc': 1, }) data = urllib.urlopen(url, params).read() print ("Success") *** I got no error - script was executed until "print". Still, thermostart setting was not changed Any input from? Thanks. Link to comment
bsobel Posted January 8, 2014 Share Posted January 8, 2014 Do you have a PIN set? You didn't include that parameter, perhaps its not erring even if needed? Link to comment
bsobel Posted January 8, 2014 Share Posted January 8, 2014 Hi, I tried running a python script from a linux machine: ****** import urllib url = 'http://192.168.1.95/control' params = urllib.urlencode({ 'forceunocc': 1, }) data = urllib.urlopen(url, params).read() print ("Success") *** I got no error - script was executed until "print". Still, thermostart setting was not changed Any input from? Thanks. This the right code? This appears to be json and doesn't match the docs above at all.... Link to comment
ferdies Posted January 8, 2014 Author Share Posted January 8, 2014 Yes, these are really different codes. The later was REST - from ISY to Venstar and the last one was to isolate the issue using a Linux machine and I utilized a python script. Both did not yield positive result. Link to comment
Michel Kohanim Posted January 9, 2014 Share Posted January 9, 2014 Hi ferdies, thank you. As such it's safe to assume that either the thermostat is not responding properly or their documentation does not reflect reality. With kind regards, Michel Link to comment
ferdies Posted January 9, 2014 Author Share Posted January 9, 2014 Please do take note that REST or python script did not work only for "CONTROL" and "SETTINGS" commands. "QUERY" has not issue at all in REST or PYTHON. Thanks. Link to comment
ferdies Posted January 9, 2014 Author Share Posted January 9, 2014 New development in my testing. "SETTINGS" command WORKS in python but it is NOT WORKING in ISY Networking. Link to comment
Michel Kohanim Posted January 10, 2014 Share Posted January 10, 2014 Hi ferdies, Are you sure it understands URL Encoded? With kind regards, Michel Link to comment
ferdies Posted January 11, 2014 Author Share Posted January 11, 2014 Hi ferdies, Are you sure it understands URL Encoded? With kind regards, Michel Hi Michel, I believe so, as per Venstar API documentation: Control: This request enables remote control of ColorTouch over the network. This command is submitted via an HTTP POST and is URL encoded instead of JSON. Settings This request enables changing settings of ColorTouch over the network. This command is submitted via an HTTP POST and is URL encoded instead of JSON. Attached is the Control API document for your reference. Thanks Link to comment
Michel Kohanim Posted January 12, 2014 Share Posted January 12, 2014 Hi ferdies, nothing was attached. Please try ASCII. With kind regards, Michel Link to comment
ferdies Posted January 14, 2014 Author Share Posted January 14, 2014 Hi ferdies, nothing was attached. Please try ASCII. With kind regards, Michel You've lost me here. When you said ASCII, you were referring to RAW Text, correct? If yes, I tried it as well and same issue, it did not change the thermostat settings. With regard to the attachment, I tried a pdf file but apparently I could add the file. Any other ways to send it over to you? Thanks. Link to comment
James Peterson Posted January 14, 2014 Share Posted January 14, 2014 I am having the same issues. I am getting 200 responses from the unit venstar6800 but the unit is not updating. I updated to the latest firmware. no change. I have switched back to the 1800 for now until this gets resolved. It would be great in some one could put together a Network resource config and post it. Link to comment
Michel Kohanim Posted January 14, 2014 Share Posted January 14, 2014 Hi ferdies, correct. Please send to support@universal-devices.com. And, if you can put your thermostat on the Internet, I can test it remotely. With kind regards, Michel Link to comment
ferdies Posted January 15, 2014 Author Share Posted January 15, 2014 Hi ferdies, correct. Please send to support@universal-devices.com. And, if you can put your thermostat on the Internet, I can test it remotely. With kind regards, Michel Hi Michel, I have sent you an email. Thanks. Link to comment
bsobel Posted January 15, 2014 Share Posted January 15, 2014 Possibly silly question but did you: 'ColorTouch thermostats do not allow remote control commands by default. You must go into "Menu" - "Accessories" screen and turn ON "Local API" after connecting to the wireless network.' Link to comment
ferdies Posted January 15, 2014 Author Share Posted January 15, 2014 Possibly silly question but did you: 'ColorTouch thermostats do not allow remote control commands by default. You must go into "Menu" - "Accessories" screen and turn ON "Local API" after connecting to the wireless network.' Yes, Local API is set to ON. Link to comment
ferdies Posted January 15, 2014 Author Share Posted January 15, 2014 Hi Michel, I sent you an email with regard to your request. Please check your inbox. BTW, I upgraded to FW 4.1.2 and hoping Venstar API might potentially work but to no avail. Thanks. Link to comment
Michel Kohanim Posted January 15, 2014 Share Posted January 15, 2014 Thank you ferdies. I played with it and sent you an email with my results. It seems that all the GETs work and none of the POSTs work even though you get a success status. With kind regards, Michel Link to comment
ferdies Posted January 16, 2014 Author Share Posted January 16, 2014 Thank you ferdies. I played with it and sent you an email with my results. It seems that all the GETs work and none of the POSTs work even though you get a success status. With kind regards, Michel I had the same results. Are we already at a dead end here? Link to comment
Recommended Posts