I've seen Robert's update i will try to incorporate this in a new version of the node. As you can see i use a configuration node for the Easy settings (serial, accessKey etc) this also gives the possibility to use connection pooling.rostyk wrote:Works good.
Robert today implementing some code changes regarding set temperature (to be able to work with clock mode as well) and introduce a server mode whcih also look reasonable because now for every command you use authentication every cycle which is not so good from server (bosch) side.
We should work like iOs/Android app: open connection -> authenticate > execute commands -> execute next command ... repeat.
Nefit Easy™
Moderator: leecollings
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
I did not add Low level GET and PUT operations, my intention is to add these values human readable into the dropdown list.rostyk wrote:i know it still not finished but i missing get and put commands in node.
For example i want to read /heatingCircuits/hc1/actualSupplyTemperature
its not possible to do up to now from node-red interface
-
- Posts: 142
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
Thanks for all your efforts, being able to see my Nefit Easy in Domoticz makes me happypepijn wrote:
TESTERS NEEDED
I published the first version of the Node to github.
You can install it using:
Code: Select all
sudo npm install pepijng/node-red-contrib-nefit-easy -g
Installed the new node with success, had to reboot to make it appear in node-red.
Used your sample flow for testing: after configuring the nefit easy nodes and Domoticz idx-numbers it started to work. Had one error 'lost server connection' but that was solved with a restart. Didn't see that since.
One thing that doesn't work is the update of the set-point. I cannot change it from Domoticz, changes applied using the android app came in very slowly (should take max 30 seconds, right?). I had the same problem with your previous solution using the scripts (others mentioned the problem too). When I change the setpoint running the script nefit-set from the command line things work fine! There must be something that I missed?
Appreciate your help.
Thanks, Mark
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
Can set your thermostat to manual before changing the temperature from Domoticz? (this is a known issue)Doler wrote:Thanks for all your efforts, being able to see my Nefit Easy in Domoticz makes me happypepijn wrote:
TESTERS NEEDED
I published the first version of the Node to github.
You can install it using:
Code: Select all
sudo npm install pepijng/node-red-contrib-nefit-easy -g
Installed the new node with success, had to reboot to make it appear in node-red.
Used your sample flow for testing: after configuring the nefit easy nodes and Domoticz idx-numbers it started to work. Had one error 'lost server connection' but that was solved with a restart. Didn't see that since.
One thing that doesn't work is the update of the set-point. I cannot change it from Domoticz, changes applied using the android app came in very slowly (should take max 30 seconds, right?). I had the same problem with your previous solution using the scripts (others mentioned the problem too). When I change the setpoint running the script nefit-set from the command line things work fine! There must be something that I missed?
Appreciate your help.
Thanks, Mark
-
- Posts: 142
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
I tried that #and did before# but to no avail. As said running the script nefit-set or the command easy set temperature "$*" from the command line does work.pepijn wrote:
Can set your thermostat to manual before changing the temperature from Domoticz? #this is a known issue#
When I set the setpoint in Domoticz I see a '#Virtual# Thermostat #Nefit | Setpoint#' in the log but nothing happens.
Mark
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
New version:
- Using nefit-easy-client as dependency
- Fixed set temperature when program is active
Code: Select all
sudo npm remove -g node-red-contrib-nefit-easy
sudo npm install -g pepijng/node-red-contrib-nefit-easy
sudo service nodered restart
-
- Posts: 9
- Joined: Monday 04 January 2016 16:58
- Target OS: Windows
- Domoticz version: 2.4028
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
ok. then i added this feature by configuring some backend scriptpepijn wrote:I did not add Low level GET and PUT operations, my intention is to add these values human readable into the dropdown list.rostyk wrote:i know it still not finished but i missing get and put commands in node.
For example i want to read /heatingCircuits/hc1/actualSupplyTemperature
its not possible to do up to now from node-red interface
http://rostyk.net/test/node_Red_easy.jpg
yes i forgot rbe filter in a node flowtemp when making screenshot
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
You modified Robert's library file, it's better to solve it within the Nefit-easy.js file. I just removed the library from my code and added a dependency.rostyk wrote:ok. then i added this feature by configuring some backend scriptpepijn wrote:I did not add Low level GET and PUT operations, my intention is to add these values human readable into the dropdown list.rostyk wrote:i know it still not finished but i missing get and put commands in node.
For example i want to read /heatingCircuits/hc1/actualSupplyTemperature
its not possible to do up to now from node-red interface
http://rostyk.net/test/node_Red_easy.jpg
yes i forgot rbe filter in a node flowtemp when making screenshot
-
- Posts: 142
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
Updated without a hassle but it doesn't help my case. See if I (being a noob) understand things correct:pepijn wrote:New version:install
- Using nefit-easy-client as dependency
- Fixed set temperature when program is active
Code: Select all
sudo npm remove -g node-red-contrib-nefit-easy sudo npm install -g pepijng/node-red-contrib-nefit-easy sudo service nodered restart
MQTT is listening to device updates in Domoticz. When the Setpoint is changed, MQTT and Domoticz communicate using json and when ok, execute action. My guess is that there is something going wrong in communication: I see the log message in Domoticz but see nothing in the debug window in Node-RED. Did I miss some pre-requisites or configuration details?
Thanks, Mark
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
Can you check the device id in filter checkpoint idxDoler wrote:Updated without a hassle but it doesn't help my case. See if I (being a noob) understand things correct:pepijn wrote:New version:install
- Using nefit-easy-client as dependency
- Fixed set temperature when program is active
Code: Select all
sudo npm remove -g node-red-contrib-nefit-easy sudo npm install -g pepijng/node-red-contrib-nefit-easy sudo service nodered restart
MQTT is listening to device updates in Domoticz. When the Setpoint is changed, MQTT and Domoticz communicate using json and when ok, execute action. My guess is that there is something going wrong in communication: I see the log message in Domoticz but see nothing in the debug window in Node-RED. Did I miss some pre-requisites or configuration details?
Thanks, Mark
-
- Posts: 142
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
That's the thing I overlooked. It works now, thanks a lot.pepijn wrote:Can you check the device id in filter checkpoint idxDoler wrote:Updated without a hassle but it doesn't help my case. See if I (being a noob) understand things correct:pepijn wrote:New version:install
- Using nefit-easy-client as dependency
- Fixed set temperature when program is active
Code: Select all
sudo npm remove -g node-red-contrib-nefit-easy sudo npm install -g pepijng/node-red-contrib-nefit-easy sudo service nodered restart
MQTT is listening to device updates in Domoticz. When the Setpoint is changed, MQTT and Domoticz communicate using json and when ok, execute action. My guess is that there is something going wrong in communication: I see the log message in Domoticz but see nothing in the debug window in Node-RED. Did I miss some pre-requisites or configuration details?
Thanks, Mark
Mark
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
-
- Posts: 6
- Joined: Tuesday 08 December 2015 22:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
Hi I've tried to get the client working but I can't get it working on a clean install of domoticz(with the SD card for Raspberry PI). I tried on RPI1 and PRI2. When I look in node-red I can't see the nefit easy part. Are there some parts that has to be installed before installing the client?
During the installation the installer gives an warning about engine wanted node :>=4.0 current node: 0.12.1 npm 2.5.1 I tried to install a newer version of node.js but not maybe not with succes.
During the installation the installer gives an warning about engine wanted node :>=4.0 current node: 0.12.1 npm 2.5.1 I tried to install a newer version of node.js but not maybe not with succes.
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
Did you restart node-red after installing the nefit-easy node?renebiemans wrote:Hi I've tried to get the client working but I can't get it working on a clean install of domoticz(with the SD card for Raspberry PI). I tried on RPI1 and PRI2. When I look in node-red I can't see the nefit easy part. Are there some parts that has to be installed before installing the client?
During the installation the installer gives an warning about engine wanted node :>=4.0 current node: 0.12.1 npm 2.5.1 I tried to install a newer version of node.js but not maybe not with succes.
-
- Posts: 9
- Joined: Monday 04 January 2016 16:58
- Target OS: Windows
- Domoticz version: 2.4028
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
@pepijn
i got once per hour a error with crash of node-red:
looks like connection are closed (dropped by nefit easy) after a 40-50 minutes.
i will report after clean reinstall (probably caused by mine changes in a code)
i got once per hour a error with crash of node-red:
Code: Select all
Error: read ECONNRESET
at exports._errnoException (util.js:870:11)
at TLSWrap.onread (net.js:544:26)
i will report after clean reinstall (probably caused by mine changes in a code)
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
You need to upgrade NodeJS to > 4.0.0 , the instructions are on the beginning of this post.pepijn wrote:Did you restart node-red after installing the nefit-easy node?renebiemans wrote:Hi I've tried to get the client working but I can't get it working on a clean install of domoticz(with the SD card for Raspberry PI). I tried on RPI1 and PRI2. When I look in node-red I can't see the nefit easy part. Are there some parts that has to be installed before installing the client?
During the installation the installer gives an warning about engine wanted node :>=4.0 current node: 0.12.1 npm 2.5.1 I tried to install a newer version of node.js but not maybe not with succes.
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
New version available, it includes the flow temperaturerostyk wrote:ok. then i added this feature by configuring some backend scriptpepijn wrote:I did not add Low level GET and PUT operations, my intention is to add these values human readable into the dropdown list.rostyk wrote:i know it still not finished but i missing get and put commands in node.
For example i want to read /heatingCircuits/hc1/actualSupplyTemperature
its not possible to do up to now from node-red interface
http://rostyk.net/test/node_Red_easy.jpg
yes i forgot rbe filter in a node flowtemp when making screenshot
-
- Posts: 142
- Joined: Friday 31 July 2015 21:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Sint-Oedenrode, Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
I have the same problem, 7 minutes after a restart of red-noderostyk wrote:@pepijn
i got once per hour a error with crash of node-red:looks like connection are closed (dropped by nefit easy) after a 40-50 minutes.Code: Select all
Error: read ECONNRESET at exports._errnoException (util.js:870:11) at TLSWrap.onread (net.js:544:26)
i will report after clean reinstall (probably caused by mine changes in a code)
Code: Select all
6 Jan 17:26:26 - [red] Uncaught Exception:
6 Jan 17:26:26 - Error: read ECONNRESET
at exports._errnoException (util.js:855:11)
at TLSWrap.onread (net.js:544:26)
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
-
- Posts: 6
- Joined: Tuesday 08 December 2015 22:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
Yes I tried that. I think the problem is in deed with the update of node. I have tried to update to 5.3.0 but I get an error when I want to copy to package with the command: sudo cp -R * /usr/local/Re: Nefit Easy™ client library (How to install on the Pi)
Postby pepijn » Wednesday 06 January 2016 16:57
renebiemans wrote:
Hi I've tried to get the client working but I can't get it working on a clean install of domoticz(with the SD card for Raspberry PI). I tried on RPI1 and PRI2. When I look in node-red I can't see the nefit easy part. Are there some parts that has to be installed before installing the client?
During the installation the installer gives an warning about engine wanted node :>=4.0 current node: 0.12.1 npm 2.5.1 I tried to install a newer version of node.js but not maybe not with succes.
Did you restart node-red after installing the nefit-easy node?
I get the following error: cp: cannot create regular file '/usr/local/bin/node': text file busy. I allready tried to reboot remove the files but I can't get premission. I also tried a complete clean installation(sd image).
-
- Posts: 110
- Joined: Monday 22 June 2015 20:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10982
- Location: Veghel, The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
you have to stop node-red first before you can issue that command.renebiemans wrote:Yes I tried that. I think the problem is in deed with the update of node. I have tried to update to 5.3.0 but I get an error when I want to copy to package with the command: sudo cp -R * /usr/local/Re: Nefit Easy™ client library (How to install on the Pi)
Postby pepijn » Wednesday 06 January 2016 16:57
renebiemans wrote:
Hi I've tried to get the client working but I can't get it working on a clean install of domoticz(with the SD card for Raspberry PI). I tried on RPI1 and PRI2. When I look in node-red I can't see the nefit easy part. Are there some parts that has to be installed before installing the client?
During the installation the installer gives an warning about engine wanted node :>=4.0 current node: 0.12.1 npm 2.5.1 I tried to install a newer version of node.js but not maybe not with succes.
Did you restart node-red after installing the nefit-easy node?
I get the following error: cp: cannot create regular file '/usr/local/bin/node': text file busy. I allready tried to reboot remove the files but I can't get premission. I also tried a complete clean installation(sd image).
sudo ps -ef | grep node
sudo /etc/init.d/nodered stop
node -v
(VERSIE 0.10.4 OID ZOU ER MOETEN STAAN)
wget https://nodejs.org/dist/v5.3.0/node-v5. ... v7l.tar.gz
tar -xvf node-v5.3.0-linux-armv7l.tar.gz
cd node-v5.3.0-linux-armv7l
sudo cp -R * /usr/local/
node -v
(VERSIE 5.3.0 ZOU ER MOETEN STAAN)
-
- Posts: 251
- Joined: Friday 12 July 2013 13:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Nefit Easy™ client library (How to install on the Pi)
It seems to be a bug in the Nefit Easy library.Doler wrote:I have the same problem, 7 minutes after a restart of red-noderostyk wrote:@pepijn
i got once per hour a error with crash of node-red:looks like connection are closed (dropped by nefit easy) after a 40-50 minutes.Code: Select all
Error: read ECONNRESET at exports._errnoException (util.js:870:11) at TLSWrap.onread (net.js:544:26)
i will report after clean reinstall (probably caused by mine changes in a code)MarkCode: Select all
6 Jan 17:26:26 - [red] Uncaught Exception: 6 Jan 17:26:26 - Error: read ECONNRESET at exports._errnoException (util.js:855:11) at TLSWrap.onread (net.js:544:26)
https://github.com/robertklep/nefit-easy-core/issues/2
Who is online
Users browsing this forum: No registered users and 1 guest