Library to interact locally with Jebao Dosing Pump MD 4.4
A special thanks to Apollon77, whose work laid the foundation for this current project. His work
The Jebao Dosing Pump MD 4.4 device is internally an ESP which uses the GizWits platform. With this the device offers two ways of communication:
- The device connects to the gizwits cloud via MQTT and publishs the device data there, where the Android app gets the data from
- The device also offers local options via UDP for discovery and setup (Onboarding) and also a TCP interface for communication with the device and to request data
This library is focussing on the local LAN interface via UDP and TCP.
Please see Protocol page.
The library is documented in code (Apidoc) and example scripts show the usage
Available examples (see example folder):
- data.js: Script to connect to a device via IP, authenticate and retrieve data
- discovery.js: Script to discover devices in the network
- Add send command tests
- Improve Protocol.md file
- Create a function to create custom send request instead of hard written strings
- Reverse cron requests
- Reverse calibration command
- (tancou) Clear some code
- (tancou) Release v1.0.2 in order to test Github Actions
- (tancou) Release v1.0.1
- (tancou) Fix typo and version
- (tancou) Release v1.0.0
- (tancou) Proof of concept to retrieve and send the correct data to the device.
- (tancou) cloned from Apollon77 repo. Thanks to him for his work.