Hi i got different problem am trying to install Miio to discover the sensors Numbers but i got error messages :
pi@raspberrypi:~ $ npm install --save miio
npm WARN saveError ENOENT: no such file or directory, open ‘/home/pi/package.json’
/home/pi
└── miio@0.14.0
npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.