Search found 11 matches
- Wednesday 03 January 2018 18:47
- Forum: dzVents
- Topic: afterMin interval cannot be greater than timer interval
- Replies: 4
- Views: 1036
Re: afterMin interval cannot be greater than timer interval
Thank you. It works.
- Sunday 31 December 2017 22:16
- Forum: dzVents
- Topic: afterMin interval cannot be greater than timer interval
- Replies: 4
- Views: 1036
Re: afterMin interval cannot be greater than timer interval
add checkFirst() to your switch command. It will check the state and if already on/off it does nothing. It's not possible to use checkFirst() with afterSec(): TestRelay.switchOff().checkFirst().afterSec(30) 2017-12-31 22:04:30.884 dzVents: Info: TEST: ------ Start internal script: test: Device ...
- Friday 29 December 2017 23:07
- Forum: dzVents
- Topic: afterMin interval cannot be greater than timer interval
- Replies: 4
- Views: 1036
afterMin interval cannot be greater than timer interval
Hi, I have problem with afterMin/sec and timer. There is my test script: function turnOff(domoticz) local TestRelay = domoticz.devices('TestRelay') TestRelay.switchOff().afterSec(30) -- XXXXXXXXXXXX end function turnOn(domoticz) local TestRelay = domoticz.devices('TestRelay') TestRelay.switchOn ...
- Thursday 28 December 2017 12:21
- Forum: dzVents
- Topic: switch switchOn().afterMin(3) not working
- Replies: 2
- Views: 554
Re: switch switchOn().afterMin(3) not working
I modified my script: function turnOffHeating(domoticz) local boiler = domoticz.devices('boiler') local left_radiator = domoticz.devices('left_radiator') local right_radiator = domoticz.devices('right_radiator') boiler.switchOff() left_radiator.switchOff().afterMin(3) right_radiator.switchOff ...
- Wednesday 27 December 2017 21:29
- Forum: dzVents
- Topic: switch switchOn().afterMin(3) not working
- Replies: 2
- Views: 554
switch switchOn().afterMin(3) not working
Hi, Im trying to write script for control heating. What I need: When heating is allowed (switch "heating") and temperature is lower than thermostat temperature - > turn on heating. When heating is allowed (switch "heating") and temperature is higher than thermostat temperature - > turn off heating ...
- Thursday 14 December 2017 17:56
- Forum: Temperature and Weather
- Topic: dzVents - event on temperature increase
- Replies: 3
- Views: 2814
Re: dzVents - event on temperature increase
I wrote this script: return { active = true, logging = { level = domoticz.LOG_DEBUG, marker = "TEST_" }, on = { devices = { 'temperature1' }, }, execute = function(domoticz, device) domoticz.log("---aaaaaaaaaaaaaaaaaaaaaaaaa") domoticz.log(device.name) domoticz.log(device.temperature) domoticz.log ...
- Thursday 14 December 2017 12:32
- Forum: Temperature and Weather
- Topic: dzVents - event on temperature increase
- Replies: 3
- Views: 2814
dzVents - event on temperature increase
Hi, I have following dzVents function: return { active = true, on = { devices = { 'temperature1', -- DS18B20 temperature sensor 'switch1', -- domoticz virtual switch 'thermostat1' -- domoticz temperature }, }, execute = function(domoticz) -- ... If I switch on/off "switch1" or change value on ...
- Thursday 14 December 2017 11:51
- Forum: Temperature and Weather
- Topic: dzVents - howto get Thermostat value
- Replies: 4
- Views: 3870
Re: dzVents - howto get Thermostat value
Thank you, it works.
- Thursday 14 December 2017 11:44
- Forum: Temperature and Weather
- Topic: dzVents - howto get Thermostat value
- Replies: 4
- Views: 3870
dzVents - howto get Thermostat value
Hi, I'm dzVents begginer. I wrote simple script for heating control: local room1_thermostat = domoticz.devices('room1_thermostat') -- 12 local room1_temperature = domoticz.devices('room1_temperature') -- 14 domoticz.log(room1_thermostat.setPoint) if (room1_temperature < room1_thermostat.setPoint ...
- Thursday 23 November 2017 17:57
- Forum: Suggestions
- Topic: Math Libraries for Blockly
- Replies: 12
- Views: 4767
- Monday 30 October 2017 13:22
- Forum: Other questions and discussions
- Topic: Domoticz MQTT - OpenSSL error - mosquitto tls version
- Replies: 1
- Views: 1901
Domoticz MQTT - OpenSSL error - mosquitto tls version
I have problem with TLS version. My mosquitto TLS config: # MQTT over TLS/SSL listener 8883 cafile /etc/mosquitto/ca_certificates/ca.crt certfile /etc/mosquitto/ca_certificates/server.crt keyfile /etc/mosquitto/ca_certificates/server.key require_certificate false tls_version tlsv1 # = tlsv1.0 tlsv1 ...