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

status not changing #103

Open
solick opened this issue Oct 29, 2022 · 0 comments
Open

status not changing #103

solick opened this issue Oct 29, 2022 · 0 comments

Comments

@solick
Copy link

solick commented Oct 29, 2022

Describe the bug
Status of LED is always gray and not changing if sending messages to node

To Reproduce

  1. create a new instance of node red with docker:
    `version: '3'

services:

node-red-state-ui:
image: nodered/node-red:2.2.3-14
container_name: node-red-state-ui
logging:
options:
max-size: "10m"
max-file: "5"
ports:
- "127.0.0.1:7012:1880"
environment:
- TZ=Europe/Berlin
volumes:
- $PWD/node-red/data:/data
restart: always
2. Install led node 3. create a test flow as following:[{"id":"a230b4f478c478d8","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"2089478cc8a4fa9e","type":"inject","z":"a230b4f478c478d8","name":"true","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":430,"y":240,"wires":[["75fd3c6757b2913b","e00c87e51be7eef7"]]},{"id":"75fd3c6757b2913b","type":"debug","z":"a230b4f478c478d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":770,"y":240,"wires":[]},{"id":"39d00ec38d99e4a0","type":"inject","z":"a230b4f478c478d8","name":"false","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":410,"y":300,"wires":[["75fd3c6757b2913b","e00c87e51be7eef7"]]},{"id":"e00c87e51be7eef7","type":"ui_led","z":"a230b4f478c478d8","order":0,"group":"1a60aebbe8947532","width":0,"height":0,"label":"Test","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"false","valueType":"bool"},{"color":"#008000","value":"true","valueType":"bool"},{"color":"#008000","value":"yes","valueType":"str"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"test","x":810,"y":320,"wires":[]},{"id":"b97ddedf33d1f875","type":"inject","z":"a230b4f478c478d8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"yes","payloadType":"str","x":350,"y":360,"wires":[["75fd3c6757b2913b","e00c87e51be7eef7"]]},{"id":"1a60aebbe8947532","type":"ui_group","name":"Standard","tab":"777a46e9176d5d39","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"777a46e9176d5d39","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]`

Expected behavior
using the trigger should change the lod node status color

Versions

  • node-red-contrib-ui-led:0.4.11
  • node-red:2.2.3 (nodejs 14)
  • node-red-dashboard:3.2.0

Platform
Debian 11
Checked with chrome and Safari

I h ave several instances running but installing on this new on seems not to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant