[MyDomoAtHome] Support thread

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

Moderator: leecollings

tomeaton
Posts: 20
Joined: Friday 08 May 2015 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by tomeaton »

I'm having similar issues trying to get the software working. I've got to the stage of running start2.sh manually and get this error:

Code: Select all

sh start2.sh
YAML Warning: Duplicate map key found. Ignoring.
   Code: YAML_LOAD_WARN_DUPLICATE_KEY
   Line: 17
   Document: 1
 at /usr/share/perl5/YAML/Mo.pm line 24, <$IN> line 1.
        YAML::Mo::__ANON__(YAML::Loader=HASH(0x21c4888), "YAML_LOAD_WARN_DUPLICATE_KEY") called at /usr/share/perl5/YAML/Loader.pm line 359
        YAML::Loader::_parse_mapping(YAML::Loader=HASH(0x21c4888), "") called at /usr/share/perl5/YAML/Loader.pm line 168
        YAML::Loader::_parse_node(YAML::Loader=HASH(0x21c4888)) called at /usr/share/perl5/YAML/Loader.pm line 103
        YAML::Loader::_parse(YAML::Loader=HASH(0x21c4888)) called at /usr/share/perl5/YAML/Loader.pm line 25
        YAML::Loader::load(YAML::Loader=HASH(0x21c4888), "# appdir/environments/development.yml\x{a}# configuration file fo"...) called at /usr/share/perl5/YAML.pm line 34
        YAML::Load("# appdir/environments/development.yml\x{a}# configuration file fo"...) called at /usr/share/perl5/YAML.pm line 75
        YAML::LoadFile("/home/pi/domoticz/MyDomoAtHome/environments/development.yml") called at /usr/share/perl5/Dancer/Config.pm line 201
        eval {...} called at /usr/share/perl5/Dancer/Config.pm line 201
        Dancer::Config::load_settings_from_yaml("/home/pi/domoticz/MyDomoAtHome/environments/development.yml") called at /usr/share/perl5/Dancer/Config.pm line 182
        Dancer::Config::load("Dancer::Config") called at /usr/share/perl5/Dancer.pm line 258
        Dancer::import("Dancer") called at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 19
        Plack::Sandbox::_2fhome_2fpi_2fdomoticz_2fMyDomoAtHome_2fbin_2fapp_2epl::BEGIN() called at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 19
        eval {...} called at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 19
        require /home/pi/domoticz/MyDomoAtHome/bin/app.pl called at (eval 9) line 3
        eval 'package Plack::Sandbox::_2fhome_2fpi_2fdomoticz_2fMyDomoAtHome_2fbin_2fapp_2epl;
{
    my $app = do $_file;
    if ( !$app && ( my $error = $@ || $! )) { die $error; }
    $app;
}

;' called at /usr/local/share/perl/5.14.2/Plack/Util.pm line 120
        Plack::Util::_load_sandbox("/home/pi/domoticz/MyDomoAtHome/bin/app.pl") called at /usr/local/share/perl/5.14.2/Plack/Util.pm line 136
        Plack::Util::load_psgi("/home/pi/domoticz/MyDomoAtHome/bin/app.pl") called at /usr/local/share/perl/5.14.2/Plack/Runner.pm line 179
        Plack::Runner::__ANON__() called at /usr/local/share/perl/5.14.2/Plack/Runner.pm line 24
        Plack::Runner::__ANON__() called at /usr/local/share/perl/5.14.2/Plack/Runner.pm line 24
        Plack::Runner::__ANON__() called at /usr/local/share/perl/5.14.2/Plack/Runner.pm line 24
        Plack::Runner::__ANON__() called at /usr/local/share/perl/5.14.2/Plack/Runner.pm line 24
        Plack::Runner::__ANON__() called at /usr/local/share/perl/5.14.2/Plack/Loader.pm line 55
        Plack::Loader::preload_app(Plack::Loader=HASH(0x13986b0), CODE(0x165bf78)) called at /usr/local/share/perl/5.14.2/Plack/Runner.pm line 274
        Plack::Runner::run(Plack::Runner=HASH(0x138e618)) called at /usr/local/bin/plackup line 7
Error while loading /home/pi/domoticz/MyDomoAtHome/bin/app.pl: Can't locate Time/Moment.pm in @INC (@INC contains: /home/pi/domoticz/MyDomoAtHome/bin/../lib /home/pi/domoticz/MyDomoAtHome/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
Compilation failed in require at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.
Zycker
Posts: 24
Joined: Monday 29 December 2014 8:04
Target OS: Linux
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by Zycker »

