Nefit Easy™
Moderator: leecollings
-
- Posts: 2
- Joined: Monday 18 December 2017 23:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit Easy™
Hallo,
Weet jij het e-mailadres van Appesteijn?
Groet
Kasper de Beer
Weet jij het e-mailadres van Appesteijn?
Groet
Kasper de Beer
- mvveelen
- Posts: 687
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: Nefit Easy™
English pleasepascalbianca wrote: ↑Sunday 07 January 2018 15:59 Is hier niemand meer mee bezig of lukt het niemand meer, dat ik dat over het hoofd heb gelezen?
Verder als die error kom ik niet, heb al van alles geprobeerd.

Not sure, I guess most people have it working and don't recognise the error message or just don't know how to help you. Me neither. I have it running on my Synology NAS, so I don't know how I can help you.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
-
- Posts: 666
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: Nefit Easy™
Same here. I recently upgraded to a pi3 and stretch and got everything working. I will post my steps here when I am home. May take a week or so. Starting to get busy with carnaval and all.
-
- Posts: 666
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: Nefit Easy™
A script that runs at startup via cron, needs to have the environment settings in place, ie path setting.
Allthough cron runs as the same user, the script is started without anny settings.
Add them all to the script.
Allthough cron runs as the same user, the script is started without anny settings.
Add them all to the script.
-
- Posts: 666
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: Nefit Easy™
Obviously it is not exactly the same. You have to check the script and crontab very carefully. Userrights also could be different.
If it was exactly the same it should work.
If it was exactly the same it should work.
-
- Posts: 2
- Joined: Sunday 21 September 2014 14:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit Easy™
Hi All,
Working Nefit Easy in Domoticz. Thanks for all the work already done.
In Nefit Easy Thermostaat my setpoint steps are in 0,1 degrees (e.g. 18,1 degrees as input.)
In Domoticz the Nefit Setpoint Temp steps are in 0,5 degrees (e.g. 18,5 or 19 or 19,5 etc)
Question: where can I adjust in Domoticz, that the Setpoint Temp steps are also on 0,1 degrees?
Working Nefit Easy in Domoticz. Thanks for all the work already done.
In Nefit Easy Thermostaat my setpoint steps are in 0,1 degrees (e.g. 18,1 degrees as input.)
In Domoticz the Nefit Setpoint Temp steps are in 0,5 degrees (e.g. 18,5 or 19 or 19,5 etc)
Question: where can I adjust in Domoticz, that the Setpoint Temp steps are also on 0,1 degrees?
-
- Posts: 2
- Joined: Sunday 21 September 2014 14:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit Easy™
Understood it's a adjustment in de software. I'am not a programmer, I took a quick look but couldn't find which file or place to change. Wanna take a look. Question: Which file do I have to take a look for changes?SweetPants wrote: ↑Sunday 04 March 2018 17:25This is not an adjustable parameter, you can change the source code if you want and create a pull request to get it in.
- mvveelen
- Posts: 687
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: Nefit Easy™
I've been trying to get the nefit-easy-server running on my RPi3, but no success. Tried to follow the Wiki: nothing. Several tips in this thread: nothing.
I have it running on my Synology NAS, but want to go to the RPi3 IF everything's working, like the nefit-easy-server.
The "easy status" returns me the right info, but when I add the hardware to Domoticz: nothing.
Can someone help me out? Is there something I might have forgotten?
This is what the log tells me:
And:
I have it running on my Synology NAS, but want to go to the RPi3 IF everything's working, like the nefit-easy-server.
The "easy status" returns me the right info, but when I add the hardware to Domoticz: nothing.
Can someone help me out? Is there something I might have forgotten?
This is what the log tells me:
Did the steps from the WiKi again and now, after a restart:Error: Cannot find module 'docopt'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/pi/nefit-easy-http-server/lib/cli/index.js:3:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
module.js:549
throw err;
^
In Domoticz I use the IP: 192.168.0.126 and port 3000, but still nothing.pi@pidomoticz:~ $ pm2 start /home/pi/nefiteasyhttpserver.sh
[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
[PM2] PM2 Successfully daemonized
[PM2] Starting /home/pi/nefiteasyhttpserver.sh in fork_mode (1 instance)
[PM2] Done.
┌─────────────────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
├─────────────────────┼────┼──────┼─────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
│ nefiteasyhttpserver │ 0 │ fork │ 626 │ online │ 0 │ 0s │ 0% │ 2.5 MB │ pi │ disabled │
└─────────────────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
pi@pidomoticz:~ $ easy status
Error: missing password
pi@pidomoticz:~ $ export NEFIT_SERIAL_NUMBER=xxxxxxxxxxx
pi@pidomoticz:~ $ export NEFIT_ACCESS_KEY=xxxxxxxxxxx
pi@pidomoticz:~ $ export NEFIT_PASSWORD=xxxxxxxxxxx
pi@pidomoticz:~ $ export NEFIT_HOST=192.168.0.126
pi@pidomoticz:~ $ export NEFIT_PORT=3000
Contents of my nefiteasyhttpserver.sh (I don't understand "touch nefiteasyhttpserver.sh" though...) :pi@pidomoticz:~ $ pm2 show 0
Describing process with id 0 - name nefiteasyhttpserver
┌───────────────────┬────────────────────────────────────────────────────┐
│ status │ online │
│ name │ nefiteasyhttpserver │
│ restarts │ 0 │
│ uptime │ 5m │
│ script path │ /home/pi/nefiteasyhttpserver.sh │
│ script args │ N/A │
│ error log path │ /home/pi/.pm2/logs/nefiteasyhttpserver-error-0.log │
│ out log path │ /home/pi/.pm2/logs/nefiteasyhttpserver-out-0.log │
│ pid path │ /home/pi/.pm2/pids/nefiteasyhttpserver-0.pid │
│ interpreter │ bash │
│ interpreter args │ N/A │
│ script id │ 0 │
│ exec cwd │ /home/pi │
│ exec mode │ fork_mode │
│ node.js version │ N/A │
│ watch & reload │ ✘ │
│ unstable restarts │ 0 │
│ created at │ 2018-05-04T17:38:47.815Z
Does this bash script contain enough information ?#!/bin/bash
/usr/bin/easy-server --serial=xxxxxxxxx --access-key=xxxxxxxxx --password=xxxxxxxxx --host=127.0.0.1 >/dev/null
And:
Edit: finally got it working by starting the server with the right script (@reboot).....pfffpi@pidomoticz:~ $ easy-server --serial=xxxxxxxx --access-key=xxxxxxxx --password=xxxxxxxx
{ Error: listen EADDRINUSE 127.0.0.1:3000
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at doListen (net.js:1517:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '127.0.0.1',
port: 3000 }
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
-
- Posts: 23
- Joined: Saturday 24 February 2018 13:43
- Target OS: NAS (Synology & others)
- Domoticz version: v4.9700
- Location: NL
- Contact:
Re: Nefit Easy™
Hi,
I am getting the Error getting http data! message.
Restarting the nefiteasyhttpserver doesn't help. Last readout was 6 days ago.
I am not aware of any software changes in the last week or so on my synology, no restarts, etc.
Running Domoticz V3.8153 (jadahl) on Synology DS114, dsm 6.1.6
What could be the problem and how to find it?
I am getting the Error getting http data! message.
Restarting the nefiteasyhttpserver doesn't help. Last readout was 6 days ago.
I am not aware of any software changes in the last week or so on my synology, no restarts, etc.
Running Domoticz V3.8153 (jadahl) on Synology DS114, dsm 6.1.6
What could be the problem and how to find it?
-
- Posts: 69
- Joined: Friday 23 June 2017 9:27
- Target OS: Linux
- Domoticz version: 2024.4
- Location: The Netherlands
- Contact:
Re: Nefit Easy™
Search the forum and find:JoeneH wrote: ↑Tuesday 05 June 2018 14:01 Hi,
I am getting the Error getting http data! message.
Restarting the nefiteasyhttpserver doesn't help. Last readout was 6 days ago.
I am not aware of any software changes in the last week or so on my synology, no restarts, etc.
Running Domoticz V3.8153 (jadahl) on Synology DS114, dsm 6.1.6
What could be the problem and how to find it?
viewtopic.php?f=34&t=23638&p=182337&hilit=nefit#p182337
Re: Nefit Easy™
You have to upgrade your easy-server to version 4.0.1 else you will be stuck. Read the previous mentioned post and follow the steps outlined there.
-
- Posts: 23
- Joined: Saturday 24 February 2018 13:43
- Target OS: NAS (Synology & others)
- Domoticz version: v4.9700
- Location: NL
- Contact:
Re: Nefit Easy™
Thanks, I have tried upgrading de server, npm, installed node.js v8 (can't remove v4 in synology because some other package depends on it..)
re-installed the server sudo npm i nefit-easy-http-server -g
But all no good.
the pm2 error log is telling me stuff that i don't understand.
Error: Cannot find module '@xmpp/connection'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/lib/index.js:6:25)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/index.js:1:80)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
/volume1/homes/admin/nefiteasyhttpserver.sh: line 2: cd: /var/services/homes/admin
: No such file or directory
Any ideas?
re-installed the server sudo npm i nefit-easy-http-server -g
But all no good.
the pm2 error log is telling me stuff that i don't understand.
Error: Cannot find module '@xmpp/connection'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/lib/index.js:6:25)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/index.js:1:80)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
/volume1/homes/admin/nefiteasyhttpserver.sh: line 2: cd: /var/services/homes/admin
: No such file or directory
Any ideas?
Re: Nefit Easy™
What npm version are you using?JoeneH wrote: ↑Tuesday 05 June 2018 16:50 Thanks, I have tried upgrading de server, npm, installed node.js v8 (can't remove v4 in synology because some other package depends on it..)
re-installed the server sudo npm i nefit-easy-http-server -g
But all no good.
the pm2 error log is telling me stuff that i don't understand.
Error: Cannot find module '@xmpp/connection'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/lib/index.js:6:25)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/index.js:1:80)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
/volume1/homes/admin/nefiteasyhttpserver.sh: line 2: cd: /var/services/homes/admin
: No such file or directory
Any ideas?
-
- Posts: 23
- Joined: Saturday 24 February 2018 13:43
- Target OS: NAS (Synology & others)
- Domoticz version: v4.9700
- Location: NL
- Contact:
Re: Nefit Easy™
npm is upgraded to 5.6.0
A reboot of the diskstation did not help.
And some other piece of information. the pm2 show command tells me the neifteasyhttpserver is constantly restarting. Everytime i run the show command, it gives an increased number of restarts and an uptime of just a few seconds.
A reboot of the diskstation did not help.
And some other piece of information. the pm2 show command tells me the neifteasyhttpserver is constantly restarting. Everytime i run the show command, it gives an increased number of restarts and an uptime of just a few seconds.
Re: Nefit Easy™
What easy-server version are you running? easy-server -v should give 4.0.1
-
- Posts: 23
- Joined: Saturday 24 February 2018 13:43
- Target OS: NAS (Synology & others)
- Domoticz version: v4.9700
- Location: NL
- Contact:
Re: Nefit Easy™
easy-server -v gives the following
module.js:540
throw err;
^
Error: Cannot find module '@xmpp/connection'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/lib/index.js:6:25)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/index.js:1:80)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
module.js:540
throw err;
^
Error: Cannot find module '@xmpp/connection'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/lib/index.js:6:25)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-commands/node_modules/nefit-easy-core/index.js:1:80)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
-
- Posts: 23
- Joined: Saturday 24 February 2018 13:43
- Target OS: NAS (Synology & others)
- Domoticz version: v4.9700
- Location: NL
- Contact:
Re: Nefit Easy™
There seems to be another / multiple problems.
checking the npm version by typing npm config get prefix
gave the following message
/volume1/@appstore/Node.js_v8/usr/local
╭─────────────────────────────────────╮
│ │
│ Update available 5.6.0 → 6.1.0 │
│ Run npm i npm to update │
│ │
╰─────────────────────────────────────╯
So, running the npm i npm
gave the following error:
npm WARN saveError ENOENT: no such file or directory, open '/volume1/homes/admin/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/volume1/homes/admin/package.json'
npm WARN admin No description
npm WARN admin No repository field.
npm WARN admin No README data
npm WARN admin No license field.
+ [email protected]
added 682 packages in 144.545s
Probably I have messed up some things?
checking the npm version by typing npm config get prefix
gave the following message
/volume1/@appstore/Node.js_v8/usr/local
╭─────────────────────────────────────╮
│ │
│ Update available 5.6.0 → 6.1.0 │
│ Run npm i npm to update │
│ │
╰─────────────────────────────────────╯
So, running the npm i npm
gave the following error:
npm WARN saveError ENOENT: no such file or directory, open '/volume1/homes/admin/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/volume1/homes/admin/package.json'
npm WARN admin No description
npm WARN admin No repository field.
npm WARN admin No README data
npm WARN admin No license field.
+ [email protected]
added 682 packages in 144.545s
Probably I have messed up some things?
-
- Posts: 23
- Joined: Saturday 24 February 2018 13:43
- Target OS: NAS (Synology & others)
- Domoticz version: v4.9700
- Location: NL
- Contact:
Re: Nefit Easy™
I removed the nefit easy http server, pm2 and npm (all via Putty access) and removed Node.js V8 (via synology package center)
checking with node -v, npm -v, nothing there.
Install Node.js V8 via package center
node -v v8.9.4
npm -v v5.6.0
Then npm i nefit-easy-http-server -g
gives
npm WARN checkPermissions Missing write access to /volume1/@appstore/Node.js_v8/usr/local/lib/node_modules
and telling me to try run it as root/Administrator
so it try sudo npm i nefit-easy-http-server -g
gives
/volume1/@appstore/Node.js_v8/usr/local/bin/easy-server -> /volume1/@appstore/Node.js_v8/usr/local/lib/node_modules/nefit-easy-http-server/bin/easy-server
+ [email protected]
added 122 packages in 51.474s
checking:
easy-server -v
Command not found
Any ideas what went wrong?
ps the same goes for npm i pm2 -g
will nt install due to write access
using sudo it installs into /volume1/@appstore/Node.js_v8/usr/local/bin/
and checking says command not found...
checking with node -v, npm -v, nothing there.
Install Node.js V8 via package center
node -v v8.9.4
npm -v v5.6.0
Then npm i nefit-easy-http-server -g
gives
npm WARN checkPermissions Missing write access to /volume1/@appstore/Node.js_v8/usr/local/lib/node_modules
and telling me to try run it as root/Administrator
so it try sudo npm i nefit-easy-http-server -g
gives
/volume1/@appstore/Node.js_v8/usr/local/bin/easy-server -> /volume1/@appstore/Node.js_v8/usr/local/lib/node_modules/nefit-easy-http-server/bin/easy-server
+ [email protected]
added 122 packages in 51.474s
checking:
easy-server -v
Command not found

Any ideas what went wrong?
ps the same goes for npm i pm2 -g
will nt install due to write access
using sudo it installs into /volume1/@appstore/Node.js_v8/usr/local/bin/
and checking says command not found...
Re: Nefit Easy™
I'm afraid i can't help you anymore as I do not use/own a Synology NAS but Ubuntu 16.04. In general removing all old node, npm and easy-server stuff and re-installing it should fix the problem.
Who is online
Users browsing this forum: No registered users and 1 guest