Page 14 of 37

Re: Nefit Easy™

Posted: Friday 12 February 2016 20:30
by pepijn
Yihaaa wrote:Short question: does this all work on Jessie?
I can confirm the nodered option will work on Jessie

Re: Nefit Easy™

Posted: Sunday 14 February 2016 15:27
by Niels
Hi all,
Still some trouble with node on my Rpi. Running easy-server from the prompt works like a charm, but now I'd like to start it when booting the Rpi. I added the next line to the cron job for the root (sudo crontab -e):

Code: Select all

@reboot /usr/local/bin/easy-server --serial=xxx --access-key=yyy --password=zzz >/tmp/cron.log 2>/tmp/cron.err
When rebooting cron.err mentions:

Code: Select all

/usr/bin/env: node: No such file or directory
What is going wrong?

EDIT: Found the answer myself. See https://github.com/nodejs/node-v0.x-archive/issues/3911

EDIT2: Nope...still same problem :(
Cheers,
Niels

Re: Nefit Easy™

Posted: Sunday 14 February 2016 16:43
by richair
SweetPants wrote: Enable the new Easy hardware, point to the running easy web-server (ip, port) and enable new hardware. It will create a bunch of devices for you.
Is there a way to select the devices to be displayed? The default devices list does not contain the supply temperature ("aanvoertemperatuur") and I would like to use that.
(I saw it in the thread somewhere but I think this was with a node red configuration. If that is needed, I will try, but if there is an easier way, I would appreciate it)

Re: Nefit Easy™

Posted: Monday 15 February 2016 20:35
by SweetPants
Supply temp is not supported (yet) in the code. These are: Setpoint, Inside Temp, Outside Temp, Boiler Status, Display Code, Pressure

Re: Nefit Easy™

Posted: Tuesday 16 February 2016 16:21
by renebiemans
I also installed the Nefit Easy HTTP server and this is all working with the latest Beta version of domoticz. But how can I install the Nefit Easy HTTP server so that it will run automaticly?

Br Rene

Re: Nefit Easy™

Posted: Tuesday 16 February 2016 16:34
by SweetPants
I have created a script and run that from cron at reboot

/home/pi/scripts/easiest

#!/bin/bash

NEFIT_SERIAL_NUMBER=<serial number>
NEFIT_ACCESS_KEY=<key>
NEFIT_PASSWORD=<password>

easy-server --serial=$NEFIT_SERIAL_NUMBER --access-key=$NEFIT_ACCESS_KEY --password=$NEFIT_PASSWORD > /dev/null

crontab:

@reboot /home/pi/scripts/easiest > /dev/null 2>&1

Re: Nefit Easy™

Posted: Tuesday 16 February 2016 19:04
by Niels
Thanks Sweetpants, the script works like a charm!

One addition for my fellow-n00bs: make the script executable by entering 'chmod +x home/pi/scripts/easiest

Re: Nefit Easy™

Posted: Wednesday 17 February 2016 14:30
by vmb
Niels wrote:Thanks Sweetpants, the script works like a charm!

One addition for my fellow-n00bs: make the script executable by entering 'chmod +x home/pi/scripts/easiest
What do I have too do for a continious working of the easy server.I managed to start and got results in Domoticz, but after closing Putty no new data arrived in Domoticz

Who has any idea?

Re: Nefit Easy™

Posted: Wednesday 17 February 2016 14:44
by SweetPants
Read the post a few messages up, there is your answer

Re: Nefit Easy™

Posted: Wednesday 17 February 2016 15:39
by vmb
SweetPants wrote:Read the post a few messages up, there is your answer
Thx, read about this:"nohup ./server & "

But I don't know which exact command I need to issue. Something like: nohup easy-server etc.etc....?

Re: Nefit Easy™

Posted: Wednesday 17 February 2016 17:01
by SweetPants

Re: Nefit Easy™

Posted: Wednesday 17 February 2016 19:55
by vmb
SweetPants wrote:A few posts up is 2 or 3. http://www.domoticz.com/forum/viewtopic ... 260#p75291
Thank you very much for trying helping me out! :roll:
Already implemented the script, made a cronjob and made script executable.
Nevertheless it wont work. When I start the script from the commandline in putty all works nice. As soon as I quit putty, it stops delivering data. What do I do wrong?

Wait a moment, guess a miracle happend :D After e reboot it seems to work. Will test it some time and will inform you folks later.

Re: Nefit Easy™

Posted: Wednesday 17 February 2016 19:55
by SweetPants
Did you reboot your raspberry?

Re: Nefit Easy™

Posted: Wednesday 17 February 2016 20:00
by vmb
SweetPants wrote:Did you reboot your raspberry?
Right on...edit my post. Thanks for helping!

Re: Nefit Easy™

Posted: Saturday 20 February 2016 15:39
by Holland
Hi,

I have noticed that during the last couple of weeks Node Red is quite unstable. So the Nefit information flow works stable for 2 days, then Node Red crashes, and a restart of the service is required. Running Node Red version 0.12.4. So trying to figure out if anyone experienced the same thing?

Re: Nefit Easy™

Posted: Saturday 20 February 2016 15:50
by pepijn
Holland wrote:Hi,

I have noticed that during the last couple of weeks Node Red is quite unstable. So the Nefit information flow works stable for 2 days, then Node Red crashes, and a restart of the service is required. Running Node Red version 0.12.4. So trying to figure out if anyone experienced the same thing?
Are you using the MQTT or JSON flow?

Re: Nefit Easy™

Posted: Saturday 20 February 2016 15:54
by Holland
still the old one; MQTT

Re: Nefit Easy™

Posted: Saturday 20 February 2016 16:01
by pepijn
We know there is a stability issue with MQTT, you should consider using the JSON flow

Re: Nefit Easy™

Posted: Saturday 20 February 2016 16:21
by Holland
ok, thanks. Will reconfig to JSON

Re: Nefit Easy™

Posted: Sunday 21 February 2016 14:54
by Holland
Question related to the nefit http server functionality of Domoticz. I tried to use another Domoticz server (in my case 10.58.60.84 and port 3000) as the remote server and it didn't work. Whereas locally, using 127.0.0.1 port 3000, it works without a problem. So a bit strange. Is this a known limitation?