Closed MitchMagnuson closed 7 months ago
Same problem here, with the 16 channel model
@will-riley I was able to fix the issue by hard-coding a version number of '9' in the init.py file. Haven't had any issues yet. The function ver(self) was expecting a number for the version and that is no longer the case in the most recent firmware on the gpio.
Have you tried notifications, and the callback code sample? I had to flip threading.Thread(target=self._poll, daemon=True) to daemon=False to keep from exiting while using notify, but there's some erratic behavior in _poll. Legitimate triggers are slipping through, problem appears dependent on the timeout value, and when the triggers are occurring within that. Working on it...
Hi @MitchMagnuson and @will-riley , sorry for not responding for such a long time. The issue with versions strings is resolved in v0.12.0
. Notifications are not supported on the 8 port devices unfortunately. In 'v0.13.0` I'll be raising errors with a clear message to not leave that unnoticed when you try to use the notification related API. Hope that helps!
@will-riley , are you also trying on an 8 port device? If not, may I suggest you open another issue. Maybe my improvements soon released in v0.13.0
will improve your situation. Otherwise I'd be interested in more details.
Thanks for reporting, everyone, and sorry again for the lack of responsiveness!
Mitch is no longer with Ainstein. Can you provide some background regarding this?
Michael Paulson VP of Engineering
785.554.5768 Home: http://ainstein.ai Shop: https://sensing.ai/
On Sun, Mar 10, 2024 at 3:52 PM Henning Claßen @.***> wrote:
Closed #25 https://github.com/clssn/numato-gpio/issues/25 as completed.
— Reply to this email directly, view it on GitHub https://github.com/clssn/numato-gpio/issues/25#event-12066351514, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYEHET5WACZB4B4FDCM7BJDYXTBY5AVCNFSM6AAAAAASSFAFM2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGA3DMMZVGE2TCNA . You are receiving this because you were mentioned.Message ID: @.***>
-- The information in this message is Proprietary and Confidential, intended only for those to whom it is addressed. Any use of this information by persons other than intended is prohibited. If you have received this email in error, please contact the sender and delete the material from any computer.
8 Channel USB GPIO Module Ubuntu 20.04 Python 3.8.10 numato-gpio 0.11.0.dev0
User is in the dialout group Works fine with separate 8 channel board with ver '8' firmware Device is discovered and interactable via putty