Script for bulk CSV upload and testing

Here’s a script I wrote to upload your bulk CSV data to a local EmonCMS server. I haven’t tested it with, but would appreciate reports if it works.

It also simulates regular consumption data uploads if you want to test your new feeds, but don’t have a device capable of 5-second intervals.

It is very much a work in progress, some options might not be working at preset. Also: sorry if my PHP is a bit weird, I’ve never written in it before.

Edit - moved post out of Community Marketplace category. BT - Moderator