staromeste / homebridge-http-advanced-accessory

Supports all devices on HomeBridge Platform / Bridges devices to http
Apache License 2.0
65 stars 22 forks source link

Parse error solution? #24

Open rducky88 opened 4 years ago

rducky88 commented 4 years ago

A solution from someone more knowledgable would be greatly appreciated...

Trying to control a network lighting controller; on/off control can be done by using the URL example below. Using the URL in the plugin though always returns an error and defaults the switch status back to off. URL example in the config is:

http://192.168.1.71/cgi-bin/thinlayer.sh?command=Channel:2:1:100

Selecting the light in the home app turns on the light successfully but the switch then becomes unresponsive. The logs give a parse error/header formatting error.

URL when viewed in a browser turns the light on and returns a blank page which is expected. Have now run out of ideas on what to try... any guidance would be appreciated!