Sfoglia il codice sorgente

Remove warning about skipping plants to from README

Thomas Dietrich 8 anni fa
parent
commit
7acac9b6c4
2 ha cambiato i file con 2 aggiunte e 7 eliminazioni
  1. 1 6
      README.md
  2. 1 1
      miflora-mqtt-daemon.py

+ 1 - 6
README.md

@@ -85,11 +85,6 @@ A first test run is as easy as:
 python3 /opt/miflora-mqtt-daemon/miflora-mqtt-daemon.py
 python3 /opt/miflora-mqtt-daemon/miflora-mqtt-daemon.py
 ```
 ```
 
 
-**⚠️️ Attention:
-Please ensure a good communication link to all Mi Floras.
-Sensors that can not be reached during the initital communication testing phase will be ignored.
-To evaluate connection reliability execute the program in from the command line at least once and pay attention to reported communication problems.**
-
 With a correct configuration the result should look similar to the the screencap above.
 With a correct configuration the result should look similar to the the screencap above.
 Pay attention to communication errors due to distance related weak BLE connections.
 Pay attention to communication errors due to distance related weak BLE connections.
 
 
@@ -171,7 +166,7 @@ The function is finished but not yet available in the stable version. Please con
 > *Xiaomi* and *Mi Flora* are registered trademarks of *BEIJING XIAOMI TECHNOLOGY CO., LTD.*
 > *Xiaomi* and *Mi Flora* are registered trademarks of *BEIJING XIAOMI TECHNOLOGY CO., LTD.*
 > 
 > 
 > This project is a community project not for commercial use.
 > This project is a community project not for commercial use.
-> The authors will not be held responsible in the event of device failure or other damages. 
+> The authors will not be held responsible in the event of device failure or withered plants.
 > 
 > 
 > This project is in no way affiliated with, authorized, maintained, sponsored or endorsed by *Xiaomi* or any of its affiliates or subsidiaries.
 > This project is in no way affiliated with, authorized, maintained, sponsored or endorsed by *Xiaomi* or any of its affiliates or subsidiaries.
 
 

+ 1 - 1
miflora-mqtt-daemon.py

@@ -172,7 +172,7 @@ for [name, mac] in config['Sensors'].items():
         flora_poller.parameter_value(MI_LIGHT)
         flora_poller.parameter_value(MI_LIGHT)
         flora['firmware'] = flora_poller.firmware_version()
         flora['firmware'] = flora_poller.firmware_version()
     except IOError:
     except IOError:
-        print_line('Initial connection to Mi Flora sensor "{}" ({}) failed. Please ensure a good link quality.'.format(name_pretty, mac), error=True, sd_notify=True)
+        print_line('Failed to retrieve data from Mi Flora sensor "{}" ({}) during initial connection.'.format(name_pretty, mac), error=True, sd_notify=True)
     else:
     else:
         print('Internal name: "{}"'.format(name_clean))
         print('Internal name: "{}"'.format(name_clean))
         print('Device name:   "{}"'.format(flora_poller.name()))
         print('Device name:   "{}"'.format(flora_poller.name()))