[MyDomoAtHome] Support thread

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

Moderator: leecollings

raym
Posts: 81
Joined: Tuesday 03 November 2015 5:07
Target OS: Linux
Domoticz version: beta
Contact:

Re: [MyDomoAtHome] Support thread

Post by raym »

epierre wrote:IMPORTANT ANNOUNCE

Hello All,

I am facing technical difficulties porting the Perl Dancer to Synology and getting support for this.

I am considering migrating it to nodejs for it has a very good support, and technically is not very far from what I already did (those frameworks are so close)... but this means heavy rework and testing... and a tunnel effect.

1- Have you any *important* issues already identified or not, that would require to be corrected in the current versions ?

2- Are there people here that would help me in testing the new app installation procedure and workings ?

Thanks in advance,

Emmanuel
Hi Emmanuel, I'm more than happy to help out in any way I can but unfortunately, I don't have synology. I'm happy to test for linux.
kinghuzi
Posts: 18
Joined: Tuesday 10 November 2015 11:47
Target OS: -
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by kinghuzi »

epierre wrote:IMPORTANT ANNOUNCE

Hello All,

I am facing technical difficulties porting the Perl Dancer to Synology and getting support for this.

I am considering migrating it to nodejs for it has a very good support, and technically is not very far from what I already did (those frameworks are so close)... but this means heavy rework and testing... and a tunnel effect.

1- Have you any *important* issues already identified or not, that would require to be corrected in the current versions ?

2- Are there people here that would help me in testing the new app installation procedure and workings ?

Thanks in advance,

Emmanuel

Hi. Will love to help.
thebeetleuk
Posts: 115
Joined: Saturday 21 December 2013 23:50
Target OS: Linux
Domoticz version:
Location: Scotland
Contact:

Re: [MyDomoAtHome] Support thread

Post by thebeetleuk »

Hi All,

I have this up and running but I'm wondering if we have a way to predefine a template when the end user connects? I have an iphone and ipad and I need to add devices on both. It would be good to set this at server side. Is this possible?
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
kinghuzi
Posts: 18
Joined: Tuesday 10 November 2015 11:47
Target OS: -
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by kinghuzi »

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

Re: [MyDomoAtHome] Support thread

Post by epierre »

Patrick wrote:Hello,

after a fresh install of Domoticz and MDAH, MDAH isn't working like it used to.
When I request http://192.168.2.20:3001/devices in a browser the response is:
{
exception: "Could not create socket: Invalid argument ",
error: "Could not create socket: Invalid argument "
}

Can anyone help?
there is already a process running on the 3001 port, kill it and restart 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
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Hello,

all is going as planned, the devices are all reported, first switch activation yesterday is already in.

You can see the basic here:
https://github.com/empierre/MyDomoAtHome/tree/nodejs
https://www.npmjs.com/package/mydomoathome

What remains to be done:
- finish all actions
- add data for graphs
- manage end to end authentication with domoticz
- make installation scripts
- make startup scripts
- make Docker image
- make debian package
- make synology package
- make an UI to configure without going to the command line
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
vilpih
Posts: 17
Joined: Friday 13 November 2015 23:14
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3586
Contact:

Re: [MyDomoAtHome] Support thread

Post by vilpih »

Hi

I am having some trouble with my MyDomoAtHome installation. Can anybody give me a hint of what to do?

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo sh run-once.sh
Will update packages list first...
Now getting the needed software...
Now getting getting and installing dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
cpanminus is already the newest version.
libdancer-perl is already the newest version.
libfile-slurp-perl is already the newest version.
liblwp-protocol-psgi-perl is already the newest version.
libswitch-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'perl' instead of 'libtime-piece-perl'
libcrypt-ssleay-perl is already the newest version.
libdatetime-perl is already the newest version.
libjson-perl is already the newest version.
libplack-perl is already the newest version.
perl is already the newest version.
starman is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdbd-sqlite3-perl is already the newest version.
libdbi-perl is already the newest version.
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libaudio-mpd-perl is already the newest version.
libnet-upnp-perl is already the newest version.
libpoe-component-client-mpd-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Time::Moment is up to date. (0.36)
Now fixing directories rights...
Now improving graph performance in Domoticz...
./speedUp.sh: 2: cd: can't cd to /root/domoticz
Reading package lists... Done
Building dependency tree
Reading state information... Done
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Error: near line 1: no such table: main.MultiMeter
Error: near line 2: no such table: main.Meter
Error: near line 3: no such table: main.Temperature
Error: near line 4: no such table: main.Rain
Error: near line 5: no such table: main.Wind
Error: near line 6: no such table: main.LightingLog
Error: near line 7: no such table: main.Percentage
Error: near line 8: no such table: main.MultiMeter_Calendar
Error: near line 9: no such table: main.Meter_Calendar
Error: near line 10: no such table: main.Temperature_Calendar
Error: near line 11: no such table: main.Rain_Calendar
Error: near line 12: no such table: main.Wind_Calendar
Error: near line 13: no such table: main.Percentage_Calendar
Now installing the service
update-rc.d: using dependency based boot sequencing
Best regards
Vilpih
Doler
Posts: 142
Joined: Friday 31 July 2015 21:02
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sint-Oedenrode, Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Doler »

vilpih wrote:Hi

I am having some trouble with my MyDomoAtHome installation. Can anybody give me a hint of what to do?

Best regards
Vilpih
Trying :) In the middel of the code it says: can't cd to /root/domoticz. Maybe this causes a problem since domoticz is in /home/pi.
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
vilpih
Posts: 17
Joined: Friday 13 November 2015 23:14
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3586
Contact:

Re: [MyDomoAtHome] Support thread

Post by vilpih »

Hi, thanks for your reply!

I got a little further now but I am still getting some errors in the end:

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo sh run-once.sh
Will update packages list first...
Now getting the needed software...
Now getting getting and installing dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
cpanminus is already the newest version.
libdancer-perl is already the newest version.
libfile-slurp-perl is already the newest version.
liblwp-protocol-psgi-perl is already the newest version.
libswitch-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'perl' instead of 'libtime-piece-perl'
libcrypt-ssleay-perl is already the newest version.
libdatetime-perl is already the newest version.
libjson-perl is already the newest version.
libplack-perl is already the newest version.
perl is already the newest version.
starman is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdbd-sqlite3-perl is already the newest version.
libdbi-perl is already the newest version.
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libaudio-mpd-perl is already the newest version.
libnet-upnp-perl is already the newest version.
libpoe-component-client-mpd-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Time::Moment is up to date. (0.36)
Now fixing directories rights...
Now improving graph performance in Domoticz...
Reading package lists... Done
Building dependency tree
Reading state information... Done
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Error: near line 1: index IX_MM_ID_DATE already exists
Error: near line 2: index IX_M_ID_DATE already exists
Error: near line 3: index IX_Temp_ID_DATE already exists
Error: near line 4: index IX_Rain_ID_DATE already exists
Error: near line 5: index IX_Wind_ID_DATE already exists
Error: near line 6: index IX_LightingLog_ID_DATE already exists
Error: near line 7: index IX_Percentage_ID_DATE already exists
Error: near line 8: index IX_CAL_MM_ID_DATE already exists
Error: near line 9: index IX_CAL_M_ID_DATE already exists
Error: near line 10: index IX_CAL_Temp_ID_DATE already exists
Error: near line 11: index IX_CAL_Rain_ID_DATE already exists
Error: near line 12: index IX_CAL_Wind_ID_DATE already exists
Error: near line 13: index IX_CAL_Percentage_ID_DATE already exists
Now installing the service
update-rc.d: using dependency based boot sequencing
pi@raspberrypi ~/domoticz/MyDomoAtHome $
vilpih
Posts: 17
Joined: Friday 13 November 2015 23:14
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3586
Contact:

Re: [MyDomoAtHome] Support thread

Post by vilpih »

when starting it upp it looks OK, but since I cant stop it I doubt it is working OK

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh stop
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 2846: No such process
start-stop-daemon: warning: failed to kill 2846: No such process
 failed!
