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.
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
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:~$
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
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:~$
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
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
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
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
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/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
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.
@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
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
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)