Create additional switch with Off timer to trigger it when moving detected.
http://domoticz.com/forum/viewtopic.php ... 92#p119503
Search found 49 matches
- Wednesday 04 April 2018 16:07
- Forum: Other questions and discussions
- Topic: timer in blockly?
- Replies: 2
- Views: 755
- Monday 26 March 2018 10:16
- Forum: Blockly
- Topic: get percentage level of blind
- Replies: 0
- Views: 1753
Re: get percentage level of blind
Blocky Level works only for percentage set up. You can't get percentage value using this.
- Wednesday 28 February 2018 9:09
- Forum: Android
- Topic: wake android tablet or ipad from standby with pir sensor
- Replies: 4
- Views: 4297
Re: wake android tablet or ipad from standby with pir sensor
Just control your tablet's power.
By default (on Android) when you connect charger to your tablet the screen must turn on.
Simple condition:
when MOTION IS DETECTED then
TURN OFF CHARGER
TURN ON CHARGER
end
This power switching will turn the screen on.
By default (on Android) when you connect charger to your tablet the screen must turn on.
Simple condition:
when MOTION IS DETECTED then
TURN OFF CHARGER
TURN ON CHARGER
end
This power switching will turn the screen on.
- Tuesday 09 January 2018 11:57
- Forum: Switches and Scenes
- Topic: Status of an existing door lock?
- Replies: 2
- Views: 1414
Re: Status of an existing door lock?
-> Any update on this? Looking for the same solution.
It depends on the type of your door frame.
If it hollow frame with holes for deadbolt you can use some kind of limit switch (I use it):
https://a.d-cd.net/ca28c16s-960.jpg
Also you can use reed switch and little magnet glued on deadbolt ...
- Wednesday 13 December 2017 8:53
- Forum: Other questions and discussions
- Topic: USB Ports on Raspberry Pi
- Replies: 1
- Views: 930
Re: USB Ports on Raspberry Pi
You can try this solution with some delay after reboot:
https://raspberrypi.stackexchange.com/q ... 9442#49442
https://raspberrypi.stackexchange.com/q ... 9442#49442
- Thursday 23 November 2017 11:30
- Forum: Other questions and discussions
- Topic: Check ESP-01/12 Online Status
- Replies: 4
- Views: 1840
Re: Check ESP-01/12 Online Status
You can change ping checking by curl:
Code: Select all
curl -m 2 -iks http://192.168.5.15:80 | grep '200 OK'- Thursday 23 November 2017 10:40
- Forum: Other questions and discussions
- Topic: Check ESP-01/12 Online Status
- Replies: 4
- Views: 1840
Re: Check ESP-01/12 Online Status
Hello,
sometimes my ESP´s get lost. I do not sure whether the ESP lost the wifi connection or my wifi modem lost the esp´s.
So how could I check whether they are online or not? If they get lost, domoticz should push my a pushbullet message. Pushbullet is already working on my system.
Thanking ...
- Friday 15 September 2017 15:39
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 436038
Re: Blockly examples
Add another one condition. Total looks like this:
IF teplota1 < 28 AND Relay1 == OFF THEN Relay1 = On
etc.
- Friday 01 September 2017 19:20
- Forum: Third party and supplementary tools
- Topic: [MyDomoAtHome] Support thread
- Replies: 1080
- Views: 226740
Re: [MyDomoAtHome] Support thread
I don't remember how I fix it.epierre wrote: Friday 01 September 2017 15:57 looks like it is linked to your evice encoding, is that utf8 ? (russian) ?
- Monday 07 August 2017 16:03
- Forum: Python
- Topic: Python Plugin: Broadlink RM2 V3
- Replies: 310
- Views: 76513
Re: Python Plugin: Broadlink RM2 V3
But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
You can write bash-script like this and call it from Device On/Off action instead of python calling:
python /broadlink/command1 ...
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
You can write bash-script like this and call it from Device On/Off action instead of python calling:
python /broadlink/command1 ...
- Sunday 06 August 2017 19:24
- Forum: LUA
- Topic: Use IDX instead of device name in LUA ?
- Replies: 4
- Views: 2775
Re: Use IDX instead of device name in LUA ?
Try this:
Code: Select all
commandArray = {}
function getdevname4idx(deviceIDX)
for i, v in pairs(otherdevices_idx) do
if v == deviceIDX then
return i
end
end
return 0
end
commandArray[getdevname4idx(383)] = 'On'
return commandArray
- Tuesday 01 August 2017 7:56
- Forum: LUA
- Topic: Switch on/off when someone entering/leaving home (Ubiquiti)
- Replies: 38
- Views: 20966
Re: Switch on/off when someone entering/leaving home (Ubiquiti)
Another one bash-script to update Domoticz variables according to user presence.
You will need to change UniFi and Domoricz script parameters.
In my case the are 2 users that can be detected, so I set 2 var_ids, 2 var_names and 2 macs.
#!/bin/bash
# UniFi parameters
username=admin
password ...
You will need to change UniFi and Domoricz script parameters.
In my case the are 2 users that can be detected, so I set 2 var_ids, 2 var_names and 2 macs.
#!/bin/bash
# UniFi parameters
username=admin
password ...
- Thursday 27 July 2017 13:09
- Forum: Other questions and discussions
- Topic: Updating the status of Domoticz switches without triggering?
- Replies: 37
- Views: 18204
Re: Updating the status of Domoticz switches without triggering?
BUT is possible to take the script to perform when the change is done through Domoticz. I mean, when I change state trought the web interface on the switch, but not when the change is done through the http command.
Your dimmer must have TCP server on it.
Check this topic: http://domoticz.com ...
- Sunday 23 July 2017 18:02
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 436038
Re: Blockly examples
1. Subject is unnecessary for Telegram notifications.
2. Yes, I tried.
3. At that moment value of pressure sensor was 0.
Unfortunately blocky doesn't work correctly with pressure sensors' value.
As a result I decide to write this logic with LUA:
if (otherdevices['ColdWaterAvail'] == "On" and ...
2. Yes, I tried.
3. At that moment value of pressure sensor was 0.
Unfortunately blocky doesn't work correctly with pressure sensors' value.
As a result I decide to write this logic with LUA:
if (otherdevices['ColdWaterAvail'] == "On" and ...
- Friday 21 July 2017 10:01
- Forum: Blockly
- Topic: Blockly examples
- Replies: 709
- Views: 436038
Re: Blockly examples
Hello.
I've got pressure sensors like this one: And I can't get such event working: I have also tried using String field for pressure value.
Works only "not equal" type.
I've got pressure sensors like this one: And I can't get such event working: I have also tried using String field for pressure value.
Works only "not equal" type.
- Sunday 16 July 2017 12:56
- Forum: LUA
- Topic: Get dimmer level with LUA
- Replies: 4
- Views: 4816
Re: Get dimmer level with LUA
Can you share your solution?
Here are necessary code blocks:
(The key strings for you contains "uservariables")
idx = 383
commandArray = {}
function getname(deviceIDX)
for i, v in pairs(otherdevices_idx) do
if v == deviceIDX then
return i
end
end
return 0
end
DomDevice = getname(idx ...
- Wednesday 31 May 2017 19:35
- Forum: Other questions and discussions
- Topic: Cheap Chinese WIFI module
- Replies: 58
- Views: 47353
Re: Cheap Chinese WIFI module
My edition of ESP easy settings for Sonoff 1ch relay below.
Works in all directions:
- pushing the button on Sonoff turns On/Off relay with LED and changing Domoticz device state.
- turning On/Off in Domoticz also turns On/Off relay with LED too.
Domoticz
On: http://esp05/control?cmd=GPIO,12,1 ...
Works in all directions:
- pushing the button on Sonoff turns On/Off relay with LED and changing Domoticz device state.
- turning On/Off in Domoticz also turns On/Off relay with LED too.
Domoticz
On: http://esp05/control?cmd=GPIO,12,1 ...
- Wednesday 31 May 2017 8:25
- Forum: Third party and supplementary tools
- Topic: [MyDomoAtHome] Support thread
- Replies: 1080
- Views: 226740
Re: [MyDomoAtHome] Support thread
Hello.
Got this error after MDAH start:
May 31 09:19:04 pi MDAH[7508]: info: Domoticz server: http://127.0.0.1:8080/json.htm
May 31 09:19:04 pi MDAH[7508]: info: Node version: 6.10.3
May 31 09:19:04 pi MDAH[7508]: info: MDAH version: MyDomoAtHome 0.2.8
May 31 09:19:04 pi MDAH[7508]: info: OS ...
Got this error after MDAH start:
May 31 09:19:04 pi MDAH[7508]: info: Domoticz server: http://127.0.0.1:8080/json.htm
May 31 09:19:04 pi MDAH[7508]: info: Node version: 6.10.3
May 31 09:19:04 pi MDAH[7508]: info: MDAH version: MyDomoAtHome 0.2.8
May 31 09:19:04 pi MDAH[7508]: info: OS ...
- Thursday 04 May 2017 13:34
- Forum: Android
- Topic: Geofence for Domoticz
- Replies: 381
- Views: 116938
Re: Geofence for Domoticz
Hello.
Device: Xiaomi Mi5
Android: 6.0.1
I got error "GoogleApiClient not yet connected" when I try to save a point.
Test connection is ok.
Solved after Android System WebView install.
Device: Xiaomi Mi5
Android: 6.0.1
I got error "GoogleApiClient not yet connected" when I try to save a point.
Test connection is ok.
Solved after Android System WebView install.
- Sunday 23 April 2017 13:47
- Forum: Python
- Topic: Python Plugin: Broadlink RM2 V2
- Replies: 77
- Views: 21654
Re: Python Plugin: Broadlink RM2 V2
In some cases this way doesn't allow to repeat 5-10-20 times. For example, when you volume up/down your TV or stereo.
Also it's impossible when On and Off actions are different.
I have found a workaround for this. Learning mode is active until the IR/RF-command is still sending. So I create ini ...
Also it's impossible when On and Off actions are different.
I have found a workaround for this. Learning mode is active until the IR/RF-command is still sending. So I create ini ...