Git Product home page Git Product logo

Comments (8)

isaacrlevin avatar isaacrlevin commented on June 16, 2024

hey @pauliusbau, sadly I did not add this feature and don't have the HW to test. Possibly @JMilthaler can help as he did the work on this.
FWIW did this ever work for you? The code hasn't been touched in 1 years :O

from presencelight.

pauliusbau avatar pauliusbau commented on June 16, 2024

Hey. No, it haven't. It's the first time I am trying it out.

from presencelight.

isaacrlevin avatar isaacrlevin commented on June 16, 2024

Hmmm yea, unless something changed in System.IO.Ports I am not sure what the issue, unless you have the ability to clone the repo and test locally?

from presencelight.

JMilthaler avatar JMilthaler commented on June 16, 2024

It's been quite a long time since I looked at this code, so it may take a bit to reacquaint myself with the details, but I can also look. I don't remember if the settings.json file has any sensitive information in it. If not, having a copy of that may help me see what's going on.

I do also have a very simple example of an Arduino based serial communication in my repo - https://github.com/JMilthaler/PresenceLightHardware/tree/master/PresenceLight.Hardware.Serial

** edit **
Ignore PresenceLight.Hardware.BLE in that repo - the hardware was never reliable and often stopped working randomly

from presencelight.

isaacrlevin avatar isaacrlevin commented on June 16, 2024

The only thing you need to add is the client ID in appsettings.json.

Send me an email [email protected] and I will send it to you

from presencelight.

JakeShirley avatar JakeShirley commented on June 16, 2024

I am also seeing something similar. My serial connections work fine for a day or two, but then I start getting these errors:
System.IO.IOException: The semaphore timeout period has expired. : 'COM3' and serial commands fail to send.

from presencelight.

isaacrlevin avatar isaacrlevin commented on June 16, 2024

sadly I do not have a device to test this feature. More than happy to review a PR if you have a fix

from presencelight.

JMilthaler avatar JMilthaler commented on June 16, 2024

I am also seeing something similar. My serial connections work fine for a day or two, but then I start getting these errors: System.IO.IOException: The semaphore timeout period has expired. : 'COM3' and serial commands fail to send.

I think this happens when the serial device goes to sleep or loses power. I can only speak to the Seeduino XIAO because that's what I used, but I had to disable all power saving functions on the device or I received similar issues.

from presencelight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.