Search found 55 matches

by gerard76
Tuesday 09 October 2018 20:15
Forum: LUA
Topic: Improve 433Mhz reliability
Replies: 33
Views: 5295

Re: Improve 433Mhz reliability

Translated to dzVents for fun and succinctness. Also removes the need to create domoticz user variables. return { on = { devices = { 'A1', 'A2', 'TV' } }, data = { 'A1', 'A2', 'TV' }, execute = function(domoticz, device) if domoticz.data[device.name] ~= device.state then domoticz.data[device.name] =...
by gerard76
Friday 15 September 2017 13:44
Forum: Z-Wave
Topic: Aeontec Home Energy Meter Gen5 100A reporting problems
Replies: 7
Views: 965

Re: Aeontec Home Energy Meter Gen5 100A reporting problems

Screen Shot 2017-09-15 at 12.46.19.png
ozwcp schermschiet
Screen Shot 2017-09-15 at 12.46.19.png (68.89 KiB) Viewed 859 times
by gerard76
Friday 15 September 2017 13:39
Forum: Z-Wave
Topic: Aeontec Home Energy Meter Gen5 100A reporting problems
Replies: 7
Views: 965

Aeontec Home Energy Meter Gen5 100A reporting problems

I recently bought an Aeotec energy meter gen 5 60A, but that did not fit over the cable of my solar panels I wanted to measure, so I exchanged it for the 100A version which has a bigger clamp. Adding to Domoticz went fine, but I cannot get for the life of it to spew the right numbers. It reports Wat...
by gerard76
Monday 22 May 2017 6:53
Forum: LUA
Topic: How to detect who/what activated a LUA script
Replies: 6
Views: 1231

Re: How to detect who/what activated a LUA script

Look at the manual_override bit at the end. If the program switches the fan on it stores this in the 'fan_program' variable. In subsequent runs I check to see if the fan state is the same as what the program told it to do. If not, it was switched manually. require('scripts/lua/time') require('script...
by gerard76
Monday 01 May 2017 6:11
Forum: Android
Topic: Domoticz app 2.0
Replies: 1842
Views: 271601

Re: Domoticz app 2.0

@EdKo66 Seems like your phone does not permit the app to use location information. I only know about IOS, but do you have a security setting somewhere (dis)allowing programs to access location information?
by gerard76
Friday 28 April 2017 6:27
Forum: iOS
Topic: homebridge-edomoticz Plugin
Replies: 1556
Views: 238486

Re: homebridge-edomoticz Plugin

allthough I am able to use homebridge with my iphone(6) and my Ipad(4) but My girlfriends(Yes, she want to use it too) Iphone(7) is not able to see the homebridge devices. I also tried installing Eve, but no luck. is there any chance this is a known error or someone has any idea? Access is shared t...
by gerard76
Friday 28 April 2017 6:22
Forum: Bugs and Problems
Topic: Fibaro FGS223 is not working well
Replies: 181
Views: 36219

Re: Fibaro FGS223 is not working well

I has nothing to do with your HTTP call. My own Fibaro FGS223 switches show the same behaviour.
Screen Shot 2017-04-28 at 07.17.34.png
FGS223 switched manually
Screen Shot 2017-04-28 at 07.17.34.png (88.3 KiB) Viewed 1922 times
Doesn't matter if they are switched manually or by domoticz. My Qubino switches do not have this "problem".
by gerard76
Friday 21 April 2017 7:38
Forum: LUA
Topic: How to detect who/what activated a LUA script
Replies: 6
Views: 1231

Re: How to detect who/what activated a LUA script

You can create an extra (dummy) switch and call that dummy switch with the timer. Have that dummy switch switch the original switch. Now you know the timer flipped the switch and not the user because the user flipped the switch directly (without going through the dummy switch). If it's to detect man...
by gerard76
Wednesday 19 April 2017 16:04
Forum: RFLink Transceiver
Topic: Cresta TX-320 or equivalent
Replies: 17
Views: 4386

Re: Cresta TX-320 or equivalent

If they send at the same time take out the battery for a few seconds to change the timing.
by gerard76
Wednesday 19 April 2017 16:01
Forum: Switches and Scenes
Topic: How can I tell if I have RFX433 device at Home(newbee ?)
Replies: 6
Views: 1245

Re: How can I tell if I have RFX433 device at Home(newbee ?)

Rfxcom works great for me. My colleague got RFlink and it works fine as well. RFlink is cheaper by lots.
by gerard76
Monday 17 April 2017 8:25
Forum: LUA
Topic: Check if devices are still functioning
Replies: 3
Views: 1091

Re: Check if devices are still functioning

Took a while, but I found http://localhost:8080/json.htm?type=openzwavenodes&idx=2 where idx is the HardwareID from your z-wave transceiver found with http://localhost:8080/json.htm?type=devices&rid=113 with rid being the idx of the device you want zwave info over. The LastUpdate returned with the z...
by gerard76
Saturday 15 April 2017 6:39
Forum: dzVents
Topic: Function naming
Replies: 1
Views: 586

Function naming

What's with the mixed function naming? Camelcase and underscoring?

Code: Select all

light.switchOn().within_min()
by gerard76
Friday 14 April 2017 10:31
Forum: LUA
Topic: Check if devices are still functioning
Replies: 3
Views: 1091

Re: Check if devices are still functioning

Thank you for your reply, but like I said, lastupdate will not work because a door/window sensor lastupdate will be the last time the state changed. I have sensors on windows that rarely open, so lastupdate will be days ago even though the device is working fine. The API also does not report the 'la...
by gerard76
Friday 14 April 2017 9:04
Forum: LUA
Topic: Check if devices are still functioning
Replies: 3
Views: 1091

Check if devices are still functioning

I am trying to find a way to determine if devices are still functioning. Like a window/door sensor only has a lastupdate which is the last time the door/window opened. But some windows are hardly ever opened. Z-Wave does know the 'last seen' but I have no idea how to get this in Lua or from the son ...
by gerard76
Friday 14 April 2017 8:56
Forum: LUA
Topic: LUA inìdentifer onTimer event
Replies: 3
Views: 762

Re: LUA inìdentifer onTimer event

You could create a dummy device and have that dummy device be switched by the timer and then script to turn on the real device and then you also know the timer was triggered. The manual action would be on the device itself.
by gerard76
Thursday 13 April 2017 10:14
Forum: Others
Topic: Nest Protect
Replies: 9
Views: 4069

Re: Nest Protect

It gives an On/Off signal as smoke alarm.

I turn on all the lights for example so people can find their way out.
by gerard76
Tuesday 11 April 2017 15:22
Forum: PHP and all others
Topic: Presence detection
Replies: 8
Views: 4589

Re: Presence detection

Stable even
by gerard76
Tuesday 11 April 2017 11:35
Forum: Others
Topic: Braun Oral-B toothbrush
Replies: 6
Views: 1404

Re: Braun Oral-B toothbrush

I am saying something can be made to get the data through the Oral B API which would be easier than the bluetooth option.
by gerard76
Monday 10 April 2017 21:10
Forum: iOS
Topic: Wich IOS app are you using and is similar to Domoticz (android)
Replies: 8
Views: 5044

Re: Wich IOS app are you using and is similar to Domoticz (android)

I tried Pilot but did not like it. Dunno why.

I combined Domotics with homebridge (with the homebridge-edomoticz package) and can use Siri and home app and the shortcuts when you swipe up.

I sometimes use the Domoticz web interface, but not everything works.
by gerard76
Monday 10 April 2017 20:57
Forum: Bugs and Problems
Topic: Fibaro FGS223 is not working well
Replies: 181
Views: 36219

Re: Fibaro FGS223 is not working well

Post your script and your log