Search found 22 matches

by daveinhull
Sunday 18 December 2022 8:27
Forum: Python
Topic: Python Plugin: TUYA
Replies: 507
Views: 100070

Re: Python Plugin: TUYA

Hi kalinkamaen, Yes sorry I should have provided more detials, but wanted to see if I could find the problem myself. Here is the log, I've marked where it repeats, but I can't see anything unusal (except for the repeating of course :shock: :( ) 2022-12-18 07:02:38.473 Sunrise: 08:15:00 SunSet: 15:42 ...
by daveinhull
Friday 16 December 2022 9:30
Forum: Python
Topic: Python Plugin: TUYA
Replies: 507
Views: 100070

Re: Python Plugin: TUYA

Hi kalinkamaen, The log only says: 2022-12-16 08:28:10.732 Status: User: Admin (IP: 192.168.1.6) initiated a switch command (10/Smart Life - Lounge Floor/On) Nothinig else [P.S. However, I've now noticed that the system appears to be continually resetting or re-initialising - so this might be a ...
by daveinhull
Wednesday 14 December 2022 8:40
Forum: Python
Topic: Python Plugin: TUYA
Replies: 507
Views: 100070

Re: Python Plugin: TUYA

Hi, Hope someone can help. I have installed the plug-in and it has detected my devices and they seem to show the device state, but I cannot change any state. If I try to switch of a light it says 'switching off' but nothing happens either in Domotics or in real life. Any thoughts as to what might e ...
by daveinhull
Saturday 08 January 2022 18:45
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Evohome via web API
Replies: 0
Views: 415

Evohome via web API

Hi, Just starting to get back into Domoticz and I'm trying to connect to my Evohome system. I've setup everything for Evohome via web API and it runs and in the log it retrieves all my heating zones. However, I do not then see them in the Device list. Any thoughts on what I'm doing wrong. [Edit ...
by daveinhull
Saturday 06 October 2018 15:28
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Edit switches doesn't work after update
Replies: 0
Views: 245

Edit switches doesn't work after update

Hi,

I've just updated to the latest stable version and now when I press edit on a switch it comes back with 'undefined'. Also my temperature readings just go back to the dashboard when I select 'log'.

Any thoughts?

Thanks
Dave
by daveinhull
Saturday 07 January 2017 20:51
Forum: LUA
Topic: LUA different command to same deivce in commandArray
Replies: 3
Views: 1266

Re: LUA different command to same deivce in commandArray

Thanks Jos, had a feeling in night be something to do with timings. Will give it a try.
by daveinhull
Saturday 07 January 2017 14:15
Forum: LUA
Topic: LUA different command to same deivce in commandArray
Replies: 3
Views: 1266

Re: LUA different command to same deivce in commandArray

Hi

Anyone got any ideas how to do this or even if it is possible?

Thanks
by daveinhull
Monday 02 January 2017 21:47
Forum: LUA
Topic: LUA different command to same deivce in commandArray
Replies: 3
Views: 1266

LUA different command to same deivce in commandArray

Hi, Can anyone tell me if it is possible to send two different commands to the same device in LUA's commandArray? This sounds like a silly question, but the reason is that I'd like to put a light to 100% and then switch it off so that the next time it is switch on at the wall it comes on full ...
by daveinhull
Tuesday 20 December 2016 19:58
Forum: Blockly
Topic: Blockly query
Replies: 2
Views: 777

Re: Blockly query

Thanks StanHD, Yes I knew about the wrong IF block, but thought it would have an effect. The reason for the wrong IF block was that I originally just had one IF block, something like: If Doorbell pressed = ON and Dusk Sensor = ON then etc.... Else If Doorbell pressed = ON and Dusk Sensor = Off then ...
by daveinhull
Tuesday 20 December 2016 19:12
Forum: Blockly
Topic: Blockly query
Replies: 2
Views: 777

Blockly query

Hi, I've got a problem with a Blockly script which I just don't understand where its going wrong, see attached. Both parts of the inner If Then Else If execute, i.e. I'm getting two entries in the log and two notifications. Can anyone see what must be a really obvious mistake. I'm using the Beta ...
by daveinhull
Sunday 04 October 2015 22:44
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

Sorry to bring this old topic up again, but I've done a bit of testing. If I purely use the RFXcom Mgr the button presses are detected and report instantaneously. However, as my previous posts noted, when they are being intercepted by Domoticz, there is anywhere between 1 and 2 (more usually around ...
by daveinhull
Tuesday 01 September 2015 0:59
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

Hi Stan, Many thanks for testing this and absolutely need to apologies. So it sounds like something in my system is slowing things down, but where? I need to break the system down into components and test each bit....that'll keep be occupied for a bit :( I'm running version 2.2657, so will upgrade ...
by daveinhull
Monday 31 August 2015 0:35
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

Hi Stan,

Did you manage to get chance to test the wireless switch with script? Any results?

Thanks
Dave
by daveinhull
Wednesday 26 August 2015 18:54
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

Hi Stan, Yes I guess it would, but you'd probably need to change the script to something like: commandArray = {} c=next(devicechanged) v=tostring(devicechanged[c]) if(c == 'Switch') then if(v == 'On') then commandArray['Light1'] = 'On' else commandArray['Light1'] = 'Off' end end return commandArray ...
by daveinhull
Wednesday 26 August 2015 15:36
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

Hi StanHD, Thanks for the feedback and offer to help.... :D :D Do you have a LightwaveRF mood switch? If you do maybe you could put the following Lua script into the Domoticz/Scripts/Lua directory and then test it and see how long it takes. You'd need to setup the mood switch as an on/off generic ...
by daveinhull
Wednesday 26 August 2015 10:09
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

Hi ThinkPad, Yes that is were my thoughts were heading to also, but.... I did a little more testing and found that the log shows that when the switch signal is received the script is run and the light-on signal sent all within, a decent, 1/2 second. So the delay must be in Domoticz detecting the ...
by daveinhull
Wednesday 26 August 2015 2:02
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

Hi, Thanks for the reply. There were no other 'legally named' scripts in the lua directory, but I've moved everything out and its still about 2 to 3 seconds to go through button press light on. Not sure what you mean Calling this script script_device_asomething.lua - does this speed it up? but it ...
by daveinhull
Tuesday 25 August 2015 19:01
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

HI, I've just checked with RFXmngr and the switch signals are received almost immediately, but in Domoticz they can take 5 or 6 seconds to appear in the log (although I appreciate that there may well be a time delay in updating the log). Irrespective of the log, it does take around 2 second for the ...
by daveinhull
Monday 24 August 2015 20:27
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

Hi,

Any thoughts anyone?

Thanks
by daveinhull
Sunday 23 August 2015 13:41
Forum: PHP and all others
Topic: Script delay
Replies: 24
Views: 6615

Re: Script delay

Hi,

Not always, sometimes it appears immediately and other times it can take a few seconds.

Thanks