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.
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: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
I did not add Low level GET and PUT operations, my intention is to add these values human readable into the dropdown list.
Thanks for all your efforts, being able to see my Nefit Easy in Domoticz makes me happy
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?
Thanks for all your efforts, being able to see my Nefit Easy in Domoticz makes me happy
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
Can set your thermostat to manual before changing the temperature from Domoticz? (this is a known issue)
pepijn wrote:
Can set your thermostat to manual before changing the temperature from Domoticz? #this is a known issue#
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.
When I set the setpoint in Domoticz I see a '#Virtual# Thermostat #Nefit | Setpoint#' in the log but nothing happens.
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
I did not add Low level GET and PUT operations, my intention is to add these values human readable into the dropdown list.
ok. then i added this feature by configuring some backend script http://rostyk.net/test/node_Red_easy.jpg
yes i forgot rbe filter in a node flowtemp when making screenshot
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
I did not add Low level GET and PUT operations, my intention is to add these values human readable into the dropdown list.
ok. then i added this feature by configuring some backend script http://rostyk.net/test/node_Red_easy.jpg
yes i forgot rbe filter in a node flowtemp when making screenshot
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.
Updated without a hassle but it doesn't help my case. See if I (being a noob) understand things correct:
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?
Updated without a hassle but it doesn't help my case. See if I (being a noob) understand things correct:
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
Can you check the device id in filter checkpoint idx
Updated without a hassle but it doesn't help my case. See if I (being a noob) understand things correct:
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
Can you check the device id in filter checkpoint idx
That's the thing I overlooked. It works now, thanks a lot.
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.
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?
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?
You need to upgrade NodeJS to > 4.0.0 , the instructions are on the beginning of this post.
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
I did not add Low level GET and PUT operations, my intention is to add these values human readable into the dropdown list.
ok. then i added this feature by configuring some backend script http://rostyk.net/test/node_Red_easy.jpg
yes i forgot rbe filter in a node flowtemp when making screenshot
New version available, it includes the flow temperature
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)
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?
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/
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).
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?
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/
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).
you have to stop node-red first before you can issue that command.
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)
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)