Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems getting data from new mobilealerts script #83

Closed
1 of 2 tasks
jevylux opened this issue Oct 17, 2023 · 2 comments
Closed
1 of 2 tasks

Problems getting data from new mobilealerts script #83

jevylux opened this issue Oct 17, 2023 · 2 comments
Labels
invalid This doesn't seem right

Comments

@jevylux
Copy link

jevylux commented Oct 17, 2023

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

@jevylux jevylux added the bug Something isn't working label Oct 17, 2023
@github-actions
Copy link

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!

@klein0r
Copy link
Owner

klein0r commented Oct 17, 2023

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)!**

@klein0r klein0r closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2023
@klein0r klein0r added invalid This doesn't seem right and removed bug Something isn't working labels Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants