christianvaes / fibaro-nefit-easy

MIT License
0 stars 1 forks source link

Change temperature doesn't work #1

Open wijnandtop opened 8 years ago

wijnandtop commented 8 years ago

Hi I'm using your VD which is a good start, i can read the status of the Nefit Easy. But changing temperature didn't work.

After some debugging I figured out that the POST request doesn't include the content-type header. With net.FHttp() I couldn't find a way to add headers. It is possible with net.HTTPClient() which apparently isn't available in a VD. Maybe in a scene which can be triggered by the VD (but haven't tried that).

Where you able to solve this?

christianvaes commented 8 years ago

Hi,

I started on this a while ago when the api was in a very early version which wasn't really stable by then. After that I never worked on it anymore the version in my github is the newest version I have.

I'm not sure how this can be fixed. Normally I checked the fibaro forum, Robbshop or Vesternet website for lua code examples for Fibaro. Maybe you can use net.FHttp() to fix it.

Incase you get it working it would be nice if you can also provide improvements to me as i'm interested in getting this fully working but just don't have time for it at the moment.

Good luck