-
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 for the main user-maintained tuyaDAEMON data structure. - DAEMON-REST, details on two REST interfaces.
- Object Oriented devices and distributed tuyaDAEMON: introduces to ver. 2.0 new features.
The TRIGGER technique:
- tuyaTRIGGER implementation of the TRIGGER technique.
- tuyaTRIGGER info notes on TRIGGERs performances and limits.
-
remote and voice control for node-red users: a
tuyaTRIGGER
downsizing.
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.
-
tuyaDAEMON things: An application for managing all things to/from
global.alldevices
structures of one or more tuyaDAEMON servers (extends toolkit).
How to design a custom device? some case studies 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.
- case study: 433 MHz gateway - weather station This module is a general-purpose RF gateway for sensors, which includes (for now) two devices: Auriol_IAN_114435 for the meteo data and extra_temperature for other temperature probes. Easy customizable, can be used to connect any RF sensor.
An open collection of known devices info:
- Devices availables see also the wiki lateral menu.
Notes on tuyaDAEMON installation and use:
-
Deployement on an Android server: an economical 24/7 solution.
-
tuyaDEAMON-applications presents some applications built with tuyaDEAMON and a collection of programmers's notes about solutions of common IOT challenges.
All contributions and criticisms are welcome. Thanks.