[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 »

@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.
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
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [MyDomoAtHome] Support thread

Post 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
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [MyDomoAtHome] Support thread

Post by Justintime »

OK?! Something has changed with the Nginx setup?!?!? What do i have to do to get it working again?
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 »

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
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 »

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)
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
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [MyDomoAtHome] Support thread

Post 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.
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post 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.
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [MyDomoAtHome] Support thread

Post by Justintime »

My energy meter is not visible anymore. Water is still there.
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 »

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.
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 »

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.
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: 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.
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
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [MyDomoAtHome] Support thread

Post 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.
zbelko
Posts: 2
Joined: Monday 21 September 2015 21:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

[MyDomoAtHome] Support thread

Post 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.
zbelko
Posts: 2
Joined: Monday 21 September 2015 21:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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!
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 »

@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
Last edited by epierre on Thursday 24 September 2015 14:13, 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
DRuw
Posts: 17
Joined: Tuesday 05 August 2014 16:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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?
ntougait
Posts: 2
Joined: Monday 25 November 2013 11:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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
ntougait
Posts: 2
Joined: Monday 25 November 2013 11:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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
thorbj
Posts: 113
Joined: Thursday 20 November 2014 22:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post 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!
2xRaspberry Pi Model 2 w/RaZberry z-wave chip (master/slave)|Fibaro Wall Plug|Fibaro Universal Dimmer 500W|Aeon Labs Multisensor|RFXtrx433E|Nexa WMR-1000|Nexa Pe-3|Nexa Remote|Nexa LGDR3500|Lightify Gateway|Lightify RGBW bulb
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest