Page 19 of 37

Re: Nefit Easy™

Posted: Saturday 19 March 2016 21:18
by pepijn
Marcel wrote:@Holland,

Thanks for your reply. I am running 2.1.0 and latest Beta release. Somehow it looks like Nefit is blocking me occasionally because also their iOS app cannot connect to the thermostat. Internet in my house is very stable and Thermostat seems to have WIFI connection to the outside world. I also found that it occurs (more) after setting the temp from Domoticz. Maybe there is something in there that cause it to decline the connection afterwords. It is very hard to debug as it is not occurring very frequently. Because more users have the issue I am led to believe that it is something we do different....
Did you set a time-out parameter on the Nefit easy server?

Re: Nefit Easy™

Posted: Saturday 19 March 2016 21:26
by Marcel
Did you set a time-out parameter on the Nefit easy server?
Hi Pepijn, where do I set this time-out parameter?

Re: Nefit Easy™

Posted: Saturday 19 March 2016 21:34
by SweetPants
If you read the READ.md file of the http server it says:

--timeout=TIMEOUT Request timeout in seconds [default: 30]

Re: Nefit Easy™

Posted: Saturday 19 March 2016 21:38
by Marcel
no, have not set it, default value is 30 seconds, what do you recommend, to decrease?

Re: Nefit Easy™

Posted: Saturday 19 March 2016 21:51
by pepijn
Marcel wrote:no, have not set it, default value is 30 seconds, what do you recommend, to decrease?
Yes, it will give you some more errors within Domoticz but it will prevent your easy from hanging

Re: Nefit Easy™

Posted: Sunday 20 March 2016 9:42
by m4rc3ls
@Holland To confirm: I had the latest version of Nefit Easy Server, using latest stable of Domoticz. I had no choice but to uninstall because I simply could not reach my thermostat when this happened. Hope solution will come some day, it was a very very nice feature.

FYI: I tried reinstalling easy server, did stop/start etc. Nothing helped other than restarting the thermostat itself.

Re: Nefit Easy™

Posted: Sunday 20 March 2016 14:01
by Henk
Trying to send a notification with events and blockly as: if cv-pressure is smaller than 1 then send message. Get a errot message in the Domoticz log like: 2016-03-20 13:57:04.160 Error: EventSystem: Lua script error (Blockly), Name: Druk_1 => [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: attempt to compare nil with number. Here I read that I'm trying to compare apples with pears. Tried to replace the "if" setting with inside temperature smaller than 25. This was resulting in a message. So the problem is in the first part of the blockly setting. Any ideas?

Re: Nefit Easy™

Posted: Sunday 20 March 2016 14:56
by Heursqem
Blaah wrote:After Two nights of very little sleep i finale managed to connect my nefit easy to Domoticz using pepijn's flow in node red. Thans very much and compliments for the great work.

Main problem was the scattering of instructions all over 18 pages of this post :cry: . It definitely does not do justice to your work. When I have more time, my contribution will be a comprehensive instruction within one message. To be continued..
Could someone give me a quick and dirty wiki, just some crisp bullet points on the actions I should execute. I will be able to find out all details myself.

Thx!

Re: Nefit Easy™

Posted: Sunday 20 March 2016 23:25
by Holland
@Heursqem

If you read my previous posts, then you should be able to setup the Nefit thermostate with the native Nefit functionality of Domoticz

Re: Nefit Easy™

Posted: Sunday 20 March 2016 23:30
by Holland
@Marcel
@m4rc3ls

I thought my setup was stable, but this weekend I also experienced the timeout problem. Had to detach the thermostat from the wall to get things running again. Strange..... I have no solution for that. Maybe this is an issue for Marcel Klep (developer Nefit http api daemon) to look into.

Re: Nefit Easy™

Posted: Monday 21 March 2016 20:12
by Heursqem
so, got all working fine
Used the nefit-easy-http-server and within Domoticz condigured hardware as "Nefit Easy HTTP server over LAN interface"

Domoticz created 6 standard/default devices for me

How can I add devices using the listed endpoints below?

pepijn wrote:
jannl wrote:hm, that's what I was afraid of indeed.
Before I dive into searching.... ;-)
How is the url for the user mode?
https://github.com/robertklep/nefit-eas ... -endpoints

This is the list of supported endpoints.

Re: Nefit Easy™

Posted: Monday 21 March 2016 20:12
by Heursqem
so, got all working fine
Used the nefit-easy-http-server and within Domoticz condigured hardware as "Nefit Easy HTTP server over LAN interface"

Domoticz created 6 standard/default devices for me

How can I add devices using the listed endpoints below?
pepijn wrote:
jannl wrote:hm, that's what I was afraid of indeed.
Before I dive into searching.... ;-)
How is the url for the user mode?
https://github.com/robertklep/nefit-eas ... -endpoints

This is the list of supported endpoints.

Re: Nefit Easy™

Posted: Monday 21 March 2016 20:13
by Heursqem
so, got all working fine
Used the nefit-easy-http-server and within Domoticz condigured hardware as "Nefit Easy HTTP server over LAN interface"

Domoticz created 6 standard/default devices for me

How can I add devices using the listed endpoints below?
pepijn wrote:
jannl wrote:hm, that's what I was afraid of indeed.
Before I dive into searching.... ;-)
How is the url for the user mode?
https://github.com/robertklep/nefit-eas ... -endpoints

This is the list of supported endpoints.

Re: Nefit Easy™

Posted: Monday 21 March 2016 20:15
by Heursqem
so, got all working fine
Used the nefit-easy-http-server and within Domoticz condigured hardware as "Nefit Easy HTTP server over LAN interface"

Domoticz created 6 standard/default devices for me

How can I add devices using the listed endpoints below?
pepijn wrote:
jannl wrote:hm, that's what I was afraid of indeed.
Before I dive into searching.... ;-)
How is the url for the user mode?
https://github.com/robertklep/nefit-eas ... -endpoints

This is the list of supported endpoints.

Re: Nefit Easy™

Posted: Monday 21 March 2016 20:17
by jannl
If they are not in the latest beta, you will have to create a sript yourself.
That's what I did, because I do not want to use a beta.

Re: Nefit Easy™

Posted: Monday 21 March 2016 20:18
by Heursqem
jannl wrote:If they are not in the latest beta, you will have to create a sript yourself.
That's what I did, because I do not want to use a beta.
but how to do this?

Re: Nefit Easy™

Posted: Monday 21 March 2016 20:22
by Heursqem
sorry, posted earlier message 4 times. System gave an error, was not aware that message still was posted.
I am not able to delete all messages

Re: Nefit Easy™

Posted: Tuesday 22 March 2016 23:51
by pepijn
Heursqem wrote:so, got all working fine
Used the nefit-easy-http-server and within Domoticz condigured hardware as "Nefit Easy HTTP server over LAN interface"

Domoticz created 6 standard/default devices for me

How can I add devices using the listed endpoints below?
pepijn wrote:
jannl wrote:hm, that's what I was afraid of indeed.
Before I dive into searching.... ;-)
How is the url for the user mode?
https://github.com/robertklep/nefit-eas ... -endpoints

This is the list of supported endpoints.
which endpoints do you want to use?

Re: Nefit Easy™

Posted: Wednesday 23 March 2016 14:09
by jannl
At the moment I think I only use the usermode in my own script. Best thing would be if it was configurable via Domoticz

Re: Nefit Easy™

Posted: Thursday 24 March 2016 8:03
by Henk
Hm, small problem here.

Running easy server with "pm2 start nefiteasyhttpserver.sh" is going fine.
Then ran "sudo pm2 startup" and "sudo pm2 save", all with positive feedback.

But after "sudo reboot" no auto reboot from the nefit easy server.

Looked in etc/init.d/pm2-init.sh and found nothing about nefit there, but I don't know if anything should be there.

Any ideas?