Page 46 of 55

Re: [MyDomoAtHome] Support thread

Posted: Friday 26 January 2018 14:16
by epierre
dextm80 wrote: Wednesday 10 January 2018 18:39 hi, i've a problem.

Code: Select all

{
  "app_name": "MyDomoAtHome",
   "auth": null,
   "domoticz": {
        "ssl": false,
        "host": "127.0.0.1",
        "port": "8888",
        "path": "/",
        "auth": { "username": "admin", "password": "admin" },
   },
  "port": 3002,
  "passcode": ""
}

Syntax error, no comma before a closing

},
},

should be

}
},

Re: [MyDomoAtHome] Support thread

Posted: Monday 29 January 2018 14:04
by epierre
gerardosamara wrote: Saturday 20 January 2018 12:03

pi@raspberrypi:/ $ wget -qo - http://www.e-nef.com/domoticz/mdah/gpg.key | sudo apt-key add - sudo nano /etc/apt/sources.list

gpg: no valid OpenPGP data found.
gpg: can't open 'sudo': No such file or directory
gpg: can't open 'nano': No such file or directory
gpg: no valid OpenPGP data found.

Is it a known issue ?
Thanks
if you run a linux, sudo and nano are basic commands.
You should do that in two steps, I guess cus/paste was an issue there:

wget -qo - http://www.e-nef.com/domoticz/mdah/gpg.key | sudo apt-key add -

sudo nano /etc/apt/sources.list

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 30 January 2018 10:03
by gerardosamara
Thanks for the proposal.

When I ran the commands in 2 steps so first " wget -qo - http://www.e-nef.com/domoticz/mdah/gpg.key | sudo apt-key add - "

=> I got " gpg: no valid OpenPGP data found."

The existing gpg files were deleted first from the /home/pi directory

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 30 January 2018 10:06
by epierre
I t'ied this yesterday and it worked, maybe add https in the path if you are running on a very old and not updated pi version.

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 30 January 2018 10:47
by gerardosamara
Same issue with "https" .

This RPI3 is running Stretch but I have anothe RPI3 running Jessie where MDAH were installed successfully some time ago.

Are you running Stretch as weel ?

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 30 January 2018 10:58
by epierre
ok you're on pi3, I don't have any around, tested on ubuntu(odroid), raspbian and several others with no issue so far.

don't know how to explore this issue, what gpg version have you on each one so I can see something here ?

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 30 January 2018 11:44
by gerardosamara
on Raspbian/Stretch , dpkg -l gnupg gives " version 2.1.18~deb9u1 ".

For the moment i cannot access remotely to my RPI/Jessie

May be others users can confirm if it works or not with stretch ?

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 30 January 2018 14:17
by Doler
Confirmed that this works on RPI3 - Stretch. Just tried 'wget -qo - http://www.e-nef.com/domoticz/mdah/gpg.key' and the key is downloaded.

Grtz, Mark

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 30 January 2018 14:58
by gerardosamara
Thanks Mark,

Here also this command works to download the pgp key but is the full installation successful ?

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 30 January 2018 16:40
by Doler
gerardosamara wrote: Tuesday 30 January 2018 14:58 Thanks Mark,

Here also this command works to download the pgp key but is the full installation successful ?
Yes, although I didn't test the connection since I have Stretch on a test system only. I executed the next steps:

Code: Select all

// with node/npm installed
$ wget -qO - http://www.e-nef.com/domoticz/mdah/gpg.key | sudo apt-key add -
$ sudo nano /etc/apt/sources.list
	add:
	deb https://www.e-nef.com/domoticz/mdah/ /
$ sudo apt update
$ sudo apt install MyDomoAtHome
$ sudo nano /etc/mydomoathome/config.json [with your values]
Hope this helps.
Grtz, Mark

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 13 February 2018 15:54
by anoriel
Hi all, :D

I've been trying to add another instance to MyDomoAtHome but it does not read my config.json and goes to a default one... :evil:

Here is my config.json file :

Code: Select all

[{
	"app_name": "MDAH_User1",
	"auth": {
		"username": "user1",
		"password": "password1"
	},
	"domoticz": {
		"ssl": false,
		"host": "127.0.0.1",
		"port": "8080",
		"path": "/",
		"auth": {
			"username": "domoticz_user1",
			"password": "domoticz_password1"
		}
	},
	"port": 3002,
	"passcode": ""
},
{
	"app_name": "MDAH_User2",
	"auth": {
		"username": "user2",
		"password": "password2"
	},
	"domoticz": {
		"ssl": false,
		"host": "127.0.0.1",
		"port": "8080",
		"path": "/",
		"auth": {
			"username": "domoticz_user2",
			"password": "domoticz_password2"
		}
	},
	"port": 3003,
	"passcode": ""
}]
And here is the log when I reload MDAH service :

Code: Select all

