You can send raw commands to the valves using the 'set .... raw ...' within fhem. See the command reference manual. But, it is easier to use the normal commands as fruit has suggested. Rather than using '30' and '5' though you may prefer to use 'on' and 'off' - though the effect is the same.
The only advantage of using raw is that it bypasses the queing and retry mechanism within fhem.
Hope this helps