[MyDomoAtHome] Support thread

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

Moderator: leecollings

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 »

@doler the nodejs is restarted with children's holidays free time for me ;-)

This is on another thread: viewtopic.php?f=21&t=8951&p=76176#p76176
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
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by Evelen »

Just installed MyDomoAtHome, but can't start it?
help
Image
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 »

@Eleven what gives:
sudo /etc/init.d/MyDomoAtHome.sh status

also do you see a running starman process ?

also try (as mentioned above):

Try to find and kill ALL mdah fork processes, by using following cmd ex.
sudo kill -9 `ps -ef |grep tarman |awk '{print $2}'`

then remove pid file:
sudo rm /var/run/MyDomoAtHome.pid
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
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by Evelen »

epierre wrote:@Eleven what gives:
sudo /etc/init.d/MyDomoAtHome.sh status

also do you see a running starman process ?

also try (as mentioned above):

Try to find and kill ALL mdah fork processes, by using following cmd ex.
sudo kill -9 `ps -ef |grep tarman |awk '{print $2}'`

then remove pid file:
sudo rm /var/run/MyDomoAtHome.pid

Hi
Image
*reboot*
Image
Image
(I'm not that great with linux)
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 »

@Doler I've tested on my PI B running Wheezy the script is fine on start/stop from my last commit on github, waiting from your infos on that.
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 »

@Evelen there is a quote and a backquote that is why you had terminating issues:
sudo kill -9 `ps -ef |grep tarman |awk '{print $2}'`

what gives you:
ps -ef |grep tarman

if no starman is running, try starting start2.sh to see if installation is successful or not
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
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by Evelen »

epierre wrote:@Evelen there is a quote and a backquote that is why you had terminating issues:
sudo kill -9 `ps -ef |grep tarman |awk '{print $2}'`

what gives you:
ps -ef |grep tarman

if no starman is running, try starting start2.sh to see if installation is successful or not

This is what I got
Image
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 »

@Evelen, do you have a MyDomoAtHome in the domoticz directory ? start2.sh is in this directory
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
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by Evelen »

epierre wrote:@Evelen, do you have a MyDomoAtHome in the domoticz directory ? start2.sh is in this directory
yes it is.
used the wiki install guide.
Image

PS: I run this on a virtual VMware ESXi server, and I have a backup for before i installed MyDomoAtHome
let me know whether you think I should try from the start again. (and how)
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 »

@Evelen well... how to say... this is weird.

normally a "git pull" should bring back some files but maybe the issue is elsewhere

try this, then try run-once.sh and then start2.sh again to see if this fixes this error which is fatal (you're the first to have it congratulations ;-)
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
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by Evelen »

heh :P
did not work


Image
Image
This is btw my config changes:
MyDomoAtHome.sh:
APP_DIR="/home/flemmingss/domoticz/"
config.yml:
domo_path: "http://localhost:8080"
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 »

@Evelen much better yet for missing files have been added.

edit start2.sh to match your /home/flemmingss/ and start it again
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
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 »

epierre wrote:@Doler I've tested on my PI B running Wheezy the script is fine on start/stop from my last commit on github, waiting from your infos on that.
Sorry, I've been occupied by some urgent family business. Gave it a short try on both my working version after git pull and a version after an update. I couldn't get it to work on both. If time permits I'll try a clean, new install tomorrow (still on Wheezie).
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
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by Evelen »

epierre wrote:@Evelen much better yet for missing files have been added.

edit start2.sh to match your /home/flemmingss/ and start it again
got this now
Image
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 »

@Evelen ok we advance, can you run ./update-mdah.sh there a missing lib
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
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 »

Doler wrote:
epierre wrote:@Doler I've tested on my PI B running Wheezy the script is fine on start/stop from my last commit on github, waiting from your infos on that.
Sorry, I've been occupied by some urgent family business. Gave it a short try on both my working version after git pull and a version after an update. I couldn't get it to work on both. If time permits I'll try a clean, new install tomorrow (still on Wheezy).
Ok, did a clean install (on Wheezy) following the wiki and everything is fine. Next is install on Jessie once I got that up and running, will be continued...
Thanks for the help so far, Mark
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
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by Evelen »

epierre wrote:@Evelen ok we advance, can you run ./update-mdah.sh there a missing lib
Hi.
Results:
Image
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 »

Installing on Jessie gives a problem. Output of run-once.sh (second time install so most is up-to-date):
Spoiler: show
pi@raspberrypi:~/domoticz/MyDomoAtHome $ sh ./run-once.sh
Will update packages list first...
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
libdancer-perl is already the newest version.
libdancer2-perl is already the newest version.
libfile-slurp-perl is already the newest version.
liblwp-protocol-psgi-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-format-strptime-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.
sudo: cpanm: command not found
Now installing the service
The installation stops with 'cpanm: command not found' which imho means that the plackserver cannot be installed. Any suggestion how to solve this?
Thanks, Mark
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 »

looks we had this issue on another VM try... no clue why...
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
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 »

epierre wrote:looks we had this issue on another VM try... no clue why...
Hmm...
If I do "dpkg -l | grep cpan" I get " libcpan-meta-perl (Perl module to access CPAN distributions meta data)" as a result. So there is something available? Could it be that the path is not correct? "echo $PATH" gives "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games", maybe there is something missing?
Thanks, Mark
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest