1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

tasmota_: scan for beken devices as well

This commit is contained in:
Tim Connors 2023-12-23 21:06:47 +11:00
parent f2080448e1
commit 9f2b0adec7

View file

@ -79,27 +79,27 @@ if [ "$1" = "autoconf" ]; then
fi fi
if [ "$1" = "suggest" ]; then if [ "$1" = "suggest" ]; then
nodeattr -n 'tasmota&&powermon' | while read -r device ; do nodeattr -n '(tasmota || beken) && powermon' | while read -r device ; do
for i in voltage power powerfactor current energy ; do for i in voltage power powerfactor current energy ; do
echo "${device}_${i}" echo "${device}_${i}"
done done
done done
nodeattr -n 'tasmota&&DS18B20' | while read -r device ; do nodeattr -n '(tasmota || beken) && DS18B20' | while read -r device ; do
for i in DS18B20 ; do for i in DS18B20 ; do
echo "${device}_${i}" echo "${device}_${i}"
done done
done done
nodeattr -n 'tasmota&&SCD40' | while read -r device ; do nodeattr -n '(tasmota || beken) && SCD40' | while read -r device ; do
for i in SCD40 ; do for i in SCD40 ; do
echo "${device}_${i}" echo "${device}_${i}"
done done
done done
nodeattr -n 'tasmota&&PMS5003' | while read -r device ; do nodeattr -n '(tasmota || beken) && PMS5003' | while read -r device ; do
for i in PMS5003 ; do for i in PMS5003 ; do
echo "${device}_${i}" echo "${device}_${i}"
done done
done done
nodeattr -n 'tasmota&&millivolts' | while read -r device ; do nodeattr -n '(tasmota || beken) && millivolts' | while read -r device ; do
for i in millivolts ; do for i in millivolts ; do
echo "${device}_${i}" echo "${device}_${i}"
done done