Search found 8 matches

by Kamil
Monday 18 February 2019 8:25
Forum: dzVents
Topic: Plans(Timers) switching ON/OFF on Selector Switch
Replies: 5
Views: 1532

Re: Plans(Timers) switching ON/OFF on/by Selector Switch


Yes is, clear.
create two extra levels in Heater device, named "Disable timers" and "Enable timers". These are used to trigger the actions from this script.
-- manageTimers

local httpResponses = "manageTimers"

return {
on = {
devices = { "Heater" },
httpResponses = { httpResponses ...
by Kamil
Sunday 17 February 2019 18:39
Forum: dzVents
Topic: Plans(Timers) switching ON/OFF on Selector Switch
Replies: 5
Views: 1532

Re: Plans switching ON/OFF on Selector Switch

Well...I'm using Bluetooth thermostats, so I'm connecting to them using external library and script.
For example:
script:///home/pi/eq3/eq3.exp XX:XX:XX:XX:XX:XX temp 5.0

Switch events.jpg

so temperature settings on thermostat is solved by this script calling from Selector Switch(dummy switch ...
by Kamil
Sunday 17 February 2019 14:25
Forum: dzVents
Topic: Plans(Timers) switching ON/OFF on Selector Switch
Replies: 5
Views: 1532

Plans(Timers) switching ON/OFF on Selector Switch

Hello everybody,
is it possible to turn ON and OFF plans on selector switch using dzVents script?
For example I have one selector switch named "Heater" and I created plans for it.
On level "0" I want to have option that will disable all plans events on this switch and on level "10" it will enable ...
by Kamil
Monday 28 January 2019 19:24
Forum: Other questions and discussions
Topic: RFlink - toggle swich - one gang
Replies: 3
Views: 446

Re: RFlink - toggle swich - one gang


What are the device id's in domoticz ? Can you show what you already have in dzVents ?


I used the script from my previous post, but I think I should write small correction:

I need a script that will synchronize the ON / OFF indication in the Domoticz GUI regardless of whether the light has ...
by Kamil
Saturday 26 January 2019 17:04
Forum: Other questions and discussions
Topic: Backup script "backupdatabase.php" not working.
Replies: 9
Views: 3960

Re: Backup script "backupdatabase.php" not working.

Yes, You're right, sorry.
by Kamil
Saturday 26 January 2019 16:57
Forum: Other questions and discussions
Topic: RFlink - toggle swich - one gang
Replies: 3
Views: 446

Re: RFlink - toggle swich - one gang

@waaren sure:


commandArray = {}

print ("All based event fired");
-- loop through all the devices
if (devicechanged['Lamp'] == 'On') and (uservariables['Lamp_variable'] == 'OFF') then
commandArray['Lamp_1']='On'
commandArray['Variable:Lamp_variable']='ON'

print ("Przełacznik on zmienna off ...
by Kamil
Saturday 26 January 2019 16:42
Forum: Other questions and discussions
Topic: Backup script "backupdatabase.php" not working.
Replies: 9
Views: 3960

Re: Backup script "backupdatabase.php" not working.

Hi,
backup makes sense when it is saved on another media.
That's why I suggest you use this guide(db backup and other important folders):

http://cezarowy.blogspot.com/2017/11/kopia-bezpieczenstwa-bazy-folderu.html

it is in Polish but you can translate it very easily using, for example, using a ...
by Kamil
Saturday 26 January 2019 16:15
Forum: Other questions and discussions
Topic: RFlink - toggle swich - one gang
Replies: 3
Views: 446

RFlink - toggle swich - one gang

Version: 4.10364
Platform: RPi
Plugin/Hardware: RFLink USB GW

Hello all,
This is my first post so I would like to say Hi everyone!
;)
I have a problem with the lamp switch (toggle switch).
Scheme layout below:
https://i.ibb.co/Q6Kg0fB/Screen-Shot-01-26-19-at-03-41-PM.png
I would like to ...