Doler
Posts: 142
Joined: Friday 31 July 2015 21:02
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sint-Oedenrode, Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Doler »

vilpih wrote:Hi, thanks for your reply!

I got a little further now but I am still getting some errors in the end:

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo sh run-once.sh
Will update packages list first...
Now getting the needed software...
Now getting getting and installing dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
cpanminus is already the newest version.
libdancer-perl is already the newest version.
libfile-slurp-perl is already the newest version.
liblwp-protocol-psgi-perl is already the newest version.
libswitch-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'perl' instead of 'libtime-piece-perl'
libcrypt-ssleay-perl is already the newest version.
libdatetime-perl is already the newest version.
libjson-perl is already the newest version.
libplack-perl is already the newest version.
perl is already the newest version.
starman is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdbd-sqlite3-perl is already the newest version.
libdbi-perl is already the newest version.
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libaudio-mpd-perl is already the newest version.
libnet-upnp-perl is already the newest version.
libpoe-component-client-mpd-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Time::Moment is up to date. (0.36)
Now fixing directories rights...
Now improving graph performance in Domoticz...
Reading package lists... Done
Building dependency tree
Reading state information... Done
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Error: near line 1: index IX_MM_ID_DATE already exists
Error: near line 2: index IX_M_ID_DATE already exists
Error: near line 3: index IX_Temp_ID_DATE already exists
Error: near line 4: index IX_Rain_ID_DATE already exists
Error: near line 5: index IX_Wind_ID_DATE already exists
Error: near line 6: index IX_LightingLog_ID_DATE already exists
Error: near line 7: index IX_Percentage_ID_DATE already exists
Error: near line 8: index IX_CAL_MM_ID_DATE already exists
Error: near line 9: index IX_CAL_M_ID_DATE already exists
Error: near line 10: index IX_CAL_Temp_ID_DATE already exists
Error: near line 11: index IX_CAL_Rain_ID_DATE already exists
Error: near line 12: index IX_CAL_Wind_ID_DATE already exists
Error: near line 13: index IX_CAL_Percentage_ID_DATE already exists
Now installing the service
update-rc.d: using dependency based boot sequencing
pi@raspberrypi ~/domoticz/MyDomoAtHome $
I have the same errors on indexes when running update-mdah.sh but without further consequences (i.e. ImperiHome runs fine). Maybe @epierre can shed a light on this.
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
Doler
Posts: 142
Joined: Friday 31 July 2015 21:02
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sint-Oedenrode, Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Doler »

vilpih wrote:when starting it upp it looks OK, but since I cant stop it I doubt it is working OK

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh stop
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 2846: No such process
start-stop-daemon: warning: failed to kill 2846: No such process
 failed!
I think you're right that mdah is not running. I also see that you did run run-once.sh and MyDomoAtHome.sh using sudo. That shouldn't be necessary and maybe you'd check owner rights on the MyDomoAtHome directory en subs.
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
vilpih
Posts: 17
Joined: Friday 13 November 2015 23:14
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3586
Contact:

Re: [MyDomoAtHome] Support thread

Post by vilpih »

Doler wrote:
vilpih wrote:when starting it upp it looks OK, but since I cant stop it I doubt it is working OK

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh stop
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 2846: No such process
start-stop-daemon: warning: failed to kill 2846: No such process
 failed!
I think you're right that mdah is not running. I also see that you did run run-once.sh and MyDomoAtHome.sh using sudo. That shouldn't be necessary and maybe you'd check owner rights on the MyDomoAtHome directory en subs.
Without sudo I got a permission denied, when trying to start the service

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ service MyDomoAtHome.sh start
[....] Starting plack server: MyDomoAtHomestart-stop-daemon: unable to open pidfile '/var/run/MyDomoAtHome.pid' for writing (Permission denied)
. ok
pi@raspberrypi ~/domoticz/MyDomoAtHome $
Editing MyDomoAtHome.pid need root. Should I change that?
Doler wrote:
vilpih wrote:when starting it upp it looks OK, but since I cant stop it I doubt it is working OK

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh stop
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 2846: No such process
start-stop-daemon: warning: failed to kill 2846: No such process
 failed!
I think you're right that mdah is not running. I also see that you did run run-once.sh and MyDomoAtHome.sh using sudo. That shouldn't be necessary and maybe you'd check owner rights on the MyDomoAtHome directory en subs.

Skickat från min D6603 via Tapatalk
harmenklok
Posts: 3
Joined: Sunday 15 November 2015 22:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by harmenklok »

Hi everyone,

After installing the MyDomoAtHome gateway (port 3001) - on my RasPi with Domoticz installed - I start the gateway using the

Code: Select all

sudo service MyDomoAtHome.sh start
command.
It gets started but after a few seconds the service is stopped.

When I execute the command

Code: Select all

sudo /usr/bin/plackup -E production -s Starman --workers=4 -p 3001 -a /home/pi/domoticz/MyDomoAtHome/bin/app.pl --pid /tmp/mydomoathome.pid
I get the following message:

Code: Select all

Error while loading /home/pi/domoticz/MyDomoAtHome/bin/app.pl: core - serializer - JSON is needed and is not installed at /usr/share/perl5/Dancer/Serializer.pm line 31
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 19.
I cannot find anything regarding this error message on this forum.
Can anyone help me with this?

Thanks in advance...
Doler
Posts: 142
Joined: Friday 31 July 2015 21:02
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sint-Oedenrode, Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Doler »

vilpih wrote: Editing MyDomoAtHome.pid need root. Should I change that?
Skickat från min D6603 via Tapatalk
No, you shouldn't do that. You did it right after all using sudo, it changed from earlier instructions. Besides, I have the MyDomoAtHome.pid (with root rights) at another place so probably we cannot compare our instances. I'm out of ideas, you should ask @epierre for further help.
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

@all do not sudo when installing (run-once.sh or update-mdah.sh) since the sudo is already in it when needed otherwise some parts won't be installed near your dear domoticz.

please follow the instructions here only :

https://github.com/empierre/MyDomoAtHome

service starting is a root privilege, so a sudo is mandatory (see instruction above on that too)
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] Support thread

Post by epierre »

[quote="harmenklok"]

Code: Select all

Error while loading /home/pi/domoticz/MyDomoAtHome/bin/app.pl: core - serializer - JSON is needed and is not installed at /usr/share/perl5/Dancer/Serializer.pm line 31
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 19.
(quote]

try running again run-once.sh for it is a basic package that appears missing (why ? I don't know, that never happened before--- check if your omoticz image was correctly flashed that issue can happen)
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
vilpih
Posts: 17
Joined: Friday 13 November 2015 23:14
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.3586
Contact:

Re: [MyDomoAtHome] Support thread

Post by vilpih »

Hi again

I did a fresh install by removing old MyDomoAtHome and followed the guide on: https://github.com/empierre/MyDomoAtHome.

Please tell me what I am doing wrong.

Run-once:

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sh ./run-once.sh
Will update packages list first...
Now getting the needed software...
Now getting getting and installing dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
cpanminus is already the newest version.
libdancer-perl is already the newest version.
libfile-slurp-perl is already the newest version.
liblwp-protocol-psgi-perl is already the newest version.
libswitch-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'perl' instead of 'libtime-piece-perl'
libcrypt-ssleay-perl is already the newest version.
libdatetime-perl is already the newest version.
libjson-perl is already the newest version.
libplack-perl is already the newest version.
perl is already the newest version.
starman is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdbd-sqlite3-perl is already the newest version.
libdbi-perl is already the newest version.
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libaudio-mpd-perl is already the newest version.
libnet-upnp-perl is already the newest version.
libpoe-component-client-mpd-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Time::Moment is up to date. (0.36)
Now fixing directories rights...
Now improving graph performance in Domoticz...
Reading package lists... Done
Building dependency tree
Reading state information... Done
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Error: near line 1: index IX_MM_ID_DATE already exists
Error: near line 2: index IX_M_ID_DATE already exists
Error: near line 3: index IX_Temp_ID_DATE already exists
Error: near line 4: index IX_Rain_ID_DATE already exists
Error: near line 5: index IX_Wind_ID_DATE already exists
Error: near line 6: index IX_LightingLog_ID_DATE already exists
Error: near line 7: index IX_Percentage_ID_DATE already exists
Error: near line 8: index IX_CAL_MM_ID_DATE already exists
Error: near line 9: index IX_CAL_M_ID_DATE already exists
Error: near line 10: index IX_CAL_Temp_ID_DATE already exists
Error: near line 11: index IX_CAL_Rain_ID_DATE already exists
Error: near line 12: index IX_CAL_Wind_ID_DATE already exists
Error: near line 13: index IX_CAL_Percentage_ID_DATE already exists
Now installing the service
update-rc.d: using dependency based boot sequencing
Starting service

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
Updating

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sh ./update-mdah.sh
Stoping MyDomoAtHome service...
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 3136: No such process
start-stop-daemon: warning: failed to kill 3136: No such process
 failed!
Retrieving latest code...
remote: Counting objects: 33, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 33 (delta 1), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (33/33), done.
From https://github.com/empierre/MyDomoAtHome
   9a7ae3c..c73aa4c  nodejs     -> origin/nodejs
Already up-to-date.
Setting directories rights...
Checking latest libraries dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
cpanminus is already the newest version.
libaudio-mpd-perl is already the newest version.
libnet-upnp-perl is already the newest version.
libpoe-component-client-mpd-perl is already the newest version.
whiptail is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'perl' instead of 'libtime-piece-perl'
libcrypt-ssleay-perl is already the newest version.
libdatetime-perl is already the newest version.
libjson-perl is already the newest version.
libplack-perl is already the newest version.
libswitch-perl is already the newest version.
perl is already the newest version.
starman is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Error: near line 1: index IX_MM_ID_DATE already exists
Error: near line 2: index IX_M_ID_DATE already exists
Error: near line 3: index IX_Temp_ID_DATE already exists
Error: near line 4: index IX_Rain_ID_DATE already exists
Error: near line 5: index IX_Wind_ID_DATE already exists
Error: near line 6: index IX_LightingLog_ID_DATE already exists
Error: near line 7: index IX_Percentage_ID_DATE already exists
Error: near line 8: index IX_CAL_MM_ID_DATE already exists
Error: near line 9: index IX_CAL_M_ID_DATE already exists
Error: near line 10: index IX_CAL_Temp_ID_DATE already exists
Error: near line 11: index IX_CAL_Rain_ID_DATE already exists
Error: near line 12: index IX_CAL_Wind_ID_DATE already exists
Error: near line 13: index IX_CAL_Percentage_ID_DATE already exists
Time::Moment is up to date. (0.36)
Restarting MyDomoAtHome service...
[ ok ] Starting plack server: MyDomoAtHome.
Update path finished
Docker pull:

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ docker pull epierre/mydomoathome
-bash: docker: command not found
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

vilpih wrote:Hi again

I did a fresh install by removing old MyDomoAtHome and followed the guide on: https://github.com/empierre/MyDomoAtHome.

Starting service

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
Docker pull:

Code: Select all

pi@raspberrypi ~/domoticz/MyDomoAtHome $ docker pull epierre/mydomoathome
-bash: docker: command not found
looks good, if you don't need docker don't use it (at least on a PI)

have you configured imperihome yet ?
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
harmenklok
Posts: 3
Joined: Sunday 15 November 2015 22:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by harmenklok »

epierre wrote:try running again run-once.sh for it is a basic package that appears missing (why ? I don't know, that never happened before--- check if your omoticz image was correctly flashed that issue can happen)
Allready tried rerunning run_once.sh no luck.
Now flashed the domoticz-raspberrypi-sdcard-3530.7z package again on the sd card.
Domoticz is running fine now, but when I perform the steps on the wiki I get the following error when starting:

Code: Select all

 pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[....] Starting plack server: MyDomoAtHomestart-stop-daemon: unable to stat /usr/bin/plackup (No such file or directory)
 failed!
This seems an even more basic error.
Seems like anothertry has the same issue: http://www.domoticz.com/forum/viewtopic.php?f=6&t=8927
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests