rfxcom / node-rfxcom

Node.js client for talking to an RFXtrx433 device
MIT License
62 stars 45 forks source link

running in the JVM ?!? #83

Closed k-mooijman closed 3 years ago

k-mooijman commented 5 years ago

Hi By a lack of a ( findable ) java driver/sdk for the rfxcom i would like to use the javascript in the jvm ( nashorn ) do you have any experience with this ? can you tell me how to use your libraries without NPM ?

maxwellhadley commented 5 years ago

It is possible to simply clone this repository from Github, without using npm, but you will then have to locate and install the dependencies yourself, from their Github repositories. One of the packages that node-rfxcom depends on is serialport, parts of which are written in C++ and link against the NodeJS platform native interface libraries. I have no experience with nashorn but I doubt if it will support this. I think you would have to replace it with a Java equivalent, if one exists, to access the FTDI serial device.

However, I know that at least one of the Domotics applications that use RFXCOM is written in Java, so there must be some Java software somewhere that does the job. Have you tried asking RFXCOM if they know of any?

k-mooijman commented 5 years ago

Thanks for your response I'll have a look at the Domotics applications !

maxwellhadley commented 3 years ago

Closing this stale issue