Add liquid level meter for vases ; add additional icons including 'disabled' status for exterior plant and vase plant

This commit is contained in:
KemoNine 2019-05-17 23:50:01 -04:00
parent 0963afe7d1
commit ad172398cc
13 changed files with 41 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -118,27 +118,39 @@ display:
it.image(0, 0, id(inverted_battery_0));
}
if (id(Battery_Alert).state != 0) {
it.image(37, 0, id(alert_filled));
it.image(32, 0, id(alert_filled));
}
else {
it.printf(37, 16, id(deja_vu_mono), "%.1f%%", id(Battery_Level).state);
it.printf(32, 16, id(deja_vu_mono), "%.1f%%", id(Battery_Level).state);
}
// WiFi
it.image(148, 0, id(wifi_icon));
it.printf(185, 16, id(deja_vu_mono), "%.1fdB", id(sensor_wifi_signal).state);
// Temperature
it.image(0, 37, id(thermometer));
it.printf(37, 54, id(deja_vu_mono), "%.1f°F", id(Temperature_F).state);
it.image(0, 32, id(thermometer));
it.printf(32, 48, id(deja_vu_mono), "%.1f°F", id(Temperature_F).state);
// Humidity
it.image(148, 37, id(humidity));
it.printf(185, 54, id(deja_vu_mono), "%.1f%%", id(Humidity).state);
it.image(148, 32, id(humidity));
it.printf(185, 48, id(deja_vu_mono), "%.1f%%", id(Humidity).state);
// Plants
it.image(0, 64, id(inverted_cat_nip));
it.image(37, 64, id(inverted_christmas_cactus));
it.image(74, 64, id(inverted_cat_grass));
it.image(111, 64, id(inverted_tarragon));
it.image(148, 64, id(inverted_tulip));
it.image(185, 64, id(inverted_poinsettia));
it.image(222, 64, id(inverted_bamboo));
it.image(259, 64, id(inverted_vase));
it.image(0, 96, id(cat_nip));
it.image(37, 96, id(christmas_cactus));
it.image(74, 96, id(cat_grass));
it.image(111, 96, id(tarragon));
it.image(148, 96, id(tulip));
it.image(185, 96, id(poinsettia));
it.image(222, 96, id(bamboo));
it.image(259, 96, id(vase));
it.image(259, 0, id(disabled_tulip));
it.image(259, 32, id(disabled_vase));
font:
- file: "fonts/DejaVuSansMono.ttf"
@ -195,7 +207,7 @@ image:
id: inverted_tarragon
resize: 32x32
- file: graphics/inverted_noun_leaf_1153077.png # inverted catnip
id: inverted_catnip
id: inverted_cat_nip
resize: 32x32
- file: graphics/inverted_noun_grass_355100.png # inverted cat grass
id: inverted_cat_grass
@ -221,6 +233,24 @@ image:
- file: graphics/inverted_noun_poinsettia_1007994.png # inverted poinsettia
id: inverted_poinsettia
resize: 32x32
- file: graphics/inverted_noun_vase_206668.png # inverted vase
id: inverted_vase
resize: 32x32
- file: graphics/inverted_noun_Bamboo_254221.png # inverted bamboo
id: inverted_bamboo
resize: 32x32
- file: graphics/noun_Bamboo_254221.png # bamboo
id: bamboo
resize: 32x32
- file: graphics/noun_vase_206668.png # vase
id: vase
resize: 32x32
- file: graphics/disabled_noun_vase_206668.png # disabled vase
id: disabled_vase
resize: 32x32
- file: graphics/disabled_noun_Tulip_2510353.png # disabled tulip
id: disabled_tulip
resize: 32x32
binary_sensor:
- platform: status

View File

@ -20,3 +20,7 @@ Please note: *this is a SINGLE plant build. It can be adapted for >1 plant.*
- Alerts when not reporting data (likely dead batteries / similar)
- Add 'expire after' for the signal check in HA (4 hours reasonable)
- If it's expired throw an alert stating no data from node for x amount of time
## Future Hardware
- [https://milonetech.com/products/standard-etape-assembly](https://milonetech.com/products/standard-etape-assembly)