second attempt to add device, need to fix php to accept hex string without 0x