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.
Hello,
First are all your MDAH running on the same computer ?
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.
Hello,
First are all your MDAH running on the same computer ?
No they don't.
One is in Holland and second is in Spain. So two differend computers.
V3.9460(beta)
2 x RPI (remote) B 2.0 512MB
2 x RPI (remote) B+ 512MB
2 x RPI (remote) 2B 1024MB
2 x PiFace 2 - 1 x RFXtrx433E Firmware 1024 - 4 x RFLink_r48 - 3 x RFLink_r48 - RFLink Gateway
3 x Action (Impuls) - 2 x AMST606 - 9 x MySensors
line 92: return {"id"=> "MyDomoAtHome Dev","apiversion"=> 1};
try it and tell me if this works for you. If yes I will raise a ticket to Imperihome Team for this undocumented restriction to see if it can be levied.
line 92: return {"id"=> "MyDomoAtHome Dev","apiversion"=> 1};
try it and tell me if this works for you. If yes I will raise a ticket to Imperihome Team for this undocumented restriction to see if it can be levied.
Unfortunately I can not test it now.
I'm back in the Netherlands.
I do not dare to test it from a distance because perhaps I will lose my connection with the raspberry, and that is something I can not risc.
I can try to take an other Raspberry for testing this in the same lan but with 2 differend pc's.
will give it an try.
V3.9460(beta)
2 x RPI (remote) B 2.0 512MB
2 x RPI (remote) B+ 512MB
2 x RPI (remote) 2B 1024MB
2 x PiFace 2 - 1 x RFXtrx433E Firmware 1024 - 4 x RFLink_r48 - 3 x RFLink_r48 - RFLink Gateway
3 x Action (Impuls) - 2 x AMST606 - 9 x MySensors
Ive installed mydomoathome with the wiki instructions.
When i open the gateway/devices link i see no page (500 error)
Can someone help me solve this? When i start the service it says ok. When i stop the service i get an error that the service is not found for stopping.
Good morning,
this morning I noticed that MDH was not running. When I started MDH by hand (./start2.sh) everything looked good. Again, starting MDH with autostart or via sudo service does not start it.
So I run an update with update-MDH.sh. I saw an error message: ./speedUP.sh not found
Seems to be a typo -> speedUP.sh is not on github, but speedUp.sh is. So in update-MDH.sh I changed speedUP.sh to speedUp.sh.
The message ./speedUp.sh not found vanished, but instead I now got a bunch of error messages (obviously from speedUp.sh) saying:
Error: near line 1: no such table: main.Multimeter
Error: near line 2: no such table: main.Meter
...
In total 13 messages.
Please advise. Let me know, if you need more or addtional information.
I am on Domoticz beta V2.3444
line 92: return {"id"=> "MyDomoAtHome Dev","apiversion"=> 1};
try it and tell me if this works for you. If yes I will raise a ticket to Imperihome Team for this undocumented restriction to see if it can be levied.
I have the same issue with 2 RPI's with MyDomoAtHome.
I have changed line 92, and in fact if I call http://ip-mydomoathome/system it returns: {"id":"MyDomoAtHome2","apiversion":1} so the change has effect on the API.
However if I try to connect the ImperiHome App I still get the error: "A system with this identifier already exists. Please edit this one or delete it"
Any other way to get this working? And what is the use of setting the "app name" in the config.yml and production.yml ?
Last edited by Bikey on Sunday 01 November 2015 22:12, edited 2 times in total.
I can now confirm that with the latest update, the Imperihome iOS App can handle self-signed certificates. For this you need to set the option for this in the settings of the App and of course configure the system to use NGinx as explained in the Wiki.
However I still can not connect securely to Imperihome because for some reason the username/password is rejected by Nginx if I use the ImperiHome App (as can be seen in the Nginx logs).
It does work perfectly from a browser, so I would say that I have configured NGinx correctly.
If tried this at least ten times so it is not a typo in the App.
So, my question is: has anybody a working configuration with Nginx/MyDomoAtHome with a username/password configured in the Imperihome App for iOS?
joshimosh wrote:Good morning,
this morning I noticed that MDH was not running. When I started MDH by hand (./start2.sh) everything looked good. Again, starting MDH with autostart or via sudo service does not start it.
So I run an update with update-MDH.sh. I saw an error message: ./speedUP.sh not found
Seems to be a typo -> speedUP.sh is not on github, but speedUp.sh is. So in update-MDH.sh I changed speedUP.sh to speedUp.sh.
The message ./speedUp.sh not found vanished, but instead I now got a bunch of error messages (obviously from speedUp.sh) saying:
Error: near line 1: no such table: main.Multimeter
Error: near line 2: no such table: main.Meter
...
In total 13 messages.
Please advise. Let me know, if you need more or addtional information.
I am on Domoticz beta V2.3444
Hello,
I've seen the typo error on the script and corrected it, but it should not prevent domoticz from running.
do not run it through sudo, and it expects domoticz to be in ~/domoticz
Please upgrade and check MyDomoAtHome.sh if it includes well your path, and place it in /etc/init.d
Bikey wrote:
I have the same issue with 2 RPI's with MyDomoAtHome.
I have changed line 92, and in fact if I call http://ip-mydomoathome/system it returns: {"id":"MyDomoAtHome2","apiversion":1} so the change has effect on the API.
However if I try to connect the ImperiHome App I still get the error: "A system with this identifier already exists. Please edit this one or delete it"
Any other way to get this working? And what is the use of setting the "app name" in the config.yml and production.yml ?
Imperihome remembers the value for a configuration, delete the system in Imperihome and recreate it and this is it !
I can have two running at the same time with no issue.
Bikey wrote:
However I still can not connect securely to Imperihome because for some reason the username/password is rejected by Nginx if I use the ImperiHome App (as can be seen in the Nginx logs).
It does work perfectly from a browser, so I would say that I have configured NGinx correctly.
If tried this at least ten times so it is not a typo in the App.
So, my question is: has anybody a working configuration with Nginx/MyDomoAtHome with a username/password configured in the Imperihome App for iOS?
I would suggest that you raise a ticket to Imperihome team.
Sadly the Aple validation process is very long so if they correct this on their side, you may have to wait some months to have it on the app store
epierre wrote:
Imperihome remembers the value for a configuration, delete the system in Imperihome and recreate it and this is it !
I can have two running at the same time with no issue.
Yes that was the solution, thanks!
Would be nice though if the system name as configured in "app name" in the config.yml could be used for this.
epierre wrote:
Imperihome remembers the value for a configuration, delete the system in Imperihome and recreate it and this is it !
I can have two running at the same time with no issue.
Yes that was the solution, thanks!
Would be nice though if the system name as configured in "app name" in the config.yml could be used for this.
Bikey wrote:
So, my question is: has anybody a working configuration with Nginx/MyDomoAtHome with a username/password configured in the Imperihome App for iOS?
I would suggest that you raise a ticket to Imperihome team.
I will, If it is clear that it is not a problem with the NGINX or with my MyDomoAtHome configuration. So to be sure: have you - or anybody else - been able to use the username/password in the ImperiHome App for iOS?
As long that this is not working it is not safe to expose the service to the internet of course; you should both SSL and a username/password to protect your system.
Bikey wrote:
So, my question is: has anybody a working configuration with Nginx/MyDomoAtHome with a username/password configured in the Imperihome App for iOS?
I would suggest that you raise a ticket to Imperihome team.
I will, If it is clear that it is not a problem with the NGINX or with my MyDomoAtHome configuration. So to be sure: have you - or anybody else - been able to use the username/password in the ImperiHome App for iOS?
As long that this is not working it is not safe to expose the service to the internet of course; you should both SSL and a username/password to protect your system.
agreed, but so far I don't have any ios to test this..
I am facing technical difficulties porting the Perl Dancer to Synology and getting support for this.
I am considering migrating it to nodejs for it has a very good support, and technically is not very far from what I already did (those frameworks are so close)... but this means heavy rework and testing... and a tunnel effect.
1- Have you any *important* issues already identified or not, that would require to be corrected in the current versions ?
2- Are there people here that would help me in testing the new app installation procedure and workings ?
after a fresh install of Domoticz and MDAH, MDAH isn't working like it used to.
When I request http://192.168.2.20:3001/devices in a browser the response is:
{
exception: "Could not create socket: Invalid argument ",
error: "Could not create socket: Invalid argument "
}
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo ./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
YAML::Mo::__ANON__('YAML::Loader=HASH(0x22c2660)', 'YAML_LOAD_WARN_DUPLICATE_KEY') called at /usr/share/perl5/YAML/Loader.pm line 359
YAML::Loader::_parse_mapping('YAML::Loader=HASH(0x22c2660)', '') called at /usr/share/perl5/YAML/Loader.pm line 168
YAML::Loader::_parse_node('YAML::Loader=HASH(0x22c2660)') called at /usr/share/perl5/YAML/Loader.pm line 103
YAML::Loader::_parse('YAML::Loader=HASH(0x22c2660)') called at /usr/share/perl5/YAML/Loader.pm line 25
YAML::Loader::load('YAML::Loader=HASH(0x22c2660)', '# appdir/environments/development.yml
# configuration file fo...') called at /usr/share/perl5/YAML.pm line 34
YAML::Load('# appdir/environments/development.yml
# 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 bin/app.pl line 19
Plack::Sandbox::bin_2fapp_2epl::BEGIN() called at bin/app.pl line 19
eval {...} called at bin/app.pl line 19
require bin/app.pl called at (eval 7) line 3
eval 'package Plack::Sandbox::bin_2fapp_2epl;
{
my $app = do $_file;
if ( !$app && ( my $error = $@ || $! )) { die $error; }
$app;
}
;' called at /usr/share/perl5/Plack/Util.pm line 118
Plack::Util::_load_sandbox('bin/app.pl') called at /usr/share/perl5/Plack/Util.pm line 155
Plack::Util::load_psgi('bin/app.pl') called at /usr/share/perl5/Plack/Runner.pm line 176
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Runner.pm line 23
Plack::Runner::__ANON__() called at /usr/share/perl5/Plack/Loader.pm line 59
Plack::Loader::preload_app('Plack::Loader=HASH(0x1b929f8)', 'CODE(0x1bc9a48)') called at /usr/share/perl5/Plack/Runner.pm line 260
Plack::Runner::run('Plack::Runner=HASH(0x1a5f358)') called at /usr/bin/plackup line 10
Error while loading 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 bin/app.pl line 20.
BEGIN failed--compilation aborted at bin/app.pl line 20.
When i go to the gateway devices url i don't see an page loading. Is it possible to delete mydomoathome and do a fresh install? Or is there anything alse i can do?
EDIT: I've reinstalled my whole raspberry. Now everything is working fine. It was a corrupt file in the pkgdb... so the whole installation process failed.