Comments (12)
Please have a look at this Changelog. My forked version 0.63 provides the solution you are looking for by being firmware version independent and assuming protocol backward compatibility. I have been using it continuously for more than a year and it can be considered stable. I have not tried it with the most recent releases of ConfigurableFirmata
but it should work as long as you don't need to use Firmata protocol features that have been added to the latest versions.
I could create a pull request (including the changes of my pending pull request for the software serial support) if this is of interest.
from perl-firmata.
That looks promising, I'd appreciate a pull request!
from perl-firmata.
@ntruchsess It seems to me that I cannot create another pull request on top of a pending pull request. I do not intend to merge pull request #25 into the master branch (although I seem to have the authorization to do so) unless you give me a go.
@git-developer U could try my version for the time being ;-)
from perl-firmata.
@jnsbyr A pull request is a connection between two branches, so all commits that you put on top of jnsbyr:master
will automatically be part of your pull request and merged into ntruchsess:master
. If you don't want to merge all commits of jnsbyr:master
into ntruchsess:master
, you have to cancel the pull request and create a new one. You could create a new branch in your repo that contains only the commits you want to merge. You could also choose a different branch in the target repo; but currently, there's no other branch (e.g. ntruchsess:dev
) you could merge into.
from perl-firmata.
@git-developer Thanks for the explanation of the GitHub way of gitting. So all we need is #25 to be merged and this should preferably be done by the repository owner.
from perl-firmata.
@git-developer I had another look at the changelog. If you currently use perl-firmata 0.61 that is based on #24 you already have protocol/firmware independence. #25 only adds a minor improvement for a special error situation. Did you make your tests with perl-firmata 0.61?
If you looking for a solution for FHEM you should know that the distro includes perl-firmata 0.59 and you need to update manually until the perl-firmata part of the FHEM distro is updated.
from perl-firmata.
Sorry, I didn't test it because I run version 2.6; I created this issue because several other users shared a problem: they downloaded the latest version of ConfigurabeFirmata, made a connection to the FHEM version of perl-firmata (0.59) and ran into trouble.
So if I understand you right, it should be enough if perl-firmata in FHEM would be updated to 0.61.
from perl-firmata.
Yes, but I would advise to use my version 0.63 to get all features and fixes. Please make tests with version 0.61 or 0.63 and report your results.
If you provide a link to the FHEM discussion you are referring to I could provide some additional insights that are FHEM specific.
from perl-firmata.
You can find links to the FHEM discussion in my first comment. Thanks!
from perl-firmata.
I made tests with version 0.63 today.
It was quite an effort for me to create a test setup with Arduino IDE 1.8.4, ConfigurableFirmata 2.10.0, RCSwitch 2.5.2 and FHEM 5.8, but I was finally able to put it all together. It worked ... nearly. The protocol version is not only requested in Platform.pm
but also in 10_FRM.pm
. I had to manually change a line to use get_max_supported_protocol_version
. With this change, it worked.
I saw that my change has already been done on branch dev
. So, to support ConfigurableFirmata later than 2.06, we need perl-firmata in version 0.63 and the changes in fhem-mirror branch dev
.
from perl-firmata.
@git-developer Thanks for the feedback. Your are right - to get it working with FHEM some additional changes are required to the module 10_FRM.pm. These changes have been done at the end of 2015 and I am very sorry that they did not make it into the stable branch of FHEM (yet). I forgot that I do not use the official release of this module but a customized version.
To wrap it up, perl-firmata 0.63 is working for you and it would be a good idea to merge it with the master branch.
from perl-firmata.
The original issue has been resolved in the FHEM project by updating to perl-firmata 0.63. Merging #25 is recommended.
from perl-firmata.
Related Issues (9)
- wrap this up in a nice CPAN friendly wrapper? HOT 16
- Is Arduino Mega support built-in? HOT 3
- Device::Firmata is not listed on CPAN HOT 3
- unsupported mode '2' for pin '15' at ../lib/Device/Firmata/Platform.pm line 823. HOT 1
- unsupported mode '2' for pin '15' at ../lib/Device/Firmata/Platform.pm line 823. HOT 1
- Possible change to Device::Firmata->open() HOT 2
- Use of uninitialized value in addition (+) at FHEM/lib/Device/Firmata/Protocol.pm line 206.
- Capability query does not respect protocol version HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perl-firmata.