metbosch / homebridge-http-temperature

HomeBridge HomeKit Plugin for HTTP temperature endpoints
https://www.npmjs.com/package/homebridge-http-temperature
Apache License 2.0
33 stars 18 forks source link

ENET2 1-wire server #13

Closed wrmo closed 6 years ago

wrmo commented 6 years ago

I have an eds enet2 1-wire server (up to 21 1-wire devices). It does not put out json. But I can poll individual devices with:

http://192.168.178.75/gettag.csv?romid=160008025B548B10&tag=Temperature&title=0

the output is just the temperature value in celsius eg.: 15.3

Line 66 can not return just the body text, as this.fieldname is never empty. (default: " temperature")

Can you change line 26? this.fieldName = config["field_name"] || "";

metbosch commented 6 years ago

Hi @wrmo ,

Now it should work, the issue was reported some weeks in #11 . I merged the changes now and published them to npm.

Just set field_name: "" in your config.json.

metbosch commented 6 years ago

@wrmo , Is it working?

wrmo commented 6 years ago

Yes, it works great. Thank you very much. Right now I have 4 1-wire extension, will extent them to tank water heater and solar air and water panels. The endet works reliable, also after power failures. Wolfgang

On Oct 30, 2017, at 11:47 AM, metbosch notifications@github.com wrote:

@wrmo , Is it working?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.