Currently we have the possibility to receive commands from a number of sources.
For example:
The problem is that there is no generic handler for receiving a command and executing it.
For example two MQTT controllers (C002 - Domoticz and C005 OpenHAB) do accept commands or events.
But both do have their own unique special handling for some plugins.
For some specific scenario's this can be a valid use case, but for most it is just code duplication and adding to the confusion why functionality differs among controllers.
So in short:
Ah ah ah!!!! I can't stop laughing.
* Proper detect whether something is an event or a command, so we don't have to use the "spaghetti method" to see what call may be successful in handling the incoming command or event.
What is a "spaghetti method" ?
(Warning: I am italian!)
:) :) :) 💯
"Spaghetti programming" is trying random things and see what sticks.
Analogue to testing whether Spaghetti is well cooked. If you throw it to a wall and it sticks, then it is OK. (well, at least that's what I have been told, never tried it)
There is also "banana programming", which is releasing it and let it ripe at the customer via lots and lots of bug fixes :)
Analogue to testing whether Spaghetti is well cooked. If you throw it to a wall and it sticks, then it is OK. (well, at least that's what I have been told, never tried it)
That's too much fun!
Most helpful comment
"Spaghetti programming" is trying random things and see what sticks.
Analogue to testing whether Spaghetti is well cooked. If you throw it to a wall and it sticks, then it is OK. (well, at least that's what I have been told, never tried it)
There is also "banana programming", which is releasing it and let it ripe at the customer via lots and lots of bug fixes :)