autotest for rs485 modules; fix errors and warnings

* added autotest profile for rs485 and onewire modules
* fixed some warnings and errors

please pull