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

Moderator: leecollings

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

[MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

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 Wednesday 02 March 2016 23: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: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by epierre »

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: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by epierre »

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: 18
Joined: Tuesday 10 November 2015 11:47
Target OS: -
Domoticz version:
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by kinghuzi »

Hi.. can you add x86 support for syno spk
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by epierre »

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: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by jumbotroll »

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
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by epierre »

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: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta tests

Post by epierre »

@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: 81
Joined: Tuesday 03 November 2015 5:07
Target OS: Linux
Domoticz version: beta
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by raym »

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: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

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: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by deennoo »

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 / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

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: 81
Joined: Tuesday 03 November 2015 5:07
Target OS: Linux
Domoticz version: beta
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by raym »

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: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

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: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

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: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

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: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

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: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by deennoo »

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 / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by epierre »

@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: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: [MyDomoAtHome] Bêta version in nodeJS

Post by deennoo »

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 / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest