Page 14 of 55

Re: [MyDomoAtHome] Support thread

Posted: Monday 12 October 2015 18:49
by joshimosh
epierre wrote:
joshimosh wrote:@epierre:
Thank you very much for the fix !
I have adjusted the access rigth for logs and logs/* as described above. To check if everything is ok, I have entered ./start2.sh. Result looked fine. Calling http://<my_ip>:3001/devices resulted in a lengthy list (xml ?) with my sensors - looked fine.
Then I did a reboot for a clean start, but starman then was not running. What did I wrong ?
You nothing, but someone else reported this issue so everything is not fixed...

can you do a :
sudo sh -x /etc/init.d/MyDomoAtHome.sh start

and give me the output ?

I'm busy tonight I won't have time to check this back home...

thanks !
joshimosh wrote:May I throw in a suggestion here ? I have Domoticz and MDAH installed on a Raspi Pi 2. I write all logs to a /var/log which resides on a ramdisk to avoid wear of the SD-card. In Domoticz, the location of the log can be defined by the user. May I suggest that you add a similar feature to MDAH ?
Sure, I'll have to fix problems one at the time :D
I have sent you a pm with the output.
Thank you
Josh

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 13 October 2015 22:03
by epierre
Hi all,

The startup problem is now fixed, sorry for the delay.

I managed to debug it and correct all that was causing issues, please update as usual and report back if something is not good.

BTW MyDomoAtHome.sh has been modified, so please check values are correct and copy it:

Code: Select all

 sudo cp MyDomoAtHome.sh /etc/init.d/

Installation process has been simplified for some file don't need to redefine values.

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 13 October 2015 22:45
by joshimosh
@epierre:
Everything looks fine. Thank you !

Have a nice evening and a beer (or wine, whatever you like :-))

Cheers
Josh

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 13 October 2015 22:46
by epierre
joshimosh wrote:@epierre:
Everything looks fine. Thank you !

Have a nice evening and a beer (or wine, whatever you like :-))

Thanks Josh, a good sleep night will be fine, the day has been quite hard on me ;)

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 13 October 2015 23:37
by Flyer
Hello!
I've a problem whit my Synology DS213J.
I'm trying to install MyDomoAtHome, but some commands are not recognized by the SO .
When launching ./run-once.sh I get the following error :
sudo not found
apt-get not found.
And the program is stopped.

I hope someone is able to give me answers.

Tkx in advances

Flyer

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 14 October 2015 8:46
by epierre
Flyer wrote:Hello!
I've a problem whit my Synology DS213J.
I'm trying to install MyDomoAtHome, but some commands are not recognized by the SO .
When launching ./run-once.sh I get the following error :
sudo not found
apt-get not found.
And the program is stopped.
Hello,

Synology is not yet supported, I bought one to test but it appears this is not so easy... it will surely come out as a spk package, but I have some challenges to solve before for the perl version that can be installed is "bare" and many modules are needed, some of them are not pure perl, so it would mean compilation and based on the many processors this company had for 10 years this is not so easy.

If I can find someone with experience on running perl on synology or from a given directory that would help me speed out things for Synology.

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 14 October 2015 9:59
by DRuw
Seems to work now! super!
some temperature sensors (the raspberry mainboard for example) don't have a temperature graph available.
"no data for specified timeframe" but other sensors seems to have no issues ..
is this something locally in my phone or do you have any idea?
Thanks!

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 14 October 2015 10:07
by epierre
DRuw wrote:Seems to work now! super!
some temperature sensors (the raspberry mainboard for example) don't have a temperature graph available.
"no data for specified timeframe" but other sensors seems to have no issues ..
is this something locally in my phone or do you have any idea?
Thanks!
well this is to be investigated, the domoticz device mapping can be tricky !

Re: [MyDomoAtHome] Support thread

Posted: Thursday 15 October 2015 23:18
by epierre
ok found, I did declare twice a path...
do a git pull and a
sudo cp MyDomoAtHome.sh /etc/init.d
sudo service MyDomoAtHome.sh start

Re: [MyDomoAtHome] Support thread

Posted: Friday 16 October 2015 6:58
by DRuw
Noob here.... How do I do a git pull?
Is simply an update also ok?
Again, sorry for the noobness.. Google didn't help this time...

Re: [MyDomoAtHome] Support thread

Posted: Friday 16 October 2015 7:02
by epierre
DRuw wrote:Noob here.... How do I do a git pull?
Is simply an update also ok?
Again, sorry for the noobness.. Google didn't help this time...
go to mdah directory and do
git pull

there may be a conflict if you modified MyDomoAtHome.sh
if so remove tje local value and relaunch the pull

Re: [MyDomoAtHome] Support thread

Posted: Friday 16 October 2015 7:34
by DRuw
That simple huh :mrgreen:
Tried it... didn't work :cry:
Graphs work for my temp/hum sensors but the motherboard temp sensor, loose temperature (no humidity) or on/off switches don't.
Temps show "no data available" and switches simply don't respond to a press on the icon.
I havent made any changes to the directory except the updates you indicated.

ps: this is the same as before the git pul btw

Re: [MyDomoAtHome] Support thread

Posted: Friday 16 October 2015 10:30
by epierre
DRuw wrote:That simple huh :mrgreen:
Tried it... didn't work :cry:
last corrections were for the automatic startup/shutdown, nothing has evolved for a bit because of this critical issue.
DRuw wrote:Graphs work for my temp/hum sensors but the motherboard temp sensor, loose temperature (no humidity) or on/off switches don't.
Temps show "no data available" and switches simply don't respond to a press on the icon.
I havent made any changes to the directory except the updates you indicated.
ps: this is the same as before the git pul btw
well that is not normal, if you reboot your system do you have the same issue ?
Also are you using the dev version of domoticz or the stable one ? and if the dev which one ?

Re: [MyDomoAtHome] Support thread

Posted: Friday 16 October 2015 18:30
by DRuw
Nope, after reboot same issue.
running 2.3295 and just updated to 2.3353 (issue remains)
Beta verstion.
Graphs available on the web interface btw so it is logging...

Re: [MyDomoAtHome] Support thread

Posted: Saturday 17 October 2015 10:59
by epierre
DRuw wrote:Nope, after reboot same issue.
running 2.3295 and just updated to 2.3353 (issue remains)
Beta verstion.
Graphs available on the web interface btw so it is logging...
hello,

no idea why you have an issue there,

can you send me your database to [email protected] ? thanks

Re: [MyDomoAtHome] Support thread

Posted: Saturday 17 October 2015 17:52
by kabouter
Hello Pierre,
I'm using the ImperiHome Pro version on my Android phone and its working fine, but now I'm trying to get 2 different raspberry's with domoticz on it to install into the same ImperiHome Pro version.
One system is in Holland and the other is in Spain. Of course they both have an different network range.
When I do the install there is no warning or error in it, but when I trying to setup the ImperiHome it's telling me that the system is already there.(MyDomoAtHome)
I renamed the first install in 'domo240' and try to install the second one.
At that moment the system is telling me that the systeem name MyDomoAtHome is already there.
What I'm doing wrong ?
I also tried with other names or path but it is still coming with the same answer.
Can you help me out?

Re: [MyDomoAtHome] Support thread

Posted: Saturday 17 October 2015 20:03
by Alle
kabouter wrote:Hello Pierre,
I'm using the ImperiHome Pro version on my Android phone and its working fine, but now I'm trying to get 2 different raspberry's with domoticz on it to install into the same ImperiHome Pro version.
One system is in Holland and the other is in Spain. Of course they both have an different network range.
When I do the install there is no warning or error in it, but when I trying to setup the ImperiHome it's telling me that the system is already there.(MyDomoAtHome)
I renamed the first install in 'domo240' and try to install the second one.
At that moment the system is telling me that the systeem name MyDomoAtHome is already there.
What I'm doing wrong ?
I also tried with other names or path but it is still coming with the same answer.
Can you help me out?
If i remember correct; edit 'MyDomoAtHome.sh' and change -NAME="MyDomoAtHome" at line 17 before you run 'run-once.sh'

Re: [MyDomoAtHome] Support thread

Posted: Saturday 17 October 2015 23:28
by kabouter
Alle wrote: If i remember correct; edit 'MyDomoAtHome.sh' and change -NAME="MyDomoAtHome" at line 17 before you run 'run-once.sh'
That's what I already did, but that did not help.
I did already changed that in domo240 and he's still coming with MyDomoAtHome already exist ... very strange

Re: [MyDomoAtHome] Support thread

Posted: Sunday 18 October 2015 13:31
by Alle
kabouter wrote:
Alle wrote: That's what I already did, but that did not help.
I did already changed that in domo240 and he's still coming with MyDomoAtHome already exist ... very strange
Did you tried to change the name in the config.yml -> appname: "MyDomoAtHome"

Re: [MyDomoAtHome] Support thread

Posted: Sunday 18 October 2015 18:58
by DRuw
epierre wrote:
DRuw wrote:Nope, after reboot same issue.
running 2.3295 and just updated to 2.3353 (issue remains)
Beta verstion.
Graphs available on the web interface btw so it is logging...
hello,

no idea why you have an issue there,

can you send me your database to [email protected] ? thanks
I have just send my dbase:)
thanks in advance!