Page 27 of 37
Re: Nefit Easy™
Posted: Thursday 13 October 2016 20:14
by SweetPants
Re: Nefit Easy™
Posted: Thursday 13 October 2016 20:25
by mvveelen
Too late
Maybe you have another set-up with your Nefit? The hot water switches on/off following the program I've set up in the Nefit app. When somebody is home, the program is switched on and when there is nobody at home, the program is turned off. Tried to turn the program off manually, but someone is home so it's turned on immediately. Maybe the same with the hot water.....?
Re: Nefit Easy™
Posted: Thursday 13 October 2016 21:41
by Kochmeister
I abuse domoticz (combined with google calendar and a LUA) as my clock-program.
Yes when switching on/off in domoticz the water on/off is visible in the android app and the thermostat at the wall.
Re: Nefit Easy™
Posted: Thursday 13 October 2016 21:49
by mvveelen
When I turn off the program and switch to manual, it doesn't work either. When I turn the hot water off in Domoticz, it switches on in Domotica after a few seconds. Whatever I try in the app isn't recognised in Domoticz and vice versa. Turning on the program does work, the app recognises the command and switches to "program". Kind of strange that the Hot Water switch doesn't work at all for me......
Re: Nefit Easy™
Posted: Thursday 13 October 2016 22:39
by felix63
I'm missing Gas usage...I can see it in the Nefit App but not in domoticz. Strange...
geezerrr wrote:felix63 wrote:Hi,
Trying to find an answer to a simple question. Went through the wiki/forum but couldn't find a clear answer.
If I connect a Nefit Easy to Domoticz what functionality do I get?
Can anyone give me some insights?
Cheers,
Lex
Here is printscreen from my Nefit functions in Domoticz

Re: Nefit Easy™
Posted: Friday 14 October 2016 7:08
by gizmocuz
Perfect moment to test

Re: Nefit Easy™
Posted: Friday 14 October 2016 7:31
by mvveelen
gizmocuz wrote:Perfect moment to test

Are you talking about.....my wife under the shower

?
Well, I did test it yesterday and even updated to the latest Beta (thanks Jumbotroll), but switching the Hot Water doesn't switch the hot water on or off in the Nefit app. When I dwitch it off in Domoticz, it even switches back on in Domoticz after 10 seconds or so. All other things seem to work perfectly, but not the Hot Water. Any ideas on what I might be doing wrong?
I have the easy-http-server running on my Synology and node.js installed. What else could I need....?
Re: Nefit Easy™
Posted: Friday 14 October 2016 8:55
by Kochmeister
gizmocuz wrote:Perfect moment to test

