migrated to changed libmysmartgrid interface