Nefit Easy™

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

Moderator: leecollings

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™

Post by jannl »

Exactly, that is exactly what is stated in the conditions of Bosch. (As that it is forbidden to reverse engineer [WINKING FACE])
geezerrr
Posts: 79
Joined: Tuesday 02 December 2014 22:16
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Nefit Easy™

Post by geezerrr »

Finally I managed to get the easy server running the way I want, struggled with the crortab which wasn't working as it should. Now using pm2, And can confirm it works even after reboot. Thanks everyone!
Now I was trying to use the boiler status to trigger a virtual switch using block
Unfortunately I'm not able to use the sValue,
Anyone having another way to use the sValue of the boiler status?Image
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™

Post by Dutchsea »

Hi, I really appreciatean updated post on how to install the Nefit Easy for Domoticz. The info is now so fragmenten and often outdated that its hard for novice user to make a start. Especially as the instruction in the initial post is not working anymore.

Also can someone explain me the pro's and con's between the 2 options: http server and php.

Many thanks.
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™

Post by SweetPants »

After working for several months in a row without any problems, last two nights (20/7 04:35 and 21/7 02:35), the backend stopped working (timeouts). Also Nefit app stopped working. After reset (off/on) Nefit Easy Connect adapter everything works again. Looking at the time this might be maintenance on the sever side!!!!

edit: today (22/07) 00:35 it happend again, watch the time difference (2 hours) between every day.
noway666
Posts: 1
Joined: Sunday 07 August 2016 9:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Nefit Easy™

Post by noway666 »

Dutchsea wrote:Hi, I really appreciatean updated post on how to install the Nefit Easy for Domoticz. The info is now so fragmenten and often outdated that its hard for novice user to make a start. Especially as the instruction in the initial post is not working anymore.
I second this. As a relative newbie regarding linux I would very much like to see a comprehensive guide to make the Easy visible in domoticz. Can anyone guide us through? (I don't want to mess up my domoticz setup with wrong commands :) )
knights
Posts: 17
Joined: Monday 22 February 2016 20:05
Target OS: -
Domoticz version:
Contact:

Re: Nefit Easy™

Post by knights »

Hmm... My Domoticz will stop working after some while if I enable the Nefit Easy Server. If I dont use this my Domoticz works just fine.

Anybody has some suggestions where to start with troubleshooting?
Already have the latest beta and updates/upgrades.

My RASPI is still functional when Domoticz is offline.
jurgen
Posts: 30
Joined: Friday 02 October 2015 19:09
Target OS: NAS (Synology & others)
Domoticz version: stable
Contact:

Re: Nefit Easy™

Post by jurgen »

Dear all,

Today I have installed domoticz with easy-http server on my synology. I could not find a complete tutorial so i decided to document and share the steps that I did to get this working. I hope that you can use it.

Tutorial
Nefit easy on synology with DSM 6.0.2

Install node.js v4.2.6-0158 using package center from publisher Synology.inc

Install nefit easy http server on synology nas using ssh
npm i nefit-easy-http-server -g

Run the nefit easy http server as test
easy-server --serial=serialnumber --access-key=enteryourkey --password=enteryourpassword

Check if you can reach the http server using the following command:
curl http://127.0.0.1:3000/bridge/ecus/rrc/uiStatus

Go to domoticz which is running on my synology server
Add new hardware
Nefit easy http server over lan interface

name: nefit-easy
Remote address: 127.0.0.1
poort: 3000


Go to Devices and check if there are nefit devices available and add the devices to the dashboard! :D

if there are no devices available check the logging in domoticz and verify with curl if the easy http server is running.


Create Startup script called easy-server.sh and place it in the directory /usr/local/etc/rc.d/
Reboot the nas and check that the process is running.
ps -aux | grep easy-http

@thanks to mvveelen

I edit the scriptname directory because of the change in DSM 6.0.2

Code: Select all

#! /bin/sh
### BEGIN INIT INFO
# Provides:          nefit easy http server
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: nefit-easy-http-server
# Description:       This daemon will start the nefit-easy-http-server for use by Domoticz
### END INIT INFO
 
# Do NOT "set -e"
 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
DESC="Nefit Easy HTTP Server"
NAME=easy-server
USERNAME=root
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/usr/local/etc/rc.d/$NAME
NEFIT_SERIAL_NUMBER=enterserial
NEFIT_ACCESS_KEY=enterkey
NEFIT_PASSWORD=enterpassword
NEFIT_HOST=127.0.0.1
NEFIT_PORT=3000
 
 
DAEMON=/usr/local/bin/$NAME
 
DAEMON_ARGS="$DAEMON_ARGS --serial=$NEFIT_SERIAL_NUMBER"
DAEMON_ARGS="$DAEMON_ARGS --access-key=$NEFIT_ACCESS_KEY"
DAEMON_ARGS="$DAEMON_ARGS --password=$NEFIT_PASSWORD"
DAEMON_ARGS="$DAEMON_ARGS --host=$NEFIT_HOST"
DAEMON_ARGS="$DAEMON_ARGS --port=$NEFIT_PORT"
 
 
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
 
#
# Function that starts the daemon/service
#
do_start()
{
    nohup $DAEMON $DAEMON_ARGS &
  echo `ps w | grep ${DAEMON} | grep -v -E 'grep' | awk '{print $1}' > $PIDFILE`
 
 
 
}
 
 
 
wait_for_status ()
{
    counter=$2
    while [ ${counter} -gt 0 ]; do
        do_status
        [ $? -eq $1 ] && return
        let counter=counter-1
        sleep 1
    done
    return 1
}
 
 
 
 
 
#
# Function that stops the daemon/service
#
 
do_stop()
 
{
    # Kill the application
    kill `cat ${PIDFILE}`
    wait_for_status 1 20 || kill -9 `cat ${PIDFILE}`
    rm -f ${PIDFILE}
}
 
 
 
do_status ()
{
    if [ -f ${PIDFILE} ] && kill -0 `cat ${PIDFILE}` > /dev/null 2>&1; then
        return
    fi
    rm -f ${PIDFILE}
    return 1
}
 
 
 
 
 
case "$1" in
  start)
        do_start
        ;;
  stop)
        do_stop
        ;;
  restart)
        do_stop
        do_start
        ;;
  *)
        echo "Usage: $SCRIPTNAME {start|stop|restart}" >&2
        exit 3
        ;;
esac
 
:
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Nefit Easy™

Post by gizmocuz »

Maybe it's a nice idea to create a wiki page about this ?

I see there is already a wiki:

http://www.domoticz.com/wiki/NefitEasy

But maybe add a section for the Synology ?
Quality outlives Quantity!
jurgen
Posts: 30
Joined: Friday 02 October 2015 19:09
Target OS: NAS (Synology & others)
Domoticz version: stable
Contact:

Re: Nefit Easy™

Post by jurgen »

That would be a great idea!
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Nefit Easy™

Post by mvveelen »

jurgen wrote:Dear all,

Today I have installed domoticz with easy-http server on my synology. I could not find a complete tutorial so i decided to document and share the steps that I did to get this working. I hope that you can use it.

Tutorial
Nefit easy on synology with DSM 6.0.2

Install node.js v4.2.6-0158 using package center from publisher Synology.inc

Install nefit easy http server on synology nas using ssh
npm i nefit-easy-http-server -g

Run the nefit easy http server as test
easy-server --serial=serialnumber --access-key=enteryourkey --password=enteryourpassword

Check if you can reach the http server using the following command:
curl http://127.0.0.1:3000/bridge/ecus/rrc/uiStatus

Go to domoticz which is running on my synology server
Add new hardware
Nefit easy http server over lan interface

name: nefit-easy
Remote address: 127.0.0.1
poort: 3000


