Hello
My name is Kai and i’m new to this forum. Since i didn’t find anything about it as i used the search function, i create this Thread. If i’m doing something wrong, please let me know!
I’ve got a Problem with the Johnny Five RGB LED function. The RGBLED is directly connected to my Pi without any resistors and is a common cathode type. The configured RGB device works withoud producing any errors but as i added it to the web ui, the only thing i was able to adjust was the brightnes. The color is just shown as “RGB #ffffff” which equals white. The Pins are definitely configured correctly because creating a pwm device for each color works just fine.! The whole thing should later be used for my RGB Stripe - of course with MOSFETs and 12V… Hopefully i don’t just forgot a little thing - or is it really supoosed to look like this?
This is how it looks like. Firefox and Chrome are showing the same results.
My config for the device, plugin and the page:
Plugin
{
"boards": [
{
"id": "2",
"boardType": "raspi-io"
}
],
"plugin": "johnny-five",
"active": true,
"debug": true
},
Device
{
"boardId": "2",
"pins": {
"red": "GPIO5",
"green": "GPIO19",
"blue": "GPIO26"
},
"isAnode": "false",
"id": "rgbled",
"name": "rgbled",
"class": "JohnnyFiveRgbLed"
}
Pages
{
"id": "testpage",
"name": "TestPage",
"devices": [
{
"deviceId": "rgbred"
},
{
"deviceId": "rgbgreen"
},
{
"deviceId": "rgbblue"
},
{
"deviceId": "ledblue"
},
{
"deviceId": "taster1"
},
{
"deviceId": "rgbled"
}
]
}
Thanks for your Help in advance