I created a custom driver for pH and EC sensor/doser. I created a list of custom attributes that are measured and captured by sensor/doser - and they are all visible in Rule Machine.
I also created several custom commands to regulate pH and EC:
The problem is that I can't see these commands under Custom Actions in Rule Machine, therefore I can't trigger them outside the device itself. What am I missing?
Are you able to select your device but the command just is not listed? Or you're not able to select the device at all, potentially because it is missing one of the built-in capabilities (I typically use Actuator if another capability isn't applicable).
Please show a screenshot of Rule Machine when you are trying to configure your rule and share more of your driver code that replicates the issue.
I am not able to list the capability of my device when I create a new action. My driver/device can take measurements of pH, EC and Temperature, and can dose/inject pH corrector and nutrients.
The only capability that I found that partially applies to me is "pHMeasurement" - which has no actions/commands avaialble.
Perhaps my question should be: what alternative capabilities should I include in my source code to expose dosing/injecting specific ml. Injecting itself works no problem using command stated above. Perhaps I am lacking in the core definition: