Search found 26 matches

by DreaMare
Monday 29 April 2019 21:22
Forum: Blockly
Topic: Notification + android
Replies: 2
Views: 1905

Re: Notification + android

No one ?
by DreaMare
Monday 29 April 2019 21:21
Forum: LUA
Topic: Flood Fibaro sensor detection
Replies: 3
Views: 1410

Re: Flood Fibaro sensor detection

Ok for remotly sound.

For the block, wich one i have to use ?
by DreaMare
Monday 25 February 2019 19:41
Forum: LUA
Topic: Flood Fibaro sensor detection
Replies: 3
Views: 1410

Flood Fibaro sensor detection

Hello Everyone : ) I Would like to know how to set a script for this kind of use : - When Flood is detected : active smoke sirene (Fibaro) for 0.5min then send me an email with picture cam and send a push notification on android appz. I try it with block, but doesn't work :( I really appreciate your ...
by DreaMare
Thursday 29 March 2018 20:46
Forum: LUA
Topic: Fibaro Flood/smoke alarm + LUA
Replies: 2
Views: 1240

Re: Fibaro Flood/smoke alarm + LUA

Hello

I would like to create a script when sensor "fibaro flood" detect water : i would like to receive push notification on android app.

see attached ;

Anyone have an idea ? And a LUA script translation ?

Thank you !
by DreaMare
Friday 24 March 2017 17:42
Forum: LUA
Topic: Fibaro Flood/smoke alarm + LUA
Replies: 2
Views: 1240

Fibaro Flood/smoke alarm + LUA

Hello Everyone,

I would like to know if someone already write a script in LUA : when flood alarm is On, stop panic after 5min then send mail + notification on phone ?

Thank you !
by DreaMare
Friday 24 March 2017 17:32
Forum: Blockly
Topic: Xiaomi Cube + light
Replies: 5
Views: 4077

Re: Xiaomi Cube + light

thank you : )
ATM I use Lua insteef blocky ^^
by DreaMare
Sunday 12 March 2017 11:28
Forum: Blockly
Topic: Notification + android
Replies: 2
Views: 1905

Notification + android

Hello everyone ! I set up this bocky but only mail works well. The notification doesn't work. Camera doesn't work to. The Panic mode doesn't work. I would like to use the sound of other device (like smoke device), that's why I use the "panic", but doesn't work ><. I have domoticz android appz on my ...
by DreaMare
Monday 27 February 2017 22:26
Forum: LUA
Topic: Motion + light
Replies: 0
Views: 642

Motion + light

Hi Every One, after blocky (https://www.domoticz.com/forum/viewtopic.php?f=62&t=15887). I would like to automate the light using LUA : light turns "On" with motion. But the light still turns "on" even when I get out the room (after shut down light, but the motion record a mouvement so it re-turns on ...
by DreaMare
Friday 24 February 2017 18:50
Forum: LUA
Topic: Xiaomi Cube - shake_air
Replies: 8
Views: 2707

Re: Xiaomi Cube - shake_air

thank's a lot ; )
by DreaMare
Friday 24 February 2017 14:48
Forum: LUA
Topic: Xiaomi Cube - shake_air
Replies: 8
Views: 2707

Re: Xiaomi Cube - shake_air

deennoo wrote:As this is a device script, you have to set your script to device and not to all, just under LUA string
How ?
by DreaMare
Thursday 23 February 2017 22:39
Forum: LUA
Topic: Xiaomi Cube - shake_air
Replies: 8
Views: 2707

Re: Xiaomi Cube - shake_air

thank you anyway : )
I try out somethings but still got error.
And the script is a bit laggy and shake_air doesn't work :(
by DreaMare
Thursday 23 February 2017 22:24
Forum: LUA
Topic: bad argument #1 to 'sub' (string expected, got nil)
Replies: 8
Views: 7042

Re: bad argument #1 to 'sub' (string expected, got nil)

thanks a lot for your tips, I check it, hope this will be ok : )

thank's again !
by DreaMare
Thursday 23 February 2017 21:13
Forum: LUA
Topic: bad argument #1 to 'sub' (string expected, got nil)
Replies: 8
Views: 7042

Re: bad argument #1 to 'sub' (string expected, got nil)

Motion entrée Motion Salon exist, they are my PIR, does it work with '5' to say "at least 5 min PIR is off' ?

i Need an empty room so I want my PIR motion are not active (at least 5min with no mouvement), what is the right line to write ?

Thank you
by DreaMare
Wednesday 22 February 2017 20:30
Forum: LUA
Topic: Xiaomi Cube - shake_air
Replies: 8
Views: 2707

Re: Xiaomi Cube - shake_air

First be sure that you store this script as a device script and let start to do that in the web interface since that is the most easy way --> devicechanged commands only works in device scripts => the name of file is : script_device_cube2.lua so i guess it's ok ? are you sure that you have a device ...
by DreaMare
Tuesday 21 February 2017 12:11
Forum: LUA
Topic: bad argument #1 to 'sub' (string expected, got nil)
Replies: 8
Views: 7042

Re: bad argument #1 to 'sub' (string expected, got nil)

ok thank you : )
I'll try to check it
by DreaMare
Monday 20 February 2017 18:23
Forum: LUA
Topic: bad argument #1 to 'sub' (string expected, got nil)
Replies: 8
Views: 7042

Re: bad argument #1 to 'sub' (string expected, got nil)

Thanks for reply, sorry wrong past for the error, this is the real error : 2017-02-20 18:16:37.635 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_device_porte2.lua: /home/pi/domoticz/scripts/lua/script_device_porte2.lua:6: bad argument #1 to 'sub' (string expected, got nil) thank's for ...
by DreaMare
Sunday 19 February 2017 22:02
Forum: LUA
Topic: bad argument #1 to 'sub' (string expected, got nil)
Replies: 8
Views: 7042

bad argument #1 to 'sub' (string expected, got nil)

Hello, I got this error on this script, is someone can help me ? 2017-02-19 22:00:00.128 Error: EventSystem: in script_device_cube.lua: [string "-- script_device_cube.lua..."]:5: attempt to index global 'devicechanged' (a nil value) => 2017-02-20 18:16:37.635 Error: EventSystem: in /home/pi/domoticz ...
by DreaMare
Sunday 19 February 2017 19:27
Forum: LUA
Topic: Xiaomi Cube - shake_air
Replies: 8
Views: 2707

Xiaomi Cube - shake_air

Hello every one ! With this code (1) in web interface : all work well but I got this error : 2017-02-19 19:24:00.198 Error: EventSystem: in script_device_cube.lua: [string "-- script_device_cube.lua..."]:5: attempt to index global 'devicechanged' (a nil value) When i put this lua script in /home/pi ...
by DreaMare
Tuesday 14 February 2017 19:56
Forum: Blockly
Topic: Xiaomi Cube + light
Replies: 5
Views: 4077

Re: Xiaomi Cube + light

I have this error : 2017-02-14 19:56:00.053 Error: EventSystem: in cube test: [string "--..."]:29: attempt to index global 'devicechanged' (a nil value) With this code : commandArray = {} if devicechanged['Xiaomi Cube Switch'] == "shake_air" then commandArray['Scene Tout éteindre'] = "On" elseif ...
by DreaMare
Sunday 12 February 2017 13:01
Forum: Blockly
Topic: Xiaomi Cube + light
Replies: 5
Views: 4077

Re: Xiaomi Cube + light

Yeah, thanks : )
I Saw it, but i'm bad in LUA ^_^,
I would like to know if it could be possible in blocky mode