rewriting app to use FHEM internals, PHP not used anymore, instead communication is based on perl module