Hi epierre,
I'm using Imperihome everyday on my tablet and phone and still very pleased with it.
Although, today I've created a new incremental counter on Domoticz and one alert sensor. It works fine in Domoticz but first the counter doesn't appear in Imperihome.
I did refresh both tablet and phone but nothing changed. It appears in mydomoip:3001/devices. I did run "sh ./update-mdah.sh" and it returns that everything is up to date. Domoticz v2.3866. Both software restarted.

The alert sensor appears on my devices but without the colors that are shown in Domoticz and without the "text" that I enter with the value.
Purejet
Posts: 12
Joined: Wednesday 07 October 2015 14:07
Target OS: -
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by Purejet »

Hello,

After a few months usable installation of imperihome on rpi, yesterday i had to reboot the pi.
After that the imperihome didn't come up anymore. Can anyone help me in the right direction;

Code: Select all

./start2.sh
Error while loading /home/pi/domoticz/MyDomoAtHome/bin/app.pl: Can't find string terminator ")" anywhere before EOF at /usr/share/perl5/Dancer.pm line 42, <DATA> line 1000.
Compilation failed in require at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 19, <DATA> line 1000.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 19, <DATA> line 1000.

Code: Select all

./run-once.sh
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
cpanminus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--> Working on Task::Plack
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Task-Plack-0.28.tar.gz ... OK
Configuring Task-Plack-0.28 ... OK
==> Found dependencies: Starlet
--> Working on Starlet
Fetching http://www.cpan.org/authors/id/K/KA/KAZUHO/Starlet-0.28.tar.gz ... OK
Configuring Starlet-0.28 ... OK
Building and testing Starlet-0.28 ... 
I have already copy the repo MyDomoAtHome again and run the run-once again keeps hanging on building and testing starlet-0.28.
The 3001/devices page also doesn't work anymore. When i start the service it says OK.
Drdre
Posts: 4
Joined: Tuesday 31 March 2015 21:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by Drdre »

Hello Epierre,

I've got this error:

Error while loading /home/pi/domoticz/MyDomoAtHome/bin/app.pl: Can't locate Time/Moment.pm in @INC (@INC contains: /home/pi/domoticz/MyDomoAtHome/bin/../lib /home/pi/domoticz/MyDomoAtHome/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
Compilation failed in require at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.

Can you help me????
User avatar
fixeon
Posts: 6
Joined: Thursday 31 December 2015 14:36
Target OS: Linux
Domoticz version: 3.6587
Contact:

Re: [MyDomoAtHome] Support thread

Post by fixeon »

Hi i'm using docker and i'm doing something wrong but i can't figure out what.
Running domoticz V2.4031 on Archlinux64 and mdah through docker on same machine.

Code: Select all

sudo docker run --name=mydomoathome --env domo_path="http://192.168.1.10:8080" -it --rm -p 3001:3001 epierre/mydomoathome
2016/01/08-09:23:00 Starman::Server (type Net::Server::PreFork) starting! pid(8)
Resolved [*]:3001 to [::]:3001, IPv6
Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6
Binding to TCP port 3001 on host :: with IPv6
Setting gid to "0 0"
Use of uninitialized value in concatenation (.) or string at /MyDomoAtHome/lib/Domo.pm line 343.
Use of uninitialized value $ver in string at /MyDomoAtHome/lib/Domo.pm line 809.
Use of uninitialized value $mpd_host in string ne at /MyDomoAtHome/lib/Domo.pm line 817.
Use of uninitialized value in concatenation (.) or string at /MyDomoAtHome/lib/Domo.pm line 831.
Use of uninitialized value in concatenation (.) or string at /MyDomoAtHome/lib/Domo.pm line 865.
when i try to connect to server i get

Code: Select all

{"devices":[{"id":"S00","name":"Unable to connect to Domoticz","type":"DevGenericSensor","params":[{"graphable":"false","key":"Value","value":"","unit":""}]},{"name":"Please add this gateway in Setup/settings/Local Networks","params":[{"graphable":"false","key":"Value","value":"","unit":""}],"type":"DevGenericSensor","id":"S01"}]}
Docker Network inspect

Code: Select all

sudo docker network inspect 9dc8fdcf12d5
[
    {
        "Name": "bridge",
        "Id": "9dc8fdcf12d5bf6846142f6a06ab15d88276c8d7e64ebdc16101dca446e1f213",
        "Scope": "local",
        "Driver": "bridge",
        "IPAM": {
            "Driver": "default",
            "Config": [
                {
                    "Subnet": "172.17.0.0/16"
                }
            ]
        },
        "Containers": {
            "8901681f1ced0e5f48736bf313598d1647695fa98b4fe22e31018fc783d46a68": {
                "EndpointID": "cd515d27ee2de91f7b99f239252e88be34cc310b09b624ac8e97772569e45162",
                "MacAddress": "**.***.**.**",
                "IPv4Address": "172.17.0.2/16",
                "IPv6Address": ""
            }
        },
        "Options": {
            "com.docker.network.bridge.default_bridge": "true",
            "com.docker.network.bridge.enable_icc": "true",
            "com.docker.network.bridge.enable_ip_masquerade": "true",
            "com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
            "com.docker.network.bridge.name": "docker0",
            "com.docker.network.driver.mtu": "1500"
        }
    }
]
Authorised networks in Domoticz
192.168.1.*; 127.0.0.*;172.17.0.*
Domoticz host ip 192.168.1.10 (fixed)

Any idea ?
Raspberry Pi 2 Type B or Arch64 Server (still testing)
RFXTRX433E + Aeotec Z-Stick S2
All pcs running various linux distros including sat receiver
Extreme noob warning :)
johansson
Posts: 75
Joined: Sunday 27 September 2015 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: [MyDomoAtHome] Support thread

Post by johansson »

Hmm, I'm a bit lost now: after reading the topics and documentations, I still cannot get the gateway up and running.

Domoticz is installed on a Raspberry Pi (192.168.1.50, port 8080. The MyDomoAtHome installation was completed without errors, but still no luck:
1) the domo_path in config.yml changed to "http://192.168.1.50:8080" or "http://192.168.1.50:3001" or "http://192.168.1.50:whatever"
2) Port in MyDomoAtHome.sh changed respectively to 8080 or 3001 or something

Result always the same: http://192.168.1.50:8080/devices ends up always to normal Domoticz interface and http://192.168.1.50:3001/devices (or any alternative) results in "Safari can't connect to the Server"

Long story short: what should the gateway ip and port be set to?
hanor
Posts: 7
Joined: Wednesday 01 October 2014 9:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by hanor »

Hi all,

I've got this error when executing start2.sh

[21887] debug @0.731817> [hit #1]DBG:182:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[21887] error @3.781034> [hit #1]request to GET /devices crashed: Could not create socket: Aucun chemin d'accès pour atteindre l'hôte cible in /usr/share/perl5/Dancer/Handler.pm l. 98

Any idea ?
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 »

tomeaton wrote:I'm having similar issues trying to get the software working. I've got to the stage of running start2.sh manually and get this error:

Code: Select all

sh start2.sh
Error while loading /home/pi/domoticz/MyDomoAtHome/bin/app.pl: Can't locate Time/Moment.pm in @INC (@INC contains: /home/pi/domoticz/MyDomoAtHome/bin/../lib /home/pi/domoticz/MyDomoAtHome/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
Compilation failed in require at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.
a missing dependency that should be in the run-once.sh ; try this manually:
sudo cpanm Time::Moment
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 »

Drdre wrote:Hello Epierre,

I've got this error:

Error while loading /home/pi/domoticz/MyDomoAtHome/bin/app.pl: Can't locate Time/Moment.pm in @INC (@INC contains: /home/pi/domoticz/MyDomoAtHome/bin/../lib /home/pi/domoticz/MyDomoAtHome/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
Compilation failed in require at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.

Can you help me????
same for you:

sudo cpanm Time::Moment
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 »

fixeon wrote:Hi i'm using docker and i'm doing something wrong but i can't figure out what.
Running domoticz V2.4031 on Archlinux64 and mdah through docker on same machine.

Code: Select all

sudo docker run --name=mydomoathome --env domo_path="http://192.168.1.10:8080" -it --rm -p 3001:3001 epierre/mydomoathome
Any idea ?
no, I'm not docker specialist enough maybe, is the machine running docker on the same subnet as domoticz ?

some command:
$ docker-machine ip

or

$ docker inspect --format '{{ .NetworkSettings.IPAddress }}' $(docker ps -q)

or

$ boot2docker ip (on mac)

What gives this:

Code: Select all

docker inspect -f '{{ json .NetworkSettings }}' YOUR_IMAGE_ID
Last edited by epierre on Tuesday 19 January 2016 17:02, edited 2 times 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
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 »

johansson wrote:Hmm, I'm a bit lost now: after reading the topics and documentations, I still cannot get the gateway up and running.

Domoticz is installed on a Raspberry Pi (192.168.1.50, port 8080. The MyDomoAtHome installation was completed without errors, but still no luck:
1) the domo_path in config.yml changed to "http://192.168.1.50:8080" or "http://192.168.1.50:3001" or "http://192.168.1.50:whatever"
2) Port in MyDomoAtHome.sh changed respectively to 8080 or 3001 or something

Result always the same: http://192.168.1.50:8080/devices ends up always to normal Domoticz interface and http://192.168.1.50:3001/devices (or any alternative) results in "Safari can't connect to the Server"

Long story short: what should the gateway ip and port be set to?

1) domo_path is the http address to reach your domoticz so http://192.168.1.50:8080
2) if on the same machine, 8080 port is already for domoticz, so starting MDAH will not be possible if the port is already binded to another application, leave 3001 here to test, and try ./start2.sh to validate it can start
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 »

hanor wrote:Hi all,

I've got this error when executing start2.sh

[21887] debug @0.731817> [hit #1]DBG:182:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[21887] error @3.781034> [hit #1]request to GET /devices crashed: Could not create socket: Aucun chemin d'accès pour atteindre l'hôte cible in /usr/share/perl5/Dancer/Handler.pm l. 98

Any idea ?
ah a frenchman ;-) have you configured domo_path in config.yml ?
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
hanor
Posts: 7
Joined: Wednesday 01 October 2014 9:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by hanor »

salut ;-)

Yes the domo_path is configured.
When I try http://my-ip:8080/devices I can see in start2.sh most of my devices.
The crash appears at the end.

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

hanor wrote:salut ;-)

Yes the domo_path is configured.
When I try http://my-ip:8080/devices I can see in start2.sh most of my devices.
The crash appears at the end.
ok so dependencies are met.

In your browser you should access : http://192.168.1.50:3001/devices

When you say "crash" thre is a message "interface déjà utilisée" or "alrady bunded port" or something like that ?

do a "lsof -i tcp:3001 to see who's using port 3001" or a pas ax and search for an already running starman process and kill it.

on a classic system, on a port only one process can listen (aka bind), so start2.sh won't start (maybe what you call crash) if the process (started before) is already running on this 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
hanor
Posts: 7
Joined: Wednesday 01 October 2014 9:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by hanor »

here what I've got :

Code: Select all

pi@raspberrypi ~ $ sudo service MyDomoAtHome.sh stop
[ ok ] Stopping plack server: MyDomoAtHome.
pi@raspberrypi ~ $ sudo service MyDomoAtHome.sh status
[FAIL] MyDomoAtHome process is not running ... failed!
pi@raspberrypi ~ $
MyDomoAtHome service is not running --> I can start "start2.sh"

When I try http://my-ip:8080/devices I can see this message in chrome:

Code: Select all

{
   "exception" : "Could not create socket: Aucun chemin d'accès pour atteindre l'hôte cible\n",
   "error" : "Could not create socket: Aucun chemin d'accès pour atteindre l'hôte cible\n"
}
in the shell I've got a loop with this log:

Code: Select all

