Coder Social home page Coder Social logo

Comments (5)

MrYsLab avatar MrYsLab commented on August 30, 2024

Hi Tony,
Do you have a Firmata sketch loaded on your Arduino? If not, you can find instructions here:
https://github.com/MrYsLab/pymata-aio/wiki/Uploading-StandardFirmata-To-Arduino

Also, is your Arduino plugged into your computer?

from pymata-aio.

cryoguy avatar cryoguy commented on August 30, 2024

Thank you for your prompt reply. Firmata is loaded and the pymata-core example works fine. For some reason just the socket does not work. I am using a Mega board.

from pymata-aio.

MrYsLab avatar MrYsLab commented on August 30, 2024

You are indeed correct. I tried on multiple platforms and they all fail the same way. The problem is that the websocket connection is being refused. I will need to investigate, what is going on with websockets. Hopefully I will have an answer soon.

from pymata-aio.

MrYsLab avatar MrYsLab commented on August 30, 2024

How embarrassing. I forgot you need to start pymata_iot.py before bringing up the web pages. I just modified the wiki page to say that.
Please let me know if that solves the problem or not. Thanks.

from pymata-aio.

cryoguy avatar cryoguy commented on August 30, 2024

Thanks, that solves the problem.

from pymata-aio.

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.