-
Notifications
You must be signed in to change notification settings - Fork 4
Home
"TuyaDAEMON's goal is not to control some Tuya devices but to integrate the entire Tuya ecosystem in node-red, creating a new level of abstraction that includes both Tuya-cloud and all possible extensions: custom devices and logic of extended automation."
tuyaDAEMON is a complete framework for advanced IOT projects.
TuyaDAEMON is very experimental, the CORE module MUST be modified for every new device. Any effort is made to make it modular, small, fast, easy to modify, and fully documented.
Some tuyaDAEMON presentation pages:
- Why tuyaDEAMON ?, introduces to motivations of the tuyaDEAMON project. Anche in italiano: perché-tuyaDEAMON.
- TuyaDAEMON project, the project overview.
- tuyaDAEMON as event processor some more formal definitions for tuyaDAEMON ver. 2.0
In deep the tuyaDAEMON CORE:
- TuyaDAEMON core details on the CORE implementation.
- tuyaDAEMOM global.alldevices definitions on the main data structure of tuyaDAEMON
- DAEMON-REST, details on two REST interfaces
- Object Oriented devices and distributed tuyaDAEMON: introduces to ver. 2.0 new capabilities.
The TRIGGER technique:
- tuyaTRIGGER implementation of the TRIGGER technique.
- tuyaTRIGGER info notes on TRIGGERs performances and limits.
How to add a new smart device to tuyaDAEMON?
- Step by step guide add a new device
- tuyaDAEMON toolkit uses a MySQL database to store all information about the devices and creates some useful artifacts.
How to design a custom device? some case study can help you:
- SW only device: _system An example of 'SW only' device. You can think of 'SW only' devices as libraries of features.
- case study: smoke alarm An example of 'mirror' device. This case study can be used as a model for custom 'mirror' devices.
- case study: PM detector An example of 'custom' device, not Tuya compatible, using USB-serial, handled by an ad hoc flow.
-
case study: MQTT Ozone PDMtimer The interface with an MQTT DIY specialized timer is simple and implemented as a direct replacement for the
tuya-smart-device
node. - case study: watering system An example of specialized 'derived' device with UI, developed using the Object-Oriented perspective from some 'base' Tuya devices.
An open collection of known devices info:
- Devices availables see also the lateral menu.
Notes on tuyaDAEMON installation and use:
- Standard installation.
- Deployement on an Android server: an economical 24/7 solution.
All contributions and criticisms are welcome. Thanks.