I have an install of emoncms that I have done on DietPi Stretch, using Lighttpd.
I have modified the node-red emoncms node to successfully work with a ‘standard’ (Jessie) Rasbian install.
When I try and use exactly the same node and data to the Lighttpd install, I get a response from emoncms “success:false” and “Username or password empty”. I can see where that error might be generated from in the emoncms source code, but have no idea why or how I might fix it.
It may be related to the issue I have with updating (this is a 9.8.24 install currently), but I suspect not.
I am fairly sure that this is the issue with the API input but I am not sure what to rewrite the URI to. Is it simply passed through complete on Apache installations?
I have written this regex…
"^/emoncms/input/[^?]+\?[^?]+$" => "$0"
which matches any URI with input and a ? and passes it through unchanged but I get a 404 off that.
I really need to know what emoncms expects the Input API URI to look like when it gets it!