Just updated to 3.5760b
The button switches on and off the hot water supply as it should.
However when I switch hot water supply on or off on the thermostat or with the nefit app the switch in domoticz does not "see" the change and does not update.
When switching temperature on the thermostat domoticz recognizes this within a minute or so.
Re: Nefit Easy™
Posted: Friday 14 October 2016 14:52
by eyerule
vmb wrote: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?
I also have this issue. I tried everything.
The scripts runs fine when I type it into command line. But when I exit the terminal the script stops.. nohup seems to to be working. Anyone an idea??
Re: Nefit Easy™
Posted: Friday 14 October 2016 18:03
by gizmocuz
put this in /etc/rc.local to let it auto start at boot
Code: Select all
easy-server --host=0.0.0.0 --serial=xxxxxx --access-key=xxxxx --password=xxx > /dev/null &
you can also run it manually
the trick is the '&' at the end
Re: Nefit Easy™
Posted: Friday 14 October 2016 18:53
by mvveelen
Is there any way I can test the switching of the Hot Water using the CLI ? I just tried it again, but it just won't work. After 10 seconds the switch turns on again, even when the hot water in the app is turned off.
Do I have to reinstall the easy-server perhaps? Any ideas?
edit:
DiskStation> easy-server -v
2.1.0
Re: Nefit Easy™
Posted: Friday 14 October 2016 20:07
by Kochmeister
mvveelen wrote:Is there any way I can test the switching of the Hot Water using the CLI ? I just tried it again, but it just won't work. After 10 seconds the switch turns on again, even when the hot water in the app is turned off.
Do I have to reinstall the easy-server perhaps? Any ideas?
edit:
DiskStation> easy-server -v
2.1.0
On the PI:
npm i -g nefit-easy-cli
not sure on the NAS
Re: Nefit Easy™
Posted: Friday 14 October 2016 22:15
by Holland
Re: Nefit Easy™
Posted: Friday 14 October 2016 22:49
by mvveelen
Oh my.... when trying to update I got these error messages:
Code: Select all
DiskStation> npm i nefit-easy-http-server -g
npm WARN deprecated [email protected]: This package is deprecated. Use Object.assign.
/usr/bin/easy-server -> /usr/lib/node_modules/nefit-easy-http-server/bin/easy-server
[email protected] /usr/lib/node_modules/nefit-easy-http-server
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected]
└── [email protected] ([email protected], [email protected]
And now nothing is working anymore. Uh-ohhh.... !!
Edit:
After installing the node.js package I got 'npm' back again. Updated the node.js manually and installed easy-server again. De-installed the old node.js package and now it's working again BUT......again with version v.2.1.0 ..... How come it doesn't install v 2.2.0 ??
Re: Nefit Easy™
Posted: Sunday 16 October 2016 13:31
by mvveelen
I contacted Robert Klep and as far as he knows, it's not the version that is causing the problem of the switch turning back on after a few seconds.
Anybody knows why the Hot Water turns back ON after a few seconds? Even when I disable all scripts and events that might cause this?
And: I also would like to update from v2.1.0 to v2.2.0, how can I do this exactly on my Synology. Any ideas?
Re: Nefit Easy™
Posted: Sunday 16 October 2016 17:05
by Kochmeister
Okay, for now I see three issues:
1. after a few on/off switches with the domoticz on/off switch the command seems to timeout causing domoticz to freeze for a minute or so.
the first few switches on/off seem OK. When I check with Putty the nefit http server is running and temp setpoint commands are possible.
2. when switching the Hot water supply to "off" in domoticz the button goes to the "on" status after ~15 seconds.
- is this a button fault? or a readout fault from nefit server to domoticz?
3. When changing hot water on/off on the thermostat or via the nefit (android) app the status in domoticz does not change.
Is there someone who can help with this?
My knowhow is too limited for that!
Re: Nefit Easy™
Posted: Monday 17 October 2016 16:15
by Holland
Sorry to come back on this, but the Nefit device is crashing the system again
Recently I started the Nefit device again, after leaving it disabled for the last 3 months. During these 3 months Domoticz was extremely stable, not a single crash. A few days back I re- enabled Nefit again and this results at least in a full crash a day. At least the cause of the crash should be found, and the error handling should be improved.
Running version 3.5776 on Pi2, and there is no scripts that call any of the Nefit devices.
I have included a log file below, maybe this helps to troubleshoot.
Code: Select all
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz(_ZN10CNefitEasy7Do_WorkEv+0x84) [0x397560]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz(_ZN10CNefitEasy7Do_WorkEv+0x84) [0x397560]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz(_ZN10CNefitEasy7Do_WorkEv+0x84) [0x397560]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz(_ZN10CNefitEasy7Do_WorkEv+0x84) [0x397560]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz(_ZN10CNefitEasy16GetStatusDetailsEv+0x130) [0x394498]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz(_ZN4Json5Value16resolveReferenceEPKcb+0x138) [0x4b3bac]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz() [0x4b3980]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76ac4180]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x1a1d68]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz() [0x1a1cbc]
2016-10-17 10:45:40 Error amst-03-domo-prod-01 local1 domoticz Error: Domoticz received fatal signal 11 !...
2016-10-16 20:26:07 Error amst-03-domo-prod-01 local1 domoticz Error: NefitEasy: Invalid data received (main)!
2016-10-16 13:14:00 Error amst-03-domo-prod-01 local1 domoticz Error: EventSystem: in /home/pi/domoticz/scripts2016-10-16 07:41:26 Error amst-03-domo-prod-01 local1 domoticz Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76acc180]
2016-10-16 07:41:26 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x1a1d68]
2016-10-16 07:41:26 Error amst-03-domo-prod-01 local1 domoticz Error: /home/pi/domoticz/domoticz() [0x1a1cbc]
2016-10-16 07:41:26 Error amst-03-domo-prod-01 local1 domoticz Error: Domoticz received fatal signal 11 !...
2016-10-16 00:32:44 Error amst-03-domo-prod-01 local1 domoticz Error: NefitEasy: Invalid data received (main)!
2016-10-15 23:16:36 Error amst-03-domo-prod-01 local1 domoticz Error: Kodi: (osmc.woonkamer.local) Async Read Exception: 104, Connection reset by peer
2016-10-15 21:50:10 Error amst-03-domo-prod-01 local1 domoticz Error: NefitEasy: Invalid data received (main)!
2016-10-15 14:11:50 Error amst-03-domo-prod-01 local1 domoticz Error: Kodi: (osmc.slaapkamer.local) Async Read Exception: 104, Connection reset by peer
value)
Re: Nefit Easy™
Posted: Monday 17 October 2016 17:28
by jannl
Not sure if this is solely related to the nefit easy. I have the nefit easy connected to Domoticz and it runs quite stable. At no daily or weekly regular crashes.
Re: Nefit Easy™
Posted: Monday 17 October 2016 18:00
by mvveelen
Yesterday I went ahead and updated the Synology from DSM5.2 to DSM6.02
I was surprised to see that there was a node.js v4 package for DSM6, but I installed it, and re-installed the easy-server. So far so good. I can't get it to run when restarting the Synology, although I followed the steps described in an earlier post a few pages back, but when I start the easy-server manually, the values are read in Domoticz again, so thats OK. (edit: when restarting the Synology, the easy-server now starts automatically). Now, when I switch off the Hot Water......stil nothing ?! In the app I see the Hot Water not switching off, and in Domoticz it switches back on again after a few seconds. I disabled all events and scripts that might interfere, but no result.
Anybody who can point me in the right direction to a solution for this one thing I'd really like to have?
Re: Nefit Easy™
Posted: Monday 17 October 2016 22:23
by Holland
Thanks jannl. More testing is required apparently.
I did the following installed a new Pi3, version 3.5776 with just on device running, Nefit HTTP server
Will report back soon
