The field is autoincrement, has value 0, is defined tinyint length 4, NULL value is allowed.
If your field is autoincremented... should'nt it be set to 'NOT NULL' ?
... all with no effect - still "Data truncated for column 'ID-testpumpspeedarray' at row 1".
What's the type of the field in your request ? Try to DIE the value and the type before sending the query:
die($value . ' ' . gettype($value));
Try to set the field "NOT NULL" and instead of a value, try to use NULL in your request (which will auto-increment the value)
INSERT INTO ... VALUES (NULL, ...)
Cédric
PS: I'm french... i hope to have been clear 🙂