Nefit Easy™

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by Dutchsea »

Thanks for all the help/answers. Last night I got it and understood XMPP needs to be added as additonal hardware type while initially I thought I had to enable software.
Temp and pressure are now reported to Domoticz though I have some doubts as concerning the temp value as the log shows variation form 21 to 18 degrees while my regular room temp sensor (BMP180) changed from 21 to 16,

Setpoint and indicator not yet working.
I would remove the old flow, just to be sure
Can you tell me how to remove flows?
You didn't show an error message or something. But I'm guessing that you didn't jump to the bin directory in the nefit-easy-client directory
Not sure about this...

I got the nefit-easy-client in /home/pi and the scrpits in /opt/nefit. Maybe this is a reason.

Anyway, ill try upgrading node-red later this evening and share new results
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
SweetPants

Re: Nefit Easy™ client library (How to install on the Pi)

Post by SweetPants »

When using:
pepijn wrote: /opt/nefit/nefit-status

Code: Select all

export NEFIT_SERIAL_NUMBER='XXXXX'
export NEFIT_ACCESS_KEY='XXXXXX'
export NEFIT_PASSWORD='XXXX'
easy status
make the script executable (chmod +x) and execute it i get:

[SyntaxError: Unexpected token �]

Running 'easy status' on the command line shows the correct results. Anybody else with the same issue?
dorenberg
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)

Post by dorenberg »

Maybe it is related but I created the scripts using the wrong editor. Mine is now fully functional. I re-created the scripts in winscp and now it works.

Thanks everybody for the help!
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by Dutchsea »

dorenberg wrote:Succeeded with the node-red update using:

Code: Select all

sudo npm cache clean
sudo npm install -g --unsafe-perm node-red
Node-red gives no longer the rbe error of unknown node.

However, I am getting XMPP error when executing the scripts nefit-pressure. Copy/paste the script in putty gives good results.
Tried this upgrade methode but got 1000 or so errors.... Domoticz is still running but i think i have messed up this system. I am not sure how to proceed except full reinstall

Any other ways on how to upgrade node-red when using a Raspian Wheezy image with node upgraded to v5.3.0.
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
dorenberg
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)

Post by dorenberg »

Got some errors too, but upgrade was succesful in the end. Everything seems to work over here. Including my domoticz, plugwise, nefit, and all other stuff.
jannl
Posts: 625
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by jannl »

Script works great. But has a real impact on the cpu usage. 10% when running instead if 1% or so
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by Dutchsea »

dorenberg wrote:Got some errors too, but upgrade was succesful in the end. Everything seems to work over here. Including my domoticz, plugwise, nefit, and all other stuff.
Nice! I tried the latest code again after my "upgrade" but I still have the " rbe" error in node-red
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
Holland
Posts: 179
Joined: Friday 12 July 2013 13:53
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta Ch
Location: The Netherlands
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by Holland »

jannl wrote:Script works great. But has a real impact on the cpu usage. 10% when running instead if 1% or so
About the same for me, 14%. Maybe increase the interval for both status-code and update a bit. Maybe also better for the Nefit/Bosch servers at the other end, I can imagine that if everyone starts doing this smoke will appear out of their servers :twisted:
User avatar
andreo
Posts: 42
Joined: Friday 07 August 2015 21:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.3
Location: Anna Paulowna, Netherlands
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by andreo »

Dutchsea wrote:
andreo wrote:
pepijn wrote:In the hardware settings :) check the wiki for more information
I have found it ;) thanx
I have been looking myself but did bot find it in the Wiki or set-up page. Can you give me more hints?

I have added a MQTT client under menu Settings>Hardware and added the following:
Index
20 Mqtt Ja MQTT Client Gateway with LAN interface 192.168.178.29 1883 Niet actief
Latest version of Domoticz and more running on Docker|Raspberry Pi 4-B 8GB Bookworm|RF-Link|Klik Aan Klik Uit|Nefit easy|ESPeasy|P1 power meter|S0PCM-5 through Ser2Net|Alecto WS5500|FrtizBox|Satel Integra|Solis
Greetz Andre.
User avatar
andreo
Posts: 42
Joined: Friday 07 August 2015 21:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.3
Location: Anna Paulowna, Netherlands
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by andreo »

Dutchsea wrote:
andreo wrote:
pepijn wrote:In the hardware settings :) check the wiki for more information
I have found it ;) thanx
I have been looking myself but did bot find it in the Wiki or set-up page. Can you give me more hints?

I have added a MQTT client under menu Settings>Hardware and added the following:
Index | Name | Active | Type | Adres | Port
ID | Mqtt |Ja | MQTT Client Gateway with LAN interface |192.168.178.29 (My RaspPi)| 1883 | Niet actief
Latest version of Domoticz and more running on Docker|Raspberry Pi 4-B 8GB Bookworm|RF-Link|Klik Aan Klik Uit|Nefit easy|ESPeasy|P1 power meter|S0PCM-5 through Ser2Net|Alecto WS5500|FrtizBox|Satel Integra|Solis
Greetz Andre.
pepijn
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)

Post by pepijn »

apt-get install mosquitto
dorenberg
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)

Post by dorenberg »

I see some more CPU use as well. Of around 5-7%. One other thing happened last night, and that was that my RFXCOM, youless and S0PCM stopped working. Needed to reboot the system to get everything back to work. Don't know if it is related or not, but have never experienced this before.

I will see how it will work out today!
jannl
Posts: 625
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by jannl »

SInce I use the RFCOM (almost 1,5 year now), it lost the connection with the Pi about 2 or 3 times. Way before using this script, so as far as I am concerned not related, the scripts runs about 2 days now.

Thinking about setting the update to 5 minutes, temp. etc do not change that quickly
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by ThinkPad »

It seems that the Thermosmart and Anna thermostat implementation in Domoticz use a polling interval of 30 seconds:

Thermosmart.cpp
AnnaThermostat.cpp

So i wouldn't update any faster than that. And like you said, 5 minutes is fast enough for some values (like inside temperature, outside temperature). Only stuff like setpoint you want to see faster (every minute or so), so that you know that the change is accepted when you have issued a new setpoint.
I am not active on this forum anymore.
pepijn
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)

Post by pepijn »

All,

As mentioned before using the scripts is not the way to go.
Right now I'am working on a (native) Node-RED node for Nefit Easy.
Nefit Node.png
Nefit Node.png (74.03 KiB) Viewed 3602 times
As you can see I'am able to communicate to the Easy directly (so without scripts). But the node is not finished yet.
jannl
Posts: 625
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by jannl »

I think you are still communicating with the Nefit/Bosch servers and not directly with the Easy.

The app on my phone takes about the same amount of time to finish.
pepijn
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)

Post by pepijn »

jannl wrote:I think you are still communicating with the Nefit/Bosch servers and not directly with the Easy.
Yes, the Bosch servers are intermediate, so they don't store data.
jannl
Posts: 625
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by jannl »

I agree, but I think those servers communicate with the Easy and get the data.

This created software communicates throught those servers and not directly to the Easy.
pepijn
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)

Post by pepijn »

jannl wrote:I agree, but I think those servers communicate with the Easy and get the data.

This created software communicates throught those servers and not directly to the Easy.
Yes this is how it works. The Bosch servers act as a kind of proxy server. I don't understand your point, could you be more specific?
jannl
Posts: 625
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Nefit Easy™ client library (How to install on the Pi)

Post by jannl »

In one of your earlier posts you state, 'scripts is not the way to go' and 'you connect directly to the easy'.

Your node-red solution is also still a script. You 'just' have a very nice graphical design tool.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest