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

Display On/Off not working #66

Closed eric2905 closed 1 year ago

eric2905 commented 1 year ago

The problem

Switching display on and off via "awtrix-light.0.display.power" (true / false) not working.

Version of nodejs

18.16.1

Version of ioBroker js-controller

5.0.12

Version of Adapter

0.8.0

Version of awtrix-light firmware

0.86

Operating system running ioBroker

Linux

Checklist of files to include below

Additional information & file uploads

No response

github-actions[bot] commented 1 year ago

Thanks for reporting @eric2905!

  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 1 year ago

Works like expected:

2023-09-13 09:34:20.139  - debug: awtrix-light.0 (538535) state display.power changed: false
2023-09-13 09:34:20.139  - debug: awtrix-light.0 (538535) changing display power to false
2023-09-13 09:34:20.139  - debug: awtrix-light.0 (538535) sending "POST" request to "/api/power" with data: {"power":false}
2023-09-13 09:34:21.021  - debug: host.dev-awtrix-light-iobroker-dev Incoming Host message getHostInfo
2023-09-13 09:34:21.498  - debug: awtrix-light.0 (538535) received 200 response from "/api/power" with content: "OK"
2023-09-13 09:34:22.655  - debug: awtrix-light.0 (538535) state display.power changed: true
2023-09-13 09:34:22.655  - debug: awtrix-light.0 (538535) changing display power to true
2023-09-13 09:34:22.655  - debug: awtrix-light.0 (538535) sending "POST" request to "/api/power" with data: {"power":true}
2023-09-13 09:34:22.720  - debug: awtrix-light.0 (538535) received 200 response from "/api/power" with content: "OK"