Search found 23 matches
- Tuesday 22 January 2019 16:16
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
Today I updated Webstation to 2.1.6-0146 (which added support for php7.2 it says) and DSM 6.2.1 update 1 to DSM 6.2.1-23824 update 4 (mainly security updates), so it requested a reboot but after that the nefit process did not run and now I can't get it started again... I am not sure whether this ...
- Sunday 02 December 2018 21:40
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
Domoticz wasn't getting any data from the Nefit-easy, so I tried ./easy-server.sh start and it showed the following: ./easy-server.sh: line 45: /var/run/easy-server.pid: Permission denied nohup: appending output to ‘/var/services/homes/admin/nohup.out’ Using sudo ./easy-server.sh start the message wa ...
- Sunday 02 December 2018 15:41
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
It is not a copy paste issue. Copying the forum text to notepad++ gives exactly the same as copying it to windows notepad and then to notepad++. I don't use VI or NANO. I save the file in notepad++ as unix script file and then copy it to /usr/local/etc/rc.d and change the permission to 755. I must ...
- Thursday 15 November 2018 11:47
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
@jurgen,
thanks,
however, testing it gives the following:
-sh: ./easy-server.sh: /bin/sh^M: bad interpreter: No such file or directory
what's wrong?
I am running DSM 6.2.1
thanks,
however, testing it gives the following:
-sh: ./easy-server.sh: /bin/sh^M: bad interpreter: No such file or directory
what's wrong?
I am running DSM 6.2.1
- Friday 26 October 2018 18:02
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
Thanks @jurgen, early June I had similar problems. I also found the 'old' link, removed it and was able to get the easy-server running again. However, I used to use pm2, as suggested in https://www.domoticz.com/wiki/NefitEasy Now I don't have pm2 any more and noticed it isn't needed any more ...
- Monday 08 October 2018 11:33
- Forum: PHP and all others
- Topic: back-up domoticz.db to a mysq db
- Replies: 23
- Views: 9623
Re: back-up domoticz.db to a mysq db
Update: waiting for my smart meter to be installed - Done Getting p1 data into domoticz - Done Understanding the php script in more detail so I can add other devices (non temp) - Not done Backing up history of p1 data into mysql - Not done What I don't understand from your temp2sql script is how ...
- Friday 08 June 2018 22:26
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
I removed the nefit easy http server, pm2 and npm (all via Putty access) and removed Node.js V8 (via synology package center) checking with node -v, npm -v, nothing there. Install Node.js V8 via package center node -v v8.9.4 npm -v v5.6.0 Then npm i nefit-easy-http-server -g gives npm WARN ...
- Friday 08 June 2018 18:10
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
There seems to be another / multiple problems. checking the npm version by typing npm config get prefix gave the following message /volume1/@appstore/Node.js_v8/usr/local ╭─────────────────────────────────────╮ │ │ │ Update available 5.6.0 → 6.1.0 │ │ Run npm i npm to update │ │ │ ╰────────────────── ...
- Thursday 07 June 2018 22:21
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
easy-server -v gives the following module.js:540 throw err; ^ Error: Cannot find module '@xmpp/connection' at Function.Module._resolveFilename (module.js:538:15) at Function.Module._load (module.js:468:25) at Module.require (module.js:587:17) at require (internal/module.js:11:18) at Object ...
- Thursday 07 June 2018 14:14
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
npm is upgraded to 5.6.0
A reboot of the diskstation did not help.
And some other piece of information. the pm2 show command tells me the neifteasyhttpserver is constantly restarting. Everytime i run the show command, it gives an increased number of restarts and an uptime of just a few seconds.
A reboot of the diskstation did not help.
And some other piece of information. the pm2 show command tells me the neifteasyhttpserver is constantly restarting. Everytime i run the show command, it gives an increased number of restarts and an uptime of just a few seconds.
- Tuesday 05 June 2018 16:50
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
Thanks, I have tried upgrading de server, npm, installed node.js v8 (can't remove v4 in synology because some other package depends on it..) re-installed the server sudo npm i nefit-easy-http-server -g But all no good. the pm2 error log is telling me stuff that i don't understand. Error: Cannot find ...
- Tuesday 05 June 2018 14:01
- Forum: Others
- Topic: Nefit Easy™
- Replies: 721
- Views: 176524
Re: Nefit Easy™
Hi, I am getting the Error getting http data! message. Restarting the nefiteasyhttpserver doesn't help. Last readout was 6 days ago. I am not aware of any software changes in the last week or so on my synology, no restarts, etc. Running Domoticz V3.8153 (jadahl) on Synology DS114, dsm 6.1.6 What ...
- Friday 11 May 2018 17:27
- Forum: PHP and all others
- Topic: back-up domoticz.db to a mysq db
- Replies: 23
- Views: 9623
Re: back-up domoticz.db to a mysq db
Adding the ip address or range to the domoticz exclusion list works for the curl command. I just read up on adding the curl command to the syno scheduler, before I saw your post: also works. And in the meantime I managed to view graphs of the data stored into the mysql database in Grafana (running ...
- Friday 11 May 2018 13:24
- Forum: PHP and all others
- Topic: back-up domoticz.db to a mysq db
- Replies: 23
- Views: 9623
Re: back-up domoticz.db to a mysq db
It al works :D I now used the curl command with the http://ip I believe yesterday I used curl with /volume1/web so that was what I did this morning. I have added the ip-range to the exclusion list in Domoticz, so that probably helped as well. Now on to further testing: see if new values are added ...
- Friday 11 May 2018 11:50
- Forum: PHP and all others
- Topic: back-up domoticz.db to a mysq db
- Replies: 23
- Views: 9623
Re: back-up domoticz.db to a mysq db
I did set the domoticz ip, port and idx's. switching the port between 8080 and 8084 (which is the port number I see when connecting to Domoticz through a browser) doesn't seem to do anything. Yes, I use authentication. However I suspect a glitch in Domoticz. I have added the ip addresses of my ...
- Thursday 10 May 2018 23:46
- Forum: PHP and all others
- Topic: back-up domoticz.db to a mysq db
- Replies: 23
- Views: 9623
Re: back-up domoticz.db to a mysq db
In webstation the back-end server is nginx and php is php 7, in php-settings for php7 the extension mysqli is checked. Did a reboot on the NAS. Using the php command I am getting the same error message. Using curl I am getting the following message: Unable to connect to database [connection refused ...
- Thursday 10 May 2018 22:14
- Forum: PHP and all others
- Topic: back-up domoticz.db to a mysq db
- Replies: 23
- Views: 9623
Re: back-up domoticz.db to a mysq db
I have installed the php7 package on my Synpology. And I am using Putty to access the NAS through my windows desktop, logging in as Admin. How do I check if the mysqli extension is enabled? The webserver option is something I am not familiar with. Webstation is automatically installed when ...
- Thursday 10 May 2018 20:57
- Forum: PHP and all others
- Topic: back-up domoticz.db to a mysq db
- Replies: 23
- Views: 9623
Re: back-up domoticz.db to a mysq db
using the first option I got the following result PHP Warning: Constants may only evaluate to scalar values in /volume1/blablabla/temphist2sql.php on line 11 Warning: Constants may only evaluate to scalar values in /volume1/blablabla/temphist2sql.php on line 11 PHP Fatal error: Class 'mysqli' not ...
- Thursday 10 May 2018 16:48
- Forum: PHP and all others
- Topic: back-up domoticz.db to a mysq db
- Replies: 23
- Views: 9623
Re: back-up domoticz.db to a mysq db
Thank you very much. I am going to test this and then put my comments in this thread. I understand some parts of it, and after a successful run hopefully more. A few (newbie) questions at front: I suppose I have to insert <?php into the first line? There is no define for the sqlserver:port? Line 61 ...
- Tuesday 08 May 2018 21:24
- Forum: PHP and all others
- Topic: back-up domoticz.db to a mysq db
- Replies: 23
- Views: 9623
Re: back-up domoticz.db to a mysq db
Suppose I want to go for option a? Is it possible to retrieve data directly from domoticz.db and insert it into a mariadb database? Using something like INSERT INTO temphistory (temperature, humidity, datetime) SELECT Temperature, Humidity, Date FROM domoticz.Temperature WHERE DeviceRowID = 2; and ...