Search found 5 matches

by jia175891641
Wednesday 25 July 2018 4:52
Forum: Python
Topic: function sleep problem
Replies: 1
Views: 455

Re: function sleep problem

use subprocess.call() Is it the right way to solve the problem?
Look forward to your answer
by jia175891641
Tuesday 24 July 2018 5:49
Forum: Python
Topic: function sleep problem
Replies: 1
Views: 455

function sleep problem

Hi All , I feeled The problem of asynchronous sending is annoying :x
i means python's data send api send data must wait subfunction run over
like this:
...
def test():
sleep(1)
res=funx()
xxx.send("this is test"+res)
sleep(1)
res=funy()
xxx.send("this is test2"+res)

run result (this is not ...
by jia175891641
Saturday 16 June 2018 8:38
Forum: Python
Topic: [help]how to use "onNotification" function in python plugin file
Replies: 2
Views: 979

[help]how to use "onNotification" function in python plugin file

Version: V3.8135 (stable)
Platform: windows
Plugin/Hardware: no hardware,the code down from "https://github.com/domoticz/domoticz/bl ... emplate.py"
Description:
i do not know how to use (or how to active) "onNotification" callbacks function, who can tell me ? i find in Developing_a_Python_plugin ...
by jia175891641
Friday 15 June 2018 13:58
Forum: Examples & Solutions
Topic: World Cup Scoreboard - new version
Replies: 20
Views: 5364

Re: World Cup Scoreboard

good work!