Go to Devices and check if there are nefit devices available and add the devices to the dashboard! :D

if there are no devices available check the logging in domoticz and verify with curl if the easy http server is running.


Create Startup script called easy-server.sh and place it in the directory /usr/local/etc/rc.d/
Reboot the nas and check that the process is running.
ps -aux | grep easy-http

@thanks to mvveelen

I edit the scriptname directory because of the change in DSM 6.0.2

Code: Select all

#! /bin/sh
### BEGIN INIT INFO
# Provides:          nefit easy http server
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: nefit-easy-http-server
# Description:       This daemon will start the nefit-easy-http-server for use by Domoticz
### END INIT INFO
 
# Do NOT "set -e"
 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
DESC="Nefit Easy HTTP Server"
NAME=easy-server
USERNAME=root
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/usr/local/etc/rc.d/$NAME
NEFIT_SERIAL_NUMBER=enterserial
NEFIT_ACCESS_KEY=enterkey
NEFIT_PASSWORD=enterpassword
NEFIT_HOST=127.0.0.1
NEFIT_PORT=3000
 
 
DAEMON=/usr/local/bin/$NAME
 
DAEMON_ARGS="$DAEMON_ARGS --serial=$NEFIT_SERIAL_NUMBER"
DAEMON_ARGS="$DAEMON_ARGS --access-key=$NEFIT_ACCESS_KEY"
DAEMON_ARGS="$DAEMON_ARGS --password=$NEFIT_PASSWORD"
DAEMON_ARGS="$DAEMON_ARGS --host=$NEFIT_HOST"
DAEMON_ARGS="$DAEMON_ARGS --port=$NEFIT_PORT"
 
 
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
 
#
# Function that starts the daemon/service
#
do_start()
{
    nohup $DAEMON $DAEMON_ARGS &
  echo `ps w | grep ${DAEMON} | grep -v -E 'grep' | awk '{print $1}' > $PIDFILE`
 
 
 
}
 
 
 
wait_for_status ()
{
    counter=$2
    while [ ${counter} -gt 0 ]; do
        do_status
        [ $? -eq $1 ] && return
        let counter=counter-1
        sleep 1
    done
    return 1
}
 
 
 
 
 
#
# Function that stops the daemon/service
#
 
do_stop()
 
{
    # Kill the application
    kill `cat ${PIDFILE}`
    wait_for_status 1 20 || kill -9 `cat ${PIDFILE}`
    rm -f ${PIDFILE}
}
 
 
 
do_status ()
{
    if [ -f ${PIDFILE} ] && kill -0 `cat ${PIDFILE}` > /dev/null 2>&1; then
        return
    fi
    rm -f ${PIDFILE}
    return 1
}
 
 
 
 
 
case "$1" in
  start)
        do_start
        ;;
  stop)
        do_stop
        ;;
  restart)
        do_stop
        do_start
        ;;
  *)
        echo "Usage: $SCRIPTNAME {start|stop|restart}" >&2
        exit 3
        ;;
esac
 
:
Great work on documenting it for DSM6 on the Synology. I'm still running DSM5, but maybe....someday,... :D

Are you going to add a wiki-page ?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
preetyjess01
Posts: 1
Joined: Thursday 01 September 2016 11:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Nefit Easy™

Post by preetyjess01 »

Hello,
Amazing and very informative. I try this in my Raspberry Pi robot kits project. This is very helpful for me. Thanks.
Kochmeister
Posts: 17
Joined: Wednesday 24 February 2016 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Nefit Easy™

Post by Kochmeister »

Hi,

I could not find this using the search, but is it possible to switch on and off warm water as well?

That would be great!
nefit.png
nefit.png (81.23 KiB) Viewed 3612 times
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Nefit Easy™

Post by mvveelen »

Hmmm, curious too.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
cvdb
Posts: 4
Joined: Wednesday 07 September 2016 13:05
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Nefit Easy™

Post by cvdb »

jurgen wrote:Dear all,

Today I have installed domoticz with easy-http server on my synology. I could not find a complete tutorial so i decided to document and share the steps that I did to get this working. I hope that you can use it.

Tutorial
Nefit easy on synology with DSM 6.0.2

Install node.js v4.2.6-0158 using package center from publisher Synology.inc

Install nefit easy http server on synology nas using ssh
npm i nefit-easy-http-server -g

Run the nefit easy http server as test
easy-server --serial=serialnumber --access-key=enteryourkey --password=enteryourpassword

Check if you can reach the http server using the following command:
curl http://127.0.0.1:3000/bridge/ecus/rrc/uiStatus

Go to domoticz which is running on my synology server
Add new hardware
Nefit easy http server over lan interface

name: nefit-easy
Remote address: 127.0.0.1
poort: 3000


Go to Devices and check if there are nefit devices available and add the devices to the dashboard! :D

if there are no devices available check the logging in domoticz and verify with curl if the easy http server is running.


Create Startup script called easy-server.sh and place it in the directory /usr/local/etc/rc.d/
Reboot the nas and check that the process is running.
ps -aux | grep easy-http

@thanks to mvveelen

I edit the scriptname directory because of the change in DSM 6.0.2

Code: Select all

#! /bin/sh
### BEGIN INIT INFO
# Provides:          nefit easy http server
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: nefit-easy-http-server
# Description:       This daemon will start the nefit-easy-http-server for use by Domoticz
### END INIT INFO
 
# Do NOT "set -e"
 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
DESC="Nefit Easy HTTP Server"
NAME=easy-server
USERNAME=root
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/usr/local/etc/rc.d/$NAME
NEFIT_SERIAL_NUMBER=enterserial
NEFIT_ACCESS_KEY=enterkey
NEFIT_PASSWORD=enterpassword
NEFIT_HOST=127.0.0.1
NEFIT_PORT=3000
 
 
DAEMON=/usr/local/bin/$NAME
 
DAEMON_ARGS="$DAEMON_ARGS --serial=$NEFIT_SERIAL_NUMBER"
DAEMON_ARGS="$DAEMON_ARGS --access-key=$NEFIT_ACCESS_KEY"
DAEMON_ARGS="$DAEMON_ARGS --password=$NEFIT_PASSWORD"
DAEMON_ARGS="$DAEMON_ARGS --host=$NEFIT_HOST"
DAEMON_ARGS="$DAEMON_ARGS --port=$NEFIT_PORT"
 
 
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
 
#
# Function that starts the daemon/service
#
do_start()
{
    nohup $DAEMON $DAEMON_ARGS &
  echo `ps w | grep ${DAEMON} | grep -v -E 'grep' | awk '{print $1}' > $PIDFILE`
 
 
 
}
 
 
 
wait_for_status ()
{
    counter=$2
    while [ ${counter} -gt 0 ]; do
        do_status
        [ $? -eq $1 ] && return
        let counter=counter-1
        sleep 1
    done
    return 1
}
 
 
 
 
 
#
# Function that stops the daemon/service
#
 
do_stop()
 
{
    # Kill the application
    kill `cat ${PIDFILE}`
    wait_for_status 1 20 || kill -9 `cat ${PIDFILE}`
    rm -f ${PIDFILE}
}
 
 
 
do_status ()
{
    if [ -f ${PIDFILE} ] && kill -0 `cat ${PIDFILE}` > /dev/null 2>&1; then
        return
    fi
    rm -f ${PIDFILE}
    return 1
}
 
 
 
 
 
case "$1" in
  start)
        do_start
        ;;
  stop)
        do_stop
        ;;
  restart)
        do_stop
        do_start
        ;;
  *)
        echo "Usage: $SCRIPTNAME {start|stop|restart}" >&2
        exit 3
        ;;
esac
 
:

Hello all,
Just installed Domoticz on my Synology, and got it working with some switches :)
Now i really would like to connect to my Nefit easy as well, but after a few evenings trying, its not that easy for me... because i am not so familiar with this code.

i am glad some people are, and thanks for puting it on this forum, and i hope they can help me in the right direction.

my configuration:
Synology DS412+ DSM 6.0.2-8451
installed node.js v4.2.6-0158

I am trying to follow the steps from the tutoral, but got lost..

I am connecting to Synology with PuTTY SSH
I changed the npm install directory to ~/.npm-global ( because it generated some errors on permissions.. )
https://docs.npmjs.com/getting-started/ ... ermissions

and when i do:

Code: Select all

admin@DiskStation:~$ easy-server
-sh: easy-server: command not found
admin@DiskStation:~$

admin@DiskStation:~$ curl http://127.0.0.1:3000/bridge/ecus/rrc/uiStatus
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
admin@DiskStation:~$
 
Its not starting the easy server...

So please help me with where i go wrong
Last edited by cvdb on Thursday 08 September 2016 17:03, edited 1 time in total.
User avatar
BartdaMan
Posts: 20
Joined: Sunday 22 May 2016 22:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Amersfoort
Contact:

Re: Nefit Easy™

Post by BartdaMan »

Yes! Today our new Nefit Trendline has been installed, with Easy thermostat.
For installation of the easy server onto RasPi the Wiki is not 100% right, but with the help of the above posts (thank you all!) and good old friend Mr. Google, I just succeeded to get it all running in Domoticz.

I really like my new home automation hobby!
jurgen
Posts: 30
Joined: Friday 02 October 2015 19:09
Target OS: NAS (Synology & others)
Domoticz version: stable
Contact:

Re: Nefit Easy™

Post by jurgen »

cvdb wrote:
jurgen wrote:Dear all,

Today I have installed domoticz with easy-http server on my synology. I could not find a complete tutorial so i decided to document and share the steps that I did to get this working. I hope that you can use it.

Tutorial
Nefit easy on synology with DSM 6.0.2

Install node.js v4.2.6-0158 using package center from publisher Synology.inc

Install nefit easy http server on synology nas using ssh
npm i nefit-easy-http-server -g

Run the nefit easy http server as test
easy-server --serial=serialnumber --access-key=enteryourkey --password=enteryourpassword

Check if you can reach the http server using the following command:
curl http://127.0.0.1:3000/bridge/ecus/rrc/uiStatus

Go to domoticz which is running on my synology server
Add new hardware
Nefit easy http server over lan interface

name: nefit-easy
Remote address: 127.0.0.1
poort: 3000


Go to Devices and check if there are nefit devices available and add the devices to the dashboard! :D

if there are no devices available check the logging in domoticz and verify with curl if the easy http server is running.


Create Startup script called easy-server.sh and place it in the directory /usr/local/etc/rc.d/
Reboot the nas and check that the process is running.
ps -aux | grep easy-http

@thanks to mvveelen

I edit the scriptname directory because of the change in DSM 6.0.2

Code: Select all

#! /bin/sh
### BEGIN INIT INFO
# Provides:          nefit easy http server
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: nefit-easy-http-server
# Description:       This daemon will start the nefit-easy-http-server for use by Domoticz
### END INIT INFO
 
# Do NOT "set -e"
 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
DESC="Nefit Easy HTTP Server"
NAME=easy-server
USERNAME=root
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/usr/local/etc/rc.d/$NAME
NEFIT_SERIAL_NUMBER=enterserial
NEFIT_ACCESS_KEY=enterkey
NEFIT_PASSWORD=enterpassword
NEFIT_HOST=127.0.0.1
NEFIT_PORT=3000
 
 
DAEMON=/usr/local/bin/$NAME
 
DAEMON_ARGS="$DAEMON_ARGS --serial=$NEFIT_SERIAL_NUMBER"
DAEMON_ARGS="$DAEMON_ARGS --access-key=$NEFIT_ACCESS_KEY"
DAEMON_ARGS="$DAEMON_ARGS --password=$NEFIT_PASSWORD"
DAEMON_ARGS="$DAEMON_ARGS --host=$NEFIT_HOST"
DAEMON_ARGS="$DAEMON_ARGS --port=$NEFIT_PORT"
 
 
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
 
#
# Function that starts the daemon/service
#
do_start()
{
    nohup $DAEMON $DAEMON_ARGS &
  echo `ps w | grep ${DAEMON} | grep -v -E 'grep' | awk '{print $1}' > $PIDFILE`
 
 
 
}
 
 
 
wait_for_status ()
{
    counter=$2
    while [ ${counter} -gt 0 ]; do
        do_status
        [ $? -eq $1 ] && return
        let counter=counter-1
        sleep 1
    done
    return 1
}
 
 
 
 
 
#
# Function that stops the daemon/service
#
 
do_stop()
 
{
    # Kill the application
    kill `cat ${PIDFILE}`
    wait_for_status 1 20 || kill -9 `cat ${PIDFILE}`
    rm -f ${PIDFILE}
}
 
 
 
do_status ()
{
    if [ -f ${PIDFILE} ] && kill -0 `cat ${PIDFILE}` > /dev/null 2>&1; then
        return
    fi
    rm -f ${PIDFILE}
    return 1
}
 
 
 
 
 
case "$1" in
  start)
        do_start
        ;;
  stop)
        do_stop
        ;;
  restart)
        do_stop
        do_start
        ;;
  *)
        echo "Usage: $SCRIPTNAME {start|stop|restart}" >&2
        exit 3
        ;;
esac
 
:

Hello all,
Just installed Domoticz on my Synology, and got it working with some switches :)
Now i really would like to connect to my Nefit easy as well, but after a few evenings trying, its not that easy for me... because i am not so familiar with this code.

i am glad some people are, and thanks for puting it on this forum, and i hope they can help me in the right direction.

my configuration:
Synology DS412+ DSM 6.0.2-8451
installed node.js v4.2.6-0158

I am trying to follow the steps from the tutoral, but got lost..

I am connecting to Synology with PuTTY SSH
I changed the npm install directory to ~/.npm-global ( because it generated some errors on permissions.. )
https://docs.npmjs.com/getting-started/ ... ermissions

and when i do:

Code: Select all

admin@DiskStation:~$ easy-server
-sh: easy-server: command not found
admin@DiskStation:~$

admin@DiskStation:~$ curl http://127.0.0.1:3000/bridge/ecus/rrc/uiStatus
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
admin@DiskStation:~$
 
Its not starting the easy server...

So please help me with where i go wrong

Hi cvdb,

Before installing the nefit easy server using nmp, i think that you need to use the command "sudo -i" this will give you root permission.
after that try the commands again.

Greetz!
cvdb
Posts: 4
Joined: Wednesday 07 September 2016 13:05
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Nefit Easy™

Post by cvdb »

Thanks Jurgen, will try that soon.
cvdb
Posts: 4
Joined: Wednesday 07 September 2016 13:05
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Nefit Easy™

Post by cvdb »

Hi Jurgen,

the sudo -i did it, i have it running, and can see the new devices in domoticz :) many thanks.

I have a second question about:
Create Startup script called easy-server.sh and place it in the directory /usr/local/etc/rc.d/
Reboot the nas and check that the process is running.
ps -aux | grep easy-http
I placed an easy-server.sh file (with my serial #, access key and passwd) in the /usr/local/etc/rc.d directory, and rebooted the nas, but the process is not running.. any idea ?

Kind regards
CvdB
cvdb
Posts: 4
Joined: Wednesday 07 September 2016 13:05
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Nefit Easy™

Post by cvdb »

I did a chmod 755 of the easy-server.sh file, rebooted the nas, and now its running :)

Many thanks to you all
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Nefit Easy™

Post by felix63 »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests