Re: How can I check the ESP type with code?
Posted: Tue Jul 14, 2020 3:08 pm
Using the MAC address is indeed a useful method particularly if you need specific config data for different devices running the same code and applies even if they are all the same physical device.
I use this but with the multi-mac config file held on a central server that each device fetches and uses to configure itself. Storing it centrally just made it a bit easier to update. For example, I have a large number of sensors all running the same code and they use this one file to configure themselves with their sensor ID, sensor type, update intervals, action parameters etc.
I use this but with the multi-mac config file held on a central server that each device fetches and uses to configure itself. Storing it centrally just made it a bit easier to update. For example, I have a large number of sensors all running the same code and they use this one file to configure themselves with their sensor ID, sensor type, update intervals, action parameters etc.