@JumpMaster - Yes I believe that is where the issue is, its the “interval=0” that is the problem.
- I don’t believe the interval should ever be 0
- The back end should either give you an error on receiving the 0 value - or it should handle / ignore it.
I’ve not read any of the details of the API at this point, so I can’t tell you which is at fault - but both ends of the software should be able to handle a zero value (I would assume).
@glyn.hudson - the PR I made is only one possible solution, its not a good way to deal with the issue at hand - consider it the last resort and more of a pointer to where the issue may lay for someone who knows emoncms better than I do.