klein0r/ioBroker.awtrix-light

Problems getting data from new mobilealerts script

Closed this issue · 2 comments

The problem

I wanted to try to get data from mobilealerts in awtrix.
The adapter does not seem to work anymore, so i used the new script from the example.js fromhere : https://github.com/bluerai/ioBroker.mobile-alerts/tree/master/alternative

However the data is not displayed in awtrix.
the original data looks like
Pasted Graphic

in the logs is see this messages

[refreshCustomApps] Refreshing custom apps for objId "javascript.0.mobileAlertsScript.0.Devices.126CB6B67037.t1" with data {"type":"number","unit":"°C","ts":1697556332819}

[refreshCustomApps] Refreshing custom app "livingtemp" with icon "46567" and text "Living %s %u"

and there is no post as with working apps.

Version of nodejs

18.16.0

Version of ioBroker js-controller

5.0.12

Version of Adapter

0.8.0

Version of awtrix-light firmware

0.88

Operating system running ioBroker

linux

Checklist of files to include below

  • iobroker.current.log (Please share the logs in debug mode)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads

No response

Thanks for reporting @jevylux!

  1. Check if this topic is not covered in the documentation
  2. Ensure that you use the latest beta version: NPM version
  3. Attach all necessary log files in debug mode, screenshots and other information to reproduce this issue
  4. Search for the issue topic in other/closed issues to avoid duplicates!

However the data is not displayed in awtrix.

Looks like the state value is not acknowledged.

**Custom apps just display acknowledged values! Control states with `ack: false` are ignored (to prevent duplicate requests and to ensure that values are valid / confirmed)!**