[MyDomoAtHome] Support thread
Moderator: leecollings
-
- Posts: 40
- Joined: Thursday 18 December 2014 20:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Poland
- Contact:
Re: [MyDomoAtHome] Support thread
Hi Guys,
I did mdah update on my test pi. Indeed had the same behaviour as you mentioned.
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
And check once again.
Hope it helps
I did mdah update on my test pi. Indeed had the same behaviour as you mentioned.
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
And check once again.
Hope it helps
HW: HP dc7900 USD running ESXi, RaspberryPi (few of it), AEON S2 USB stick, Fibaro modules (Dimmers, switches), 1-wire (DS18B20, DS2423), DSC Alarm with Envisalink ethernet module, MySensors, RFLink
-
- Posts: 40
- Joined: Thursday 18 December 2014 20:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Poland
- Contact:
Re: [MyDomoAtHome] Support thread
It works for me on Debian 7.8 and 8.0Doler wrote:Another question: is MDAH compatible with Debian-Jessie?
HW: HP dc7900 USD running ESXi, RaspberryPi (few of it), AEON S2 USB stick, Fibaro modules (Dimmers, switches), 1-wire (DS18B20, DS2423), DSC Alarm with Envisalink ethernet module, MySensors, RFLink
Re: [MyDomoAtHome] Support thread
Hi Irybak,
thanks for helping. I can start now the service and it say ok, but when I stop it it says "kill 3615: No such process, start-stop-deamon failed to kill 3615:No such porocess"
Also connecting through brower after start not function
rgds
thanks for helping. I can start now the service and it say ok, but when I stop it it says "kill 3615: No such process, start-stop-deamon failed to kill 3615:No such porocess"
Also connecting through brower after start not function
rgds
-
- Posts: 40
- Joined: Thursday 18 December 2014 20:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Poland
- Contact:
Re: [MyDomoAtHome] Support thread
Hi,
1) please post process list:
2) check if you have current version of init.d script, please post output of command
1) please post process list:
Code: Select all
sudo ps -ef |grep [s]tarman
Code: Select all
wget https://raw.githubusercontent.com/empierre/MyDomoAtHome/master/MyDomoAtHome.sh -O /tmp/MDH.sh > /dev/null 2>&1 && diff /etc/init.d/MyDomoAtHome.sh /tmp/MDH.sh && rm /tmp/MDH.sh
HW: HP dc7900 USD running ESXi, RaspberryPi (few of it), AEON S2 USB stick, Fibaro modules (Dimmers, switches), 1-wire (DS18B20, DS2423), DSC Alarm with Envisalink ethernet module, MySensors, RFLink
Re: [MyDomoAtHome] Support thread
Hi Irybak,
I get no results if I put sudo ps -ef |grep tarman in my terminal.
Other I check situation still the same
I get no results if I put sudo ps -ef |grep tarman in my terminal.
Other I check situation still the same
-
- Posts: 40
- Joined: Thursday 18 December 2014 20:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Poland
- Contact:
Re: [MyDomoAtHome] Support thread
check if your init.d script is up to date - please post output of 2nd cmd
HW: HP dc7900 USD running ESXi, RaspberryPi (few of it), AEON S2 USB stick, Fibaro modules (Dimmers, switches), 1-wire (DS18B20, DS2423), DSC Alarm with Envisalink ethernet module, MySensors, RFLink
-
- 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
Hello Irybak,
Same result as Gabe: no starman process. From your second check I discovered a difference between MyDomoAtHome.sh in init.d and the MDAH directory. The first (original/older) user /var/tmp for the pid-file while the new one uses /var/run (at least that was the most obvious difference).
I replaced the MyDomoAtHome.sh in init.d with the new one (chmod +x, update-rc.d) but not with positive result. I see the pid-file in /var/run, it even holds a process number but that process doesn't exist. So I'm stuck here. But thanks for your efforts in helping us.
Mark
Same result as Gabe: no starman process. From your second check I discovered a difference between MyDomoAtHome.sh in init.d and the MDAH directory. The first (original/older) user /var/tmp for the pid-file while the new one uses /var/run (at least that was the most obvious difference).
I replaced the MyDomoAtHome.sh in init.d with the new one (chmod +x, update-rc.d) but not with positive result. I see the pid-file in /var/run, it even holds a process number but that process doesn't exist. So I'm stuck here. But thanks for your efforts in helping us.
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
Re: [MyDomoAtHome] Support thread
just update init.d too, but no futher sucess
-
- Posts: 40
- Joined: Thursday 18 December 2014 20:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Poland
- Contact:
Re: [MyDomoAtHome] Support thread
Strange.
I already updated my PROD MDAH instance running Debian Jessie 8.0 without issues, please see my full output below
I already updated my PROD MDAH instance running Debian Jessie 8.0 without issues, please see my full output below
- Spoiler: show
HW: HP dc7900 USD running ESXi, RaspberryPi (few of it), AEON S2 USB stick, Fibaro modules (Dimmers, switches), 1-wire (DS18B20, DS2423), DSC Alarm with Envisalink ethernet module, MySensors, RFLink
Re: [MyDomoAtHome] Support thread
this is my outpute
Stoping MyDomoAtHome service...
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 4179: No such process
start-stop-daemon: warning: failed to kill 4179: No such process
failed!
Retrieving latest code...
error: cannot open .git/FETCH_HEAD: Permission denied
Checking latest libraries dependencies...
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.
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'
E: Unable to locate package libdancer2-perl
Restarting MyDomoAtHome service...
[ ok ] Starting plack server: MyDomoAtHome.
Update path finished
[ ok ] MyDomoAtHome process is running.
Stoping MyDomoAtHome service...
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 4179: No such process
start-stop-daemon: warning: failed to kill 4179: No such process
failed!
Retrieving latest code...
error: cannot open .git/FETCH_HEAD: Permission denied
Checking latest libraries dependencies...
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.
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'
E: Unable to locate package libdancer2-perl
Restarting MyDomoAtHome service...
[ ok ] Starting plack server: MyDomoAtHome.
Update path finished
[ ok ] MyDomoAtHome process is running.
-
- 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
Sorry that I possibly put you on the wrong path. I'm still at Wheezy but was trying to migrate to Jessie this afternoon. Just got inot some trouble with Fibaro motion sensors so I had to revert back (only got one RPI). So the problems I have are on Wheezy, didn't try it yet on Jessie so therefore my question on compatibility. But the given info is very welcome and I'll give it a try on Jessie. Just have to wait till next week (upcoming birthday ) when I have more time. Again thanks.lrybak wrote:Strange.
I already updated my PROD MDAH instance running Debian Jessie 8.0 without issues, please see my full output below
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
Re: [MyDomoAtHome] Support thread
maybe this is the solution I have also Wheezy from standard Domoticz installation. Hi I must migrate from wheezy to Jessie without loosing all setting of Domoticz
-
- Posts: 40
- Joined: Thursday 18 December 2014 20:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Poland
- Contact:
Re: [MyDomoAtHome] Support thread
My test pi runs on Debian Wheezy (7.8) - I don't think this is an issue.
Maybe epierre will help you
Maybe epierre will help you
HW: HP dc7900 USD running ESXi, RaspberryPi (few of it), AEON S2 USB stick, Fibaro modules (Dimmers, switches), 1-wire (DS18B20, DS2423), DSC Alarm with Envisalink ethernet module, MySensors, RFLink
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
@doler what was the previous version number/date ? last modification is 4 months old
for all, to manually kill the process, you have to find the Starman master pid
for all, to manually kill the process, you have to find the Starman master pid
Last edited by epierre on Monday 22 February 2016 11:01, edited 1 time in total.
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
by design all domoticz settings except scripts are in domoticz.db so backup it often !Gabe wrote:maybe this is the solution I have also Wheezy from standard Domoticz installation. Hi I must migrate from wheezy to Jessie without loosing all setting of Domoticz
@gabe who is the owner of either:
ls -la /var/run/MyDomoAtHome.pid
ls -la /var/tmp/MyDomoAtHome.pid
starting the script as pi or root may add a file with wrong rights, so you have to remove it and let the system start/stop it.
what gives you '/etc/init.d/MyDomoAtHome.sh status' ?
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: 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
The package.json (09-09-2015) in the MDAH directory tells me it's version 0.12. I see more recent files though, like run-once.sh that is dated 05-02-2016.epierre wrote:@doler what was the previous version number/date ? last modification is 4 months old
for all, to manually kill the process, you have to find the Starman master pid
The problem that I meet is that, after upgrading, there is no Starman master pid: the service just doesn't start.
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
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
@doler try start2.sh as pi user to see if all libs dependencies are ok
The best for me would be to know the MyDomoAtHome.sh date in /etc/inin.d and in your MDAH directory so I could know when it work and when it doesn't... maybe a diff would be enough
The best for me would be to know the MyDomoAtHome.sh date in /etc/inin.d and in your MDAH directory so I could know when it work and when it doesn't... maybe a diff would be enough
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: 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
Output of start2.sh:epierre wrote:@doler try start2.sh as pi user to see if all libs dependencies are ok
The best for me would be to know the MyDomoAtHome.sh date in /etc/inin.d and in your MDAH directory so I could know when it work and when it doesn't... maybe a diff would be enough
- Spoiler: show
- Spoiler: show
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
- epierre
- Posts: 522
- Joined: Wednesday 05 March 2014 13:16
- Target OS: Linux
- Domoticz version:
- Location: France
- Contact:
Re: [MyDomoAtHome] Support thread
@doler "Can't connect to TCP port 3001 on 0.0.0.0 [Address already in use]", you need to kill the starman master before starting it, it seems it is already running which is good !
can you send me the MyDomoAtHome.sh version that works for you so I shall make a regression till I find what is wrong ? [email protected]
I've restarted working on nodejs version yesterday, all statuses are good, switches also working, will follow on this in parallel now. I'll investigate on graphes as some reported on both at the same time.
can you send me the MyDomoAtHome.sh version that works for you so I shall make a regression till I find what is wrong ? [email protected]
I've restarted working on nodejs version yesterday, all statuses are good, switches also working, will follow on this in parallel now. I'll investigate on graphes as some reported on both at the same time.
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: 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
Yes, it's running , it is the working version. I've sent you the MyDomoAtHome.sh file. I could also try a clean install to see if that works.epierre wrote:@doler "Can't connect to TCP port 3001 on 0.0.0.0 [Address already in use]", you need to kill the starman master before starting it, it seems it is already running which is good !
can you send me the MyDomoAtHome.sh version that works for you so I shall make a regression till I find what is wrong ? [email protected]
I've restarted working on nodejs version yesterday, all statuses are good, switches also working, will follow on this in parallel now. I'll investigate on graphes as some reported on both at the same time.
I'd be interested in the nodejs version, I have node version 5.3 running for my Nefit interface. If you need some testing to do, I can help.
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
Who is online
Users browsing this forum: No registered users and 0 guests