Page 17 of 37
Re: Nefit Easy™
Posted: Saturday 05 March 2016 13:29
by gizmocuz
SweetPants wrote:Is it possible to add a message in the log when the Nefit Easy worker is started? There only is one when stopped.
New beta #4864
It is started when domoticz or the hardware is started, never had to restart it myself
Re: Nefit Easy™
Posted: Saturday 05 March 2016 15:27
by SweetPants
gizmocuz wrote:It is started when domoticz or the hardware is started, never had to restart it myself
I know, but thanks for fixing
Re: Nefit Easy™
Posted: Saturday 05 March 2016 22:42
by pepijn
Could you please add
Code: Select all
/heatingCircuits/hc1/actualSupplyTemperature
This displays the actual flow temperature
Re: Nefit Easy™
Posted: Saturday 05 March 2016 23:03
by pepijn
gizmocuz wrote:Just found it (your fast!) thanks
Apparently the 'worcester-wave-thermostat' is also from bosch
Here is the list i promised
- Nefit Easy (Netherlands)
- Junkers Control CT100 (Belgium)
- Buderus Logamatic TC100 (Belgium)
- E.L.M. Touch (France)
- Worcester Wave (UK)
- Bosch Control CT‑100 (Other)
Re: Nefit Easy™
Posted: Sunday 06 March 2016 12:08
by gizmocuz
pepijn wrote:Could you please add
Code: Select all
/heatingCircuits/hc1/actualSupplyTemperature
This displays the actual flow temperature
New beta version #4868
Re: Nefit Easy™
Posted: Sunday 06 March 2016 12:27
by pepijn
gizmocuz wrote:pepijn wrote:Could you please add
Code: Select all
/heatingCircuits/hc1/actualSupplyTemperature
This displays the actual flow temperature
New beta version #4868
Thanks! I now move away from my Node Red node and use the native Domoticz support. Reading Robert Klep's minutes of his meeting at Nefit I think in the future Nefit will provide a HTTP REST API hosted by Bosch or on the Easy directly (it's already there if the Easy has no connection to the Bosch backend).
I would really like to add the gas usage to Domoticz, all readings are stored into an array (/ecus/rrc/recordings/gasusage) and there is a pointer (/ecus/rrc/recordings/gasusagePointer) that can retrieve the current page and record. Unfortunately it's only historical data so you only get yesterdays readings as most recent.
Actual readings are (as far as we know now) only available using the Nefit ServiceTool, but to access the Service Tool you have to set the Easy into maintenance mode. In maintenance mode you can request 'raw' EMS data. This can be done programmatically but the main function of the thermostat is lost when doing this so it cannot be used to log data during the day.

Re: Nefit Easy™
Posted: Sunday 06 March 2016 14:46
by Holland
Pepijn, can you share, or point me to, these minutes. Thanks
Re: Nefit Easy™
Posted: Sunday 06 March 2016 15:27
by pepijn
Holland wrote:Pepijn, can you share, or point me to, these minutes. Thanks
http://gathering.tweakers.net/forum/lis ... 3#45800183
Re: Nefit Easy™
Posted: Sunday 06 March 2016 19:15
by Henk
Hi,
my PI Zero working fine when manually starting up the easy-server. Trying to make a PM2 autostart but I get this when I following the instructions.
Any ideas?
pi@raspberrypi:~ $ pm2 start nefiteasyhttpserver.sh
[PM2][ERROR] script not found : /home/pi/nefiteasyhttpserver.sh
Re: Nefit Easy™
Posted: Sunday 06 March 2016 19:20
by pepijn
Henk wrote:Hi,
my PI Zero working fine when manually starting up the easy-server. Trying to make a PM2 autostart but I get this when I following the instructions.
Any ideas?
pi@raspberrypi:~ $ pm2 start nefiteasyhttpserver.sh
[PM2][ERROR] script not found : /home/pi/nefiteasyhttpserver.sh
I'm also a huge fan of PM2

i used this command to start the Easy HTTP Server
Code: Select all
pm2 start /usr/bin/easy-server --name "Nefit Easy" --log /var/log/nefit/full.log --output /var/log/nefit/output.log --error /var/log/nefit/error.log --pid /var/run/nefit.pid --restart-delay 60 -- --serial=XXXXXXXXX --access-key=XXXXXXXXXXXXXXX --password=XXXX
Re: Nefit Easy™
Posted: Sunday 06 March 2016 19:31
by jannl
Why not use crontab? Works great for me.
Re: Nefit Easy™
Posted: Sunday 06 March 2016 19:40
by pepijn
jannl wrote:Why not use crontab? Works great for me.
Crontab is supposed to be a task scheduler.
PM2 is supposed to start Node JS apps, including log, resource and error handling
Re: Nefit Easy™
Posted: Sunday 06 March 2016 19:43
by jannl
With the @reboot the crontab line is executed once.
Re: Nefit Easy™
Posted: Sunday 06 March 2016 19:45
by pepijn
jannl wrote:With the @reboot the crontab line is executed once.
I know

, you could also use an init.d script or rc.local. There are a lot of options that all will work with there pros and cons
Re: Nefit Easy™
Posted: Sunday 06 March 2016 19:47
by jannl
I propably will change it to init.d and rc3.d soon
Re: Nefit Easy™
Posted: Sunday 06 March 2016 19:50
by pepijn
jannl wrote:I propably will change it to init.d and rc3.d soon
I would advice you to rethink about this migration. Debian changed the init.d to systemd style init system in Jessie.
Re: Nefit Easy™
Posted: Sunday 06 March 2016 19:54
by jannl
Ok. I will check this.
Re: Nefit Easy™
Posted: Sunday 06 March 2016 21:41
by Holland
@Henk
Make sure that you first create the script named "nefiteasyhttpserver.sh" with the below content. Don't forget to make it executable!
Then jump to the directory where you stored nefiteasyhttpserver.sh, and issue; pm2 start nefiteasyhttpserver.sh
#!/bin/bash
/usr/local/bin/easy-server --serial=asdasdasdasd --access-key=asdasdasdasd --password=asdasdasd > /dev/null
Re: Nefit Easy™
Posted: Monday 07 March 2016 7:58
by Henk
Thanks to you all.
The PM2 settings are working, very happy!
Re: Nefit Easy™
Posted: Sunday 13 March 2016 13:47
by Peacock
Dear All,
I become very enthousiastic on this topic and that there is a possibility to get acces to the easy. Though I have installed node v5.3.0 I also installed the package one from Synology. This because I have a DS213air with an ARMV5, so I think the v5.3.0 wont work on my CPU will it? Though the standard package is v0.10..., which wont work with the easy-server. Any suggestions on how to get this running on my system?
when I run easy-server I get the following, which I suspect that is due to the older Node version:
NAS> easy-server --serial=myserial --acces-key=myaccesskey --password=mypassword --host=192.168.2.1
/volume1/@appstore/Node.js/usr/lib/node_modules/nefit-easy-http-server/lib/cli/index.js:32
return client.connect().then(() => {
^
SyntaxError: Unexpected token )
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/volume1/@appstore/Node.js/usr/lib/node_modules/nefit-easy-http-server/bin/easy-server:3:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
NAS>