Search found 18 matches

by Biiiiino
Monday 03 October 2022 14:20
Forum: dzVents
Topic: Reset incremental counter does not work [Solved]
Replies: 3
Views: 1735

Re: Reset incremental counter does not work [Solved]

Hello, is there any update how to reset Reset incremental counter please ? I have no other option, just this one and i need to reset whole datas from the counter.

Thanks in advance
by Biiiiino
Tuesday 19 July 2022 15:51
Forum: Utility
Topic: Bestway lay z spa domoticz integration esp8266
Replies: 1
Views: 1859

Bestway lay z spa domoticz integration esp8266

Hello, is there someone who is using lowcost hot tube bestway lay z hacked by this excelent project? https://github.com/visualapproach/WiFi-remote-for-Bestway-Lay-Z-SPA I have using it, it works excelent but homeassistant discovery doesnt work well in domoticz. Is there anyone who is using this with ...
by Biiiiino
Saturday 12 June 2021 14:57
Forum: dzVents
Topic: Dzvents trigger on level ??
Replies: 1
Views: 245

Dzvents trigger on level ??

Hello, i have ikea button, which is detected by domoticz as selector which 3 different states: One short click: Action "on" Hold button: "brightness_move_up" Release hold button: "brightness_stop" My challenge is, i want to use this switch as trigger in dzvents based switch state. For example - One ...
by Biiiiino
Saturday 24 April 2021 18:48
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

Aah okay, thank you one more time.
by Biiiiino
Thursday 22 April 2021 16:41
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

Im trying to do it like this: local scriptVar = 'myheating' local kurenie = 'test_switch' return { on = { devices = { kurenie, }, httpResponses = { scriptVar, } }, logging = { level = domoticz.LOG_DEBUG, marker = scriptVar, }, execute = function(dz, item) if item.isDevice then local action = 1 if ...
by Biiiiino
Tuesday 20 April 2021 22:01
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

but if you have a bit of free time... :)
by Biiiiino
Tuesday 20 April 2021 21:48
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

Okkay :) thats totaly out of my skill you can trust me:) but again one more big THANK YOU waaren.
by Biiiiino
Tuesday 20 April 2021 20:11
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

Looks great, its possible to split log message based on action?

Eg if “on” cant be switched - log message: heating cant be turned on is stiĺ off

And reverse on off action

Its that possible? Thaank you
by Biiiiino
Tuesday 20 April 2021 16:57
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

Waaren OMG!!! thank you so much, please last think from me. Could you add there also option, when this situation happen if i turn switch off ?

Its possible to have it in one script ? Revert to on ( when url not avalabile) revert to off ( when url not available) ?

again thank you a lot
by Biiiiino
Tuesday 20 April 2021 15:42
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

For example: When i switch in domoticz button "heating" to on, it calls url (on action in virtual switch): http://192.168.1.241/control?cmd=GPIO,12,0 If that URL is not accesible from domoticz (esp8266 is not running) it will mark it to log as "Error opening url: http://http://192.168.1.241/control ...
by Biiiiino
Tuesday 20 April 2021 15:35
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

I have few esp8266 devices, which all i am using http commands instead of mqtt because if URL (esp is not running) is not accessible, domoticz write it to log and i know, the button is showing "on" in domoticz but in reality is "off" because it was not able during "switching on" process in domoticz ...
by Biiiiino
Tuesday 20 April 2021 14:09
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

Sorry for previus log, misstake on my side... this is log: 2021-04-20 14:07:54.697 (Virtual devices) Light/Switch (test_switch) 2021-04-20 14:07:54.696 Status: User: Admin initiated a switch command (2/test_switch/On) 2021-04-20 14:07:54.719 Status: dzVents: Info: Handling events for: "test_switch ...
by Biiiiino
Tuesday 20 April 2021 13:39
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

This is not test message. Its a button with not existing URL on action - thats what i want to monitor, if i turn on heating and device (esp8266) is not respondig, revert status of my switch back by call url directly to device in domoticz.. Maybe this is not the correct way, because now is searching ...
by Biiiiino
Tuesday 20 April 2021 12:26
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

Hi sure thank you log: 2021-04-20 12:24:22.097 (Virtual devices) Light/Switch (test_switch) 2021-04-20 12:24:22.096 Status: User: Admin initiated a switch command (2/test_switch/On) 2021-04-20 12:24:22.122 Status: dzVents: Info: Handling events for: "test_switch", value: "On" 2021-04-20 12:24:22.122 ...
by Biiiiino
Tuesday 20 April 2021 12:04
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

maybe this is the way ".afterSec(10)" but i didnt found the correct place where to put it on :D
by Biiiiino
Tuesday 20 April 2021 8:41
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

Hi waaren, thank you for you reply, it looks scripts work almost as expected. Script is looking for string but before that string is loged so it inform me: "No (new) occurrences of string Error" screen attached. Also another question its possible to add there one more searchstring with "if ...
by Biiiiino
Monday 19 April 2021 18:20
Forum: LUA
Topic: Use an error in log as a trigger
Replies: 58
Views: 13191

Re: Use an error in log as a trigger

Hi i copy and paste and get following error: ...domoticz/scripts/dzVents/generated_scripts/Script #5.lua:47: '}' expected (to close '{' at line 45) near 'callback' What am i doing wrong please? And its possible to use it as “on device” instead of httpresponses and timer every minute?? Thank in adv ...