Can the inputs API documentation be updated to tell us the sensor name length limit and the character restrictions please.
I recently made a HA integration to send ocotpus cosy data from the ocotpus API to emoncms instead of using a bunch of messy ha templates and yaml mess and ran into this issue.
Looks like the PR adds constraints to the code in addition to documenting them. Or is github just highlighting the diff incorrectly, Il have to dig into that.
It’s Claude adding a 64 character limit..I didn’t realise it’s hard coded for the .org but looks to be unlimited(?) for other emoncms installs, it would be handy to have the error be more specific that invalid syntax though.