Eclipse Foundation Member
SenseHAT example driver for Eclipse Kura

Details Group Tabs

imndezveiga's picture

Hi,

I am trying to use the driver but as soon as I add it in the Drivers and Assets page, I get the following error in the logs:

2018-05-09 13:22:12,062 [Component Resolve Thread (Bundle 7)] INFO  o.e.k.e.d.s.SenseHatDriver - Activating SenseHat Driver...
2018-05-09 13:22:12,062 [Component Resolve Thread (Bundle 7)] INFO  o.e.k.e.d.s.SenseHatDriver - Opening Sense Hat...
2018-05-09 13:22:12,133 [Component Resolve Thread (Bundle 7)] ERROR o.e.k.r.s.s.LSM9DS1 - Unable to read to I2C device
jdk.dio.UnavailableDeviceException: Locked by other application

If then, I add a new asset and configure a channel to read from the humidity sensor I get more errors. I don't have any problems with the python library.

Any ideas to solve this issue?

Thanks,

Iyán

mmaiero's picture

Hi, 

could you try with the Oracle VM?

There should be an issue with the OpenJDK.

Best regards,

Matteo