Search found 16 matches
- Monday 17 July 2017 23:38
- Forum: LUA
- Topic: "infinite" lua script
- Replies: 1
- Views: 676
"infinite" lua script
Hi, another newbie question :oops: I have a lua script that reads a file and searches for hw addresses and if they are found, a dummy switch is turned on. When I connect a device, the file includes a hw address, otherwise the file is empty. My script works the way I want when manually run via ...
- Monday 17 July 2017 10:13
- Forum: LUA
- Topic: Dummy switch won't turn on
- Replies: 4
- Views: 1504
Re: Dummy switch won't turn on
I'm trying to run it from linux shell lua script.lua with no luck, what am I missing? Hi, starting LUA script from Linux shell will not work, there is no Domoticz API available. You should create script in designated folder and correct name - in subfolder of domoticz installation: scripts/lua. Then ...
- Monday 17 July 2017 2:04
- Forum: LUA
- Topic: Dummy switch won't turn on
- Replies: 4
- Views: 1504
Re: Dummy switch won't turn on
Thanks for the reply, I added that but still no luck 

- Monday 17 July 2017 0:47
- Forum: LUA
- Topic: Dummy switch won't turn on
- Replies: 4
- Views: 1504
Dummy switch won't turn on
Hello, I've been pulling my hair off over this seemingly very simple script that should turn a dummy switch (idx 22) on:
I'm trying to run it from linux shell lua script.lua with no luck, what am I missing?
Code: Select all
commandArray = {}
commandArray['UpdateDevice'] = '22|1|On'
- Sunday 16 July 2017 11:28
- Forum: Python
- Topic: Activate dummy switch with Python
- Replies: 2
- Views: 1226
Re: Activate dummy switch with Python
Hi moroen, the script is run externally. Altough I'm not sure is there any problem running it from event file, haven't thought of that.
- Saturday 15 July 2017 16:38
- Forum: Python
- Topic: Activate dummy switch with Python
- Replies: 2
- Views: 1226
Activate dummy switch with Python
Hello, I tried to search the forum for this but could not find an answer: Is there a way to change dummy swich state (on/off) with Python code? My code checks presence of a device and if it is found, I'd like to activate a Dummy switch, that way I can link it to my blocky script.
- Friday 14 July 2017 14:34
- Forum: 1-wire
- Topic: DS2401 support
- Replies: 2
- Views: 8319
Re: DS2401 support
I found something I might have look into: https://behindthesciences.com/electroni ... ttonsystem
- Thursday 13 July 2017 20:35
- Forum: 1-wire
- Topic: Why Domoticz does not display full 1-wire address in device list ?
- Replies: 2
- Views: 4330
Re: Why Domoticz does not display full 1-wire address in device list ?
Hello, seems to be by design.
- Thursday 13 July 2017 13:50
- Forum: 1-wire
- Topic: DS2401 support
- Replies: 2
- Views: 8319
Re: DS2401 support
I was thinking about some kind of script that checks if DS2401 is mounted and if it is, a dummy switch state is changed. Does anyone know has this been done earlier?
- Wednesday 12 July 2017 15:46
- Forum: 1-wire
- Topic: DS2401 support
- Replies: 2
- Views: 8319
DS2401 support
Hi,
I have connected DS2401 via 1-wire and able to see the device, it's mounted in /mnt/1wire/
Has anyone managed to add it as device in Domoticz? My idea is to use it as a digital key to unlock doors etc.
https://www.elsist.biz/wp-content/uploa ... 00x500.png
I have connected DS2401 via 1-wire and able to see the device, it's mounted in /mnt/1wire/
Has anyone managed to add it as device in Domoticz? My idea is to use it as a digital key to unlock doors etc.
https://www.elsist.biz/wp-content/uploa ... 00x500.png
- Wednesday 07 June 2017 10:03
- Forum: Switches and Scenes
- Topic: Invert On/off switch
- Replies: 8
- Views: 5445
Invert On/off switch
Hi, is there a way to control On/off switch default status? I have an On/off switch that is connected to relay. Problem is simple: When relay is off, my button status is ON and vice versa. Because the default status of relay is OFF i'd like the switch also be OFF by default. This might be very ...
- Sunday 28 May 2017 13:38
- Forum: Blockly
- Topic: "Disable event" -button?
- Replies: 5
- Views: 2245
Re:
This solved my problem, thanks a lot! Also thanks for the other suggestors!pvm wrote:I've created a virtual switch 'manual control' and added that to all IFs in blockly , checking it is off.
- Friday 26 May 2017 19:35
- Forum: Blockly
- Topic: "Disable event" -button?
- Replies: 5
- Views: 2245
Re:
I'm interested! How did you do that exactly, can you share your solution?pvm wrote:Not exactly what you where looking for but : I've solved this by adding an extra check to the blocky statement(s) 'manual control'
- Friday 26 May 2017 18:27
- Forum: Blockly
- Topic: "Disable event" -button?
- Replies: 5
- Views: 2245
"Disable event" -button?
Hi, has anyone figured out a way to disable certain blockly event with a single click (with a button for example)? I understand that I can do that via "Event active" -selection, but it would be very cool to have a "manual" -button in dashboard and when pushed my automation would not work and I could ...
- Friday 19 May 2017 8:31
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: Light sensor and Domoticz
- Replies: 1
- Views: 4898
Light sensor and Domoticz
Hello, I have this light sensor: http://www.uugear.com/product/uugear-light-sensor-module-4-wire-with-both-digital-and-analog-output/ It seems to work well and I can read it's status from Raspi3 GPIO pin. The status is either 1 or 0 (light/dark). I have a problem connecting this to Domoticz. I am ...
- Friday 19 May 2017 8:24
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: GPIO export and default status at boot
- Replies: 2
- Views: 4538
Re: GPIO export and default status at boot
Hi, I have this exactly same problem, did you ever figure out why relay state changes on startup/shutdown?