![]() ![]() If you run the command you see a output similar as below. In case you have problems you can run sudo pm2 show (were the is the number in the id column above). │ 0 │ nefiteasyhttpserver │ N/A │ fork │ 460 │ 2D │ 0 │ online │ 0% │ 1.8mb │ root │ disabled │ │ id │ name │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ To check the scipt is running enter: sudo pm2 list Start the script by running: sudo pm2 start /home/pi/nefiteasyhttpserver.sh If you run Raspbian Buster unfortunately we have to lower the minimum encryption: sudo nano /etc/ssl/openssl.cnf and add the following lines toe the file: MinProtocol = None ![]() usr/local/bin/easy-server -serial= -access-key= -password= -host=127.0.0.1 >/dev/null If it is not working try changing the location in the nefiteasyhttpserver.sh file in /usr/local/bin/easy-server After that the file looks like this: #!/bin/bash I experienced some linux versions or nodejs versions use a different path. The credentials you must use are the same you use when accessing the Nefit Easy through the Android or IOS app.Īfter saving your script you must make it executable by running: chmod 755 nefiteasyhttpserver.sh ![]() usr/bin/easy-server -serial= -access-key= -password= -host=127.0.0.1 >/dev/null To do so run the following commands sudo curl -sL | sudo -E bash -Īfter installing the components you have to create a script called nefiteasyhttpserver.shĬreate the script by running touch nefiteasyhttpserver.shĮdit the script using nano nefiteasyhttpserver.sh and put the following content in the script #!/bin/bash Install the Nefit Easy serverįirst connect to your Raspberry Pi using SSH. I run it on a RaspBerry Pi using Raspian Buster. This instruction allows you to control and read the thermostat from your Domoticz home automation.įirst I asume you already have Domoticz up and running. Since a couple of years I use a Nefit Easy thermostat to control my heating at home. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |