node-red-contrib-ringbeller
v1.0.3
Published
Node-RED nodes for Ringbeller IoT.
Downloads
1
Readme
Ringbeller IoT Node-RED
1. Solution
Ringbeller IoT Node-RED package uses ringbeller-nodeapi to access the modem functions provided by the native C++ library.
2. Prerequisite: WiringPi
The WiringPi library is required by the C++ Modem Library for low-level hardware communication. To install the library:
- Go to https://github.com/WiringPi/WiringPi
- Download ZIP archive
- Unzip archive: unzip WiringPi-final_official_2.50.zip
- Compile and install library: cd WiringPi-final_official_2.50 ./build
3. Prerequisite: ringbeller-nodeapi
cd node-red-contrib-ringbeller npm install ringbeller-nodeapi
4. Node-RED Nodes
initialize(logLevel, debugEnabled, serialPort, audioPort):Initialize modem. turn on: Turn on the modem turn off: Turn off the modem restart: Restart the modem connect: Connect the modem disconnect: Disconnect the modem configure: Configure the modem send sms(number, message): Send SMS message receive sms: Receive SMS message place call(number): Place call receive call: Receive call get call status: Get call status end call: Hang up active voice call begin audio playback(playbackFile): Begin playing audio to voice call wait audio playback: Wait for voice-call audio-playback to end end audio playback: End playing audio to voice call start audio recording(recordFile): Begin recording audio from voice call end audio recording: End recording audio from voice call send mms(recipient, cc, bcc, title, attachment, protocol, apn, username, password, authentication, mmsc, proxy, port): Send MMS message get keypad input(length, audioFile): Get keypad input (IVR)
5. Testing
To use the Node-RED nodes, you need to install the package using npm: npm install node-red-contrib-ringbeller