févr. 13 15:44:17 [hostname] systemd[1]: Starting MDAH ISS Rest interface for Domoticz to Imperihome...
févr. 13 15:44:17 [hostname] systemd[1]: Started MDAH ISS Rest interface for Domoticz to Imperihome.
févr. 13 15:44:25 [hostname] MDAH[25291]: warn: basic configuration not found in /etc/mydomoathome/config.json, defaulting
févr. 13 15:44:25 [hostname] MDAH[25291]: warn: domoticz access configuration not found in /etc/mydomoathome/config.json, defaulting
févr. 13 15:44:25 [hostname] MDAH[25291]: info: Domoticz server: http://127.0.0.1:8080/json.htm
févr. 13 15:44:25 [hostname] MDAH[25291]: info: Node version: 4.2.2
févr. 13 15:44:25 [hostname] MDAH[25291]: info: MDAH version: MyDomoAtHome 0.2.8
févr. 13 15:44:25 [hostname] MDAH[25291]: info: OS version: Linux linux 4.9.59-v7+
févr. 13 15:44:25 [hostname] MDAH[25291]: info: Hostname: [hostname] 192.168.{XXX.XXX} in /var/www /usr/share/mydomoathome
févr. 13 15:44:25 [hostname] MDAH[25291]: info: MDAH port: 3002
févr. 13 15:44:26 [hostname] MDAH[25291]: info: Refreshing version cache: v0.2.36
Have anyone been able to set a multi-instances config ?

I didn't find anything in this thread or in Google...

If I only put one instance, it works, ex :

Code: Select all

{
	"app_name": "MDAH_User1",
	"auth": {
		"username": "user1",
		"password": "password1"
	},
	"domoticz": {
		"ssl": false,
		"host": "127.0.0.1",
		"port": "8080",
		"path": "/",
		"auth": {
			"username": "domoticz_user1",
			"password": "domoticz_password1"
		}
	},
	"port": 3002,
	"passcode": ""
}
Thanks in advance ! :)

Re: [MyDomoAtHome] Support thread

Posted: Thursday 15 February 2018 8:26
by anoriel
Well it seems that I'm the only one who tried to add another instance... :(


Maybe nobody have been successful trying... :?:

Re: [MyDomoAtHome] Support thread

Posted: Thursday 22 March 2018 10:46
by Xztraz
Sliders are still a mess for blinds. is it the mydomo ort he imperihome app that halndles the sliders wrong?

it goes
Slider value - Blinds closed value
0%-0%(fully closed)
1%-99% (almost fully open)
50%-50%
99%-1%(almost fully closed)
100%-100%(fully opened)

can i check logs somewhere to help?

Re: [MyDomoAtHome] Support thread

Posted: Friday 30 March 2018 22:59
by rlg6767
So I have finished seeing up MyDomoAtHome on a Raspberry Pi 3. I can see the gateway at 192.168.1.90:3002. I can also see the devices from a browser at 192.168.1.90:3002/devices

However I can't seem to get ImperiHome to connect to the local address. I haven't set up Nginx or port forwarding yet. Is this a dependency or should it work on my local network?

Re: [MyDomoAtHome] Support thread

Posted: Thursday 05 April 2018 20:02
by RedRaven
anoriel wrote: Thursday 15 February 2018 8:26 Well it seems that I'm the only one who tried to add another instance... :(


Maybe nobody have been successful trying... :?:
Were you able to get it working? I am stuck in the same boat :(

Re: [MyDomoAtHome] Support thread

Posted: Thursday 05 April 2018 20:49
by anoriel
Hi RedRaven,

Actually no...
I think we need to copy another instance in another folder maybe ?
But this mean everything must be copied, service systems, config files...

What do you think ?

Re: [MyDomoAtHome] Support thread

Posted: Sunday 15 April 2018 12:35
by 12345caravan
After last domoticz update imperihome is not showing my rflink milight devices/switches anymore....
Tryed to reload switches but there gone.
Anyone else have this problem? Or better a solution? :D
Domoticz app is showing them and they are working through the browser so the problem is within imperihome.

Re: [MyDomoAtHome] Support thread

Posted: Monday 16 April 2018 11:56
by kmccor
Hi, I've just updated Domoticz to beta build V3.9227 to fix an unrelated issue but now my RGB Yeelights are no longer available as an RGB switch in MyDomoAtHome, although the Dimmer and White Temp for the same lights are. They've worked fine with full RGB functionality up until this point and still work correctly from within Domoticz.

I've updated MyDomoAtHome to version 0.2.36 which has made no difference.

Is there anything I can do to fix this?

Thanks
Karl

Re: [MyDomoAtHome] Support thread

Posted: Thursday 10 May 2018 16:57
by DomoArigato
Hi all.

First of all - thanks a lot to everyone using their precious time to create this solution!
Great work.

Have installed domoticz (3.8153) and MyDomoatHome (0.2.36) on a Synology NAS. I used both from jadalh.com
In principle it works like a charm!
One issue I still have - once I add new devices to the domoticz system, I cannot see them in ImperiHome on iOS.
I see and can use the previous devices but not the new ones. The devices are in domoticz and are usable there.

Only when I delete ImperiHome app from phone and start all new (including building new dashboard in ImperiHome app) I see all devices up to that point in time.
When adding devices after that, they are not listed in the devices list on ImperiHome app. So I would have to delete and reinstall the app on the phone again. :o

Anybody having an idea?

Thanks a lot in advance.

Re: [MyDomoAtHome] Support thread

Posted: Sunday 13 May 2018 7:22
by marcojpolet
Hi,

If you're missing devices in ImperiHome, you might check the /devices link of your DomoAtHome server (i.e. http://serverip:port/devices). In there you should get a list of all your devices. If you don't see your device there, it for sure won't show up in ImperiHome. If it does, you need to check ImperiHome settings.

Regards,
Marco