Page 9 of 55

Re: [MyDomoAtHome] Support thread

Posted: Thursday 17 September 2015 11:55
by epierre
@korniza for having struggled a lot with Vera, the best is to have the camera as an independent device directly in Imperihome (add a device -> MJPEG/h264/MPEG4 IP Camera) which is good.

also, having something in a "room" does not make it a switch, it is a DevCamera, and if it isn't working (blank image) you need to raise a support issue to Imperihome directly for what you show me is correct in term of gateway.

Re: [MyDomoAtHome] Support thread

Posted: Thursday 17 September 2015 14:02
by Justintime
I have updated MyDomoatHome

But i got this message:

Code: Select all

./update-mdah.sh: 4: [: -ne: unexpected operator
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 17582: No such process
start-stop-daemon: warning: failed to kill 17582: No such process
 failed!
After that i got no connection with Imperihome.

The gateway is running. I see the devices in domo_ip:3001/devices

Re: [MyDomoAtHome] Support thread

Posted: Thursday 17 September 2015 16:11
by Justintime
OK?! Something has changed with the Nginx setup?!?!? What do i have to do to get it working again?

Re: [MyDomoAtHome] Support thread

Posted: Thursday 17 September 2015 18:56
by epierre
Justintime wrote:I have updated MyDomoatHome

But i got this message:

Code: Select all

./update-mdah.sh: 4: [: -ne: unexpected operator
After that i got no connection with Imperihome.

The gateway is running. I see the devices in domo_ip:3001/devices
The message has nothing to do with it.

do a ps -ax and search the starman master if it is present

Re: [MyDomoAtHome] Support thread

Posted: Thursday 17 September 2015 18:56
by epierre
Justintime wrote:OK?! Something has changed with the Nginx setup?!?!? What do i have to do to get it working again?
if you had 5001 for redirection, just change it to 3001 (if you're on the 3001 port)

Re: [MyDomoAtHome] Support thread

Posted: Thursday 17 September 2015 19:07
by Justintime
epierre wrote:
Justintime wrote:OK?! Something has changed with the Nginx setup?!?!? What do i have to do to get it working again?
if you had 5001 for redirection, just change it to 3001 (if you're on the 3001 port)

Okay thanks that worked out. I had to do a complete reboot. Instead of restarting the services of Nginx and MyDomoAtHome.

Maybe it's better to change the wiki if something big has changed....every member can change the Wiki.

Re: [MyDomoAtHome] Support thread

Posted: Friday 18 September 2015 23:08
by Bikey
Not all my switches appear in the ImperiHome App for iOS. I have 30 switches in the "Switches" tab, but I do have more then 50 (real switches, remote-buttons, and virtual) switches.

They are received by the App, because I can add them in a Dashboard page, so it seems to be because of the limitation on the number of switches in a single tab-page.
So the question is: why can't I see my rooms as pages in ImperiHome? Because if they are divided in rooms then I would not need to have 1 page "switches" with all my switches.

Also I have to empty tabs: "Utility" and "Volumio" which I would like to disappear.

Re: [MyDomoAtHome] Support thread

Posted: Sunday 20 September 2015 11:21
by Justintime
My energy meter is not visible anymore. Water is still there.

Re: [MyDomoAtHome] Support thread

Posted: Sunday 20 September 2015 17:20
by Doler
Justintime wrote:My energy meter is not visible anymore. Water is still there.
I confirm this: energy devices aren not visible anymore since latest Domoticz version (V2.3072) and/or MyDomoAtHome update. The interface (IP:3001/devices) lists the devices with value="unk" but are not visible (not found) in Imperihome.

Re: [MyDomoAtHome] Support thread

Posted: Monday 21 September 2015 13:30
by epierre
Doler wrote:
Justintime wrote:My energy meter is not visible anymore. Water is still there.
I confirm this: energy devices aren not visible anymore since latest Domoticz version (V2.3072) and/or MyDomoAtHome update. The interface (IP:3001/devices) lists the devices with value="unk" but are not visible (not found) in Imperihome.
that is what happens when the backend data is changed without telling others it has...

We now have a "General" which is "kWh" ...

try updating to the latest version and tell me if it is better this way.

Re: [MyDomoAtHome] Support thread

Posted: Monday 21 September 2015 13:54
by Doler
epierre wrote: that is what happens when the backend data is changed without telling others it has...

We now have a "General" which is "kWh" ...

try updating to the latest version and tell me if it is better this way.
I guessed it was something like that :cry:
I have updated and I see the devices with correct value in the interface but they don't appear in Imperihome, not in page view nor in list view.

Re: [MyDomoAtHome] Support thread

Posted: Monday 21 September 2015 14:03
by Justintime
epierre wrote:
Doler wrote:
Justintime wrote:My energy meter is not visible anymore. Water is still there.
I confirm this: energy devices aren not visible anymore since latest Domoticz version (V2.3072) and/or MyDomoAtHome update. The interface (IP:3001/devices) lists the devices with value="unk" but are not visible (not found) in Imperihome.
that is what happens when the backend data is changed without telling others it has...

We now have a "General" which is "kWh" ...

try updating to the latest version and tell me if it is better this way.
I can see general(icon) now, only with total kwh.
The current power I can't select.

Re: [MyDomoAtHome] Support thread

Posted: Monday 21 September 2015 21:05
by zbelko
Hi All,
I have everything up and running on my Raspberry Pi (Domoticz, MyDomoAtHome, Nginx)
Everything works OK from LAN (Imperihome works just fine), everything seems ok from remote access:
- https://my_remote_ip/imperihome/devices shows my device list, no worries
BUT, when I try to setup Imperihome with my remote URL with login and password, I get "Invalid API response" error :(
Anyone got an idea why?
Thank you all for your help

[MyDomoAtHome] Support thread

Posted: Monday 21 September 2015 21:23
by Bikey
That maybe has to do with the bug I ran into as well. The iOS App can't handle self signed certificates. It is raised with Imperihome, so hopefully they solve it in the next release.

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 22 September 2015 9:17
by zbelko
Thanks Bikey
Thing is, I already tried to setup Imperihome (on iOS) without SSL, without authentication, and just port redirection, but I get the same problem: /devices is accessible from outside, but I still have the "Invalid API response" Error :(
Remote access is a pain!

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 22 September 2015 16:52
by epierre
@all I've made a docker image you can find here:
docker pull epierre/mydomoathome

I'll see how to change configuration for the config.yml

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 23 September 2015 18:25
by DRuw
Hi all,
I have some issues with getting my domoticz correctly in Imperihome..
for some reason, all items go to a folter called weather, also switches etc.
Any Idea how to fix this?

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 23 September 2015 20:26
by ntougait
Hi,

I had previous version of MyDomoAtHome working fine. Decided to update so i reinstalled following the wiki.
Now i cannot even start MyDomoAtHome :

pi@raspberrypi ~ $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.

I check if it's started by stopping it :

pi@raspberrypi ~ $ sudo service MyDomoAtHome.sh stop
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 2889: No such process
start-stop-daemon: warning: failed to kill 2889: No such process
failed!
pi@raspberrypi ~ $


Nope it's not started.
No Starman process anywhere.

Is there any log somewhere that can be checked ?

NAt

Re: [MyDomoAtHome] Support thread

Posted: Thursday 24 September 2015 12:24
by ntougait
ntougait wrote:Hi,

I had previous version of MyDomoAtHome working fine. Decided to update so i reinstalled following the wiki.
Now i cannot even start MyDomoAtHome :

pi@raspberrypi ~ $ sudo service MyDomoAtHome.sh start
[ ok ] Starting plack server: MyDomoAtHome.

I check if it's started by stopping it :

pi@raspberrypi ~ $ sudo service MyDomoAtHome.sh stop
[....] Stopping plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 2889: No such process
start-stop-daemon: warning: failed to kill 2889: No such process
failed!
pi@raspberrypi ~ $


Nope it's not started.
No Starman process anywhere.

Is there any log somewhere that can be checked ?

NAt
Hi,

Think i got it, was missing DateTime.pm.
Managed to find how to execute manually and get the output :

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
And then installed libdatetime-perl :

Code: Select all

sudo apt-get install libdatetime-perl

NAt

Re: [MyDomoAtHome] Support thread

Posted: Thursday 24 September 2015 13:35
by thorbj
Hi, I'm trying to set up MyDomoAtHome on my Raspberry Pi running Domoticz.
After setup, when I try to access the devices list, I det a 502 Bad Gateway error. I notice that the MyDomoAtHome.sh service crashes immideately after I start it.

Code: Select all

 sudo /usr/bin/plackup -E production -s Starman --workers=4 -p 5001 -a /home/pi/domoticz/MyDomoAtHome/bin/app.pl --pid /tmp/mydomoathome.pid
Pid_file "/tmp/mydomoathome.pid" already exists.  Overwriting!
2015/09/24-13:31:37 Starman::Server (type Net::Server::PreFork) starting! pid(18656)
Resolved [*]:5001 to [0.0.0.0]:5001, IPv4
Host [*] resolved to IPv6 address [::] but IO::Socket::INET6->new fails: Adressefamilien er ikke st%C3%B8ttet av protokollen at /usr/share/perl5/Net/Server/Proto.pm line 133.
Binding to TCP port 5001 on host 0.0.0.0 with IPv4
2015/09/24-13:31:37 Can't connect to TCP port 5001 on 0.0.0.0 [Adressen er allerede i bruk]
  at line 67 in file /usr/share/perl5/Net/Server/Proto/TCP.pm
2015/09/24-13:31:37 Received QUIT. Running a graceful shutdown
Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 355.
Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 385.
Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 405.
Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 413.
2015/09/24-13:31:37 Worker processes cleaned up
2015/09/24-13:31:37 Server closing!
shutdown() on closed socket GEN1 at /usr/lib/perl/5.14/IO/Socket.pm line 294.
How can I fix this?

Thanks!