[12902] debug @1.730143> [hit #2]DBG:119:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12902] debug @1.731364> [hit #2]DBG:120:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12902] debug @1.732599> [hit #2]DBG:127:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12902] debug @1.733723> [hit #2]DBG:139:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12902] debug @1.734788> [hit #2]DBG:170:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12902] debug @1.735910> [hit #2]DBG:171:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12902] debug @1.736999> [hit #2]DBG:181:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12902] debug @1.738086> [hit #2]DBG:182:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12902] error @4.797388> [hit #2]request to GET /devices crashed: Could not create socket: Aucun chemin d'accès pour atteindre l'hôte cible in /usr/share/perl5/Dancer/Handler.pm l. 98
[12902]  core @4.803380> [hit #2]response: 500 in /usr/share/perl5/Dancer/Handler.pm l. 179
192.168.1.148 - - [20/Jan/2016:19:08:54 +0100] "GET /devices HTTP/1.1" 500 203 "-" "-"
[12903]  core @0.000965> request: GET /devices from 192.168.1.148 in /usr/share/perl5/Dancer/Handler.pm l. 56
[12903]  core @0.004109> [hit #2]Trying to match 'GET /devices' against /^\/$/ (generated from '/') in /usr/share/perl5/Dancer/Route.pm l. 84
[12903]  core @0.005811> [hit #2]Trying to match 'GET /devices' against /^\/rooms$/ (generated from '/rooms') in /usr/share/perl5/Dancer/Route.pm l. 84
[12903]  core @0.007395> [hit #2]Trying to match 'GET /devices' against /^\/system$/ (generated from '/system') in /usr/share/perl5/Dancer/Route.pm l. 84
[12903]  core @0.008908> [hit #2]Trying to match 'GET /devices' against /^\/devices\/([^\/]+)\/([^\/]+)\/histo\/([^\/]+)\/([^\/]+)$/ (generated from '/devices/:deviceId/:paramKey/histo/:startdate/:enddate') in /usr/share/perl5/Dancer/Route.pm l. 84
[12903]  core @0.010511> [hit #2]Trying to match 'GET /devices' against /^\/devices\/([^\/]+)\/action\/([^\/]+)\/?([^\/]+)?$/ (generated from '/devices/:deviceId/action/:actionName/?:actionParam?') in /usr/share/perl5/Dancer/Route.pm l. 84
[12903]  core @0.012073> [hit #2]Trying to match 'GET /devices' against /^\/devices$/ (generated from '/devices') in /usr/share/perl5/Dancer/Route.pm l. 84
[12903]  core @0.013636> [hit #2]  --> got 1 in /usr/share/perl5/Dancer/Route.pm l. 102
[12903] debug @0.016398> [hit #2]http://127.0.0.1:8080/json.htm?type=devices&filter=all&used=true&order=Name in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 410
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.430618> [hit #2]DBG:2:Scene: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.432661> [hit #2]DBG:14:Scene: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.435110> [hit #2]DBG:15:Scene: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.437132> [hit #2]DBG:8:Group: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.439092> [hit #2]DBG:5:Group: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.440517> [hit #2]DBG:6:Group: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.442432> [hit #2]DBG:22:Group: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.444477> [hit #2]DBG:16:Group: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.446472> [hit #2]DBG:18:Group: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.448867> [hit #2]DBG:19:Scene: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.451353> [hit #2]DBG:20:Scene: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.454035> [hit #2]DBG:17:Scene: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 435.
[12903] debug @1.456818> [hit #2]DBG:21:Scene: in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
Use of uninitialized value in concatenation (.) or string at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 860.
[12903] debug @1.459009> [hit #2]DBG:105:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.460447> [hit #2]DBG:106:Lighting 1:ARC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.461844> [hit #2]DBG:99:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.463318> [hit #2]DBG:9:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.464781> [hit #2]DBG:100:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.466187> [hit #2]DBG:41:Lighting 1:X10 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.467561> [hit #2]DBG:133:Lighting Limitless/Applamp:RGBW in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.469004> [hit #2]DBG:130:Lighting Limitless/Applamp:RGBW in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.470438> [hit #2]DBG:53:Lighting Limitless/Applamp:RGBW in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.471882> [hit #2]DBG:54:Lighting Limitless/Applamp:RGBW in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.473351> [hit #2]DBG:55:Lighting Limitless/Applamp:RGBW in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.474758> [hit #2]DBG:13:Lighting 1:ARC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.476114> [hit #2]DBG:166:Temp:THR128/138, THC138 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.477595> [hit #2]DBG:39:Temp + Humidity:THGN122/123, THGN132, THGR122/228/238/268 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.479070> [hit #2]DBG:11:Temp + Humidity:THGN122/123, THGN132, THGR122/228/238/268 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.480575> [hit #2]DBG:131:Lighting Limitless/Applamp:RGBW in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.482058> [hit #2]DBG:132:Lighting Limitless/Applamp:RGBW in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.483551> [hit #2]DBG:122:Lighting 1:ARC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.484963> [hit #2]DBG:33:Lighting 1:COCO GDR2 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.486350> [hit #2]DBG:121:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.487735> [hit #2]DBG:63:Lighting 1:X10 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.489113> [hit #2]DBG:29:Security:KD101 smoke detector in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.490548> [hit #2]DBG:61:Lighting 1:X10 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.491912> [hit #2]DBG:17:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.493357> [hit #2]DBG:36:Lighting 1:X10 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.494762> [hit #2]DBG:103:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.496154> [hit #2]DBG:102:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.497579> [hit #2]DBG:101:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.498983> [hit #2]DBG:16:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.500354> [hit #2]DBG:20:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.501728> [hit #2]DBG:19:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.503191> [hit #2]DBG:12:Temp + Humidity:THGN122/123, THGN132, THGR122/228/238/268 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.504720> [hit #2]DBG:115:Temp + Humidity:THGN122/123, THGN132, THGR122/228/238/268 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.506226> [hit #2]DBG:116:Temp + Humidity:THGN122/123, THGN132, THGR122/228/238/268 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.507717> [hit #2]DBG:160:Rain:PCR800 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.509164> [hit #2]DBG:24:Wind:TFA in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.510672> [hit #2]DBG:26:General:Visibility in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.512164> [hit #2]DBG:28:UV:UVN128,UV138 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.513654> [hit #2]DBG:81:General:Solar Radiation in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.515176> [hit #2]DBG:23:Temp + Humidity + Baro:THB1 - BTHR918, BTHGN129 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.516731> [hit #2]DBG:18:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.518118> [hit #2]DBG:104:General:kWh in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.519661> [hit #2]DBG:47:General:Percentage in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.521158> [hit #2]DBG:43:General:Percentage in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.522612> [hit #2]DBG:44:General:Percentage in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.524168> [hit #2]DBG:45:General:Percentage in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.525632> [hit #2]DBG:57:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.527040> [hit #2]DBG:58:Lighting 1:COCO GDR2 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.528434> [hit #2]DBG:59:Lighting 1:COCO GDR2 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.529817> [hit #2]DBG:129:Lighting 1:ARC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.531205> [hit #2]DBG:128:Lighting 1:ARC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.532578> [hit #2]DBG:40:Lighting 1:X10 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.533768> [hit #2]DBG:62:Lighting 1:X10 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.534873> [hit #2]DBG:65:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.535969> [hit #2]DBG:66:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.537042> [hit #2]DBG:67:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.538108> [hit #2]DBG:68:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.539155> [hit #2]DBG:69:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.540212> [hit #2]DBG:70:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.541271> [hit #2]DBG:71:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.542320> [hit #2]DBG:125:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.543456> [hit #2]DBG:126:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.544557> [hit #2]DBG:84:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.545615> [hit #2]DBG:135:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.546646> [hit #2]DBG:137:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.547685> [hit #2]DBG:136:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.548809> [hit #2]DBG:74:Lighting 1:X10 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.549872> [hit #2]DBG:118:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.550912> [hit #2]DBG:76:Lighting 1:X10 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.551946> [hit #2]DBG:88:Temp + Humidity + Baro:THB1 - BTHR918, BTHGN129 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.553261> [hit #2]DBG:89:Temp + Humidity + Baro:THB1 - BTHR918, BTHGN129 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.554483> [hit #2]DBG:48:Rain:WWW in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.555586> [hit #2]DBG:90:Rain:TFA in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.556676> [hit #2]DBG:97:Lighting 1:X10 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.557801> [hit #2]DBG:98:Temp:TFA 30.3133 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.559017> [hit #2]DBG:109:Air Quality:Voltcraft CO-20 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.560196> [hit #2]DBG:110:Air Quality:Voltcraft CO-20 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.561361> [hit #2]DBG:111:Air Quality:Voltcraft CO-20 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.562536> [hit #2]DBG:113:Air Quality:Voltcraft CO-20 in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.563790> [hit #2]DBG:119:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.565030> [hit #2]DBG:120:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.566174> [hit #2]DBG:127:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.567261> [hit #2]DBG:139:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.568359> [hit #2]DBG:170:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.569450> [hit #2]DBG:171:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.570531> [hit #2]DBG:181:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] debug @1.571602> [hit #2]DBG:182:Lighting 2:AC in /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm l. 435
[12903] error @4.618048> [hit #2]request to GET /devices crashed: Could not create socket: Aucun chemin d'accès pour atteindre l'hôte cible in /usr/share/perl5/Dancer/Handler.pm l. 98
[12903]  core @4.621705> [hit #2]response: 500 in /usr/share/perl5/Dancer/Handler.pm l. 179
192.168.1.148 - - [20/Jan/2016:19:09:03 +0100] "GET /devices HTTP/1.1" 500 203 "-" "-"
^C2016/01/20-19:09:07 Server closing!
result of "lsof -i tcp:3001" : empty
I killed all the starman process : no change
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 »

hanor wrote:
MyDomoAtHome service is not running --> I can start "start2.sh"

When I try http://my-ip:8080/devices I can see this message in chrome:
Where I'm puzzled is that the 8080 port is normally for proxyes, ok domoticz use it too but you should not have MDAH using it in case it is running on the same machine as domoticz.

Can you post here your config.yml please, I guess the issue is inside... (replace by xxx if passwords are in)
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
Drdre
Posts: 4
Joined: Tuesday 31 March 2015 21:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by Drdre »

epierre wrote:
Drdre wrote:Hello Epierre,

I've got this error:

Error while loading /home/pi/domoticz/MyDomoAtHome/bin/app.pl: Can't locate Time/Moment.pm in @INC (@INC contains: /home/pi/domoticz/MyDomoAtHome/bin/../lib /home/pi/domoticz/MyDomoAtHome/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/lib/Domo.pm line 31.
Compilation failed in require at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.
BEGIN failed--compilation aborted at /home/pi/domoticz/MyDomoAtHome/bin/app.pl line 20.

Can you help me????
same for you:

sudo cpanm Time::Moment
I've got the next error when I do sudo cpanm Time::Moment

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo cpanm Time::Moment
--> Working on Time::Moment
Fetching http://www.cpan.org/authors/id/C/CH/CHA ... .37.tar.gz ... OK
Configuring Time-Moment-0.37 ... N/A
! Configure failed for Time-Moment-0.37. See /root/.cpanm/build.log for details.

Gr DrDre
hanor
Posts: 7
Joined: Wednesday 01 October 2014 9:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by hanor »

Hi,
epierre wrote:Can you post here your config.yml please, I guess the issue is inside... (replace by xxx if passwords are in)
--> here config.yml

Code: Select all

# This is the main configuration file of your Dancer app
# env-related settings should go to environments/$env.yml
# all the settings in this file will be loaded at Dancer's startup.

#MyDomoAtHome specific configuration
domo_path: "http://127.0.0.1:8080"
external_url_camera : "http://ip:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=&pwd="
volumio_path: "192.168.1.106"
#Just the IP here assuming default port and no login/password, if void inactive


# Your application's name
appname: "MyDomoAtHome"

# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
logger: 'file'
log: 'error'

# when the charset is set to UTF-8 Dancer will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: UTF-8
engines:
    serializer:
        JSON:
            utf8: 0
serializer: 'JSON'
#template: "simple"
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 »

Drdre wrote:
epierre wrote: sudo cpanm Time::Moment
I've got the next error when I do sudo cpanm Time::Moment

pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo cpanm Time::Moment
--> Working on Time::Moment
Fetching http://www.cpan.org/authors/id/C/CH/CHA ... .37.tar.gz ... OK
Configuring Time-Moment-0.37 ... N/A
! Configure failed for Time-Moment-0.37. See /root/.cpanm/build.log for details.
can you send me the /root/.cpanm/build.log to [email protected] so I can se and avoid polluting the forum on logs ?

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

hanor wrote:Hi,
epierre wrote:Can you post here your config.yml please, I guess the issue is inside... (replace by xxx if passwords are in)
--> here config.yml

Code: Select all

# This is the main configuration file of your Dancer app
# env-related settings should go to environments/$env.yml
# all the settings in this file will be loaded at Dancer's startup.

#MyDomoAtHome specific configuration
domo_path: "http://127.0.0.1:8080"
external_url_camera : "http://ip:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=&pwd="
volumio_path: "192.168.1.106"
#Just the IP here assuming default port and no login/password, if void inactive


# Your application's name
appname: "MyDomoAtHome"

# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
logger: 'file'
log: 'error'

# when the charset is set to UTF-8 Dancer will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: UTF-8
engines:
    serializer:
        JSON:
            utf8: 0
serializer: 'JSON'
#template: "simple"
let's be extreme, try just this:

Code: Select all

domo_path: "http://127.0.0.1:8080"
appname: "MyDomoAtHome
the MPD/volumio was a bad idea to include for where there is an issue it breaks everything, this is the way the library is done...
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest