Artemis-RGB / Artemis.Plugins

Repository containing official Artemis plugins
Other
30 stars 38 forks source link

WS281X plugin: cannot add device #166

Open Antoine1673 opened 1 year ago

Antoine1673 commented 1 year ago

After clicking the "Accept" button to add a new device in the WS281X plugin settings, the new device is always named "Device 1", of type Arduino and without a COM port or hostname, regardless of what I entered before. I tried adding valid Arduino (serial) and ESP8266 (Wifi) devices, but I always end up with these default values. I also get the same result when trying to edit a device.

I reinstalled the latest version of Artemis from scratch but nothing changed. I was suspecting a Windows file permission issue, because my current user does not have admin rights, but getting ownership of both install and AppData directories did not resolve the issue.

The following lines appear in the logs when I exit from the plugin settings:

[WRN] [Artemis.Plugins.Devices.WS281X.WS281XDeviceProvider] Not adding WS281X device named Device 1 because  was not found
[WRN] [Artemis.Core.Services.RgbService] Device provider WS281XDeviceProvider has no devices
Antoine1673 commented 1 year ago

I believe this issue might be related to this pull request:

134 WS281X plugin - fixed an exception when DeviceDefinitions are loaded with null value

Antoine1673 commented 1 year ago

I believe this issue might be related to this pull request: #134 WS281X plugin - fixed an exception when DeviceDefinitions are loaded with null value

This pull request was merged, but the bug is still here.

I also installed Artemis on another machine, and had the same issue again.

euwlo31 commented 1 year ago

Same problem, fresh install of Artemis