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

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

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

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
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
gerardosamara
Posts: 55
Joined: Sunday 23 October 2016 19:49
Target OS: Linux
Domoticz version: 4.10778
Contact:

Re: [MyDomoAtHome] Support thread

Post 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
Domoticz Beta V4.11763 in Debian 10 VM
Domoticz Beta V4.11763 in RPI3
MDAH 0.2.42 + Imperihome Pro V4.3.17
App Android Domoticz Lite V0.2.201
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 »

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.
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
gerardosamara
Posts: 55
Joined: Sunday 23 October 2016 19:49
Target OS: Linux
Domoticz version: 4.10778
Contact:

Re: [MyDomoAtHome] Support thread

Post 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 ?
Domoticz Beta V4.11763 in Debian 10 VM
Domoticz Beta V4.11763 in RPI3
MDAH 0.2.42 + Imperihome Pro V4.3.17
App Android Domoticz Lite V0.2.201
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 »

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 ?
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
gerardosamara
Posts: 55
Joined: Sunday 23 October 2016 19:49
Target OS: Linux
Domoticz version: 4.10778
Contact:

Re: [MyDomoAtHome] Support thread

Post 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 ?
Domoticz Beta V4.11763 in Debian 10 VM
Domoticz Beta V4.11763 in RPI3
MDAH 0.2.42 + Imperihome Pro V4.3.17
App Android Domoticz Lite V0.2.201
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 »

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
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
gerardosamara
Posts: 55
Joined: Sunday 23 October 2016 19:49
Target OS: Linux
Domoticz version: 4.10778
Contact:

Re: [MyDomoAtHome] Support thread

Post by gerardosamara »

Thanks Mark,

Here also this command works to download the pgp key but is the full installation successful ?
Domoticz Beta V4.11763 in Debian 10 VM
Domoticz Beta V4.11763 in RPI3
MDAH 0.2.42 + Imperihome Pro V4.3.17
App Android Domoticz Lite V0.2.201
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 »

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
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
anoriel
Posts: 8
Joined: Friday 18 August 2017 14:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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 ! :)
anoriel
Posts: 8
Joined: Friday 18 August 2017 14:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by anoriel »

Well it seems that I'm the only one who tried to add another instance... :(


Maybe nobody have been successful trying... :?:
Xztraz
Posts: 107
Joined: Tuesday 31 January 2017 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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?
rlg6767
Posts: 8
Joined: Friday 30 March 2018 22:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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?
RedRaven
Posts: 21
Joined: Saturday 25 November 2017 4:00
Target OS: -
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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 :(
anoriel
Posts: 8
Joined: Friday 18 August 2017 14:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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 ?
12345caravan
Posts: 14
Joined: Friday 31 October 2014 9:05
Target OS: Linux
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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.
kmccor
Posts: 13
Joined: Sunday 20 March 2016 23:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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
DomoArigato
Posts: 36
Joined: Monday 30 April 2018 13:41
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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.
marcojpolet
Posts: 63
Joined: Thursday 04 February 2016 20:18
Target OS: -
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests