peakMeissner / cbpi-Wii

This is an CraftBeerPi plugin that allows you to connect a Nintento Wii balance board as an external sensor.
GNU Lesser General Public License v3.0
0 stars 3 forks source link

Failed to load plugin CBPi-Wii No module named lib.gr8w8upd8m8.Processor #1

Open Raoulfonz opened 6 years ago

Raoulfonz commented 6 years ago

Hi Frederick I get the above error when CBPi loaded I have put "export PYTHONPATH=home/pi/craftbeerpi3/modules/plugins/CBPi-Wii" into bashrv and it still fails

Can you please point me on the right track to get this working? Thanks

mowbraym commented 6 years ago

Same error here too.

Raoulfonz commented 6 years ago

Craftbeerpi3 plugin error resolved by creating "init.py"( with underscores) file in lib directory of plugin. Although there are no errors now, I am unable to find sensor type in CBPI3. I have sucessfully run gr8w8upd8m8.py and paired the board, but no sensor.

mowbraym commented 6 years ago

Confirming the same result as above.

Raoulfonz commented 6 years ago

I put the following in the iniy.py in the CBPi-wii directory: Just before the line : class WiiSensor(SensorPassive): I put: @cbpi.sensor This makes the sensor appear. BUT now after creating the sensor, it appears (slowly) on the dashboard... then the whole show comes to a grinding halt slowing down until you change or delete the sensor by waiting for the UI. Some looping problem with Bluetooth.

mowbraym commented 6 years ago

I'll try to have a look at it tomorrow and see if I can replicate ...brewday today so I'm a bit beyond thinking :)

beocycris commented 6 years ago

Same problem here, any suggestion?

ronyrenfrow3 commented 5 years ago

Any luck solving this issue?

Ulofemi commented 4 years ago

Hi, I´ve the same error like you @Raoulfonz . Did you solve it?

Once again I conclude the issue: After installing the cbpi-wii addon I get a message "Failed to load plugin CBPi-Wii No module named lib.gr8w8upd8m8.Processor". After adding a blank file named "init.py" in the /cbpi-Wii/lib/ folder the error doesn´t appaer anymore but I am not able to select the wii as a sensor. Then I add " @cbpi.sensor" in the cbpi-Wii/init.py file. After that the website is really slow but I can select the Wii-Board as a Sensor. Now I have two problems:

  1. The Website is really slow
  2. I am not able to use the Wii-Board as a scale. On one hand the Board is added now but on the other it is not recognized by the craftbeerpi.
SqueekyCBJ commented 3 years ago

Just curious if anyone above was able to get their issues resolved. Was about to jump down the rabbit hole but experiencing the same as above.