[MyDomoAtHome] Support thread

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.
User avatar
epierre
Posts: 725
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Postby epierre » Monday 12 December 2016 23:19

Hello sorampage,

the name of the device is not useful to me, I need the result of the following to know what domoticz makes of it:

http://domoticz_ip:8080/json.htm?type=d ... order=Name
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

sorampage
Posts: 14
Joined: Friday 16 September 2016 11:18
Target OS: Raspberry Pi
Domoticz version: LastStab
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Postby sorampage » Tuesday 13 December 2016 11:34


Pocke
Posts: 2
Joined: Thursday 22 December 2016 13:43
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Postby Pocke » Thursday 22 December 2016 13:54

Hi,

I have a problem with MyDomoAtHome. Everytime i try to access http://web:3002/devices it crashes.

Only thing i found in any log is this when i try to access the url.
Dec 22 11:47:06 web MDAH[2273]: undefined:702
Dec 22 11:47:06 web MDAH[2273]:
Dec 22 11:47:06 web MDAH[2273]:
Dec 22 11:47:06 web MDAH[2273]: SyntaxError: Unexpected token
Dec 22 11:47:06 web MDAH[2273]: error: Forever detected script exited with code: 1
Dec 22 11:47:06 web MDAH[2273]: error: Script restart attempt #22

Node version is 4.7
MDAH version 0.2.7
Running on ubuntu 16.04
domoticz v3.5877 (is running on a separate raspberry pi)

Is it possible to turn on some debug log to get more info?

Evelen
Posts: 242
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Postby Evelen » Thursday 22 December 2016 14:32

I have used MyDomoAtHome on Ubuntu server a long time now, but how do I update it to a newer version? can't find any info on that.

sudo apt-get update
sudo apt-get install MyDomoAtHome
gives me:
Uten navn.png
Uten navn.png (58.22 KiB) Viewed 341 times

mangegbg
Posts: 4
Joined: Saturday 23 August 2014 17:03
Target OS: NAS (Synology & others)
Domoticz version: 6226
Location: Sweden
Contact:

Re: [MyDomoAtHome] Support thread

Postby mangegbg » Monday 26 December 2016 15:36

Hi, I have problems setting up Domoticz and Mydomoathome on a Synology Diskstation. MDAH says D is on port 8084, local settings on D is on 8080 (web port is on 8084). What is the solution for this? Should I change port on Domoticz local settings or in MDAH somehow?

gerardosamara
Posts: 17
Joined: Sunday 23 October 2016 19:49
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: [MyDomoAtHome] Support thread

Postby gerardosamara » Thursday 29 December 2016 20:26

Hello,

When Installing the MDAH software Debian package .deb on a RPI3+Raspbian jessie :

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

The "gpg.key.4" file is downloaded ( when no" _qo" in the wget command) but then the following error is displayed : gpg : No valid OpenPGP data found.

Any advice please ?
Domoticz RPi3 V3.5877 + App Android Domoticz Lite V0.1.343 & Imperihome Pro V2.8.4
Zwave+ Z Stick Z90 USB dongle + USB300 Ocean GW dongle + Arduino Serial GW
Smart witch Aeotec DSC24 Gen2

User avatar
epierre
Posts: 725
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Postby epierre » Monday 02 January 2017 14:49

Pocke wrote:Hi,

I have a problem with MyDomoAtHome. Everytime i try to access http://web:3002/devices it crashes.

Only thing i found in any log is this when i try to access the url.
Dec 22 11:47:06 web MDAH[2273]: undefined:702
Dec 22 11:47:06 web MDAH[2273]: SyntaxError: Unexpected token
Dec 22 11:47:06 web MDAH[2273]: error: Forever detected script exited with code: 1
Dec 22 11:47:06 web MDAH[2273]: error: Script restart attempt #22

Is it possible to turn on some debug log to get more info?


not easily without modifying code, I removed lot of logs to save PI sdcards from premature weraing out, can you try uninstalling and reinstalling it ?
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: 725
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Postby epierre » Monday 02 January 2017 14:50

Evelen wrote:I have used MyDomoAtHome on Ubuntu server a long time now, but how do I update it to a newer version? can't find any info on that.

sudo apt-get update
sudo apt-get install MyDomoAtHome
gives me:
Uten navn.png


the 0.2.7 is the latest version, see here:
http://www.e-nef.com/domoticz/mdah/

if you were on the perl version, or if you haven't set the debian update automatically see:
https://github.com/empierre/MyDomoAtHome
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: 725
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Postby epierre » Monday 02 January 2017 14:52

mangegbg wrote:Hi, I have problems setting up Domoticz and Mydomoathome on a Synology Diskstation. MDAH says D is on port 8084, local settings on D is on 8080 (web port is on 8084). What is the solution for this? Should I change port on Domoticz local settings or in MDAH somehow?


With jumbotroll we made an out of the box work on that, so the 8084 is the one being used.
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: 725
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Postby epierre » Monday 02 January 2017 14:53

gerardosamara wrote:Hello,

When Installing the MDAH software Debian package .deb on a RPI3+Raspbian jessie :

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

The "gpg.key.4" file is downloaded ( when no" _qo" in the wget command) but then the following error is displayed : gpg : No valid OpenPGP data found.

Any advice please ?


remove local gpg.key and retry, also this is -qO (in upper case)
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: 17
Joined: Sunday 23 October 2016 19:49
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: [MyDomoAtHome] Support thread

Postby gerardosamara » Monday 02 January 2017 18:45

epierre wrote:
gerardosamara wrote:Hello,

When Installing the MDAH software Debian package .deb on a RPI3+Raspbian jessie :

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

The "gpg.key.4" file is downloaded ( when no" _qo" in the wget command) but then the following error is displayed : gpg : No valid OpenPGP data found.

