Page 16 of 55

Re: [MyDomoAtHome] Support thread

Posted: Saturday 07 November 2015 23:22
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.

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 10 November 2015 11:52
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.

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 10 November 2015 21:46
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?

Re: [MyDomoAtHome] Support thread

Posted: Thursday 12 November 2015 10:56
by kinghuzi
Any progress epierre on syno

Re: [MyDomoAtHome] Support thread

Posted: Friday 13 November 2015 9:11
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

Re: [MyDomoAtHome] Support thread

Posted: Friday 13 November 2015 9:20
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

Re: [MyDomoAtHome] Support thread

Posted: Saturday 14 November 2015 0:17
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

Re: [MyDomoAtHome] Support thread

Posted: Sunday 15 November 2015 15:15
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.

Re: [MyDomoAtHome] Support thread

Posted: Sunday 15 November 2015 17:19
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 $

Re: [MyDomoAtHome] Support thread

Posted: Sunday 15 November 2015 17:55
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!

Re: [MyDomoAtHome] Support thread

Posted: Sunday 15 November 2015 20:17
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.

Re: [MyDomoAtHome] Support thread

Posted: Sunday 15 November 2015 20:21
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.

Re: [MyDomoAtHome] Support thread

Posted: Sunday 15 November 2015 22:31
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

Re: [MyDomoAtHome] Support thread

Posted: Sunday 15 November 2015 23:03
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...

Re: [MyDomoAtHome] Support thread

Posted: Sunday 15 November 2015 23:26
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.

Re: [MyDomoAtHome] Support thread

Posted: Monday 16 November 2015 11:57
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)

Re: [MyDomoAtHome] Support thread

Posted: Monday 16 November 2015 11:59
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)

Re: [MyDomoAtHome] Support thread

Posted: Monday 16 November 2015 22:19
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

Re: [MyDomoAtHome] Support thread

Posted: Monday 16 November 2015 22:27
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 ?

Re: [MyDomoAtHome] Support thread

Posted: Monday 16 November 2015 22:49
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