Translate

s2aio
Updated To Version 7


French block translations have been updated for both Scratch and Snap!.

A bug was fixed for Snap!

Digital input data was not being reported correctly when using Snap!.


s2aiomulti

Version 1.3 Released



This release includes a tkinter based graphical board configuration editor. Documentation for the editor may be found on the wiki here.

If you are using an older version of the program, you will need to create a new routing map using the editor.

Simultaneously Control, Monitor and Interconnect Up to 10 Arduinos With s2aiomulti


I have just released a new package called s2aiomulti, that allows you to control and monitor multiple Arduino boards from a single instance of Scratch 2.0 off-line.

Not only can you monitor and control multiple boards individually, you can also pass data from one Arduino to another!

The package contains 2 main software components, the s2aiomulti router and the s2aiomulti Arduino Server. The router interacts with Scratch and dispatches commands to the appropriate s2aiomulti Arduino server. When data updates are reported by an active Arduino board to its associated s2aiomult Arduino server, the data update is dispatched to the router.  The router then forwards the information to the appropriate reporter block.

s2aiomulti uses Python 3.5 and Python asyncio. 

Arduinos can be connected via USB cable or via WiFi (WiFi was tested using a Sparkfun RedBot with WiFly module).

Build your own personal Arduino IoT network!


pymata-aio v2.8

Has Been Released


This is a bug fix release for a Windows specific issue. The timer resolution for Windows is larger than that for Linux or Mac and in some cases causes a lag in data reporting for analog data. Thank you Guido van Rossum for pointing out the timer differences.

There was bug I discovered in testing out the Latch Data feature and this was repaired as well. What is the Latch Data feature? You can check out an explanation on the Wiki page.

In addition, the code has been refactored for better efficiency.

Thanks go to Dave Fisher and Leigh Mathews for help in verifying this release.

To install:

pip install pymata-aio

To upgrade:

pip install pymata-aio --upgrade

Notes: 
  • Linux/Mac users may need to use sudo to install or upgrade. 
  • Use the "pip3" command if you have that installed on your computer instead of "pip".

Version 1.6 of s2aio Released

The aiohttp library was changed by its authors. Version 0.19.0 aiohttp is not compatible with earlier versions of s2aio. This release restores compatibility by loading aiohttp version 0.19.0 or later when pip installing s2aio.

If you have version 1.5 or earlier of s2aio and wish to upgrade to the latest, use the following command:

pip install s2aio --upgrade

or

sudo pip3 install s2aio --upgrade

s2aio v1.5 Released

Bug Fixes And

Documentation Is Now On-line


Thanks to the txaio developers, the issue reported earlier is resolved. There was also an issue when starting s2aio with either -c snap or -c no_client options.

Documentation for s2aio is now available on the Github wiki page .

Possible pip Install Errors

When Loading s2aio

If you are getting pip install errors for txaio when installing s2aio, there is a known bug in the installation script for txaio. This library is "3rd party" and I have notified the author of the problem.

The bug can safely be ignored, since s2aio does not use txaio.

I will post a notification when the txaio author corrects the issue. Again, for s2aio this is a cosmetic issue and in no way affects its operation.