Thermostat Fan Control From HTTP

Can someone tell me what is wrong with my syntax here?

Thanks!
Chris

wget -O - ‘http://192.168.1.156:3480/data_request?id=variableget&DeviceNum=51&serviceId=urn:upnp-org:serviceId:HVAC_FanOperatingMode1&action=SetMode&NewMode=Auto’ 2> /dev/null

The response I get is
error: no device/service/action

Nevermind, figured it out.

http://192.168.1.156:3480/data_request?id=lu_action&DeviceNum=51&serviceId=urn:upnp-org:serviceId:HVAC_FanOperatingMode1&action=SetMode&NewMode=Auto