it's an attempt at implementing the enocean protocol in javascript. there is a transcoder to encode and decode telegrams. Besides a few bugs, it supports all EEPs and it runs in node.js and the browser. so you can pass it buffers or string from your gateway and get the decoded info. even without node-red...
as well as passing it some json data as info and it'll return strings or buffers you can send to your gateway to send out to enocean devices.
so you might be able to just pass the messages you get from your gateway and pass them to the actor node. that will handle teach in and teach out, including bidirectional teach in of UTE devices with teach in responses...
nice project!
i tried once to connect an enocean shield to an espruino and did not succeed... i wonder how and where
SERIAL_8N1
is defined in your code?I may also point you to my enocean project: https://github.com/enocean-js/enocean-js#readme
it's an attempt at implementing the enocean protocol in javascript. there is a transcoder to encode and decode telegrams. Besides a few bugs, it supports all EEPs and it runs in node.js and the browser. so you can pass it buffers or string from your gateway and get the decoded info. even without node-red... as well as passing it some json data as info and it'll return strings or buffers you can send to your gateway to send out to enocean devices.
there is also a node-red node using this: https://github.com/enocean-js/enocean-js/tree/master/packages/node-red-contrib-enocean
so you might be able to just pass the messages you get from your gateway and pass them to the actor node. that will handle teach in and teach out, including bidirectional teach in of UTE devices with teach in responses...
we might work together to integrate your gateway into the node-red enocean project i.e. make the nodes compatible with the content of the messages from/to your device. you might want to join us on slack https://join.slack.com/t/enocean-js/shared_invite/enQtNTE0MzU2OTE1ODc2LTgzYTdhNDJkZWE3ZDk1MzVmYzk0NzcwZGVkMjNiMzg3MTU2MGNlNjEwYWVjNWNjYTcwZTNiOTdkZjk0NmYyOTU