Any advice please ?


remove local gpg.key and retry, also this is -qO (in upper case)



Thank you , I got it working

The problem was the -qO not in upper case
Domoticz RPi3 V3.5877 + App Android Domoticz Lite V0.1.343 & Imperihome Pro V2.8.4
Zwave+ Z Stick Z90 USB dongle + USB300 Ocean GW dongle + Arduino Serial GW
Smart witch Aeotec DSC24 Gen2

Pocke
Posts: 2
Joined: Thursday 22 December 2016 13:43
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Postby Pocke » Wednesday 04 January 2017 13:59

epierre wrote:
Pocke wrote:Hi,

I have a problem with MyDomoAtHome. Everytime i try to access http://web:3002/devices it crashes.

Only thing i found in any log is this when i try to access the url.
Dec 22 11:47:06 web MDAH[2273]: undefined:702
Dec 22 11:47:06 web MDAH[2273]: SyntaxError: Unexpected token
Dec 22 11:47:06 web MDAH[2273]: error: Forever detected script exited with code: 1
Dec 22 11:47:06 web MDAH[2273]: error: Script restart attempt #22

Is it possible to turn on some debug log to get more info?


not easily without modifying code, I removed lot of logs to save PI sdcards from premature weraing out, can you try uninstalling and reinstalling it ?



I tried to remove and reinstall still same error. only another undefined number. now 653

User avatar
epierre
Posts: 725
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Postby epierre » Wednesday 04 January 2017 14:37

ok, now have a look at your device logs through 'dmesg', try rebooting it and look at 'dmesg' regarding filesystem issues.

if not, try reinstall (remember to check it is effectively shut down before.

on command line, try to go to (from memory) /usr/local/lib/Mydomoathome/, find the mdah.js and try to manually launch it 'node mdah.js' and see what it says. (shut it down before)
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

danielchagasrs
Posts: 8
Joined: Thursday 03 November 2016 3:29
Target OS: Raspberry Pi
Domoticz version: 3.5837
Location: Brazil
Contact:

Re: [MyDomoAtHome] Support thread

Postby danielchagasrs » Sunday 08 January 2017 18:51

I installed the gateway and android App. It's all working fine, the android App is beautiful and works great (Domoticz App should be like that, or at least be similar to the mobile view, because the Domoticz mobile App is really ugly).

I didn't figure out how do I set different mobile devices with different user credentials with ImperiHome...
Gateway is running on the same Domoticz server, and 127.0.0.1 is configured at "local networks" under domoticz settings.

My domoticz has 2 users, each one with different devices associated, plus the admin with all devices.
When using imperihome app, everybody can see all devices, because I can't set the login (says unable to connect), so I have to use the logins defined inside config.json file, and then It has admin rights and sees all devices.

Does mdah support multiple users from Domoticz at this moment?

User avatar
epierre
Posts: 725
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Postby epierre » Sunday 08 January 2017 22:01

> My domoticz has 2 users, each one with different devices associated, plus the admin with all devices.

ok tricky, I would suggest running different mdah instances on different port (3002, 3003, 3004...), and in the domoticz auth use this user's auth.

for each, in the conf file, in the domoticz auth and even the one above use "auth": { "username": "admin", "password": "admin" }, (replace admin by this user's auth). Using twice this auth would do the trick.
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

danielchagasrs
Posts: 8
Joined: Thursday 03 November 2016 3:29
Target OS: Raspberry Pi
Domoticz version: 3.5837
Location: Brazil
Contact:

Re: [MyDomoAtHome] Support thread

Postby danielchagasrs » Monday 09 January 2017 19:29

[quote=]
ok tricky, I would suggest running different mdah instances on different port (3002, 3003, 3004...), and in the domoticz auth use this user's auth.
[/quote]

It doesnt make any difference, because both services are running on the same raspberry pi, and 127.0.0.1 is added to local networks (no login/password) in domoticz setting, so, imperihome is always connection with full admin rights, no mater what credentials I fill inside de config.json file.


{
"app_name": "Automacao",
"auth": { "username": "imperihomeapplogin", "password": "imperihomeapppassword" }, <----- This works
"domoticz": {
"ssl": false,
"host": "127.0.0.1",
"port": "8888",
"path": "/",
"auth": { "username": "whatever", "password": "whatever-doesn'tmakeanydifference" } <----- This doesn't make any difference
},
"port": 3002,
"passcode": ""
}

Evelen
Posts: 242
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

Re: [MyDomoAtHome] Support thread

Postby Evelen » Monday 09 January 2017 20:56

epierre wrote:
Evelen wrote:I have used MyDomoAtHome on Ubuntu server a long time now, but how do I update it to a newer version? can't find any info on that.

sudo apt-get update
sudo apt-get install MyDomoAtHome
gives me:
Uten navn.png


the 0.2.7 is the latest version, see here:
http://www.e-nef.com/domoticz/mdah/

if you were on the perl version, or if you haven't set the debian update automatically see:
https://github.com/empierre/MyDomoAtHome

Hi, Can you maybe give me the commands I need to run?
1.png
1.png (62.81 KiB) Viewed 118 times

danielchagasrs
Posts: 8
Joined: Thursday 03 November 2016 3:29
Target OS: Raspberry Pi
Domoticz version: 3.5837
Location: Brazil
Contact:

Re: [MyDomoAtHome] Support thread

Postby danielchagasrs » Wednesday 11 January 2017 20:05

Evelen wrote:Hi, Can you maybe give me the commands I need to run?


It looks like you are trying to run 2 commands as one...

1) sudo apt-get remove node (not needed, since you dont have node)

2) curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -

3) sudo apt-get install -y nodejs


Return to “Third party and supplementary tools”

Who is online

Users browsing this forum: No registered users and 1 guest