mcclown / pyseneye

A module for interacting with Seneye range of aquarium and pond sensors
Apache License 2.0
8 stars 4 forks source link

Installation issues on a Pi #6

Closed meteosat007 closed 4 years ago

meteosat007 commented 4 years ago

Hi,

I have installed as suggested with pip install pyseneye and all completes as expected. However when I try to run it generates the errors below and wont connect etc. I have a seneye device connected and it can be seen in lsusb with correct details. Not sure what I'm doing wrong but all supported welcomed so I can get onto to writing my own code to send via MQTT etc.

image

Errors on python image No abc available for python

Errors on python3 image

Hope that you can assist.

Alan

mcclown commented 4 years ago

I presume you were the person asking on the Home Assistant forums for help. If so you already have a solution. Just in case I'll explain below

The issue is my documentation...it should be SUDevice, not SUDDevice, for the import. I'll fix it in the docs in the next day or two.

As a big supporter of automated testing & process you have pointed out a flaw in my process...now I'm contemplating, how do I do automated testing of my doc's.

Thank you for the bug report...let me know if you have any other issues. Great to see this module helping people.

On Thu, 12 Sep. 2019, 19:31 meteosat007, notifications@github.com wrote:

Hi,

I have installed as suggested with pip install pyseneye and all completes as expected. However when I try to run it generates the errors below and wont connect etc. I have a seneye device connected and it can be seen in lsusb with correct details. Not sure what I'm doing wrong but all supported welcomed so I can get onto to writing my own code to send via MQTT etc.

[image: image] https://user-images.githubusercontent.com/41062235/64771978-c2da6e00-d547-11e9-8996-ee1c62cf403b.png

Errors on python [image: image] https://user-images.githubusercontent.com/41062235/64772055-e7cee100-d547-11e9-96a9-3f29045ca623.png No abc available for python

Errors on python3 [image: image] https://user-images.githubusercontent.com/41062235/64772128-fe753800-d547-11e9-8d14-d4882b7c4bb4.png

Hope that you can assist.

Alan

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mcclown/pyseneye/issues/6?email_source=notifications&email_token=AAI6SUHJU75T2O35JCTFZSLQJID75A5CNFSM4IWBO6BKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HK54OAA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAI6SUFLW45SVOIDYQKSCVTQJID75ANCNFSM4IWBO6BA .

meteosat007 commented 4 years ago

All now resolbed.

So running sudo python3 and dropping the second D it all works like a dream. I can now create my own small python app to take readings and send them via mitt into emoncms and then off to my own home web pages.