Search found 12 matches

by laggmunk
Saturday 10 December 2016 15:23
Forum: Z-Wave
Topic: domoticz lost Z-wave ID and type after reinstall
Replies: 2
Views: 1111

Re: domoticz lost Z-wave ID and type after reinstall

this is real weird, but after half a day most devices are back and working even though I changed nothing.
it does not seem normal for a discovery to take like 4 hours, but it did.
by laggmunk
Saturday 10 December 2016 10:52
Forum: Z-Wave
Topic: domoticz lost Z-wave ID and type after reinstall
Replies: 2
Views: 1111

domoticz lost Z-wave ID and type after reinstall

My domoticz install running on an old raspberry pi crashed, I installed a new installation on a raspberry pi 2 and moved my aeon labs Z-wave+ stick to that one and restored the domoticz.db. after that most of my z-wave devices have the correct name, but an ID and type of 0x0000 the configuration of ...
by laggmunk
Saturday 03 December 2016 15:32
Forum: Z-Wave
Topic: Re-include device while keeping node ID and devices?
Replies: 1
Views: 787

Re-include device while keeping node ID and devices?

I just realized I never changed the network key for my Z-wave+ stick

changing it requires including devices again, is there any way to keep the same nodeID so I do not have to change every single device already added to domoticz?
by laggmunk
Wednesday 30 November 2016 18:10
Forum: Z-Wave
Topic: Nodon Soft Remote crc 360x
Replies: 25
Views: 5741

Re: Nodon Soft Remote crc 360x

thanks, I did not know you could hide switches in domoticz, both search and google failed me. :D but how to I "unhide" switches? it seems the nodon remotes cannot be used in "mono" mode, and running them in scene mode it is not possible to directly control a switch by adding the remote to the z-wave ...
by laggmunk
Wednesday 30 November 2016 15:51
Forum: Z-Wave
Topic: Nodon Soft Remote crc 360x
Replies: 25
Views: 5741

Re: Nodon Soft Remote crc 360x

well a scene cannot toggle a device, so I need two scenes per device I wish to control. that amounts to a lot. and with 3 functions per button, 4 buttons per remote, the amount of light switches in the gui has far exceeded the point where the domoticz gui can be used to turn lights on and off ...
by laggmunk
Wednesday 30 November 2016 14:52
Forum: Z-Wave
Topic: Danalock V2 compatibility issues
Replies: 2
Views: 1134

Danalock V2 compatibility issues

I just installed a danalock V2. I can include it in Zwave just fine, and find an "access control" device, but it does not work nor update its status, when I lock using bluetooth I can see in the domoticz log that it changes state to "secure", OpenZWave: Alarm Level: Secure but the device in domoticz ...
by laggmunk
Tuesday 29 November 2016 17:44
Forum: Z-Wave
Topic: Nodon Soft Remote crc 360x
Replies: 25
Views: 5741

Re: Nodon Soft Remote crc 360x

Sorry to wake this thread to life, but I followed these instructions and they work...but I do't want to use scenes, I just want a click or doublecklick on a button to toggle a light, and I cannot figure out how to do that, I can not make domoticz react to any button set to "mono" mode. I set button ...
by laggmunk
Saturday 05 March 2016 19:55
Forum: Suggestions
Topic: blockly timedifference function
Replies: 1
Views: 828

blockly timedifference function

today I use the following function in LUA: function timedifference (s) year = string.sub(s, 1, 4) month = string.sub(s, 6, 7) day = string.sub(s, 9, 10) hour = string.sub(s, 12, 13) minutes = string.sub(s, 15, 16) seconds = string.sub(s, 18, 19) t1 = os.time() t2 = os.time{year=year, month=month ...
by laggmunk
Tuesday 24 September 2013 10:11
Forum: LUA
Topic: Script examples (Lua)
Replies: 139
Views: 161938

Re: Script examples (Lua)

Prescence detection using two motion detectors: This is a script I use to determine if anyone is still upstairs, it is a time based script that runs every minute and it uses two motion detectors to determine if there is any movement upstairs, and which direction (up or down) the last person was ...
by laggmunk
Friday 02 August 2013 15:32
Forum: LUA
Topic: Script examples (Lua)
Replies: 139
Views: 161938

Re: Script examples (Lua)

two ways of catching the exit status or output I found was to either use the call io.popen something like this: f = assert (io.popen ("ls -l")) for line in f:lines() do print(line) end -- for loop f:close() or using temporary files: -- get a temporary file name n = os.tmpname () -- execute a command ...
by laggmunk
Friday 02 August 2013 13:04
Forum: LUA
Topic: Script examples (Lua)
Replies: 139
Views: 161938

Re: Script examples (Lua)

if you mean the simple os.execute example, then you're welcome, if not please paste a link as I can't find any other example. you can also extend the capability of interacting with external hw/sw by using rfid tags. I use tasker URL launcher on my phone, and by programming a domoticz json URL into ...
by laggmunk
Saturday 20 July 2013 15:38
Forum: PHP and all others
Topic: Events system thread (questions and feedback)
Replies: 308
Views: 156602

Re: Events system feedback thread

it seems otherdevices_lastupdate is very inflexible with regards to device names, devices names containing special characters such as "åäö" do not work, and devicenames containing white spaces do not work either. a devicename such as ['Hall Ovre - Taklampa 1'] returns nil, but if I rename it to "l ...