[GH-ISSUE #372] Feature request: websocket sys message additional infos #1323

Closed
opened 2026-03-20 19:07:06 +01:00 by sascha_hemi · 3 comments
Owner

Originally created by @micklafisch on GitHub (Sep 25, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/372

Originally assigned to: @nlimper on GitHub.

Is your feature request related to a problem? Please describe.
the sys message on websocket connection tells unfortunately not if are there offline/pending or low-bat devices only the total count

Describe the solution you'd like
maybe add the counter for offline/pending and lowbat devices, with these informations iobroker can send i.e. an alarm with telegram adapter

Originally created by @micklafisch on GitHub (Sep 25, 2024). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/372 Originally assigned to: @nlimper on GitHub. **Is your feature request related to a problem? Please describe.** the sys message on websocket connection tells unfortunately not if are there offline/pending or low-bat devices only the total count **Describe the solution you'd like** maybe add the counter for offline/pending and lowbat devices, with these informations iobroker can send i.e. an alarm with telegram adapter
sascha_hemi added the enhancement label 2026-03-20 19:07:06 +01:00
Author
Owner

@nlimper commented on GitHub (Oct 28, 2024):

in commit 0cd76eebf0

I added the number of timed out tags to the 'sys' websocket message. The timeoutcount key/value is only present once a minute.
{"sys":{"currtime":1730133055,"heap":194124,"recordcount":27,"dbsize":5488,"littlefsfree":5246976,"psfree":8350371,"apstate":1,"runstate":2,"rssi":-70,"wifistatus":3,"wifissid":"sensors","uptime":72,"timeoutcount":0}}

For the pending/lowbatt: you can find those already in the individual tag messages in the websocket stream. Note that having a pending image is a normal state, so no need for a notification.

<!-- gh-comment-id:2442103085 --> @nlimper commented on GitHub (Oct 28, 2024): in commit https://github.com/OpenEPaperLink/OpenEPaperLink/commit/0cd76eebf0214665276962b220070e7e6643161f I added the number of timed out tags to the 'sys' websocket message. The timeoutcount key/value is only present once a minute. `{"sys":{"currtime":1730133055,"heap":194124,"recordcount":27,"dbsize":5488,"littlefsfree":5246976,"psfree":8350371,"apstate":1,"runstate":2,"rssi":-70,"wifistatus":3,"wifissid":"sensors","uptime":72,"timeoutcount":0}}` For the pending/lowbatt: you can find those already in the individual tag messages in the websocket stream. Note that having a pending image is a normal state, so no need for a notification.
Author
Owner

@micklafisch commented on GitHub (Oct 29, 2024):

Thanks Nic for implementation.

Perhaps it is possible after all to add the lowbatt information to "sys", Otherwise i have to watch all incoming tag messages and with more than 20 tags there is lot of data only for the lowbatt counter.

<!-- gh-comment-id:2444162308 --> @micklafisch commented on GitHub (Oct 29, 2024): Thanks Nic for implementation. Perhaps it is possible after all to add the lowbatt information to "sys", Otherwise i have to watch all incoming tag messages and with more than 20 tags there is lot of data only for the lowbatt counter.
Author
Owner

@nlimper commented on GitHub (Nov 2, 2024):

added the lowbatt count in a57c797542
It will report back the amount of lowbatt tags at the same time as the timeoutcount, so once a minute.

<!-- gh-comment-id:2453093164 --> @nlimper commented on GitHub (Nov 2, 2024): added the lowbatt count in https://github.com/OpenEPaperLink/OpenEPaperLink/commit/a57c797542536004cba3298d91e1668260b49106 It will report back the amount of lowbatt tags at the same time as the timeoutcount, so once a minute.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#1323