Search found 3 matches

by Refhi
Thursday 20 April 2023 22:12
Forum: Suggestions
Topic: allow Python Events a bit more functionnalities
Replies: 1
Views: 499

Re: allow Python Events a bit more functionnalities

Ok, so "python plugins" would not really fit my needs.

So I've made a workaround using the Json http domoticz API with the requests python module.

I managed to install the requests module inside the Domoticz docker container with the following customstart,sh set in the Domoticz folder :
#!/bin ...
by Refhi
Monday 17 April 2023 22:10
Forum: Suggestions
Topic: allow Python Events a bit more functionnalities
Replies: 1
Views: 499

allow Python Events a bit more functionnalities

Hello,

I think Python Events "DE,command" could benefit from a bit more option:
- allow numeric arguments instead of just "On" or "Off"
- and/or allow http commands to be send

I believe it would increase tenfold the benefits of Python Events :)

For more insight : I'm trying to make an Event with ...
by Refhi
Sunday 12 June 2022 20:55
Forum: Blockly
Topic: "If the door is open for more than ten minutes --> Send message. Advice needed
Replies: 8
Views: 4855

Re: "If the door is open for more than ten minutes --> Send message. Advice needed

joshua1 wrote: Sunday 09 May 2021 17:32 I have done it this way, works o.k.
I... I don't understand how that work, but it does !

Well done. And thanks.