klein0r / ioBroker.awtrix-light

Integrate your Awtrix Light device (e.g. Ulanzi TC001) via HTTP
https://haus-automatisierung.com
MIT License
62 stars 4 forks source link

Problems getting data from new mobilealerts script #83

Closed jevylux closed 10 months ago

jevylux commented 11 months ago

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

Additional information & file uploads

No response

github-actions[bot] commented 11 months ago

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 commented 11 months ago

However the data is not displayed in awtrix.

Looks like the state value is not acknowledged.

https://github.com/klein0r/ioBroker.awtrix-light/blob/2930548e5b85c78decbe32b347d61153c0a55a4e/docs/en/README.md?plain=1#L132