@Andy_Taylor wrote:
The problem is in emoncms, the log output from apache says;
PHP Warning: Division by zero in /var/www/emoncms/Modules/feed/feed_model.php on line 461And its not kidding there really is a div0 error there, what I have not figured out yet is where the variable $outinterval comes from - my quick and dirty PoC code is to add a check that sets $outinterval to 1 if its anything less than this already - I need to stress that this is NOT a proper fix, but it does totally solve the problem, proving the issue is NOT within the android app - its in the emoncms application.
I can post this as a PR for review if that helps but honestly the div0 error should be investigated by someone who knows emoncms better than I do rather than being patched up using the method I chose.
Hope that helps.