[MyDomoAtHome] Bêta version in nodeJS Topic is solved

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

[MyDomoAtHome] Bêta version in nodeJS

Post by epierre » Monday 16 November 2015 23:14

Hello,

DEBIAN PACKAGE:
an betaversion as a debian package on Raspbian (no automatic startup yet), works well on debian.
http://www.e-nef.com/domoticz/mdah/node ... latest.deb

==>> SEE HERE FOR INSTALLATION: https://github.com/empierre/MyDomoAtHome/tree/nodejs

on Raspbian, please install first to have a stable nodeJS :
http://www.e-nef.com/domoticz/mdah/npm_2.14.7_armhf.deb
http://www.e-nef.com/domoticz/mdah/node ... _armhf.deb

on all other, version 4 is required (testing/unstable are fine):
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs

you need to edit /etc/mydomoathome/config.json containing(change your ip !):

Code: Select all

{
  "app_name": "MyDomoAtHome",
  "domo_path": "http://192.168.0.28:8080",
  "port": "3002"
}
it runs on port 3002 and App name is "MyDomoAtHome Dev", so you can run legacy and beta at the same time.

FYI new install is in /usr/share/mydomoathome/

TESTING/SUPPORT:
preffered method: https://mydomoathome.slack.com/messages ... s-testing/
==> Please mail me on [email protected] with your email to get an invite

SYNOLOGY PACKAGE:
a very alpha alpha version as a debian package (NOT TESTED):
https://github.com/empierre/MyDomoAtHom ... noarch.spk


UPDATES:
- faster than the legacy perl dancer on a pi B
- sorted out the armv6 nodejs situation (raspbian is compiled for armv6 and works for armv7 too (not the opposite)), specific packages needed available here: http://www.e-nef.com/domoticz/mdah/
- all is there except graphes

CURRENT ISSUES:
- debian package: auto startup ok
- Docker to be tested
- graphs not yet implemented
- synology package: first untested version for all arch
- synology: define where to place configuration file
- have the package hosted on raspian archive
Last edited by epierre on Thursday 03 March 2016 0:27, edited 11 times in total.
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: 740
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by epierre » Monday 16 November 2015 23:17

current issues:
- dependencies not installed
- run on startup ?
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: 740
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by epierre » Friday 20 November 2015 23:52

updates:
- faster than the legacy perl dancer on a pi B
- sorted out the armv6 nodejs situation (raspbian is compiled for armv6 and works for armv7 too (not the opposite)), specific packages needed available here: https://github.com/empierre/MyDomoAtHom ... ejs/binary

current issues:
- debian package: auto startup not possible as is on wheezy class raspbian
- actions/graphs not yet implemented
- synology package: first untested version for armada375
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

kinghuzi
Posts: 20
Joined: Tuesday 10 November 2015 12:47
Target OS: -
Domoticz version:
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by kinghuzi » Saturday 21 November 2015 16:40

Hi.. can you add x86 support for syno spk

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

Re: [MyDomoAtHome] Bêta tests

Post by epierre » Saturday 21 November 2015 17:25

kinghuzi wrote:Hi.. can you add x86 support for syno spk
Hello,

I will, but since I do it manually I add the architecture manually... what is you so I make 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
jumbotroll
Posts: 495
Joined: Tuesday 13 January 2015 15:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by jumbotroll » Saturday 21 November 2015 18:48

epierre wrote:
kinghuzi wrote:Hi.. can you add x86 support for syno spk
Hello,

I will, but since I do it manually I add the architecture manually... what is you so I make it ?
You can use:
arch="noarch"
and it's arch independent
Regards
Jumbotroll
http://www.jadahl.com

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

Re: [MyDomoAtHome] Bêta tests

Post by epierre » Saturday 21 November 2015 19:02

jumbotroll wrote: You can use:
arch="noarch"
and it's arch independent
Thanks Jumbotroll, it is done !
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: 740
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by epierre » Tuesday 24 November 2015 15:10

@kinghuzi @jumbotroll have you tested it yet ?
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

raym
Posts: 127
Joined: Tuesday 03 November 2015 6:07
Target OS: Linux
Domoticz version: beta
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by raym » Sunday 20 December 2015 17:48

Hi epierre, will this nodejs version eventually replace the existing mdah version? If so, am I able to test on Ubuntu?

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

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre » Sunday 20 December 2015 18:13

raym wrote:Hi epierre, will this nodejs version eventually replace the existing mdah version? If so, am I able to test on Ubuntu?
Hello,

yes it will, I've not yet finished, others things went in the middle... too much time one one thing and many solicitations and in the end priority management :D

you can test it, it covers all information but does not yet manages actions (no switches, no graphs...). I still have not tested whether it works fine on raspbian (non systemd), but on ubuntu it is fine !
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

deennoo
Posts: 889
Joined: Wednesday 10 December 2014 14:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by deennoo » Sunday 20 December 2015 18:47

Thx for this, which nodejs did you use ?

What about homebridge from sdcard img who need node 0.12.1?.

As it tooks me 3 mounth to make it finally works, i dont want to break it by updating MDAH.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / ESP8266 / MQTT / BLE
http://domo-attitude.fr

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

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre » Sunday 20 December 2015 18:51

if you have nodejs 0.10 nothing to change, only raspbian is on.0.6 and is thus broken for everything...
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

raym
Posts: 127
Joined: Tuesday 03 November 2015 6:07
Target OS: Linux
Domoticz version: beta
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by raym » Sunday 20 December 2015 22:46

epierre wrote:
raym wrote:Hi epierre, will this nodejs version eventually replace the existing mdah version? If so, am I able to test on Ubuntu?
Hello,

yes it will, I've not yet finished, others things went in the middle... too much time one one thing and many solicitations and in the end priority management :D

you can test it, it covers all information but does not yet manages actions (no switches, no graphs...). I still have not tested whether it works fine on raspbian (non systemd), but on ubuntu it is fine !
Thanks for your reply. It sounds exciting and I look forward to testing soon.

Where can I find the install procedure for Ubuntu and similar?

Thanks again.

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

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre » Monday 22 February 2016 15:14

Hi All,

I've restarted yesterday, .deb not updated, but on/off is tested working.
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: 740
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre » Monday 22 February 2016 23:47

Hello,

version 0.0.13 is open for testing, no graphes though...

modify the config file as fitted, report bugs to github, and discussion 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

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

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre » Friday 26 February 2016 14:32

version 0.0.14 is open for testing, no graphes yes.

Debian package available.
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: 740
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre » Saturday 27 February 2016 23:19

0.0.15 tested working on debian with systemd
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

deennoo
Posts: 889
Joined: Wednesday 10 December 2014 14:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by deennoo » Sunday 28 February 2016 0:37

Have you try it on a regular Synologie ? Dunning DMS 5
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / ESP8266 / MQTT / BLE
http://domo-attitude.fr

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

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre » Sunday 28 February 2016 10:16

@deenoo it will, it was too high a target to start, so I prefer to make it more MVP and then extend si ut will be tested first before expending.

also syno has more needs, you don't mess with its filesystem... so specific strategy for it to be done
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

deennoo
Posts: 889
Joined: Wednesday 10 December 2014 14:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by deennoo » Sunday 28 February 2016 10:22

OK !

Just start an xpenology before purchase a real syno, i saw that be can made a debian chroot part. Homebridge can be set and running on it, so i was hoping doing the same for MDAH.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / ESP8266 / MQTT / BLE
http://domo-attitude.fr

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest