raspiinfo

1.0.0 • Public • Published

raspiinfo

return raspberry pi info (serial number/cpu temp/ip address)

API

sn(callback)

cpu serial number via /proc/cpuinfo

temp(callback)

cpu temperature via /sys/class/thermal/thermal_zone0/temp

ip(callback)

external ip address via ipinfo.io/ip

Package Sidebar

Install

npm i raspiinfo

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • orbit.co