Giter Club home page Giter Club logo

Comments (11)

hobbyquaker avatar hobbyquaker commented on September 26, 2024

I updated the serialport dependency in v0.2.0
Could you check if it works for you now?

from cul.

jgantenberg avatar jgantenberg commented on September 26, 2024

thanks, I will test soon, this evening hopefully.
btw, is it much work to also send messages to cul stick? As far as I understood at the moment only incoming messages will be treated.

from cul.

hobbyquaker avatar hobbyquaker commented on September 26, 2024

No, you can also send messages to cul. For raw messages you can use the write method, for pre-defined commands (only fs20 implemented until now) there is also a method cmd. Take a look at the readme :)

from cul.

jgantenberg avatar jgantenberg commented on September 26, 2024

sorry for mixing things ... tried to install cul2mqtt and stumbled over failed dependency cul/serialport. So my question targeted cul2mqtt ...

from cul.

hobbyquaker avatar hobbyquaker commented on September 26, 2024

Ah, ok, I see. You're right, cul2mqtt supports only receiving. But I would be happy to receive Pull Requests :-)
Just updated cul2mqtt dependencies also.

from cul.

hobbyquaker avatar hobbyquaker commented on September 26, 2024

Akentner did already some work on sending messages: https://github.com/akentner/cul2mqtt
But I don't know if he is still engaged in this, until now he didn't send a Pull Request.

from cul.

jgantenberg avatar jgantenberg commented on September 26, 2024

after updating my environment according to https://www.npmjs.com/package/serialport#raspberry-pi-linux I was able to install and run cul and cul2mqtt, although I didn't receive any messages yet ...
so I will try to work on akentners fork and see whether I'm able to send messages.
Thanks alot for your help

from cul.

hobbyquaker avatar hobbyquaker commented on September 26, 2024

what are you trying to receive? cul2mqtt brings the cul in the "SlowRF" mode, this is only suitable for FS20/EM/HMS

from cul.

jgantenberg avatar jgantenberg commented on September 26, 2024

And for intertechno although it is not interpreted. I think of coding it.

from cul.

hobbyquaker avatar hobbyquaker commented on September 26, 2024

ok 👍

from cul.

jgantenberg avatar jgantenberg commented on September 26, 2024

unfortunately I don't get serialport installed. I tried different scenarios and upgraded my node.js to 6.7 and npm to 3.10.3.
npm ls -g shows me the following
/usr/local/node/lib ├─┬ [email protected] │ └─┬ [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├─┬ [email protected] │ │ └── [email protected] │ ├── [email protected] │ ├── [email protected] │ ├─┬ [email protected] │ │ ├─┬ [email protected] │ │ │ └── [email protected]
but if I want to start my own cul2mqtt via node index.js I alway get the following:
`module.js:457
throw err;
^

Error: Cannot find module 'cul'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/home/jojo/nodejs/cul2mqtt/index.js:2:11)
at Module._compile (module.js:556:32)
...`
what am I missing? Or is it a general misunderstanding?

Cheers

sorry, forget my post. I mangled my node installation....

from cul.

Related Issues (13)

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.