Search found 79 matches

by DanM
Monday 29 October 2018 14:42
Forum: RFLink Transceiver
Topic: Nuaire Drimaster Eco-Heat-HC & RFlink?
Replies: 5
Views: 3954

Re: Nuaire Drimaster Eco-Heat-HC & RFlink?

Replying after a long time.. but did you ever make progress with this? Its definately 868 - I spoke to the company about it. I was thinking of buying one of the switches and just soldering to it to send the signals..
by DanM
Monday 17 September 2018 14:36
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Cant get Domoticz to Add GPIO
Replies: 3
Views: 4337

Re: Cant get Domoticz to Add GPIO

I know replying to myself is bad form.. but I've done some further digging and it seems that restarting (i.e enabling and they disabling the 'Generic sysfs GPIO') finds the GPIO correctly. My Log entry ends up as follows: 2018-09-17 13:33:53.303 Status: Sysfs GPIO: Startup - polling:no interrupts:no ...
by DanM
Sunday 16 September 2018 21:30
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: Cant get Domoticz to Add GPIO
Replies: 3
Views: 4337

Cant get Domoticz to Add GPIO

Hi, I have the following in my rc.local: sudo sh -c 'echo 26 > /sys/class/gpio/export' sudo sh -c 'echo in > /sys/class/gpio/gpio26/direction' sudo sh -c 'echo both > /sys/class/gpio/gpio26/edge' I can see the files in /sys/class/gpio/ and applying voltage to the pin changes the value there as it ...
by DanM
Sunday 02 September 2018 23:59
Forum: Heating/cooling
Topic: using Domoticz with on/off relay from Honeywell BDR91
Replies: 3
Views: 1108

Re: using Domoticz with on/off relay from Honeywell BDR91

I believe that the those can only be controlled by honeywell thermostats Im afraid... However.. Honeywell thermostats can be controlled by domoticz. So one option would be to get one of those to go with your relay. If you cant return your relay and end up going with another solution.. drop me a PM ...
by DanM
Sunday 02 September 2018 17:08
Forum: dzVents
Topic: dzVents Bayesian Sensor
Replies: 0
Views: 716

dzVents Bayesian Sensor

So recently I took a trip to the dark side and briefly flirted with Home Assistant in place of Domoticz. The fact that Im here tells you a lot about how that went, but there was one feature that I really missed - a bayesian probability based sensor. Simply put this is a sensor that uses probability ...
by DanM
Friday 31 August 2018 10:32
Forum: dzVents
Topic: Script Processing Order
Replies: 2
Views: 379

Script Processing Order

Hi, Suppose I have 10 scripts all triggered by the same motion sensor... one of which actually turns the light on and the rest of which are less urgent. How can I ensure the one that turns the light on runs first? If I cant is there to call a dzvents script at the end of another script (so main ...
by DanM
Tuesday 28 August 2018 20:51
Forum: dzVents
Topic: Can this be simplified?
Replies: 2
Views: 510

Can this be simplified?

I have the following script I'm hoping to simplify. I'm defining a table of devices at the start.. then using a standard dzvents device script. Is there any way to not have to repeat the devices in the device section of the script (so to read them from devicesToCheck object). Thanks. local ...
by DanM
Tuesday 28 August 2018 11:27
Forum: dzVents
Topic: Create a device
Replies: 2
Views: 746

Create a device

Hi,

If there any way to check if a device exists and create it if not?

Best,

Dan
by DanM
Saturday 25 August 2018 11:55
Forum: dzVents
Topic: repeatAfterSec Question
Replies: 3
Views: 475

Re: repeatAfterSec Question

Thanks. Does that hold true for other scripts too? so say that line is in the middle of script A.. I understand from what you are saying that the rest of script A executes and then this is sent to domoticz at the end? What if script B is triggered in the meanwhile,will this suffer a delay?
by DanM
Saturday 25 August 2018 11:43
Forum: dzVents
Topic: repeatAfterSec Question
Replies: 3
Views: 475

repeatAfterSec Question

Hi, If I have the following in one of my scripts, will it cause dzVents to wait until this is executed before anything else is executed? If so is there any way to push this to the background and continue other stuff? domoticz.devices('Camera Snapshot').switchOn().forSec(2).repeatAfterSec(3, 10) This ...
by DanM
Friday 18 May 2018 15:20
Forum: Others
Topic: AndroidTV api
Replies: 8
Views: 18208

Re: AndroidTV api

You can also launch apps directly with the right ADB Commands.

Code: Select all

start -n com.package.name/com.package.name.ActivityName
You will have to google for the package names, but Ive had success launching netflix, iplayer and Kodi this way. Ill try and look at my code later if I can find some examples.
by DanM
Wednesday 16 May 2018 10:44
Forum: Others
Topic: AndroidTV api
Replies: 8
Views: 18208

Re: AndroidTV api

You can control andrid devices using ADB and sending keypress events. Have a search on the forums for my Fire TV status script (Fire TV runs android, so the basic principles are the same.). Something along these lines ought to get you started.. http://www.aftvnews.com/how-to-remotely-control-an ...
by DanM
Tuesday 08 May 2018 14:44
Forum: Bash / PowerShell / Batch etc.
Topic: Fire TV Status
Replies: 3
Views: 3957

Fire TV Status

Hi, Figured I'd share my fireTV status script. To run the script you need ADB tools installed as this is how the pi connects to the stick. It triggers a selector switch via curl so you need to alter the urls and the device IDs etc to make it work. #!/bin/bash adb kill-server adb start-server adb ...
by DanM
Sunday 08 April 2018 21:39
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Domoticz on Raspberry Pi 3B+ (Jessy won't install)
Replies: 12
Views: 4786

Re: Domoticz on Raspberry Pi 3B+ (Jessy won't install)

You are running into the libssl problem. Its well documented on the forums. I fixed mine with the following:

Code: Select all

http://ftp.nl.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb
sudo dpkg -i libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb
by DanM
Friday 06 April 2018 10:18
Forum: Z-Wave
Topic: Fibaro Motion Sensor. Added not added
Replies: 9
Views: 3062

Re: Fibaro Motion Sensor. Added not added

Interesting... Im also having a problem with one of my Fibaro sensors. Also showing as 0x0000
by DanM
Wednesday 04 April 2018 22:43
Forum: Other questions and discussions
Topic: Howto: LUA setting EvoTouch status
Replies: 12
Views: 2966

Re: Howto: LUA setting EvoTouch status

Take a look at https://www.domoticz.com/wiki/Evohome - there is a part titled automation about 2/3rds of the way down the page. In my case evohome is device IDX 161 so I use the following to set eco mode when Im way from home: os.execute('curl "127.0.0.1:8080/json.htm?type=command&param=switchmodal ...
by DanM
Sunday 28 January 2018 12:00
Forum: Other questions and discussions
Topic: scheduled reboot RPi with Domoticz
Replies: 17
Views: 6524

Re: scheduled reboot RPi with Domoticz

I restart my system nightly - I call the json to restart Domoticz (/json.htm?type=command&param=system_reboot). I assume Domoticz own reboot command exits cleanly (although I must confess I dont know for sure).
by DanM
Sunday 28 January 2018 11:44
Forum: dzVents
Topic: Trigger Events in specific order based on last update.
Replies: 0
Views: 402

Trigger Events in specific order based on last update.

Hi, I'm trying to write some code that 'retriggers' some of my motion sensors after 1 minute. They are of the type that simply stay on if motion continues (rather than re-send an on signal) and so if they are still on I want to re-send the on command. The problem is that Id like to resend the ...
by DanM
Sunday 03 December 2017 19:51
Forum: Suggestions
Topic: Indentify tag id with the Zipato/beNext TagReader
Replies: 24
Views: 7563

Re: Indentify tag id with the Zipato/beNext TagReader

bit late to reply... but i call it from lua when the tag reader is triggered.
by DanM
Sunday 24 September 2017 10:03
Forum: dzVents
Topic: Converting a (very) complex motion script help
Replies: 0
Views: 589

Converting a (very) complex motion script help

Hi All, Im thinking of making the step over to DzVents and would appreciate some help with the conversion. I'll also use this thread to document what I end up with in case anyone else is crazy and wants to end up with motion scripts as complicated as mine. Im trying to convert over my existing LUA ...