allow Python Events a bit more functionnalities
Posted: Monday 17 April 2023 22:10
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 some fine-tuning and Blocky refusing the nested ifs and Lua being an unknown language (for me of course as I'm only "fluent" in Python), I was trying to use Python. I'm almost at the point where I can make everything works, but I need to control a selector switch which DE,command won't be able to set except for On/Off.
Meanwhile I'm checking how to make a Python Plugin which might (or not) fill the gap.
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 some fine-tuning and Blocky refusing the nested ifs and Lua being an unknown language (for me of course as I'm only "fluent" in Python), I was trying to use Python. I'm almost at the point where I can make everything works, but I need to control a selector switch which DE,command won't be able to set except for On/Off.
Meanwhile I'm checking how to make a Python Plugin which might (or not) fill the gap.