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

try either:

sudo apt-cache policy nodejs
sudo apt-cache policy node

and if possible deploy the latest nodejs (which should be 8 under Buster)
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 @epierre ,

Here is the ouput of apt-cache command
Capture nodejs policy.PNG
Capture nodejs policy.PNG (33.8 KiB) Viewed 2642 times
Should then continue to install the last Buster packages ... sudo apt-get install nodejs npm ?
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 »

between a rock and a hard place... version 10 is definetly slower... try moving to 4.8.7 and tell me ?
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 »

As this is a test machine , the speed is not a requirement.

I have updated to latest of Rasbian Buster :
NodeJS 10.5.2
Node 0.3.2
npm 5.8.0

MDAH Fails to start

Code: Select all

Mar 16 09:26:35 raspberrypi systemd[1]: Stopped MDAH ISS Rest interface for Domoticz to Imperihome.
Mar 16 09:26:35 raspberrypi systemd[1]: Starting MDAH ISS Rest interface for Domoticz to Imperihome...
Mar 16 09:26:35 raspberrypi systemd[1]: Started MDAH ISS Rest interface for Domoticz to Imperihome.
Mar 16 09:26:35 raspberrypi node[1259]: No AX.25 port data configured
Mar 16 09:26:35 raspberrypi systemd[1]: mydomoathome.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 09:26:35 raspberrypi systemd[1]: mydomoathome.service: Failed with result 'exit-code'.

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 »

Hello, should not happen, see here: https://github.com/bower/bower/issues/677
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 »

Great , the proposed solution worked and the browser check worked Ok ( 192.168.1.x:3002)

Version installed :

MDAH 0.2.42
NodeJS 10.5.2
npm 5.8.0

Thank you for the support
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
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 »

Hi @epierre

in the Mdah log , i notice MDAH version: MyDomoAtHome 0.2.41 instead of 0.2.42

Code: Select all

{"level":"info","message":"Domoticz server: http://127.0.0.1:8080/json.htm","timestamp":"2020-03-16T16:04:31.720Z"}
{"level":"info","message":"Node version: 10.15.2","timestamp":"2020-03-16T16:04:31.730Z"}
{"level":"info","message":"MDAH version: MyDomoAtHome 0.2.41","timestamp":"2020-03-16T16:04:31.730Z"}
{"level":"info","message":"OS version: Linux linux 4.19.97-v7+","timestamp":"2020-03-16T16:04:31.732Z"}
{"level":"info","message":"Hostname: raspberrypi 192.168.1.xxx in /var/www /","timestamp":"2020-03-16T16:04:31.737Z"}
{"level":"info","message":"Refreshing version cache: v0.2.39","timestamp":"2020-03-16T16:04:32.318Z"}
Also I may be useful to have the npm version displayed ?
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 »

good idea, to track the current problems...
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
jbr79
Posts: 20
Joined: Saturday 17 October 2015 22:23
Target OS: Linux
Domoticz version: 4.10659
Contact:

Re: [MyDomoAtHome] Support thread

Post by jbr79 »

Trying to get Zigbee2MQTT working in Domoticz, I found myself forced to upgrade to node v10.X and npm v6.X. This does seem to interfere with Imperihome running, as I understand because it requires earlier versions of the two. Is there a way to cope with this?
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 »

Hello,

what do you mean, interference in package or running ? which distro are you on ?

try to avoid npm 10 which has severe performance issue...
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
jbr79
Posts: 20
Joined: Saturday 17 October 2015 22:23
Target OS: Linux
Domoticz version: 4.10659
Contact:

Re: [MyDomoAtHome] Support thread

Post by jbr79 »

Interfering as in: Imperihome will not start anymore after installing the Zigbee2MQTT plugin. The latter requires either version 10.x or 12.x of node. I am not too worried about the performance issues, since the device (NUC) has enough CPU power. I am running this on Ubuntu 20.04.

I switched to node 12.x and back to 10.x to see if that would make a difference. Now trying to reinstall mydomoathome altogether, apt is throwing an error" W: Sources disagree on hashes for supposely identical version '0.2.42' of 'mydomoathome:amd64'." I am confused :S

Edit:
did all the obvious steps:
  • sudo apt clean
  • sudo rm /var/lib/apt/lists/*
  • sudo apt-get update
But still cannot install... it does give an error on NPM during apt install:

Code: Select all

Preparing to unpack .../mydomoathome_0.2.42_all.deb ...
/var/lib/dpkg/tmp.ci/preinst: line 4: npm: command not found
dpkg: error processing archive /var/cache/apt/archives/mydomoathome_0.2.42_all.deb (--unpack):
 new mydomoathome package pre-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/mydomoathome_0.2.42_all.deb
W: Sources disagree on hashes for supposely identical version '0.2.42' of 'mydomoathome:amd64'.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Running NPM 6.9.0, but changing to a lower version (sudo npm install -g [email protected]) also did not make a difference.

Any help is highly appreciated.
DeVille70
Posts: 32
Joined: Friday 04 December 2015 21:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Sandnes, Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by DeVille70 »

Had a working system, starting installing fresh on RPi to get Raspbian upgraded to Buster. Then followed instructions on https://github.com/empierre/MyDomoAtHome On testing http://gateway_ip:gateway_port/ I get This site can’t be reached. It seems that the service mydomoathome is not running at all. What do I do now? Thanks.

Edit: this test works: curl http://domoticz_ip:domoticz_port/json.htm?type=devices&filter=all&used=true&order=Name

systemctl is-active mydomoathome gives failed
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 »

Hi,

Seems there is a conflict between different nodes versions and their dependencies, they are not clean for upgrade, a solution someone found is the following:

Code: Select all

sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/npm*
wget https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-armv7l.tar.xz
tar -xvf node-v12.16.1-linux-armv7l.tar.xz
cd node-v12.16.1-linux-armv7l/
sudo cp -R * /usr/local/
sudo reboot
sudo apt-get install 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
DeVille70
Posts: 32
Joined: Friday 04 December 2015 21:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Sandnes, Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by DeVille70 »

The result of sudo apt-get install MyDomoAtHome
gave: mydomoathome is already the newest version (0.2.42).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

Nevertheless, it now works again! Thank you very much for great and quick support. :)

Edit:
Can the files
nodejs_4.4.2_armhf.deb.1
node-v12.16.1-linux-armv7l
npm_2.14.7_armhf.deb.1
node-v12.16.1-linux-armv7l.tar.xz
now be deleted?
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 »

yes, the wget brings back many things
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
DeVille70
Posts: 32
Joined: Friday 04 December 2015 21:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Sandnes, Norway
Contact:

Re: [MyDomoAtHome] Support thread

Post by DeVille70 »

Very sorry, I did not understand your answer. Can I delete the 3 files and 1 folder without any problems?
jbr79
Posts: 20
Joined: Saturday 17 October 2015 22:23
Target OS: Linux
Domoticz version: 4.10659
Contact:

Re: [MyDomoAtHome] Support thread

Post by jbr79 »

jbr79 wrote: Sunday 12 April 2020 10:49 Interfering as in: Imperihome will not start anymore after installing the Zigbee2MQTT plugin.
I solved it by "downgrading" to 0.2.41: Running fine now, thanks!
dipas0
Posts: 6
Joined: Saturday 16 May 2020 22:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by dipas0 »

I have a question:

MyDomoAtHome on RaspberryPi (buster) is correct working.
http://192.168.1.xx:3002/ is correct working
http://192.168.1.xx:3002/devices is showing a list of device from my Domoticz server

In the Android ImperiHome app i can connect to MyDomoAtHome: ISS system: Success!
When i reload the data in ImperiHome i see the rooms

But....ImperiHome does not show the devices....

What is gooing wrong?
dipas0
Posts: 6
Joined: Saturday 16 May 2020 22:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [MyDomoAtHome] Support thread

Post by dipas0 »

dipas0 wrote: Saturday 16 May 2020 22:10 I have a question:

MyDomoAtHome on RaspberryPi (buster) is correct working.
http://192.168.1.xx:3002/ is correct working
http://192.168.1.xx:3002/devices is showing a list of device from my Domoticz server

In the Android ImperiHome app i can connect to MyDomoAtHome: ISS system: Success!
When i reload the data in ImperiHome i see the rooms

But....ImperiHome does not show the devices....

What is gooing wrong?
Meanwhile came to the conclusion that Dashticz has more to offer than ImperiHome. So my question is no longer relevant.
mcwieger
Posts: 107
Joined: Tuesday 08 December 2015 9:59
Target OS: NAS (Synology & others)
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by mcwieger »

MDAH was working well for some months now, but after upgrading Synology DSM to 6.2.3 it crashes almost every night. I'm on version 0.2.39. Anyone else facing the same issue? Or is a higher version of MDAH available for Synology?
I moved to HomeAssistant. It was fun while it lasted!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests