the problem sometimes the information i got is empty.
and if as example msg.payload.poweroutW is not in the packet the writing to the DB will just file for all information.
Would it be possible to have like a Variable which hold a number if the msg.payload would be missing the variable would be picked up and the other payload would not be lost.