IKEA Sparsnas energy meter add-on!

I’m trying to convert a docker plugin that reads data from IKEA sparsnas that’s a energy meter, the base instructions is as written here: https://github.com/tubalainen/sparsnas_decoder/blob/master/docker.md

I’ve tried to convert this to a plugin writing a run.sh and a config.json but it refuses to install… banging my head against a wall here so any pointers are welcome!

Complete project is here: https://github.com/Naesstrom/sparsnas_decoder