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.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
[MyDomoAtHome] Support thread
Moderator: leecollings
-
- Posts: 81
- Joined: Tuesday 03 November 2015 5:07
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: [MyDomoAtHome] Support thread
Re: [MyDomoAtHome] Support thread
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.
-
- Posts: 115
- Joined: Saturday 21 December 2013 23:50
- Target OS: Linux
- Domoticz version:
- Location: Scotland
- Contact:
Re: [MyDomoAtHome] Support thread
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?
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.
Re: [MyDomoAtHome] Support thread
Any progress epierre on syno
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
there is already a process running on the 3001 port, kill it and restart mdahPatrick 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?
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
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
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
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
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
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
-
- Posts: 17
- Joined: Friday 13 November 2015 23:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2.3586
- Contact:
Re: [MyDomoAtHome] Support thread
Hi
I am having some trouble with my MyDomoAtHome installation. Can anybody give me a hint of what to do?
Best regards
Vilpih
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
Vilpih
-
- 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
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.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
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
-
- Posts: 17
- Joined: Friday 13 November 2015 23:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2.3586
- Contact:
Re: [MyDomoAtHome] Support thread
Hi, thanks for your reply!
I got a little further now but I am still getting some errors in the end:
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 $
-
- Posts: 17
- Joined: Friday 13 November 2015 23:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2.3586
- Contact:
Re: [MyDomoAtHome] Support thread
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!
-
- 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
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.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 $
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
-
- 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
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.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!
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
-
- Posts: 17
- Joined: Friday 13 November 2015 23:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2.3586
- Contact:
Re: [MyDomoAtHome] Support thread
Without sudo I got a permission denied, when trying to start the serviceDoler wrote: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.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!
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 $
Doler wrote: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.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!
Skickat från min D6603 via Tapatalk
-
- Posts: 3
- Joined: Sunday 15 November 2015 22:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [MyDomoAtHome] Support thread
Hi everyone,
After installing the MyDomoAtHome gateway (port 3001) - on my RasPi with Domoticz installed - I start the gateway using the command.
It gets started but after a few seconds the service is stopped.
When I execute the command
I get the following message:
I cannot find anything regarding this error message on this forum.
Can anyone help me with this?
Thanks in advance...
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
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
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.
Can anyone help me with this?
Thanks in advance...
-
- 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
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.vilpih wrote: Editing MyDomoAtHome.pid need root. Should I change that?
Skickat från min D6603 via Tapatalk
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
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
@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)
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
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
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
[quote="harmenklok"]
(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)
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.
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
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
-
- Posts: 17
- Joined: Friday 13 November 2015 23:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2.3586
- Contact:
Re: [MyDomoAtHome] Support thread
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:
Starting service
Updating
Docker pull:
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
Code: Select all
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.
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
Code: Select all
pi@raspberrypi ~/domoticz/MyDomoAtHome $ docker pull epierre/mydomoathome
-bash: docker: command not found
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
looks good, if you don't need docker don't use it (at least on a PI)vilpih wrote:Hi again
I did a fresh install by removing old MyDomoAtHome and followed the guide on: https://github.com/empierre/MyDomoAtHome.
Starting serviceDocker pull:Code: Select all
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh start [ ok ] Starting plack server: MyDomoAtHome.
Code: Select all
pi@raspberrypi ~/domoticz/MyDomoAtHome $ docker pull epierre/mydomoathome -bash: docker: command not found
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
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
-
- Posts: 3
- Joined: Sunday 15 November 2015 22:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [MyDomoAtHome] Support thread
Allready tried rerunning run_once.sh no luck.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)
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!
Seems like anothertry has the same issue: http://www.domoticz.com/forum/viewtopic.php?f=6&t=8927
Who is online
Users browsing this forum: No registered users and 0 guests