Search found 78 matches

by acaonweb
Monday 15 January 2024 21:02
Forum: dzVents
Topic: Help on a script involving .filter() or ipairs()
Replies: 2
Views: 1205

Re: Help on a script involving .filter() or ipairs()

great!!!!
thanx
by acaonweb
Monday 15 January 2024 13:57
Forum: dzVents
Topic: Help on a script involving .filter() or ipairs()
Replies: 2
Views: 1205

Help on a script involving .filter() or ipairs()

Hi guys, i'm not so expert in Lua and i'm trying to improve my scripting level. I'm trying to make a script that depending from a list of PIR status, tell me id there is people at home and relative groups of light are switched off. now i wrote that. local PIR = { "Body Sensor Scala", "Body Sensor ...
by acaonweb
Sunday 24 September 2023 16:05
Forum: General Discussion
Topic: The future of Domoticz?
Replies: 49
Views: 11913

Re: The future of Domoticz?

Domoticz + DzEvents + Node-Red + MQTT, virtually you can do everything. Following tutorials for HA, I've integrated everything in my home, with a little bit of work, and I'm not a programmer. I think Domoticz has to be improved in GUI, Customization (for example homebrige-ui is more modern than ...
by acaonweb
Friday 30 December 2022 10:45
Forum: Python
Topic: Python Plugin: Zigbee2Mqtt
Replies: 347
Views: 81916

Re: Python Plugin: Zigbee2Mqtt

I have a similar issue, it appears adding a PIR device supported by zigbee2mqtt as shown here https://www.zigbee2mqtt.io/devices/IH012-RT01.html#tuya-ih012-rt01 in zigbee2mqtt is correctly paired, discovered, interviewed ad works good But after adding it, plugin crash and all the Zigbee device stops ...
by acaonweb
Monday 06 June 2022 21:09
Forum: Bugs
Topic: Bug triggering device [SOLVED]
Replies: 6
Views: 1136

Re: Bug triggering device

Well, I need triggeredItem because I’m the original script I need to trigger a device and do some actions) and a timer (and do other action)
by acaonweb
Monday 06 June 2022 17:15
Forum: Bugs
Topic: Bug triggering device [SOLVED]
Replies: 6
Views: 1136

Re: Bug triggering device

i've added device.state to the log, clicking once the dummy device initial state off, i have that 2022-06-06 17:08:58.779 Status: dzVents: Info: BugTest: : ------ Start internal script: Script #2: Device: "Irrigatore (Dummy)", Index: 116 2022-06-06 17:08:58.806 Status: dzVents: Info: BugTest ...
by acaonweb
Monday 06 June 2022 17:00
Forum: Bugs
Topic: Bug triggering device [SOLVED]
Replies: 6
Views: 1136

Re: Bug triggering device

it's a dummy and i trigger it from dashboard, clicking on it
i'll add a device.state to the log
by acaonweb
Sunday 05 June 2022 21:17
Forum: Zigbee
Topic: Zigbee2mqtt plugin don't work with z2m new api
Replies: 6
Views: 1061

Re: Zigbee2mqtt plugin don't work with z2m new api

Hi, Either I just got a problem (like it's always only me :lol: ), or there is a really problem with latest zigbee2mqtt (1.25.1) and latest domoticz plugin (3.1.0-beta). So... yesterday (or day before :P ) I switched to new z2m (I have it now running in docker (already :D ) and in my main server ...
by acaonweb
Sunday 05 June 2022 21:13
Forum: Zigbee
Topic: Zigbee2mqtt plugin don't work with z2m new api
Replies: 6
Views: 1061

Re: Zigbee2mqtt plugin don't work with z2m new api

Derik wrote: Sunday 05 June 2022 17:24 quit with the plugin. Change to hardcored z2m in Domoticz
One time learn all new devices

Then never the plugin needed..
What do you mean?
by acaonweb
Sunday 05 June 2022 21:09
Forum: Bugs
Topic: Bug triggering device [SOLVED]
Replies: 6
Views: 1136

Bug triggering device [SOLVED]

I've wrote a simple dz script, triggering a single device return { on = { devices = {'Irrigatore'}, timer = {}, variables = {}, scenes = {}, groups = {}, security = {}, httpResponses = {}, shellCommandResponses = {}, customEvents = {}, system = {}, }, data = {}, logging = {level = domoticz.LOG_DEBUG ...
by acaonweb
Sunday 05 June 2022 12:02
Forum: Speech & Voice Systems
Topic: Alexa text to speech
Replies: 152
Views: 52577

Re: Alexa text to speech

yes sure, obviously you need to run node red in a server somewhere, easy to do (click https://nodered.org/docs/getting-started/raspberrypi ) The you need to install a new palette inside node red, click hamburger on the top right side, cli manage Palette, click on Install tab, find node-red-contrib ...
by acaonweb
Sunday 05 June 2022 11:19
Forum: dzVents
Topic: STrange Behavior with this script
Replies: 0
Views: 311

STrange Behavior with this script

HI guys, I need an help on this script, that is running since 2018 like a charme is a script form my irrigation system and works like that: -- Check the wiki at -- http://www.domoticz.com/wiki/%27dzVents%27:_next_generation_LUA_scripting local notificationdevice = {'iPhone6S','iPadAir','PC','Laptop ...
by acaonweb
Saturday 04 June 2022 7:25
Forum: Speech & Voice Systems
Topic: Alexa text to speech
Replies: 152
Views: 52577

Re: Alexa text to speech

I'm using node red to make Alexa speech 😄
There is a nice palette to install that provide everything you need, and more flexible and powerful than the script ( I mean, script is only for speech, node red do all the rest 😄 )
by acaonweb
Friday 01 October 2021 22:18
Forum: Zigbee
Topic: Zigbee device recognized but no domoticz device is created
Replies: 1
Views: 237

Zigbee device recognized but no domoticz device is created

After pairing my bticino L4003c, zigb2mqtt recognize it but domoticz plug-in doesn’t create the switch
How can resolve?
by acaonweb
Wednesday 07 April 2021 16:21
Forum: dzVents
Topic: executeShellCommand() And command option [Solved]
Replies: 5
Views: 926

Re: executeShellCommand() And command option [Solved]

and what if i'd like do 4 times every 3 seconds?

Code: Select all

for delay = 0, 9, 3 do 
    dz.executeShellCommand(‘my command’).afterSec(delay)
end
It's like that?
by acaonweb
Wednesday 07 April 2021 12:31
Forum: dzVents
Topic: executeShellCommand() And command option [Solved]
Replies: 5
Views: 926

Re: executeShellCommand() And command option [Solved]

thanx so much
with this code delay is 0,1,2 so three times every 1 second.

Great :)
by acaonweb
Tuesday 06 April 2021 21:47
Forum: dzVents
Topic: executeShellCommand() And command option [Solved]
Replies: 5
Views: 926

executeShellCommand() And command option [Solved]

Hi guys,
I’m trying to send an executeShellCommand() repeating it.
I’ve tried something like

Code: Select all

dz.executeShellCommand(‘my command’).repeatAfterSec(1, 3)
but I get an error.
How resolve?

Thanx in advance.
Fabrizio
by acaonweb
Tuesday 16 March 2021 21:20
Forum: dzVents
Topic: Strange behaviour lastupdate.secondsAgo reprise
Replies: 1
Views: 230

Strange behaviour lastupdate.secondsAgo reprise

It’s been a long time we have lastupdate.secondsAgo bugged
How long we need to wait for a bug fix (without install a beta?)
After one year I think something have to be done.
I don’t want thinka project I’d died...