mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
tasmota_: scan for beken devices as well
This commit is contained in:
parent
f2080448e1
commit
9f2b0adec7
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue