Search found 10 matches

by Rezah
Sunday 30 September 2018 22:04
Forum: Switches and Scenes
Topic: Blinking device in Dashboard
Replies: 1
Views: 641

Re: Blinking device in Dashboard

It`s my question so far.
by Rezah
Sunday 30 September 2018 22:02
Forum: Blockly
Topic: Show Notification Alarm in dashboard webform
Replies: 0
Views: 381

Show Notification Alarm in dashboard webform

Hi everyone.
I want to show notification in the dashboard as an Update Notification or something like this when an event is happening.
How I can do this? I'm looking for the simple way.

Thanks
by Rezah
Tuesday 22 August 2017 7:41
Forum: Bash / PowerShell / Batch etc.
Topic: Execute Bash file to Take a Picture by USB Webcam
Replies: 3
Views: 1609

Re: Execute Bash file to Take a Picture by USB Webcam

tnx dear jannal

i changed my code to "uvccapture -S60 -c50 -G40 -B40 -x1280 -y720 -d/dev/video0 -v -o/home/pi/domoticz/scripts/test.jpg" but its not work :(
returned 256 in domoticz.
by Rezah
Sunday 20 August 2017 11:17
Forum: Bash / PowerShell / Batch etc.
Topic: Execute Bash file to Take a Picture by USB Webcam
Replies: 3
Views: 1609

Execute Bash file to Take a Picture by USB Webcam

First off thanks for taking your time to click here.

i have a problem to run my bash file with switch on/off
my bash file is "takePic.sh"
its take a picture from USB webcame and sotre it by test.jpg name.


#!/bin/bash
uvccapture -S60 -c50 -G40 -B40 -x1280 -y720 -d/dev/video0 -v -otest.jpg


its ...
by Rezah
Saturday 08 July 2017 11:49
Forum: LUA
Topic: how to read Device values and write in Text file
Replies: 5
Views: 5969

Re: how to read Device values and write in Text file

yes,its work correctly
by Rezah
Thursday 06 July 2017 14:29
Forum: LUA
Topic: how to read Device values and write in Text file
Replies: 5
Views: 5969

Re: how to read Device values and write in Text file

i try frejin solution

Step 1:
write Script for all devices which i need them.
if device changed store the value in userVariables.

commandArray = {}
luxsensor = "ESP2_Lux"

if (devicechanged[luxsensor]) then
commandArray['Variable:varLux']=devicechanged[luxsensor]
end

return commandArray ...
by Rezah
Thursday 06 July 2017 10:46
Forum: LUA
Topic: how to read Device values and write in Text file
Replies: 5
Views: 5969

Re: how to read Device values and write in Text file

dear frejin

i tried to write same script for other devices, but i get errors.also i need to write all states of my devices to one file at same time.
lux is a parameter which changed every time and its good condition for me to read all device continuously.

but

i have try your second solution ...
by Rezah
Wednesday 05 July 2017 13:22
Forum: LUA
Topic: how to read Device values and write in Text file
Replies: 5
Views: 5969

how to read Device values and write in Text file

hi there
i want to read all devices value and write them in a sensor.txt file.
i write a script for read from one device and write to text file and its work, but when i want read more than one device i get several error.

First code : read from one device
commandArray = {}
luxsensor = "ESP2_Lux ...
by Rezah
Thursday 01 June 2017 15:13
Forum: Language / Translation
Topic: Persian Language
Replies: 2
Views: 5893

Re: Persian Language

hello

i create the Json file for Persian language, but i dont know how to use it on Domoticz.
can u help me?

tnx