[MyDomoAtHome] Bêta version in nodeJS Topic is solved

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: RE: Re: RE: Re: [MyDomoAtHome] Bêta version in nodeJS

Post by Justintime »

epierre wrote:
Justintime wrote:
epierre wrote:@Iowca is that better now ? version 0.0.37 around with instll fixes

@Justintime thanks for the Wiki correction
have you tried accessing the html page http://192.168.1.165:3002 ?
YW for the wiki. I was stuck on that one. :)

Yes I can access the html page gateway.
In the other post you can see what it's reading.
When I change the json.htm in my internal ip and port it Wil stay on 127.0.0.1 in the html page. Is that correct?
The "intrernal page" just reflects your configuration in /etc/mydomoathome/config.json

if you click on the links here you should see the results based on this configuration.

If you call http://192.168.1.165:3002/devices you should have a result, not a 4xx or 5xx code
Nothing unfortunately i get connection refused.

Also changed the port in Nginx. But has nothing to do with internal connection I think.

Image
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

Hello,

Who is on 3002 ? nginx or MDAH ?
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by Justintime »

On 3002 is MDAh gateway page. But when i type 192.168.1.165:3002/devices it says connection refused. Like former post.

I changed the port for MDAH in the Nginx from 3001(old) to 3002.
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

@Justintime: sorry there is something I don't understand, please correct where I'm wrong:

PI 1 version
3001: Nginx redirecting to 3002
3002: MDAH new version
You can access http://192.168.1.165:3002 but not http://192.168.1.165:3002/devices

What do you have in:
sudo service mydomoathome status
ps ax | grep node
cat /var/log/mydomoathome/mdah.log
cat /var/log/mydomoathome/usage.log
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by stuiow »

I see the setup has changed for MDAH.
I've got issues installing MDAH at the moment.
Can anyone provide assistance with this?

Code: Select all

root@raspberrypi:~# sudo apt-get install MyDomoAtHome
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  MyDomoAtHome
1 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
Need to get 0 B/123 kB of archives.
After this operation, 827 kB disk space will be freed.
(Reading database ... 39733 files and directories currently installed.)
Preparing to unpack .../MyDomoAtHome_0.0.47_all.deb ...
dpkg: error processing archive /var/cache/apt/archives/MyDomoAtHome_0.0.47_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/MyDomoAtHome_0.0.47_all.deb
I tried deleting the archive folder but nothing changed, still ended in the same result above.
Stuart
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

are you installing it as root or sudoing ? sudoing is the only way at the moment
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by stuiow »

Logging in as a user rather than root comes up with this
Spoiler: show
pi@raspberrypi:~$ sudo apt-get install MyDomoAtHome
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
MyDomoAtHome
1 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
Need to get 0 B/123 kB of archives.
After this operation, 827 kB disk space will be freed.
(Reading database ... 39733 files and directories currently installed.)
Preparing to unpack .../MyDomoAtHome_0.0.47_all.deb ...
dpkg: error processing archive /var/cache/apt/archives/MyDomoAtHome_0.0.47_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/MyDomoAtHome_0.0.47_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~$
The errors also appear when trying to install npm
Spoiler: show
pi@raspberrypi:~$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up mydomoathome (0.0.26) ...
dpkg: error processing package mydomoathome (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mydomoathome
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~$
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

some reported issues before, can you install this ?

Code: Select all

wget -q http://www.e-nef.com/domoticz/mdah/nodejs_4.4.2_armhf.deb
    sudo dpkg -i nodejs_4.4.2_armhf.deb
    sudo apt-get install npm
    sudo npm install -g [email protected]
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by stuiow »

wget -q http://www.e-nef.com/domoticz/mdah/node ... _armhf.deb
Spoiler: show
pi@raspberrypi:~$ wget -q http://www.e-nef.com/domoticz/mdah/nodejs_4.4.2_armhf. deb
pi@raspberrypi:~$ sudo dpkg -i nodejs_4.4.2_armhf.deb
(Reading database ... 39733 files and directories currently installed.)
Preparing to unpack nodejs_4.4.2_armhf.deb ...
Unpacking nodejs (4.2.2) over (4.2.2) ...
Setting up nodejs (4.2.2) ...
Processing triggers for man-db (2.7.0.2-5) ...
pi@raspberrypi:~$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Abort.
pi@raspberrypi:~$
sudo dpkg -i nodejs_4.4.2_armhf.deb
Spoiler: show
pi@raspberrypi:~$ sudo dpkg -i nodejs_4.4.2_armhf.deb
(Reading database ... 39733 files and directories currently installed.)
Preparing to unpack nodejs_4.4.2_armhf.deb ...
Unpacking nodejs (4.2.2) over (4.2.2) ...
Setting up nodejs (4.2.2) ...
Processing triggers for man-db (2.7.0.2-5) ...
pi@raspberrypi:~$
sudo apt-get install npm
Spoiler: show
pi@raspberrypi:~$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up mydomoathome (0.0.26) ...
dpkg: error processing package mydomoathome (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mydomoathome
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~$
sudo npm install -g [email protected]
Spoiler: show
pi@raspberrypi:~$ sudo npm install -g [email protected]
pi@raspberrypi:~$
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

so bad I left a wrong line

Code: Select all

wget -q http://www.e-nef.com/domoticz/mdah/nodejs_4.4.2_armhf.deb
    sudo dpkg -i nodejs_4.4.2_armhf.deb
    sudo npm install -g [email protected]
so good, finish MDAH install
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by stuiow »

Spoiler: show
pi@raspberrypi:~$ wget -q http://www.e-nef.com/domoticz/mdah/node ... _armhf.deb
pi@raspberrypi:~$ sudo dpkg -i nodejs_4.4.2_armhf.deb
(Reading database ... 39748 files and directories currently installed.)
Preparing to unpack nodejs_4.4.2_armhf.deb ...
Unpacking nodejs (4.2.2) over (4.2.2) ...
Setting up nodejs (4.2.2) ...
Processing triggers for man-db (2.7.0.2-5) ...
pi@raspberrypi:~$ sudo npm install -g [email protected]
pi@raspberrypi:~$
I then sudo apt-get install MyDomoAtHome
Spoiler: show
pi@raspberrypi:~$ sudo apt-get install MyDomoAtHome
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
MyDomoAtHome
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 123 kB of archives.
After this operation, 827 kB disk space will be freed.
Get:1 http://www.e-nef.com/domoticz/mdah/ MyDomoAtHome 0.0.47 [123 kB]
Fetched 123 kB in 6s (18.8 kB/s)
(Reading database ... 39748 files and directories currently installed.)
Preparing to unpack .../MyDomoAtHome_0.0.47_all.deb ...
dpkg: error processing archive /var/cache/apt/archives/MyDomoAtHome_0.0.47_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/MyDomoAtHome_0.0.47_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~$
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

if there is /usr/local/bin node or npm remove it
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by stuiow »

Spoiler: show
node was in there, I deleted it.
Didn't result in any different response though, still getting the same error.
Spoiler: show
pi@raspberrypi:~$ sudo dpkg -i nodejs_4.4.2_armhf.deb
(Reading database ... 39748 files and directories currently installed.)
Preparing to unpack nodejs_4.4.2_armhf.deb ...
Unpacking nodejs (4.2.2) over (4.2.2) ...
Setting up nodejs (4.2.2) ...
Processing triggers for man-db (2.7.0.2-5) ...
pi@raspberrypi:~$ sudo npm install -g [email protected]
pi@raspberrypi:~$ sudo apt-get install MyDomoAtHome
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
MyDomoAtHome
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 123 kB of archives.
After this operation, 827 kB disk space will be freed.
Get:1 http://www.e-nef.com/domoticz/mdah/ MyDomoAtHome 0.0.47 [123 kB]
Fetched 123 kB in 0s (143 kB/s)
(Reading database ... 39748 files and directories currently installed.)
Preparing to unpack .../MyDomoAtHome_0.0.47_all.deb ...
dpkg: error processing archive /var/cache/apt/archives/MyDomoAtHome_0.0.47_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/MyDomoAtHome_0.0.47_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~$
I did delete MyDomoAtHome_0.0.47_all.deb from the /var/cache/apt/archives folder too, so it can get a fresh copy. (well that's my thinking) - but no difference in result
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by stuiow »

Still working on things, but using this commands gives me more success.

Code: Select all

sudo apt-get install nodejs
Then

Code: Select all

sudo npm install -g [email protected]

Then

Code: Select all

sudo apt-get install MyDomoAtHome  
Its still install the above line, but not got that far before!
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by stuiow »

Ok, quick update, its working. All URL's appear to work, my mobile is talking to MDAH and I can switch switches and view live data.

Here is as much of my command window as I could paste to show what I did.
Spoiler: show
Errors were encountered while processing:
mydomoathome
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~$ sudo npm install -g [email protected]
sudo: npm: command not found
pi@raspberrypi:~$ sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ax25-node libax25 libfile-copy-recursive-perl openbsd-inetd update-inetd
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
rlwrap
The following packages will be REMOVED:
node npm
The following NEW packages will be installed:
rlwrap
The following packages will be upgraded:
nodejs
1 upgraded, 1 newly installed, 2 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 7,902 kB of archives.
After this operation, 3,347 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main rlwrap armhf 0.41-1 [70.3 kB]
Get:2 https://deb.nodesource.com/node_4.x/ jessie/main nodejs armhf 4.4.0-1nodesource1~jessie1 [7,832 kB]
Fetched 7,902 kB in 7s (1,057 kB/s)
(Reading database ... 39748 files and directories currently installed.)
Removing npm (2.14.7) ...
Removing node (0.3.2-7.4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Selecting previously unselected package rlwrap.
(Reading database ... 37233 files and directories currently installed.)
Preparing to unpack .../rlwrap_0.41-1_armhf.deb ...
Unpacking rlwrap (0.41-1) ...
Preparing to unpack .../nodejs_4.4.0-1nodesource1~jessie1_armhf.deb ...
Unpacking nodejs (4.4.0-1nodesource1~jessie1) over (4.2.2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up rlwrap (0.41-1) ...
update-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode
Setting up nodejs (4.4.0-1nodesource1~jessie1) ...
Setting up mydomoathome (0.0.26) ...
[email protected] node_modules/npm-install-missing
âââ [email protected] ([email protected])
âââ [email protected]
/var/lib/dpkg/info/mydomoathome.postinst: line 11: npm-install-missing: command not found
dpkg: error processing package mydomoathome (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
mydomoathome
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
npm : Depends: nodejs but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
pi@raspberrypi:~$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
npm : Depends: nodejs but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
pi@raspberrypi:~$ sudo apt-get upgrade npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
nodejs : Conflicts: npm
E: Broken packages
pi@raspberrypi:~$ sudo npm install -g [email protected]
/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
[email protected] /usr/lib/node_modules/npm
pi@raspberrypi:~$ sudo apt-get install MyDomoAtHome
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ax25-node libax25 libfile-copy-recursive-perl openbsd-inetd update-inetd
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
MyDomoAtHome
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/123 kB of archives.
After this operation, 827 kB disk space will be freed.
(Reading database ... 40509 files and directories currently installed.)
Preparing to unpack .../MyDomoAtHome_0.0.47_all.deb ...
Unpacking mydomoathome (0.0.47) over (0.0.26) ...
Processing triggers for systemd (215-17+deb8u3) ...
Setting up mydomoathome (0.0.47) ...
npm WARN optional dep failed, continuing [email protected]
[email protected] node_modules/basic-auth

[email protected] node_modules/underscore

[email protected] node_modules/cors
âââ [email protected]

[email protected] node_modules/method-override
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected] ([email protected])

[email protected] node_modules/morgan
âââ [email protected]
âââ [email protected]
âââ [email protected] ([email protected])
âââ [email protected] ([email protected])

[email protected] node_modules/express-session
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected] ([email protected])
âââ [email protected] ([email protected])

[email protected] node_modules/body-parser
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected] ([email protected])
âââ [email protected]
âââ [email protected] ([email protected])
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected])
âââ [email protected]
âââ [email protected] ([email protected], [email protected])

[email protected] node_modules/errorhandler
âââ [email protected]
âââ [email protected] ([email protected], [email protected])

[email protected] node_modules/ejs

[email protected] node_modules/express
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected] ([email protected])
âââ [email protected] ([email protected])
âââ [email protected] ([email protected])
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/winston
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]

[email protected] node_modules/sync-request
âââ [email protected]
âââ [email protected] ([email protected], [email protected], [email protected])
âââ [email protected] ([email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/multer
âââ [email protected]
âââ [email protected]
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected])

[email protected] node_modules/nconf
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/request
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected] ([email protected])
âââ [email protected] ([email protected])
âââ [email protected] ([email protected])
âââ [email protected] ([email protected])
âââ [email protected] ([email protected])
âââ [email protected] ([email protected], [email protected], [email protected], [email protected])
âââ [email protected] ([email protected], [email protected], [email protected])
âââ [email protected] ([email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/forever
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected]
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
âââ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
âââ [email protected] ([email protected], [email protected], [email protected])
âââ [email protected] ([email protected], [email protected])
âââ [email protected] ([email protected], [email protected], [email protected], [email protected])
âââ [email protected] ([email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/moment
Synchronizing state for mydomoathome.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d mydomoathome defaults
Executing /usr/sbin/update-rc.d mydomoathome enable
pi@raspberrypi:~$ sudo service mydomoathome restart
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by Justintime »

Dont ask me how i did it. But Stuiow helped me a bit on the way with his ssh put outs... I saw some same errors coming by.

So i am running too.

Three issues:
-I am missing a blinds Switch
- Delivered power today is not showing. (mysensors)
- Today used water (mysensor) is trange by the way because water flow is visable
How can i help to deliver you the data you need to investigate.
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

@justintime I need the /json.htm?type=devices&filter=all&used=true&order=Name for those devices missing (points 1 and 2)
for the 3rd, I would need the above plus what you would expect to see from it
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by Justintime »

epierre wrote:@justintime I need the /json.htm?type=devices&filter=all&used=true&order=Name for those devices missing (points 1 and 2)
for the 3rd, I would need the above plus what you would expect to see from it

Okay here we go:

Roller blinds switch:
Spoiler: show
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Closed",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 3,
"HardwareName" : "RFXCOM",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : false,
"HaveGroupCmd" : false,
"HaveTimeout" : false,
"ID" : "009A25",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2016-03-28 20:15:03",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 0,
"Name" : "Duo Rolgordijn",
"Notifications" : "false",
"PlanID" : "2",
"PlanIDs" : [ 2 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Closed",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "RollerTrol, Hasta new",
"SwitchType" : "Venetian Blinds EU",
"SwitchTypeVal" : 15,
"Timers" : "true",
"Type" : "Blinds",
"TypeImg" : "blinds",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "153",
"YOffset" : "885",
"idx" : "14"
ENergy counter missing "counter today"
Spoiler: show
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "395.215",
"CounterDeliv" : "0.000",
"CounterDelivToday" : "0.000 kWh",
"CounterToday" : "11.472 kWh",
"CustomImage" : 0,
"Data" : "175750;219465;0;0;404;0",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 22,
"HardwareName" : "Elektra usb",
"HardwareType" : "P1 Smart Meter USB",
"HardwareTypeVal" : 4,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2016-03-28 22:41:09",
"Name" : "Power",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "404 Watt",
"UsageDeliv" : "0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "287"
Water: missing "data"or "counter" and missing "counter today"
Spoiler: show
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "90.386 m3",
"CounterToday" : "447 Liter",
"CustomImage" : 0,
"Data" : "90.386 m3",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 19,
"HardwareName" : "Mysensors",
"HardwareType" : "MySensors Gateway USB",
"HardwareTypeVal" : 41,
"HaveTimeout" : false,
"ID" : "0601",
"LastUpdate" : "2016-03-28 21:53:40",
"Name" : "Water Meter",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "RFXMeter counter",
"SwitchTypeVal" : 2,
"Timers" : "false",
"Type" : "RFXMeter",
"TypeImg" : "counter",
"Unit" : 0,
"Used" : 1,
"ValueQuantity" : "",
"ValueUnits" : "",
"XOffset" : "0",
"YOffset" : "0",
"idx" : "133"
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

Energy counter missing "counter today": this is a new P1 Meter, we have a discussion on what to display for this for there are many data in it, proposal was to make this:
"Counter":"7506.026", --> Energy usage total (=data1+data2)
"CounterDeliv":"5372.345", --> Energy return total (=data3+data4)
"CounterDelivToday":"11.069 kWh", --> Energy return today
"CounterToday":"3.427 kWh", --> Energy usage today
"Unit":1,"Usage":"0 Watt", --> Energy usage current (=data5)
"UsageDeliv":"1020 Watt", --> Energy return current (=data6)
I've set 3 issues to track this: https://github.com/empierre/MyDomoAtHome/issues
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

@Justintime 0.0.49 should correct this one: Roller blinds switch
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests