ioBroker.device-watcher
Tests:
Device-Watcher adapter for ioBroker
This is a watchdog for wireless devices. It works currently with the Zigbee, Shelly, Sonoff and Ble adapter (mi flora plant sensor). The adapter looks every sixty minutes for the rssi/link quality and battery states and create JSON lists of them (devices with battery, devices with link quality, devices offline and devices all) and count the devices in the same categories. For example you can use the lists and states for Grafana, Jarvis etc.
The adapter has also the option to send notifications if the number of offline devices are changed and to send you a notification if devices has a low battery state (e.g. 30%). You can choose the value for the battery notification and on which days you want the notification for low batteries. Currently supported notification services are Pushover, Telegram and Jarvis Notification.
If you found a bug or you have an improvement suggestion, feel free to open an issue.
Blacklist
If you don't want a specifice device in the list, you can add it in the blacklist and the adapter will ignore it. Please add the "link_quality" or "rssi" object of this device in the blacklist and it won't be listet and count.
Here are some images how the lists look:
Changelog
0.0.8 (2022-07-05)
- added own notes field for blacklist
- added ping, switchbot ble, mihome, sonos, fritzdect, hue, hue extended and nuki extended
- some improvements of code
0.0.6 (2022-06-10)
- added Homematic, Deconz, Zwave
- added Email notification
- added count and list for low battery devices
- changes Log state dp to last notification state dp
- Using available state instead of link quality state for zigbee devices
- Show the correct time of last contact instead the minutes if the time is under 100minutes
- small bugfixes
0.0.5 (2022-06-05)
0.0.3 (2022-06-05)
- added Shelly and Sonoff Devices
0.0.2 (2022-06-05)
0.0.1 (2022-05-01)
License
MIT License
Copyright (c) 2022 Christian Behrends mail@christian-behrends.de
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.