WiPy 2.0 Firmware and Processor-ID - How to get?
i am currently trying to figure out, how to identify my WiPys during run time.
The information i am looking for are:
- Firmware revision
- MAC address
I want to retrieve this information during run time and transfer them via MQTT.
For the MAC address i already found the solution with
machine.unique_id() and network.WLAN().mac() in the forum.
(BTW: it might be useful to add this information to the docs, the text for the unique_id() is rather general...)
Can anybody help me with the rest?
Many thanks in advance,
livius last edited by livius
@rskoniec - you was faster ;-)
rskoniec last edited by rskoniec
For firmware info:
import os [os.uname().sysname, os.uname().machine, os.uname().release] ['LoPy', 'LoPy with ESP32', '0.9.7.b1']