Search found 54 matches

by gerardosamara
Saturday 21 March 2020 17:39
Forum: Other questions and discussions
Topic: Execute script from switch selector
Replies: 1
Views: 446

Execute script from switch selector

Hi ,

I could not find in the forum / wiki the solution.

I want to execute a script ( python for example) created using the internal interface ( Settings -> More options -> events ) , but the script is stored in the daba base and how to define the script path in the SELECTOR ACTION filed in the ...
by gerardosamara
Tuesday 17 March 2020 15:34
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 232363

Re: [MyDomoAtHome] Support thread

Hi @epierre

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


{"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 ...
by gerardosamara
Monday 16 March 2020 17:09
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 232363

Re: [MyDomoAtHome] Support thread

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
by gerardosamara
Monday 16 March 2020 16:43
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 232363

Re: [MyDomoAtHome] Support thread

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


Mar 16 09:26:35 raspberrypi systemd[1]: Stopped MDAH ISS Rest interface for Domoticz to Imperihome.
Mar 16 09:26:35 raspberrypi systemd ...
by gerardosamara
Monday 16 March 2020 15:51
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 232363

Re: [MyDomoAtHome] Support thread

Thanks @epierre ,

Here is the ouput of apt-cache command
Capture nodejs policy.PNG
Capture nodejs policy.PNG (33.8 KiB) Viewed 3748 times
Should then continue to install the last Buster packages ... sudo apt-get install nodejs npm ?
by gerardosamara
Monday 16 March 2020 15:03
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 232363

Re: [MyDomoAtHome] Support thread

Capture mdah.PNG
Capture mdah.PNG (22.89 KiB) Viewed 3865 times
by gerardosamara
Monday 16 March 2020 1:17
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 232363

Re: [MyDomoAtHome] Support thread

Raspian Buster
Domoticz beta V4.11763
Node version V4.2.2
npm 2.14.17
mdah 0.2.42

Description : MDAH fails to start

On a fresh install , MDAH has ben installed using https://github.com/empierre/MyDomoAtHome/blob/nodejs/README_FR.md but fails to start , as per the sylog log below

The config.json ...
by gerardosamara
Monday 09 March 2020 21:41
Forum: dzVents
Topic: How to decode Json response [Solved]
Replies: 3
Views: 1135

Re: How to decode Json response [Solved]

Thanks a lot @waaren for the updated script
It works very well as per attached screenshot
And thanks again for this great dzvents framework
Capture eurusd.PNG
Capture eurusd.PNG (66.53 KiB) Viewed 1060 times
by gerardosamara
Monday 09 March 2020 4:19
Forum: dzVents
Topic: How to decode Json response [Solved]
Replies: 3
Views: 1135

How to decode Json response [Solved]

Hi ,

Domoticz V4.11763
Rasbian Buster
RPI3

I have created a dzVents script to display on a text device the EurUsd exchange rate from the API of www.alphavantage.com

https://www.alphavantage.co/documentation/

As per the header this is a JSON response ( Content-Type application/json )
I could not ...
by gerardosamara
Monday 09 March 2020 0:45
Forum: dzVents
Topic: Loss of dzVents after Domoticz upgrade V4.10778 ( dzVents 2.4) to V4.11696 ( dzVents V3.0 ) [Solved]
Replies: 5
Views: 1238

Re: Loss of dzVents after Domoticz upgrade V4.10778 ( dzVents 2.4) to V4.11696 ( dzVents V3.0 ) [Solved]

Hi;

As i needed to upgrade to Debian Buster , I re-installed everything from scratch
The dzvents system is working fine as expected
by gerardosamara
Tuesday 18 February 2020 19:32
Forum: dzVents
Topic: Loss of dzVents after Domoticz upgrade V4.10778 ( dzVents 2.4) to V4.11696 ( dzVents V3.0 ) [Solved]
Replies: 5
Views: 1238

Re: Loss of dzVents after Domoticz upgrade V4.10778 ( dzVents 2.4) to V4.11696 ( dzVents V3.0 ) [Solved]

Thanks Waaren for your reply and suggestions

I have tried everything you suggested excep re-installing after renaming the domoticz folder ... without success

Si i restore a recent backup to come back at the initial state = OK ( V4.10778 )

I updated again to last beta and the problem is back ...
by gerardosamara
Tuesday 18 February 2020 16:54
Forum: dzVents
Topic: Loss of dzVents after Domoticz upgrade V4.10778 ( dzVents 2.4) to V4.11696 ( dzVents V3.0 ) [Solved]
Replies: 5
Views: 1238

Loss of dzVents after Domoticz upgrade V4.10778 ( dzVents 2.4) to V4.11696 ( dzVents V3.0 ) [Solved]

Domoticz upgrade V4.10778 ( dzVents 2.4) to V4.11696 ( dzVents V3.0 )
Debian 9 Stretch
Beelink U55

DESCRIPTION

Loss of dzVents after Domoticz upgrade V4.10778 ( dzVents 2.4) to V4.11696 ( dzVents V3.0 )

See attached screenshot

Domoticz is running fine as before but my test Lua file created in ...
by gerardosamara
Monday 20 May 2019 10:28
Forum: Show your projects
Topic: Step by step guide: Sonos integration
Replies: 125
Views: 89073

Re: Step by step guide: Sonos integration

The step #8 has been completed successfully ( Sonos selector switch)

But the server does not run automatically after a reboot ( need to do a pm2 start server.js )
How to setup the automotic start at boot in a Debian 9 installation , There is no procedure in this post#1 stet by step procedure ...
by gerardosamara
Sunday 19 May 2019 9:56
Forum: Show your projects
Topic: Step by step guide: Sonos integration
Replies: 125
Views: 89073

Re: Step by step guide: Sonos integration

@Holland,

Finally I re-installed and it works following the installation guide in post#1 , on my Debian9 machine

Pm2 was not installed .
After installing Pm2 , "Pm2 list" shows the server on line

Step#8 : Basic commands play" , "pause" , "state" are OK

==> GREAT !
by gerardosamara
Saturday 18 May 2019 10:19
Forum: Show your projects
Topic: Step by step guide: Sonos integration
Replies: 125
Views: 89073

Re: Step by step guide: Sonos integration

Hi,

I have followed the installation procedure ... https://github.com/jishi/node-sonos-http-api

But the process failed at this step

start the server by running
npm start

Attached the log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info ...
by gerardosamara
Monday 13 May 2019 19:53
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 232363

Re: [MyDomoAtHome] Support thread



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


New shot here on a new ...
by gerardosamara
Thursday 13 December 2018 20:50
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Rsync errors - Permission denied
Replies: 2
Views: 521

Re: Rsync errors - Permission denied

Thanks for the reply.

Yes , the rsync problem exists with sudo or without sudo
by gerardosamara
Tuesday 11 December 2018 15:50
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Rsync errors - Permission denied
Replies: 2
Views: 521

Rsync errors - Permission denied

Hello,

RPI3
Domoticz Beta 10267

Rsync command fails ( code 23) due to permission denied for some domoticz files as per attached screenshot.
Rsync runs in a sh script ( options -aH )

Is it a known issue ?

Thank you
Rsyn.PNG
Rsyn.PNG (68.47 KiB) Viewed 487 times
by gerardosamara
Friday 22 June 2018 22:41
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 232363

Re: [MyDomoAtHome] Support thread

I did a new mdah 0.2.39 install with the last beta V3.9673 and it worked as per your readme.rd !

Testing the installation
Check in a browser it is running
http://gateway_ip:gateway_port/
From there you'll get the following links in the browser.
Check the domoticz is accessible from the hosting ...
by gerardosamara
Tuesday 19 June 2018 19:09
Forum: Third party and supplementary tools
Topic: [MyDomoAtHome] Support thread
Replies: 1080
Views: 232363

Re: [MyDomoAtHome] Support thread


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


New shot here on a new RPI3B ...