DrozmotiX / ioBroker.multicast

Adapter to provide UDP-Multicast API
MIT License
1 stars 2 forks source link
iobroker iobroker-adapter

ioBroker.multicast

NPM version Downloads Number of Installations (latest) Number of Installations (stable) Dependency Status Known Vulnerabilities

NPM

Tests:: Travis-CI

Multicast-APi adapter for ioBroker

This adapter provides an API based on multicast communication protocol to send and receive states to devices with custom firmware.

Purpose of this adapter was :

Zero touch ?

The APi is build in a way that requires no additional configuration of end-user using in the adapter itself, or the device to be used. I case Wi-Fi transition is used, only the Wi-Fi credential must be provided (lan based devices will be handled fully automatically). This requires effort by the developer of binary file to be flashed on the related chipset (like ESP based chipsets).

When the firmware follows all rules of the APi (see further below) the communication is handled as following :

New Device

From a previous message the adapter indicated no device found, following routine will be handled :

Existing Devices reconnection

From a previous message the adapter indicated device already exist, following routine will be handled :

State changes

The adapter is build to send up to 5-times a retry to ensure all state changes are received by the device. This procedure is handled as following :

APi structure and documentation

{ to be done / in progress }

To-Do planned :

Changelog

WORK IN PROGRESS

0.1.6 (2021-03-23)

0.1.5

0.1.4

0.1.3

0.1.2

0.1.1

0.1.0

License

MIT License

Copyright (c) 2021 Dutchman & Andiling

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.