shelly-script-examples icon indicating copy to clipboard operation
shelly-script-examples copied to clipboard

ble-pasv-mqtt-gw.js - Add other measures of XIAOMI MIFLORA

Open chris777c opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

I use ble-pasv-mqtt-gw.js for Xiaomi device like Xiaomi Lywsd03 and I was surprise me when show me up other equipment . The script show me a temperature of my Xiaomi MIFLora with this payload on path :

shellies/blegateway/c99c9d9999ca/temperature with json {"temperature":18.4,"rssi":-78}

Describe the solution you'd like How can help you to integrate other attributes of this device, like :

  • battery
  • moisture
  • sunlight
  • fertility
  • firmware

chris777c avatar Feb 13 '24 05:02 chris777c

I've created a pull request for Xiaomi Mi Flora devices. It contains illumination, moisture and soil. Battery isn't possible because with a firmware update Xiaomi stopped sending the battery level. Firmware isn't sent too.

pytekmobile avatar Mar 04 '24 09:03 pytekmobile

Thank you very much for contribution

chris777c avatar Apr 29 '24 18:04 chris777c

Closed with #92

Mircho avatar May 15 '24 13:05 Mircho