diff --git a/docs/html/abstractch_8cpp.html b/docs/html/abstractch_8cpp.html new file mode 100644 index 0000000..7ff535e --- /dev/null +++ b/docs/html/abstractch_8cpp.html @@ -0,0 +1,163 @@ + + +
+ + + + +![]() |
+
+ LightHub
+
+ |
+
#include "abstractch.h"#include <PubSubClient.h>#include "utils.h"#include <aJSON.h>#include "main.h"+Variables | |
| lan_status | lanStatus |
| PubSubClient | mqttClient |
| int8_t | ethernetIdleCount |
+
|
+ +extern | +
+
|
+ +extern | +
+
|
+ +extern | +
![]() |
+
+ LightHub
+
+ |
+
#include "Arduino.h"Go to the source code of this file.
++Classes | |
| class | abstractCh |
+Macros | |
| #define | CST_UNKNOWN 0 |
| #define | CST_INITIALIZED 1 |
| #define | CST_FAILED 2 |
| #define CST_FAILED 2 | +
| #define CST_INITIALIZED 1 | +
| #define CST_UNKNOWN 0 | +
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
#include "abstractin.h"#include "abstractch.h"#include <PubSubClient.h>#include "utils.h"#include <aJSON.h>#include "inputs.h"#include "main.h"+Variables | |
| lan_status | lanStatus |
| PubSubClient | mqttClient |
+
|
+ +extern | +
+
|
+ +extern | +
![]() |
+
+ LightHub
+
+ |
+
Go to the source code of this file.
++Classes | |
| class | abstractIn |
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
Go to the source code of this file.
++Classes | |
| class | chPersistent |
| class | abstractOut |
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
| CabstractCh | |
| CabstractIn | |
| CabstractOut | |
| CchPersistent | |
| CcolorChannel | |
| Cin_ccs811 | |
| Cin_hdc1080 | |
| CInput | |
| CinStore | |
| CItem | |
| CitemArgStore | |
| CitemCmd | |
| CitemCmdStore | |
| CmbPersistent | |
| Cout_AC | |
| Cout_dmx | |
| Cout_Modbus | |
| Cout_Motor | |
| Cout_pwm | |
| Cout_SPILed | |
| CreadCache | |
| Creg_t | |
| Cserial_t | |
| CstatusLED | |
| CStreamlog | |
| CUID |
![]() |
+
+ LightHub
+
+ |
+
#include "bright.h"+Functions | |
| uint8_t | getBright (uint8_t percent) |
| uint8_t | getBright255 (uint8_t percent) |
| uint8_t getBright | +( | +uint8_t | +percent | ) | ++ |
| uint8_t getBright255 | +( | +uint8_t | +percent | ) | ++ |
![]() |
+
+ LightHub
+
+ |
+
#include <Arduino.h>Go to the source code of this file.
++Macros | |
| #define | BRIGHT_LINEAR |
+Functions | |
| uint8_t | getBright (uint8_t percent) |
| uint8_t | getBright255 (uint8_t percent) |
| #define BRIGHT_LINEAR | +
| uint8_t getBright | +( | +uint8_t | +percent | ) | ++ |
| uint8_t getBright255 | +( | +uint8_t | +percent | ) | ++ |
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for Input, including all inherited members.
+| analogPoll(short cause) | Input | protected |
| attachInterruptPinIrq(int realPin, int irq) | Input | protected |
| changeState(uint8_t newState, short cause) | Input | protected |
| contactPoll(short cause) | Input | protected |
| counterPoll() | Input | protected |
| dht22Poll() | Input | protected |
| getIdxField() | Input | protected |
| Input(aJsonObject *obj, aJsonObject *configObj=NULL) | Input | |
| Input(char *name) | Input | |
| inputObj | Input | |
| inType | Input | |
| isValid() | Input | |
| nextPollTime() const | Input | protected |
| onAnalogChanged(float newValue) | Input | |
| onContactChanged(int newValue) | Input | |
| onCounterChanged(int i) | Input | inlinestatic |
| onCounterChanged0() | Input | static |
| onCounterChanged1() | Input | static |
| onCounterChanged2() | Input | static |
| onCounterChanged3() | Input | static |
| onCounterChanged4() | Input | static |
| onCounterChanged5() | Input | static |
| Parse(aJsonObject *configObj=NULL) | Input | protected |
| pin | Input | |
| Poll(short cause) | Input | |
| publishDataToDomoticz(int, aJsonObject *, const char *format,...) | Input | protected |
| setNextPollTime(unsigned long pollTime) | Input | protected |
| setup() | Input | |
| store | Input | |
| uptimePoll() | Input | protected |
![]() |
+
+ LightHub
+
+ |
+
#include <inputs.h>
+Public Member Functions | |
| Input (aJsonObject *obj, aJsonObject *configObj=NULL) | |
| Input (char *name) | |
| boolean | isValid () |
| void | onContactChanged (int newValue) |
| void | onAnalogChanged (float newValue) |
| int | Poll (short cause) |
| void | setup () |
+Static Public Member Functions | |
| static void | onCounterChanged (int i) |
| static void | onCounterChanged0 () |
| static void | onCounterChanged1 () |
| static void | onCounterChanged2 () |
| static void | onCounterChanged3 () |
| static void | onCounterChanged4 () |
| static void | onCounterChanged5 () |
+Public Attributes | |
| aJsonObject * | inputObj |
| uint8_t | inType |
| uint8_t | pin |
| inStore * | store |
+Protected Member Functions | |
| void | Parse (aJsonObject *configObj=NULL) |
| void | contactPoll (short cause) |
| void | analogPoll (short cause) |
| void | dht22Poll () |
| void | counterPoll () |
| void | attachInterruptPinIrq (int realPin, int irq) |
| unsigned long | nextPollTime () const |
| void | setNextPollTime (unsigned long pollTime) |
| void | uptimePoll () |
| bool | publishDataToDomoticz (int, aJsonObject *, const char *format,...) |
| char * | getIdxField () |
| bool | changeState (uint8_t newState, short cause) |
| Input::Input | +( | +aJsonObject * | +obj, | +
| + | + | aJsonObject * | +configObj = NULL |
+
| + | ) | ++ |
| Input::Input | +( | +char * | +name | ) | ++ |
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
| boolean Input::isValid | +( | +) | ++ |
+
|
+ +protected | +
| void Input::onAnalogChanged | +( | +float | +newValue | ) | ++ |
| void Input::onContactChanged | +( | +int | +newValue | ) | ++ |
+
|
+ +inlinestatic | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +protected | +
| int Input::Poll | +( | +short | +cause | ) | ++ |
+
|
+ +protected | +
+
|
+ +protected | +
| void Input::setup | +( | +) | ++ |
+
|
+ +protected | +
| aJsonObject* Input::inputObj | +
| uint8_t Input::inType | +
| uint8_t Input::pin | +
| inStore* Input::store | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for Item, including all inherited members.
+| checkFM() | Item | protected |
| checkHeatRetry() | Item | protected |
| checkModbusDimmer() | Item | protected |
| checkModbusDimmer(int data) | Item | protected |
| checkModbusRetry() | Item | protected |
| checkVCRetry() | Item | protected |
| clearFlag(short flag) | Item | |
| Ctrl(itemCmd cmd, char *subItem=NULL) | Item | |
| Ctrl(char *payload, char *subItem=NULL) | Item | |
| defaultSubItem | Item | protected |
| defaultSuffixCode | Item | protected |
| driver | Item | |
| getArg(short n=0) | Item | |
| getArgCount() | Item | |
| getChanType() | Item | |
| getCmd() | Item | |
| getExt() | Item | |
| getFlag(short flag=FLAG_MASK) | Item | |
| getPersistent() | Item | |
| getSubtype() | Item | |
| getVal() | Item | |
| isActive() | Item | |
| isValid() | Item | |
| Item(char *name) | Item | |
| Item(aJsonObject *obj) | Item | |
| itemArg | Item | |
| itemArr | Item | |
| itemExt | Item | |
| itemType | Item | |
| itemVal | Item | |
| mb_fail() | Item | protected |
| modbusDimmerSet(itemCmd st) | Item | protected |
| modbusDimmerSet(int addr, uint16_t _reg, int _regType, int _mask, uint16_t value) | Item | protected |
| Off() | Item | inline |
| On() | Item | inline |
| Parse() | Item | protected |
| Poll(int cause) | Item | |
| sendDelayedStatus() | Item | protected |
| SendStatus(int sendFlags) | Item | |
| setCmd(uint8_t cmdValue) | Item | |
| setExt(long int par) | Item | |
| setFlag(short flag) | Item | |
| setPersistent(chPersistent *par) | Item | |
| setSubtype(uint8_t par) | Item | |
| Setup() | Item | |
| setVal(long int par) | Item | |
| Stop() | Item | |
| Toggle() | Item | inline |
| VacomSetFan(itemCmd st) | Item | protected |
| VacomSetHeat(itemCmd st) | Item | protected |
| ~Item() | Item |
![]() |
+
+ LightHub
+
+ |
+
#include <item.h>
+Public Member Functions | |
| Item (char *name) | |
| Item (aJsonObject *obj) | |
| ~Item () | |
| boolean | isValid () |
| boolean | Setup () |
| void | Stop () |
| int | Ctrl (itemCmd cmd, char *subItem=NULL) |
| int | Ctrl (char *payload, char *subItem=NULL) |
| int | getArg (short n=0) |
| short | getArgCount () |
| long int | getVal () |
| uint8_t | getSubtype () |
| uint8_t | getCmd () |
| long int | getExt () |
| void | setExt (long int par) |
| chPersistent * | getPersistent () |
| chPersistent * | setPersistent (chPersistent *par) |
| void | setCmd (uint8_t cmdValue) |
| short | getFlag (short flag=FLAG_MASK) |
| void | setFlag (short flag) |
| void | clearFlag (short flag) |
| void | setVal (long int par) |
| void | setSubtype (uint8_t par) |
| int | Poll (int cause) |
| int | SendStatus (int sendFlags) |
| int | isActive () |
| int | getChanType () |
| int | On () |
| int | Off () |
| int | Toggle () |
+Public Attributes | |
| aJsonObject * | itemArr |
| aJsonObject * | itemArg |
| aJsonObject * | itemVal |
| aJsonObject * | itemExt |
| uint8_t | itemType |
| abstractOut * | driver |
+Protected Member Functions | |
| int | VacomSetFan (itemCmd st) |
| int | VacomSetHeat (itemCmd st) |
| move to float todo More... | |
| int | modbusDimmerSet (itemCmd st) |
| int | modbusDimmerSet (int addr, uint16_t _reg, int _regType, int _mask, uint16_t value) |
| void | mb_fail () |
| void | Parse () |
| int | checkModbusDimmer () |
| int | checkModbusDimmer (int data) |
| boolean | checkModbusRetry () |
| boolean | checkVCRetry () |
| boolean | checkHeatRetry () |
| void | sendDelayedStatus () |
| int | checkFM () |
+Protected Attributes | |
| char | defaultSubItem [10] |
| int | defaultSuffixCode |
| Item::Item | +( | +char * | +name | ) | ++ |
| Item::Item | +( | +aJsonObject * | +obj | ) | ++ |
| Item::~Item | +( | +) | ++ |
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
| void Item::clearFlag | +( | +short | +flag | ) | ++ |
| int Item::Ctrl | +( | +char * | +payload, | +
| + | + | char * | +subItem = NULL |
+
| + | ) | ++ |
possible problem here with truncated default
+ +| int Item::Ctrl | +( | +itemCmd | +cmd, | +
| + | + | char * | +subItem = NULL |
+
| + | ) | ++ |
possible problem here with truncated default
+thermoSet(name,cmd,Par1); all activities done - update temp & cmd
+ +| int Item::getArg | +( | +short | +n = 0 | ) | ++ |
| short Item::getArgCount | +( | +) | ++ |
| int Item::getChanType | +( | +) | ++ |
| uint8_t Item::getCmd | +( | +) | ++ |
| long int Item::getExt | +( | +) | ++ |
| short Item::getFlag | +( | +short | +flag = FLAG_MASK | ) | ++ |
| chPersistent * Item::getPersistent | +( | +) | ++ |
| uint8_t Item::getSubtype | +( | +) | ++ |
| long int Item::getVal | +( | +) | ++ |
| int Item::isActive | +( | +) | ++ |
| boolean Item::isValid | +( | +) | ++ |
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +protected | +
| int Item::Poll | +( | +int | +cause | ) | ++ |
+
|
+ +protected | +
| int Item::SendStatus | +( | +int | +sendFlags | ) | ++ |
case CMD_SET:
+ +| void Item::setCmd | +( | +uint8_t | +cmdValue | ) | ++ |
| void Item::setExt | +( | +long int | +par | ) | ++ |
| void Item::setFlag | +( | +short | +flag | ) | ++ |
| chPersistent * Item::setPersistent | +( | +chPersistent * | +par | ) | ++ |
| void Item::setSubtype | +( | +uint8_t | +par | ) | ++ |
| boolean Item::Setup | +( | +) | ++ |
| void Item::setVal | +( | +long int | +par | ) | ++ |
| void Item::Stop | +( | +) | ++ |
+
|
+ +inline | +
+
|
+ +protected | +
+
|
+ +protected | +
move to float todo
+ +
+
|
+ +protected | +
+
|
+ +protected | +
| abstractOut* Item::driver | +
| aJsonObject * Item::itemArg | +
| aJsonObject* Item::itemArr | +
| aJsonObject * Item::itemExt | +
| uint8_t Item::itemType | +
| aJsonObject * Item::itemVal | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for Streamlog, including all inherited members.
+| available(void) | Streamlog | |
| begin(unsigned long speed) | Streamlog | |
| end() | Streamlog | |
| flush(void) | Streamlog | |
| operator bool() | Streamlog | inline |
| peek(void) | Streamlog | |
| read(void) | Streamlog | |
| Streamlog(HardwareSerial *_serialPort, int _severity=LOG_DEBUG, uint8_t _ledPattern=0) | Streamlog | |
| write(uint8_t ch) | Streamlog |
![]() |
+
+ LightHub
+
+ |
+
#include <streamlog.h>
+ +Public Member Functions | |
| Streamlog (HardwareSerial *_serialPort, int _severity=LOG_DEBUG, uint8_t _ledPattern=0) | |
| void | begin (unsigned long speed) |
| void | end () |
| int | available (void) |
| int | peek (void) |
| int | read (void) |
| void | flush (void) |
| size_t | write (uint8_t ch) |
| operator bool () | |
| Streamlog::Streamlog | +( | +HardwareSerial * | +_serialPort, | +
| + | + | int | +_severity = LOG_DEBUG, |
+
| + | + | uint8_t | +_ledPattern = 0 |
+
| + | ) | ++ |
| int Streamlog::available | +( | +void | +) | ++ |
| void Streamlog::begin | +( | +unsigned long | +speed | ) | ++ |
| void Streamlog::end | +( | +) | ++ |
| void Streamlog::flush | +( | +void | +) | ++ |
+
|
+ +inline | +
| int Streamlog::peek | +( | +void | +) | ++ |
| int Streamlog::read | +( | +void | +) | ++ |
| size_t Streamlog::write | +( | +uint8_t | +ch | ) | ++ |
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for abstractCh, including all inherited members.
+| abstractCh() | abstractCh | inline |
| Anounce() | abstractCh | inlinevirtual |
| Poll(short cause)=0 | abstractCh | pure virtual |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup()=0 | abstractCh | pure virtual |
| Status() | abstractCh | inlinevirtual |
| Stop() | abstractCh | inlinevirtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <abstractch.h>
+
++Public Member Functions | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Poll (short cause)=0 |
| virtual int | Setup ()=0 |
| virtual int | Anounce () |
| virtual int | Stop () |
| virtual int | Status () |
+Protected Member Functions | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+
|
+ +inline | +
+
|
+ +inlinevirtual | +
+
|
+ +inlinevirtual | +
+
|
+ +pure virtual | +
Implemented in out_SPILed, out_pwm, out_Motor, out_Modbus, out_dmx, out_AC, in_hdc1080, and in_ccs811.
+ +
+
|
+ +protectedvirtual | +
+
|
+ +protectedvirtual | +
+
|
+ +protectedvirtual | +
+
|
+ +pure virtual | +
Implemented in out_SPILed, out_pwm, out_Motor, out_Modbus, out_dmx, out_AC, in_hdc1080, and in_ccs811.
+ +
+
|
+ +inlinevirtual | +
Reimplemented in out_SPILed, out_pwm, out_Motor, out_Modbus, out_dmx, and out_AC.
+ +
+
|
+ +inlinevirtual | +
Reimplemented in out_SPILed, out_pwm, out_Motor, out_Modbus, out_dmx, and out_AC.
+ +![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for abstractIn, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractIn(Input *_in) | abstractIn | inline |
| Anounce() | abstractCh | inlinevirtual |
| in | abstractIn | protected |
| Input | abstractIn | protected |
| Poll(short cause)=0 | abstractCh | pure virtual |
| publish(long value, const char *subtopic=NULL) | abstractIn | protected |
| publish(float value, const char *subtopic=NULL) | abstractIn | protected |
| publish(char *value, const char *subtopic=NULL) | abstractIn | protected |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup()=0 | abstractCh | pure virtual |
| Status() | abstractCh | inlinevirtual |
| Stop() | abstractCh | inlinevirtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <abstractin.h>
+
++Public Member Functions | |
| abstractIn (Input *_in) | |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Poll (short cause)=0 |
| virtual int | Setup ()=0 |
| virtual int | Anounce () |
| virtual int | Stop () |
| virtual int | Status () |
+Protected Member Functions | |
| int | publish (long value, const char *subtopic=NULL) |
| int | publish (float value, const char *subtopic=NULL) |
| int | publish (char *value, const char *subtopic=NULL) |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+Protected Attributes | |
| Input * | in |
| friend | Input |
+
|
+ +inline | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for abstractOut, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractOut(Item *_item) | abstractOut | inline |
| Anounce() | abstractCh | inlinevirtual |
| Ctrl(itemCmd cmd, char *subItem=NULL, bool toExecute=true)=0 | abstractOut | pure virtual |
| getChanType() | abstractOut | inlinevirtual |
| getDefaultOnVal() | abstractOut | inlinevirtual |
| isActive() | abstractOut | inlinevirtual |
| item | abstractOut | protected |
| Poll(short cause)=0 | abstractCh | pure virtual |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup()=0 | abstractCh | pure virtual |
| Status() | abstractCh | inlinevirtual |
| Stop() | abstractCh | inlinevirtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <abstractout.h>
+
++Public Member Functions | |
| abstractOut (Item *_item) | |
| virtual int | Ctrl (itemCmd cmd, char *subItem=NULL, bool toExecute=true)=0 |
| virtual int | isActive () |
| virtual int | getDefaultOnVal () |
| virtual int | getChanType () |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Poll (short cause)=0 |
| virtual int | Setup ()=0 |
| virtual int | Anounce () |
| virtual int | Stop () |
| virtual int | Status () |
+Protected Attributes | |
| Item * | item |
+Additional Inherited Members | |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+
|
+ +inline | +
+
|
+ +pure virtual | +
Implemented in out_Motor, out_Modbus, out_AC, and colorChannel.
+ +
+
|
+ +inlinevirtual | +
Reimplemented in out_SPILed, out_pwm, out_Motor, out_Modbus, and out_dmx.
+ +
+
|
+ +inlinevirtual | +
+
|
+ +inlinevirtual | +
Reimplemented in out_SPILed, out_pwm, out_Motor, out_Modbus, out_dmx, and out_AC.
+ +
+
|
+ +protected | +
![]() |
+
+ LightHub
+
+ |
+
#include <abstractout.h>
+
+![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for colorChannel, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractOut(Item *_item) | abstractOut | inline |
| Anounce() | abstractCh | inlinevirtual |
| colorChannel(Item *_item) | colorChannel | inline |
| Ctrl(itemCmd cmd, char *subItem=NULL, bool toExecute=true) override | colorChannel | virtual |
| getChannelAddr(short n=0) | colorChannel | |
| getChanType() | abstractOut | inlinevirtual |
| getDefaultOnVal() | abstractOut | inlinevirtual |
| iaddr | colorChannel | protected |
| isActive() | abstractOut | inlinevirtual |
| item | abstractOut | protected |
| numArgs | colorChannel | protected |
| PixelCtrl(itemCmd cmd, char *subItem=NULL, bool show=true)=0 | colorChannel | pure virtual |
| Poll(short cause)=0 | abstractCh | pure virtual |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup()=0 | abstractCh | pure virtual |
| Status() | abstractCh | inlinevirtual |
| Stop() | abstractCh | inlinevirtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <colorchannel.h>
+
++Public Member Functions | |
| colorChannel (Item *_item) | |
| int | Ctrl (itemCmd cmd, char *subItem=NULL, bool toExecute=true) override |
| virtual int | PixelCtrl (itemCmd cmd, char *subItem=NULL, bool show=true)=0 |
| short | getChannelAddr (short n=0) |
Public Member Functions inherited from abstractOut | |
| abstractOut (Item *_item) | |
| virtual int | isActive () |
| virtual int | getDefaultOnVal () |
| virtual int | getChanType () |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Poll (short cause)=0 |
| virtual int | Setup ()=0 |
| virtual int | Anounce () |
| virtual int | Stop () |
| virtual int | Status () |
+Protected Attributes | |
| short | iaddr |
| short | numArgs |
Protected Attributes inherited from abstractOut | |
| Item * | item |
+Additional Inherited Members | |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Implements abstractOut.
+ +| short colorChannel::getChannelAddr | +( | +short | +n = 0 | ) | ++ |
+
|
+ +pure virtual | +
Implemented in out_SPILed, out_pwm, and out_dmx.
+ +
+
|
+ +protected | +
+
|
+ +protected | +
![]() |
+
+ LightHub
+
+ |
+
|
+
|
+itemCmdStore | +out_Motor | +statusLED | +||
|
+out_pwm | +Streamlog | +||||
| abstractCh | +in_ccs811 | +out_SPILed | +
|
+|||
| abstractIn | +in_hdc1080 | +mbPersistent | +
|
+|||
| abstractOut | +Input | +
|
+UID | +|||
|
+inStore | +readCache | +||||
| Item | +out_AC | +reg_t | +||||
| chPersistent | +itemArgStore | +out_dmx | +
|
+|||
| colorChannel | +itemCmd | +out_Modbus | +||||
| serial_t | +||||||
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for in_ccs811, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractIn(Input *_in) | abstractIn | inline |
| Anounce() | abstractCh | inlinevirtual |
| in | abstractIn | protected |
| in_ccs811(Input *_in) | in_ccs811 | inline |
| Input | abstractIn | protected |
| Poll(short cause) override | in_ccs811 | virtual |
| printDriverError(CCS811Core::status errorCode) | in_ccs811 | protected |
| printSensorError() | in_ccs811 | protected |
| publish(long value, const char *subtopic=NULL) | abstractIn | protected |
| publish(float value, const char *subtopic=NULL) | abstractIn | protected |
| publish(char *value, const char *subtopic=NULL) | abstractIn | protected |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup() override | in_ccs811 | virtual |
| Status() | abstractCh | inlinevirtual |
| Stop() | abstractCh | inlinevirtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <in_ccs811_hdc1080.h>
+
++Public Member Functions | |
| in_ccs811 (Input *_in) | |
| int | Setup () override |
| int | Poll (short cause) override |
Public Member Functions inherited from abstractIn | |
| abstractIn (Input *_in) | |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Anounce () |
| virtual int | Stop () |
| virtual int | Status () |
+Protected Member Functions | |
| void | printDriverError (CCS811Core::status errorCode) |
| void | printSensorError () |
Protected Member Functions inherited from abstractIn | |
| int | publish (long value, const char *subtopic=NULL) |
| int | publish (float value, const char *subtopic=NULL) |
| int | publish (char *value, const char *subtopic=NULL) |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+Additional Inherited Members | |
Protected Attributes inherited from abstractIn | |
| Input * | in |
| friend | Input |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for in_hdc1080, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractIn(Input *_in) | abstractIn | inline |
| Anounce() | abstractCh | inlinevirtual |
| in | abstractIn | protected |
| in_hdc1080(Input *_in) | in_hdc1080 | inline |
| Input | abstractIn | protected |
| Poll(short cause) override | in_hdc1080 | virtual |
| printSerialNumber() | in_hdc1080 | protected |
| publish(long value, const char *subtopic=NULL) | abstractIn | protected |
| publish(float value, const char *subtopic=NULL) | abstractIn | protected |
| publish(char *value, const char *subtopic=NULL) | abstractIn | protected |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup() override | in_hdc1080 | virtual |
| Status() | abstractCh | inlinevirtual |
| Stop() | abstractCh | inlinevirtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <in_ccs811_hdc1080.h>
+
++Public Member Functions | |
| in_hdc1080 (Input *_in) | |
| int | Setup () override |
| int | Poll (short cause) override |
Public Member Functions inherited from abstractIn | |
| abstractIn (Input *_in) | |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Anounce () |
| virtual int | Stop () |
| virtual int | Status () |
+Protected Member Functions | |
| void | printSerialNumber () |
Protected Member Functions inherited from abstractIn | |
| int | publish (long value, const char *subtopic=NULL) |
| int | publish (float value, const char *subtopic=NULL) |
| int | publish (char *value, const char *subtopic=NULL) |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+Additional Inherited Members | |
Protected Attributes inherited from abstractIn | |
| Input * | in |
| friend | Input |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +protected | +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for itemCmd, including all inherited members.
+| assignFrom(itemCmd from) | itemCmd | |
| cmd | itemCmd | |
| Cmd(uint8_t i) | itemCmd | |
| debugOut() | itemCmd | |
| getArgType() | itemCmd | |
| getCmd() | itemCmd | |
| getCmdParam() | itemCmd | |
| getH() | itemCmd | |
| getInt() | itemCmd | |
| getPercents(bool inverse=false) | itemCmd | |
| getPercents255(bool inverse=false) | itemCmd | |
| getS() | itemCmd | |
| getSuffix() | itemCmd | |
| HS(uint16_t h, uint8_t s) | itemCmd | |
| HSV(uint16_t h, uint8_t s, uint8_t v) | itemCmd | |
| incrementH(int16_t) | itemCmd | |
| incrementPercents(int16_t) | itemCmd | |
| incrementS(int16_t) | itemCmd | |
| Int(int32_t i) | itemCmd | |
| Int(uint32_t i) | itemCmd | |
| isColor() | itemCmd | |
| isCommand() | itemCmd | |
| isValue() | itemCmd | |
| itemCmd(uint8_t _type=ST_VOID, uint8_t _code=CMD_VOID) | itemCmd | |
| itemCmd(float val) | itemCmd | |
| loadItem(Item *item, bool includeCommand=false) | itemCmd | |
| param | itemCmd | |
| Percents(int i) | itemCmd | |
| Percents255(int i) | itemCmd | |
| RGB(uint8_t r, uint8_t g, uint8_t b) | itemCmd | |
| RGBW(uint8_t r, uint8_t g, uint8_t b, uint8_t w) | itemCmd | |
| saveItem(Item *item, bool includeCommand=false) | itemCmd | |
| setArgType(uint8_t) | itemCmd | |
| setChanType(short chanType) | itemCmd | |
| setDefault() | itemCmd | |
| setH(uint16_t) | itemCmd | |
| setS(uint8_t) | itemCmd | |
| setSuffix(uint8_t suffix) | itemCmd | |
| toString(char *Buffer, int bufLen, int sendFlags=SEND_COMMAND|SEND_PARAMETERS) | itemCmd |
![]() |
+
+ LightHub
+
+ |
+
#include <itemCmd.h>
+Public Member Functions | |
| itemCmd (uint8_t _type=ST_VOID, uint8_t _code=CMD_VOID) | |
| itemCmd (float val) | |
| itemCmd | assignFrom (itemCmd from) |
| bool | loadItem (Item *item, bool includeCommand=false) |
| bool | saveItem (Item *item, bool includeCommand=false) |
| itemCmd | Int (int32_t i) |
| itemCmd | Int (uint32_t i) |
| itemCmd | Cmd (uint8_t i) |
| itemCmd | HSV (uint16_t h, uint8_t s, uint8_t v) |
| itemCmd | HS (uint16_t h, uint8_t s) |
| itemCmd | RGB (uint8_t r, uint8_t g, uint8_t b) |
| itemCmd | RGBW (uint8_t r, uint8_t g, uint8_t b, uint8_t w) |
| bool | setH (uint16_t) |
| bool | setS (uint8_t) |
| uint16_t | getH () |
| uint16_t | getS () |
| itemCmd | setArgType (uint8_t) |
| itemCmd | Percents (int i) |
| itemCmd | Percents255 (int i) |
| uint8_t | getSuffix () |
| itemCmd | setSuffix (uint8_t suffix) |
| bool | incrementPercents (int16_t) |
| bool | incrementH (int16_t) |
| bool | incrementS (int16_t) |
| long int | getInt () |
| short | getPercents (bool inverse=false) |
| short | getPercents255 (bool inverse=false) |
| uint8_t | getCmd () |
| uint8_t | getArgType () |
| uint8_t | getCmdParam () |
| char * | toString (char *Buffer, int bufLen, int sendFlags=SEND_COMMAND|SEND_PARAMETERS) |
| bool | isCommand () |
| bool | isValue () |
| bool | isColor () |
| itemCmd | setDefault () |
| itemCmd | setChanType (short chanType) |
| void | debugOut () |
+Public Attributes | |
| itemCmdStore | cmd |
| itemArgStore | param |
| itemCmd::itemCmd | +( | +uint8_t | +_type = ST_VOID, |
+
| + | + | uint8_t | +_code = CMD_VOID |
+
| + | ) | ++ |
| itemCmd::itemCmd | +( | +float | +val | ) | ++ |
| itemCmd itemCmd::Cmd | +( | +uint8_t | +i | ) | ++ |
| void itemCmd::debugOut | +( | +) | ++ |
| uint8_t itemCmd::getArgType | +( | +) | ++ |
| uint8_t itemCmd::getCmd | +( | +) | ++ |
| uint8_t itemCmd::getCmdParam | +( | +) | ++ |
| uint16_t itemCmd::getH | +( | +) | ++ |
| long int itemCmd::getInt | +( | +) | ++ |
| short itemCmd::getPercents | +( | +bool | +inverse = false | ) | ++ |
| short itemCmd::getPercents255 | +( | +bool | +inverse = false | ) | ++ |
| uint16_t itemCmd::getS | +( | +) | ++ |
| uint8_t itemCmd::getSuffix | +( | +) | ++ |
| itemCmd itemCmd::HS | +( | +uint16_t | +h, | +
| + | + | uint8_t | +s | +
| + | ) | ++ |
| itemCmd itemCmd::HSV | +( | +uint16_t | +h, | +
| + | + | uint8_t | +s, | +
| + | + | uint8_t | +v | +
| + | ) | ++ |
| bool itemCmd::incrementH | +( | +int16_t | +dif | ) | ++ |
| bool itemCmd::incrementPercents | +( | +int16_t | +dif | ) | ++ |
| bool itemCmd::incrementS | +( | +int16_t | +dif | ) | ++ |
| itemCmd itemCmd::Int | +( | +int32_t | +i | ) | ++ |
| itemCmd itemCmd::Int | +( | +uint32_t | +i | ) | ++ |
| bool itemCmd::isColor | +( | +) | ++ |
| bool itemCmd::isCommand | +( | +) | ++ |
| bool itemCmd::isValue | +( | +) | ++ |
| bool itemCmd::loadItem | +( | +Item * | +item, | +
| + | + | bool | +includeCommand = false |
+
| + | ) | ++ |
| itemCmd itemCmd::Percents | +( | +int | +i | ) | ++ |
| itemCmd itemCmd::Percents255 | +( | +int | +i | ) | ++ |
| itemCmd itemCmd::RGB | +( | +uint8_t | +r, | +
| + | + | uint8_t | +g, | +
| + | + | uint8_t | +b | +
| + | ) | ++ |
| itemCmd itemCmd::RGBW | +( | +uint8_t | +r, | +
| + | + | uint8_t | +g, | +
| + | + | uint8_t | +b, | +
| + | + | uint8_t | +w | +
| + | ) | ++ |
| bool itemCmd::saveItem | +( | +Item * | +item, | +
| + | + | bool | +includeCommand = false |
+
| + | ) | ++ |
| itemCmd itemCmd::setArgType | +( | +uint8_t | +type | ) | ++ |
| itemCmd itemCmd::setChanType | +( | +short | +chanType | ) | ++ |
| itemCmd itemCmd::setDefault | +( | +) | ++ |
| bool itemCmd::setH | +( | +uint16_t | +h | ) | ++ |
| bool itemCmd::setS | +( | +uint8_t | +s | ) | ++ |
| itemCmd itemCmd::setSuffix | +( | +uint8_t | +suffix | ) | ++ |
| char * itemCmd::toString | +( | +char * | +Buffer, | +
| + | + | int | +bufLen, | +
| + | + | int | +sendFlags = SEND_COMMAND | SEND_PARAMETERS |
+
| + | ) | ++ |
| itemCmdStore itemCmd::cmd | +
| itemArgStore itemCmd::param | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for mbPersistent, including all inherited members.
+| baud | mbPersistent | |
| driverStatus | mbPersistent | |
| parameters | mbPersistent | |
| pollingInterval | mbPersistent | |
| pollingRegisters | mbPersistent | |
| serialParam | mbPersistent | |
| timestamp | mbPersistent |
![]() |
+
+ LightHub
+
+ |
+
#include <out_modbus.h>
+
++Public Attributes | |
| int8_t | driverStatus |
| int | baud |
| uint16_t | serialParam |
| uint16_t | pollingInterval |
| uint32_t | timestamp |
| aJsonObject * | pollingRegisters |
| aJsonObject * | parameters |
| int mbPersistent::baud | +
| int8_t mbPersistent::driverStatus | +
| aJsonObject* mbPersistent::parameters | +
| uint16_t mbPersistent::pollingInterval | +
| aJsonObject* mbPersistent::pollingRegisters | +
| uint16_t mbPersistent::serialParam | +
| uint32_t mbPersistent::timestamp | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for out_AC, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractOut(Item *_item) | abstractOut | inline |
| Anounce() | abstractCh | inlinevirtual |
| Ctrl(itemCmd cmd, char *subItem=NULL, bool toExecute=true) override | out_AC | virtual |
| getChanType() | abstractOut | inlinevirtual |
| getDefaultOnVal() | abstractOut | inlinevirtual |
| InsertData(byte data[], size_t size) | out_AC | protected |
| isActive() override | out_AC | virtual |
| item | abstractOut | protected |
| out_AC(Item *_item) | out_AC | inline |
| Poll(short cause) override | out_AC | virtual |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup() override | out_AC | virtual |
| Status() override | out_AC | virtual |
| Stop() override | out_AC | virtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <out_ac.h>
+
++Public Member Functions | |
| out_AC (Item *_item) | |
| int | Setup () override |
| int | Poll (short cause) override |
| int | Stop () override |
| int | Status () override |
| int | isActive () override |
| int | Ctrl (itemCmd cmd, char *subItem=NULL, bool toExecute=true) override |
Public Member Functions inherited from abstractOut | |
| abstractOut (Item *_item) | |
| virtual int | getDefaultOnVal () |
| virtual int | getChanType () |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Anounce () |
+Protected Member Functions | |
| void | InsertData (byte data[], size_t size) |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+Additional Inherited Members | |
Protected Attributes inherited from abstractOut | |
| Item * | item |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Implements abstractOut.
+ +
+
|
+ +protected | +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for out_Modbus, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractOut(Item *_item) | abstractOut | inline |
| Anounce() | abstractCh | inlinevirtual |
| Ctrl(itemCmd cmd, char *subItem=NULL, bool toExecute=true) override | out_Modbus | virtual |
| findRegister(int registerNum, int posInBuffer) | out_Modbus | protected |
| getChanType() override | out_Modbus | virtual |
| getConfig() | out_Modbus | protected |
| getDefaultOnVal() | abstractOut | inlinevirtual |
| isActive() override | out_Modbus | virtual |
| item | abstractOut | protected |
| out_Modbus(Item *_item) | out_Modbus | inline |
| Poll(short cause) override | out_Modbus | virtual |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup() override | out_Modbus | virtual |
| Status() override | out_Modbus | virtual |
| Stop() override | out_Modbus | virtual |
| store | out_Modbus | protected |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <out_modbus.h>
+
++Public Member Functions | |
| out_Modbus (Item *_item) | |
| int | Setup () override |
| int | Poll (short cause) override |
| int | Stop () override |
| int | Status () override |
| int | isActive () override |
| int | getChanType () override |
| int | Ctrl (itemCmd cmd, char *subItem=NULL, bool toExecute=true) override |
Public Member Functions inherited from abstractOut | |
| abstractOut (Item *_item) | |
| virtual int | getDefaultOnVal () |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Anounce () |
+Protected Member Functions | |
| bool | getConfig () |
| int | findRegister (int registerNum, int posInBuffer) |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+Protected Attributes | |
| mbPersistent * | store |
Protected Attributes inherited from abstractOut | |
| Item * | item |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Implements abstractOut.
+ +
+
|
+ +protected | +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +protected | +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +
+
|
+ +protected | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for out_Motor, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractOut(Item *_item) | abstractOut | inline |
| Anounce() | abstractCh | inlinevirtual |
| Ctrl(itemCmd cmd, char *subItem=NULL, bool toExecute=true) override | out_Motor | virtual |
| feedbackClosed | out_Motor | |
| feedbackOpen | out_Motor | |
| getChanType() override | out_Motor | virtual |
| getConfig() | out_Motor | protected |
| getDefaultOnVal() | abstractOut | inlinevirtual |
| isActive() override | out_Motor | virtual |
| item | abstractOut | protected |
| maxOnTime | out_Motor | |
| out_Motor(Item *_item) | out_Motor | inline |
| pinDown | out_Motor | |
| pinFeedback | out_Motor | |
| pinUp | out_Motor | |
| Poll(short cause) override | out_Motor | virtual |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup() override | out_Motor | virtual |
| Status() override | out_Motor | virtual |
| Stop() override | out_Motor | virtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <out_motor.h>
+
++Public Member Functions | |
| out_Motor (Item *_item) | |
| int | Setup () override |
| int | Poll (short cause) override |
| int | Stop () override |
| int | Status () override |
| int | isActive () override |
| int | getChanType () override |
| int | Ctrl (itemCmd cmd, char *subItem=NULL, bool toExecute=true) override |
Public Member Functions inherited from abstractOut | |
| abstractOut (Item *_item) | |
| virtual int | getDefaultOnVal () |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Anounce () |
+Public Attributes | |
| int8_t | pinUp |
| int8_t | pinDown |
| int8_t | pinFeedback |
| int16_t | maxOnTime |
| uint16_t | feedbackOpen |
| uint16_t | feedbackClosed |
+Protected Member Functions | |
| void | getConfig () |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+Additional Inherited Members | |
Protected Attributes inherited from abstractOut | |
| Item * | item |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Implements abstractOut.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +protected | +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +| uint16_t out_Motor::feedbackClosed | +
| uint16_t out_Motor::feedbackOpen | +
| int16_t out_Motor::maxOnTime | +
| int8_t out_Motor::pinDown | +
| int8_t out_Motor::pinFeedback | +
| int8_t out_Motor::pinUp | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for out_SPILed, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractOut(Item *_item) | abstractOut | inline |
| Anounce() | abstractCh | inlinevirtual |
| colorChannel(Item *_item) | colorChannel | inline |
| Ctrl(itemCmd cmd, char *subItem=NULL, bool toExecute=true) override | colorChannel | virtual |
| getChannelAddr(short n=0) | colorChannel | |
| getChanType() override | out_SPILed | virtual |
| getConfig() | out_SPILed | protected |
| getDefaultOnVal() | abstractOut | inlinevirtual |
| iaddr | colorChannel | protected |
| isActive() override | out_SPILed | virtual |
| item | abstractOut | protected |
| ledsType | out_SPILed | |
| numArgs | colorChannel | protected |
| numLeds | out_SPILed | |
| out_SPILed(Item *_item) | out_SPILed | inline |
| pin | out_SPILed | |
| PixelCtrl(itemCmd cmd, char *subItem=NULL, bool show=true) override | out_SPILed | virtual |
| Poll(short cause) override | out_SPILed | virtual |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup() override | out_SPILed | virtual |
| Status() override | out_SPILed | virtual |
| Stop() override | out_SPILed | virtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <out_spiled.h>
+
++Public Member Functions | |
| out_SPILed (Item *_item) | |
| int | Setup () override |
| int | Poll (short cause) override |
| int | Stop () override |
| int | Status () override |
| int | isActive () override |
| int | getChanType () override |
| int | PixelCtrl (itemCmd cmd, char *subItem=NULL, bool show=true) override |
Public Member Functions inherited from colorChannel | |
| colorChannel (Item *_item) | |
| int | Ctrl (itemCmd cmd, char *subItem=NULL, bool toExecute=true) override |
| short | getChannelAddr (short n=0) |
Public Member Functions inherited from abstractOut | |
| abstractOut (Item *_item) | |
| virtual int | getDefaultOnVal () |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Anounce () |
+Public Attributes | |
| int | numLeds |
| int8_t | pin |
| int | ledsType |
+Protected Member Functions | |
| void | getConfig () |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+Additional Inherited Members | |
Protected Attributes inherited from colorChannel | |
| short | iaddr |
| short | numArgs |
Protected Attributes inherited from abstractOut | |
| Item * | item |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +protected | +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +overridevirtual | +
Implements colorChannel.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +| int out_SPILed::ledsType | +
| int out_SPILed::numLeds | +
| int8_t out_SPILed::pin | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for out_dmx, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractOut(Item *_item) | abstractOut | inline |
| Anounce() | abstractCh | inlinevirtual |
| colorChannel(Item *_item) | colorChannel | inline |
| Ctrl(itemCmd cmd, char *subItem=NULL, bool toExecute=true) override | colorChannel | virtual |
| getChannelAddr(short n=0) | colorChannel | |
| getChanType() override | out_dmx | virtual |
| getDefaultOnVal() | abstractOut | inlinevirtual |
| iaddr | colorChannel | protected |
| isActive() override | out_dmx | virtual |
| item | abstractOut | protected |
| numArgs | colorChannel | protected |
| out_dmx(Item *_item) | out_dmx | inline |
| PixelCtrl(itemCmd cmd, char *subItem=NULL, bool show=true) override | out_dmx | virtual |
| Poll(short cause) override | out_dmx | virtual |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup() override | out_dmx | virtual |
| Status() override | out_dmx | virtual |
| Stop() override | out_dmx | virtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <out_dmx.h>
+
++Public Member Functions | |
| out_dmx (Item *_item) | |
| int | Setup () override |
| int | Poll (short cause) override |
| int | Stop () override |
| int | Status () override |
| int | isActive () override |
| int | getChanType () override |
| virtual int | PixelCtrl (itemCmd cmd, char *subItem=NULL, bool show=true) override |
Public Member Functions inherited from colorChannel | |
| colorChannel (Item *_item) | |
| int | Ctrl (itemCmd cmd, char *subItem=NULL, bool toExecute=true) override |
| short | getChannelAddr (short n=0) |
Public Member Functions inherited from abstractOut | |
| abstractOut (Item *_item) | |
| virtual int | getDefaultOnVal () |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Anounce () |
+Additional Inherited Members | |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
Protected Attributes inherited from colorChannel | |
| short | iaddr |
| short | numArgs |
Protected Attributes inherited from abstractOut | |
| Item * | item |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +overridevirtual | +
Implements colorChannel.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for out_pwm, including all inherited members.
+| abstractCh() | abstractCh | inline |
| abstractOut(Item *_item) | abstractOut | inline |
| Anounce() | abstractCh | inlinevirtual |
| colorChannel(Item *_item) | colorChannel | inline |
| Ctrl(itemCmd cmd, char *subItem=NULL, bool toExecute=true) override | colorChannel | virtual |
| getChannelAddr(short n=0) | colorChannel | |
| getChanType() override | out_pwm | virtual |
| getDefaultOnVal() | abstractOut | inlinevirtual |
| iaddr | colorChannel | protected |
| isActive() override | out_pwm | virtual |
| item | abstractOut | protected |
| numArgs | colorChannel | protected |
| numChannels | out_pwm | protected |
| out_pwm(Item *_item) | out_pwm | inline |
| PixelCtrl(itemCmd cmd, char *subItem=NULL, bool show=true) override | out_pwm | virtual |
| Poll(short cause) override | out_pwm | virtual |
| publishTopic(const char *topic, long value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, float value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| publishTopic(const char *topic, const char *value, const char *subtopic=NULL) | abstractCh | protectedvirtual |
| Setup() override | out_pwm | virtual |
| Status() override | out_pwm | virtual |
| Stop() override | out_pwm | virtual |
| ~abstractCh() | abstractCh | inlinevirtual |
![]() |
+
+ LightHub
+
+ |
+
#include <out_pwm.h>
+
++Public Member Functions | |
| out_pwm (Item *_item) | |
| int | Setup () override |
| int | Poll (short cause) override |
| int | Stop () override |
| int | Status () override |
| int | isActive () override |
| int | getChanType () override |
| int | PixelCtrl (itemCmd cmd, char *subItem=NULL, bool show=true) override |
Public Member Functions inherited from colorChannel | |
| colorChannel (Item *_item) | |
| int | Ctrl (itemCmd cmd, char *subItem=NULL, bool toExecute=true) override |
| short | getChannelAddr (short n=0) |
Public Member Functions inherited from abstractOut | |
| abstractOut (Item *_item) | |
| virtual int | getDefaultOnVal () |
Public Member Functions inherited from abstractCh | |
| abstractCh () | |
| virtual | ~abstractCh () |
| virtual int | Anounce () |
+Protected Attributes | |
| short | numChannels |
Protected Attributes inherited from colorChannel | |
| short | iaddr |
| short | numArgs |
Protected Attributes inherited from abstractOut | |
| Item * | item |
+Additional Inherited Members | |
Protected Member Functions inherited from abstractCh | |
| virtual int | publishTopic (const char *topic, long value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, float value, const char *subtopic=NULL) |
| virtual int | publishTopic (const char *topic, const char *value, const char *subtopic=NULL) |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractOut.
+ +
+
|
+ +overridevirtual | +
Implements colorChannel.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Implements abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +
+
|
+ +overridevirtual | +
Reimplemented from abstractCh.
+ +
+
|
+ +protected | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for readCache, including all inherited members.
+| addr | readCache | protected |
| analogReadCached(uint8_t pin) | readCache | |
| cached_data | readCache | protected |
| digitalReadCached(uint8_t pin) | readCache | |
| invalidateInputCache() | readCache | |
| readCache() | readCache | |
| type | readCache | protected |
![]() |
+
+ LightHub
+
+ |
+
#include <inputs.h>
+Public Member Functions | |
| readCache () | |
| uint16_t | analogReadCached (uint8_t pin) |
| uint8_t | digitalReadCached (uint8_t pin) |
| void | invalidateInputCache () |
+Protected Attributes | |
| uint8_t | addr |
| uint8_t | type |
| uint16_t | cached_data |
| readCache::readCache | +( | +) | ++ |
| uint16_t readCache::analogReadCached | +( | +uint8_t | +pin | ) | ++ |
| uint8_t readCache::digitalReadCached | +( | +uint8_t | +pin | ) | ++ |
TBD
+ +| void readCache::invalidateInputCache | +( | +) | ++ |
+
|
+ +protected | +
+
|
+ +protected | +
+
|
+ +protected | +
![]() |
+
+ LightHub
+
+ |
+
This is the complete list of members for statusLED, including all inherited members.
+| flash(uint8_t pattern) | statusLED | |
| poll() | statusLED | |
| set(uint8_t pattern) | statusLED | |
| show(uint8_t pattern) | statusLED | |
| statusLED(uint8_t pattern=0) | statusLED |
![]() |
+
+ LightHub
+
+ |
+
#include <statusled.h>
+Public Member Functions | |
| statusLED (uint8_t pattern=0) | |
| void | set (uint8_t pattern) |
| void | show (uint8_t pattern) |
| void | poll () |
| void | flash (uint8_t pattern) |
| statusLED::statusLED | +( | +uint8_t | +pattern = 0 | ) | ++ |
| void statusLED::flash | +( | +uint8_t | +pattern | ) | ++ |
| void statusLED::poll | +( | +) | ++ |
| void statusLED::set | +( | +uint8_t | +pattern | ) | ++ |
| void statusLED::show | +( | +uint8_t | +pattern | ) | ++ |
![]() |
+
+ LightHub
+
+ |
+
#include "colorchannel.h"#include "Arduino.h"#include "options.h"#include "Streaming.h"#include "item.h"#include "main.h"![]() |
+
+ LightHub
+
+ |
+
Go to the source code of this file.
++Classes | |
| class | colorChannel |
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
+Directories | |
| directory | modules |
+Files | |
| file | abstractch.cpp |
| file | abstractch.h [code] |
| file | abstractin.cpp |
| file | abstractin.h [code] |
| file | abstractout.h [code] |
| file | bright.cpp |
| file | bright.h [code] |
| file | colorchannel.cpp |
| file | colorchannel.h [code] |
| file | dmx.cpp |
| file | dmx.h [code] |
| file | inputs.cpp |
| file | inputs.h [code] |
| file | item.cpp |
| file | item.h [code] |
| file | itemCmd.cpp |
| file | itemCmd.h [code] |
| file | main.cpp |
| file | main.h [code] |
| file | options.h [code] |
| file | owTerm.cpp |
| file | owTerm.h [code] |
| file | statusled.cpp |
| file | statusled.h [code] |
| file | streamlog.cpp |
| file | streamlog.h [code] |
| file | textconst.h [code] |
| file | utils.cpp |
| file | utils.h [code] |
![]() |
+
+ LightHub
+
+ |
+
+Files | |
| file | in_ccs811_hdc1080.cpp |
| file | in_ccs811_hdc1080.h [code] |
| file | out_ac.cpp |
| file | out_ac.h [code] |
| file | out_dmx.cpp |
| file | out_dmx.h [code] |
| file | out_modbus.cpp |
| file | out_modbus.h [code] |
| file | out_motor.cpp |
| file | out_motor.h [code] |
| file | out_pwm.cpp |
| file | out_pwm.h [code] |
| file | out_spiled.cpp |
| file | out_spiled.h [code] |
![]() |
+
+ LightHub
+
+ |
+
+Functions | |
| int | itemCtrl2 (char *name, int r, int g, int b, int w) |
| void | DMXImmediateUpdate (short tch, short r, short g, short b, short w) |
| void | DMXSemiImmediateUpdate (short tch, short trh, int val) |
| void | DMXput (void) |
| void | DMXUpdate (void) |
| void | DMXCheck (void) |
| void | onDmxFrame (uint16_t universe, uint16_t length, uint8_t sequence, uint8_t *data, IPAddress remoteIP) |
| void | DMXinSetup (int channels) |
| void | DMXoutSetup (int channels) |
| void | DMXOUT_propagate () |
| void | ArtnetSetup () |
| void | DmxWriteBuf (uint16_t chan, uint8_t val) |
+Variables | |
| uint8_t * | DMXin = NULL |
| int | D_State =0 |
| unsigned long | D_checkT =0 |
| aJsonObject * | items |
| aJsonObject * | dmxArr |
| void ArtnetSetup | +( | +) | ++ |
| void DMXCheck | +( | +void | +) | ++ |
| void DMXImmediateUpdate | +( | +short | +tch, | +
| + | + | short | +r, | +
| + | + | short | +g, | +
| + | + | short | +b, | +
| + | + | short | +w | +
| + | ) | ++ |
| void DMXinSetup | +( | +int | +channels | ) | ++ |
ToDo: re-init
+ +| void DMXOUT_propagate | +( | +) | ++ |
| void DMXoutSetup | +( | +int | +channels | ) | ++ |
| void DMXput | +( | +void | +) | ++ |
| void DMXSemiImmediateUpdate | +( | +short | +tch, | +
| + | + | short | +trh, | +
| + | + | int | +val | +
| + | ) | ++ |
| void DMXUpdate | +( | +void | +) | ++ |
| void DmxWriteBuf | +( | +uint16_t | +chan, | +
| + | + | uint8_t | +val | +
| + | ) | ++ |
| int itemCtrl2 | +( | +char * | +name, | +
| + | + | int | +r, | +
| + | + | int | +g, | +
| + | + | int | +b, | +
| + | + | int | +w | +
| + | ) | ++ |
| void onDmxFrame | +( | +uint16_t | +universe, | +
| + | + | uint16_t | +length, | +
| + | + | uint8_t | +sequence, | +
| + | + | uint8_t * | +data, | +
| + | + | IPAddress | +remoteIP | +
| + | ) | ++ |
| unsigned long D_checkT =0 | +
| int D_State =0 | +
+
|
+ +extern | +
| uint8_t* DMXin = NULL | +
+
|
+ +extern | +
![]() |
+
+ LightHub
+
+ |
+
Go to the source code of this file.
++Macros | |
| #define | D_UPDATED1 1 |
| #define | D_UPDATED2 2 |
| #define | D_UPDATED3 4 |
| #define | D_UPDATED4 8 |
| #define | D_CHECKT 300 |
| #define | MAX_CHANNELS 60 |
+Functions | |
| void | DMXput (void) |
| void | DMXinSetup (int channels) |
| void | DMXoutSetup (int channels) |
| void | ArtnetSetup () |
| void | DMXCheck (void) |
| int | itemCtrl2 (char *name, int r, int g, int b, int w) |
| void | DmxWriteBuf (uint16_t chan, uint8_t val) |
| void | DMXOUT_propagate () |
+Variables | |
| aJsonObject * | dmxArr |
| #define D_CHECKT 300 | +
| #define D_UPDATED1 1 | +
| #define D_UPDATED2 2 | +
| #define D_UPDATED3 4 | +
| #define D_UPDATED4 8 | +
| #define MAX_CHANNELS 60 | +
| void ArtnetSetup | +( | +) | ++ |
| void DMXCheck | +( | +void | +) | ++ |
| void DMXinSetup | +( | +int | +channels | ) | ++ |
ToDo: re-init
+ +| void DMXOUT_propagate | +( | +) | ++ |
| void DMXoutSetup | +( | +int | +channels | ) | ++ |
| void DMXput | +( | +void | +) | ++ |
| void DmxWriteBuf | +( | +uint16_t | +chan, | +
| + | + | uint8_t | +val | +
| + | ) | ++ |
| int itemCtrl2 | +( | +char * | +name, | +
| + | + | int | +r, | +
| + | + | int | +g, | +
| + | + | int | +b, | +
| + | + | int | +w | +
| + | ) | ++ |
+
|
+ +extern | +
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
| ▼ lighthub | |
| ▼ modules | |
| in_ccs811_hdc1080.cpp | |
| in_ccs811_hdc1080.h | |
| out_ac.cpp | |
| out_ac.h | |
| out_dmx.cpp | |
| out_dmx.h | |
| out_modbus.cpp | |
| out_modbus.h | |
| out_motor.cpp | |
| out_motor.h | |
| out_pwm.cpp | |
| out_pwm.h | |
| out_spiled.cpp | |
| out_spiled.h | |
| abstractch.cpp | |
| abstractch.h | |
| abstractin.cpp | |
| abstractin.h | |
| abstractout.h | |
| bright.cpp | |
| bright.h | |
| colorchannel.cpp | |
| colorchannel.h | |
| dmx.cpp | |
| dmx.h | |
| inputs.cpp | |
| inputs.h | |
| item.cpp | |
| item.h | |
| itemCmd.cpp | |
| itemCmd.h | |
| main.cpp | |
| main.h | |
| options.h | |
| owTerm.cpp | |
| owTerm.h | |
| statusled.cpp | |
| statusled.h | |
| streamlog.cpp | |
| streamlog.h | |
| textconst.h | |
| utils.cpp | |
| utils.h |
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
| ▼CabstractCh | |
| ▼CabstractIn | |
| Cin_ccs811 | |
| Cin_hdc1080 | |
| ▼CabstractOut | |
| ▼CcolorChannel | |
| Cout_dmx | |
| Cout_pwm | |
| Cout_SPILed | |
| Cout_AC | |
| Cout_Modbus | |
| Cout_Motor | |
| ▼CchPersistent | |
| CmbPersistent | |
| CInput | |
| CinStore | |
| CItem | |
| CitemArgStore | |
| CitemCmd | |
| CitemCmdStore | |
| ▼CPrint | |
| CStreamlog | |
| CreadCache | |
| Creg_t | |
| Cserial_t | |
| CstatusLED | |
| CUID |
![]() |
+
+ LightHub
+
+ |
+
#include "modules/in_ccs811_hdc1080.h"#include "Arduino.h"#include "options.h"#include "Streaming.h"#include "item.h"#include "main.h"+Functions | |
| void | i2cReset () |
+Variables | |
| long | ccs811Baseline |
| void i2cReset | +( | +) | ++ |
| long ccs811Baseline | +
![]() |
+
+ LightHub
+
+ |
+
#include <inputs.h>#include <abstractin.h>#include <Wire.h>#include "ClosedCube_HDC1080.h"#include "SparkFunCCS811.h"Go to the source code of this file.
++Classes | |
| class | in_ccs811 |
| class | in_hdc1080 |
+Macros | |
| #define | CCS811_ADDR 0x5A |
| #define CCS811_ADDR 0x5A | +
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
#include "inputs.h"#include "item.h"#include "utils.h"#include <PubSubClient.h>#include "main.h"#include "itemCmd.h"#include "DHT.h"+Functions | |
| void | cleanStore (aJsonObject *input) |
+Variables | |
| PubSubClient | mqttClient |
| aJsonObject * | root |
| int8_t | ethernetIdleCount |
| int8_t | configLocked |
| readCache | inCache |
| void cleanStore | +( | +aJsonObject * | +input | ) | ++ |
+
|
+ +extern | +
+
|
+ +extern | +
| readCache inCache | +
+
|
+ +extern | +
+
|
+ +extern | +
![]() |
+
+ LightHub
+
+ |
+
Go to the source code of this file.
++Classes | |
| union | inStore |
| class | Input |
| class | readCache |
+Macros | |
| #define | IN_ACTIVE_HIGH 2 |
| #define | IN_ANALOG 64 |
| #define | IN_RE 32 |
| #define | IN_I2C 128 |
| #define | IN_PUSH_ON 0 |
| #define | IN_PUSH_TOGGLE 1 |
| #define | IN_DHT22 4 |
| #define | IN_CCS811 5 |
| #define | IN_HDC1080 6 |
| #define | IN_COUNTER 8 |
| #define | IN_UPTIME 16 |
| #define | IS_IDLE 0 |
| #define | IS_PRESSED 1 |
| #define | IS_RELEASED 2 |
| #define | IS_LONG 3 |
| #define | IS_REPEAT 4 |
| #define | IS_WAITPRESS 5 |
| #define | IS_PRESSED2 6 |
| #define | IS_RELEASED2 7 |
| #define | IS_LONG2 8u |
| #define | IS_REPEAT2 9u |
| #define | IS_PRESSED3 10u |
| #define | IS_LONG3 11u |
| #define | IS_REPEAT3 12u |
| #define | IS_WAITRELEASE 13u |
| #define | IS_REQSTATE 0xFF |
| #define | SAME_STATE_ATTEMPTS 3 |
| #define | ANALOG_STATE_ATTEMPTS 6 |
| #define | ANALOG_NOIZE 1 |
| #define | CHECK_SENSOR 1 |
| #define | CHECK_INPUT 2 |
| #define | CHECK_INTERRUPT 3 |
| #define | T_LONG 1000 |
| #define | T_IDLE 600 |
| #define | T_RPT 300 |
| #define | T_RPT_PULSE 150 |
+Variables | |
| aJsonObject * | inputs |
| readCache | inCache |
| #define ANALOG_NOIZE 1 | +
| #define ANALOG_STATE_ATTEMPTS 6 | +
| #define CHECK_INPUT 2 | +
| #define CHECK_INTERRUPT 3 | +
| #define CHECK_SENSOR 1 | +
| #define IN_ACTIVE_HIGH 2 | +
| #define IN_ANALOG 64 | +
| #define IN_CCS811 5 | +
| #define IN_COUNTER 8 | +
| #define IN_DHT22 4 | +
| #define IN_HDC1080 6 | +
| #define IN_I2C 128 | +
| #define IN_PUSH_ON 0 | +
| #define IN_PUSH_TOGGLE 1 | +
| #define IN_RE 32 | +
| #define IN_UPTIME 16 | +
| #define IS_IDLE 0 | +
| #define IS_LONG 3 | +
| #define IS_LONG2 8u | +
| #define IS_LONG3 11u | +
| #define IS_PRESSED 1 | +
| #define IS_PRESSED2 6 | +
| #define IS_PRESSED3 10u | +
| #define IS_RELEASED 2 | +
| #define IS_RELEASED2 7 | +
| #define IS_REPEAT 4 | +
| #define IS_REPEAT2 9u | +
| #define IS_REPEAT3 12u | +
| #define IS_REQSTATE 0xFF | +
| #define IS_WAITPRESS 5 | +
| #define IS_WAITRELEASE 13u | +
| #define SAME_STATE_ATTEMPTS 3 | +
| #define T_IDLE 600 | +
| #define T_LONG 1000 | +
| #define T_RPT 300 | +
| #define T_RPT_PULSE 150 | +
+
|
+ +extern | +
+
|
+ +extern | +
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
#include "options.h"#include "item.h"#include "aJSON.h"#include "utils.h"#include "textconst.h"#include "main.h"#include "bright.h"#include "itemCmd.h"#include "dmx.h"#include <Adafruit_NeoPixel.h>#include <ModbusMaster.h>#include <PubSubClient.h>#include "modules/out_spiled.h"#include "modules/out_ac.h"#include "modules/out_motor.h"#include "modules/out_modbus.h"#include "modules/out_dmx.h"#include "modules/out_pwm.h"+Macros | |
| #define | a 0.1842f |
| #define | b -36.68f |
+Functions | |
| int | retrieveCode (char **psubItem) |
| int | subitem2cmd (char *payload) |
| int | txt2subItem (char *payload) |
+Variables | |
| short | modbusBusy = 0 |
| aJsonObject * | pollingItem |
| PubSubClient | mqttClient |
| int8_t | ethernetIdleCount |
| int8_t | configLocked |
| lan_status | lanStatus |
| const short | defval [4] = {0, 0, 0, 0} |
| ModbusMaster | node |
| #define a 0.1842f | +
| #define b -36.68f | +
| int retrieveCode | +( | +char ** | +psubItem | ) | ++ |
| int subitem2cmd | +( | +char * | +payload | ) | ++ |
| int txt2subItem | +( | +char * | +payload | ) | ++ |
+
|
+ +extern | +
| const short defval[4] = {0, 0, 0, 0} | +
+
|
+ +extern | +
+
|
+ +extern | +
| short modbusBusy = 0 | +
+
|
+ +extern | +
+
|
+ +extern | +
+
|
+ +extern | +
![]() |
+
+ LightHub
+
+ |
+
Go to the source code of this file.
++Classes | |
| class | Item |
+Macros | |
| #define | S_NOTFOUND 0 |
| #define | S_CMD 1 |
| #define | S_SET 2 |
| #define | S_HSV 3 |
| #define | S_RGB 4 |
| #define | S_FAN 5 |
| #define | S_MODE 6 |
| #define | S_HUE 7 |
| #define | S_SAT 8 |
| #define | S_TEMP 9 |
| #define | S_ADDITIONAL 9 |
| #define | CH_DIMMER 0 |
| #define | CH_RGBW 1 |
| #define | CH_RGB 2 |
| #define | CH_PWM 3 |
| #define | CH_MODBUS 4 |
| #define | CH_THERMO 5 |
| #define | CH_RELAY 6 |
| #define | CH_GROUP 7 |
| #define | CH_VCTEMP 8 |
| #define | CH_VC 9 |
| #define | CH_AC 10 |
| #define | CH_SPILED 11 |
| #define | CH_MOTOR 12 |
| #define | CH_MBUS 14 |
| #define | CH_WHITE 127 |
| #define | POLLING_SLOW 1 |
| #define | POLLING_FAST 2 |
| #define | POLLING_INT 3 |
| #define | I_TYPE 0 |
| #define | I_ARG 1 |
| #define | I_VAL 2 |
| #define | I_CMD 3 |
| #define | I_EXT 4 |
| #define | MODBUS_CMD_ARG_ADDR 0 |
| #define | MODBUS_CMD_ARG_REG 1 |
| #define | MODBUS_CMD_ARG_MASK 2 |
| #define | MODBUS_CMD_ARG_MAX_SCALE 3 |
| #define | MODBUS_CMD_ARG_REG_TYPE 4 |
| #define | MODBUS_COIL_REG_TYPE 0 |
| #define | MODBUS_DISCRETE_REG_TYPE 1 |
| #define | MODBUS_HOLDING_REG_TYPE 2 |
| #define | MODBUS_INPUT_REG_TYPE 3 |
+Functions | |
| short | thermoSetCurTemp (char *name, float t) |
| int | txt2cmd (char *payload) |
+Variables | |
| aJsonObject * | items |
| #define CH_AC 10 | +
| #define CH_DIMMER 0 | +
| #define CH_GROUP 7 | +
| #define CH_MBUS 14 | +
| #define CH_MODBUS 4 | +
| #define CH_MOTOR 12 | +
| #define CH_PWM 3 | +
| #define CH_RELAY 6 | +
| #define CH_RGB 2 | +
| #define CH_RGBW 1 | +
| #define CH_SPILED 11 | +
| #define CH_THERMO 5 | +
| #define CH_VC 9 | +
| #define CH_VCTEMP 8 | +
| #define CH_WHITE 127 | +
| #define I_ARG 1 | +
| #define I_CMD 3 | +
| #define I_EXT 4 | +
| #define I_TYPE 0 | +
| #define I_VAL 2 | +
| #define MODBUS_CMD_ARG_ADDR 0 | +
| #define MODBUS_CMD_ARG_MASK 2 | +
| #define MODBUS_CMD_ARG_MAX_SCALE 3 | +
| #define MODBUS_CMD_ARG_REG 1 | +
| #define MODBUS_CMD_ARG_REG_TYPE 4 | +
| #define MODBUS_COIL_REG_TYPE 0 | +
| #define MODBUS_DISCRETE_REG_TYPE 1 | +
| #define MODBUS_HOLDING_REG_TYPE 2 | +
| #define MODBUS_INPUT_REG_TYPE 3 | +
| #define POLLING_FAST 2 | +
| #define POLLING_INT 3 | +
| #define POLLING_SLOW 1 | +
| #define S_ADDITIONAL 9 | +
| #define S_CMD 1 | +
| #define S_FAN 5 | +
| #define S_HSV 3 | +
| #define S_HUE 7 | +
| #define S_MODE 6 | +
| #define S_NOTFOUND 0 | +
| #define S_RGB 4 | +
| #define S_SAT 8 | +
| #define S_SET 2 | +
| #define S_TEMP 9 | +
| short thermoSetCurTemp | +( | +char * | +name, | +
| + | + | float | +t | +
| + | ) | ++ |
| int txt2cmd | +( | +char * | +payload | ) | ++ |
+
|
+ +extern | +
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
#include <Arduino.h>#include "itemCmd.h"#include "main.h"#include "Streaming.h"#include "item.h"#include <Adafruit_NeoPixel.h>+Functions | |
| int | txt2cmd (char *payload) |
| int txt2cmd | +( | +char * | +payload | ) | ++ |
![]() |
+
+ LightHub
+
+ |
+
#include "Arduino.h"Go to the source code of this file.
++Classes | |
| union | itemCmdStore |
| union | itemArgStore |
| class | itemCmd |
+Macros | |
| #define | commandsNum sizeof(commands_P)/sizeof(cmdstr) |
| #define | CMD_ON 1 |
| #define | CMD_OFF 2 |
| #define | CMD_RESTORE 3 |
| #define | CMD_TOGGLE 4 |
| #define | CMD_HALT 5 |
| #define | CMD_XON 6 |
| #define | CMD_XOFF 7 |
| #define | CMD_UP 8 |
| #define | CMD_DN 9 |
| #define | CMD_HEAT 0xa |
| #define | CMD_COOL 0xb |
| #define | CMD_AUTO 0xc |
| #define | CMD_FAN 0xd |
| #define | CMD_DRY 0xe |
| #define | CMD_STOP 0xf |
| #define | CMD_HIGH 0x10 |
| #define | CMD_MED 0x11 |
| #define | CMD_LOW 0x12 |
| #define | CMD_ENABLED 0x13 |
| #define | CMD_DISABLED 0x14 |
| #define | CMD_TRUE 0x15 |
| #define | CMD_FALSE 0x16 |
| #define | CMD_RGB 0x17 |
| #define | CMD_HSV 0x18 |
| #define | CMD_MASK 0xff |
| #define | FLAG_MASK 0xff00 |
| #define | CMD_VOID 0 |
| #define | CMD_UNKNOWN -1 |
| #define | CMD_JSON -2 |
| #define | SEND_COMMAND 0x100 |
| #define | SEND_PARAMETERS 0x200 |
| #define | SEND_RETRY 0x400 |
| #define | SEND_DEFFERED 0x800 |
| #define | ACTION_NEEDED 0x1000 |
| #define | ACTION_IN_PROCESS 0x2000 |
| #define | ST_VOID 0 |
| #define | ST_PERCENTS 1 |
| #define | ST_TENS 2 |
| #define | ST_HSV 3 |
| #define | ST_HS 4 |
| #define | ST_FLOAT_CELSIUS 5 |
| #define | ST_FLOAT_FARENHEIT 6 |
| #define | ST_RGB 7 |
| #define | ST_RGBW 8 |
| #define | ST_PERCENTS255 9 |
| #define | ST_HSV255 10 |
| #define | ST_INT32 11 |
| #define | ST_UINT32 12 |
| #define | ST_STRING 13 |
| #define | ST_FLOAT 14 |
+Typedefs | |
| typedef char | cmdstr[9] |
| #include "item.h" More... | |
+Functions | |
| int | txt2cmd (char *payload) |
+Variables | |
| const cmdstr commands_P[] | PROGMEM |
| #define ACTION_IN_PROCESS 0x2000 | +
| #define ACTION_NEEDED 0x1000 | +
| #define CMD_AUTO 0xc | +
| #define CMD_COOL 0xb | +
| #define CMD_DISABLED 0x14 | +
| #define CMD_DN 9 | +
| #define CMD_DRY 0xe | +
| #define CMD_ENABLED 0x13 | +
| #define CMD_FALSE 0x16 | +
| #define CMD_FAN 0xd | +
| #define CMD_HALT 5 | +
| #define CMD_HEAT 0xa | +
| #define CMD_HIGH 0x10 | +
| #define CMD_HSV 0x18 | +
| #define CMD_JSON -2 | +
| #define CMD_LOW 0x12 | +
| #define CMD_MASK 0xff | +
| #define CMD_MED 0x11 | +
| #define CMD_OFF 2 | +
| #define CMD_ON 1 | +
| #define CMD_RESTORE 3 | +
| #define CMD_RGB 0x17 | +
| #define CMD_STOP 0xf | +
| #define CMD_TOGGLE 4 | +
| #define CMD_TRUE 0x15 | +
| #define CMD_UNKNOWN -1 | +
| #define CMD_UP 8 | +
| #define CMD_VOID 0 | +
| #define CMD_XOFF 7 | +
| #define CMD_XON 6 | +
| #define commandsNum sizeof(commands_P)/sizeof(cmdstr) | +
| #define FLAG_MASK 0xff00 | +
| #define SEND_COMMAND 0x100 | +
| #define SEND_DEFFERED 0x800 | +
| #define SEND_PARAMETERS 0x200 | +
| #define SEND_RETRY 0x400 | +
| #define ST_FLOAT 14 | +
| #define ST_FLOAT_CELSIUS 5 | +
| #define ST_FLOAT_FARENHEIT 6 | +
| #define ST_HS 4 | +
| #define ST_HSV 3 | +
| #define ST_HSV255 10 | +
| #define ST_INT32 11 | +
| #define ST_PERCENTS 1 | +
| #define ST_PERCENTS255 9 | +
| #define ST_RGB 7 | +
| #define ST_RGBW 8 | +
| #define ST_STRING 13 | +
| #define ST_TENS 2 | +
| #define ST_UINT32 12 | +
| #define ST_VOID 0 | +
| typedef char cmdstr[9] | +
#include "item.h"
+ +| int txt2cmd | +( | +char * | +payload | ) | ++ |
| const cmdstr commands_P [] PROGMEM | +
![]() |
+
+ LightHub
+
+ |
+
![]() |
+
+ LightHub
+
+ |
+
+Functions | |
| PubSubClient | mqttClient (ethClient) |
| void | cleanConf () |
| bool | isNotRetainingStatus () |
| void | mqttCallback (char *topic, byte *payload, unsigned int length) |
| void | printMACAddress () |
| char * | getStringFromConfig (aJsonObject *a, int i) |
| char * | getStringFromConfig (aJsonObject *a, char *name) |
| void | setupOTA (void) |
| void | setupSyslog () |
| lan_status | lanLoop () |
| void | onMQTTConnect () |
| void | ip_ready_config_loaded_connecting_to_broker () |
| void | onInitialStateInitLAN () |
| void | resetHard () |
| void | Changed (int i, DeviceAddress addr, float currentTemp) |
| void | cmdFunctionHelp (int arg_cnt, char **args) |
| void | printCurentLanConfig () |
| void | cmdFunctionKill (int arg_cnt, char **args) |
| void | cmdFunctionReboot (int arg_cnt, char **args) |
| void | applyConfig () |
| void | printConfigSummary () |
| void | cmdFunctionLoad (int arg_cnt, char **args) |
| int | loadConfigFromEEPROM () |
| void | cmdFunctionReq (int arg_cnt, char **args) |
| int | mqttConfigRequest (int arg_cnt, char **args) |
| int | mqttConfigResp (char *as) |
| void | cmdFunctionSave (int arg_cnt, char **args) |
| void | cmdFunctionIp (int arg_cnt, char **args) |
| void | cmdFunctionClearEEPROM (int arg_cnt, char **args) |
| void | cmdFunctionPwd (int arg_cnt, char **args) |
| void | cmdFunctionSetMac (int arg_cnt, char **args) |
| void | cmdFunctionGet (int arg_cnt, char **args) |
| void | printBool (bool arg) |
| void | saveFlash (short n, char *str) |
| int | loadFlash (short n, char *str, short l) |
| void | saveFlash (short n, IPAddress &ip) |
| int | ipLoadFromFlash (short n, IPAddress &ip) |
| lan_status | loadConfigFromHttp (int arg_cnt, char **args) |
| void | preTransmission () |
| void | postTransmission () |
| void | setup_main () |
| void | printFirmwareVersionAndBuildOptions () |
| void | publishStat () |
| void | setupMacAddress () |
| void | setupCmdArduino () |
| void | loop_main () |
| void | owIdle (void) |
| void | ethernetIdle (void) |
| void | modbusIdle (void) |
| void | inputLoop (void) |
| void | inputSetup (void) |
| void | pollingLoop (void) |
| bool | isThermostatWithMinArraySize (aJsonObject *item, int minimalArraySize) |
| bool | thermoDisabledOrDisconnected (aJsonObject *thermoExtensionArray, int thermoStateCommand) |
| void | thermoLoop (void) |
| short | thermoSetCurTemp (char *name, float t) |
+Variables | |
| EthernetClient | ethClient |
| Streamlog debugSerial & | debugSerialPort |
| statusLED | LED (ledRED) |
| lan_status | lanStatus = INITIAL_STATE |
| const char configserver[] | PROGMEM = CONFIG_SERVER |
| char * | deviceName = NULL |
| aJsonObject * | topics = NULL |
| aJsonObject * | root = NULL |
| aJsonObject * | items = NULL |
| aJsonObject * | inputs = NULL |
| aJsonObject * | mqttArr = NULL |
| aJsonObject * | modbusObj = NULL |
| aJsonObject * | owArr = NULL |
| aJsonObject * | dmxArr = NULL |
| uint32_t | nextPollingCheck = 0 |
| uint32_t | nextInputCheck = 0 |
| uint32_t | nextLanCheckTime = 0 |
| uint32_t | nextThermostatCheck = 0 |
| uint32_t | nextSensorCheck =0 |
| uint32_t | WiFiAwaitingTime =0 |
| aJsonObject * | pollingItem = NULL |
| bool | owReady = false |
| bool | configOk = false |
| bool | configLoaded = false |
| bool | initializedListeners = false |
| int8_t | ethernetIdleCount =0 |
| int8_t | configLocked = 0 |
| ModbusMaster | node |
| byte | mac [6] |
| bool | wifiInitialized |
| int | mqttErrorRate |
| void applyConfig | +( | +) | ++ |
| void Changed | +( | +int | +i, | +
| + | + | DeviceAddress | +addr, | +
| + | + | float | +currentTemp | +
| + | ) | ++ |
TODO: Refactore using Items interface
+ +| void cleanConf | +( | +) | ++ |
| void cmdFunctionClearEEPROM | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionGet | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionHelp | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionIp | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionKill | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionLoad | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionPwd | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionReboot | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionReq | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionSave | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void cmdFunctionSetMac | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| void ethernetIdle | +( | +void | +) | ++ |
| char* getStringFromConfig | +( | +aJsonObject * | +a, | +
| + | + | char * | +name | +
| + | ) | ++ |
| char* getStringFromConfig | +( | +aJsonObject * | +a, | +
| + | + | int | +i | +
| + | ) | ++ |
| void inputLoop | +( | +void | +) | ++ |
| void inputSetup | +( | +void | +) | ++ |
| void ip_ready_config_loaded_connecting_to_broker | +( | +) | ++ |
| int ipLoadFromFlash | +( | +short | +n, | +
| + | + | IPAddress & | +ip | +
| + | ) | ++ |
| bool isNotRetainingStatus | +( | +) | ++ |
| bool isThermostatWithMinArraySize | +( | +aJsonObject * | +item, | +
| + | + | int | +minimalArraySize | +
| + | ) | ++ |
| lan_status lanLoop | +( | +) | ++ |
| int loadConfigFromEEPROM | +( | +) | ++ |
| lan_status loadConfigFromHttp | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| int loadFlash | +( | +short | +n, | +
| + | + | char * | +str, | +
| + | + | short | +l | +
| + | ) | ++ |
| void loop_main | +( | +) | ++ |
| void modbusIdle | +( | +void | +) | ++ |
| void mqttCallback | +( | +char * | +topic, | +
| + | + | byte * | +payload, | +
| + | + | unsigned int | +length | +
| + | ) | ++ |
| PubSubClient mqttClient | +( | +ethClient | +) | ++ |
| int mqttConfigRequest | +( | +int | +arg_cnt, | +
| + | + | char ** | +args | +
| + | ) | ++ |
| int mqttConfigResp | +( | +char * | +as | ) | ++ |
| void onInitialStateInitLAN | +( | +) | ++ |
| void onMQTTConnect | +( | +) | ++ |
strncat(buf,item->name,sizeof(buf)); strncat(buf,",",sizeof(buf));
+mqttClient.publish(topic,buf,true);
+ +| void owIdle | +( | +void | +) | ++ |
| void pollingLoop | +( | +void | +) | ++ |
| void postTransmission | +( | +) | ++ |
| void preTransmission | +( | +) | ++ |
| void printBool | +( | +bool | +arg | ) | ++ |
| void printConfigSummary | +( | +) | ++ |
| void printCurentLanConfig | +( | +) | ++ |
| void printFirmwareVersionAndBuildOptions | +( | +) | ++ |
| void printMACAddress | +( | +) | ++ |
| void publishStat | +( | +) | ++ |
| void resetHard | +( | +) | ++ |
| void saveFlash | +( | +short | +n, | +
| + | + | char * | +str | +
| + | ) | ++ |
| void saveFlash | +( | +short | +n, | +
| + | + | IPAddress & | +ip | +
| + | ) | ++ |
| void setup_main | +( | +) | ++ |
| void setupCmdArduino | +( | +) | ++ |
| void setupMacAddress | +( | +) | ++ |
| void setupOTA | +( | +void | +) | ++ |
| void setupSyslog | +( | +) | ++ |
| bool thermoDisabledOrDisconnected | +( | +aJsonObject * | +thermoExtensionArray, | +
| + | + | int | +thermoStateCommand | +
| + | ) | ++ |
| void thermoLoop | +( | +void | +) | ++ |
| short thermoSetCurTemp | +( | +char * | +name, | +
| + | + | float | +t | +
| + | ) | ++ |
| bool configLoaded = false | +
| int8_t configLocked = 0 | +
| bool configOk = false | +
| Streamlog infoSerial& debugSerialPort | +
| char* deviceName = NULL | +
| aJsonObject* dmxArr = NULL | +
| EthernetClient ethClient | +
| int8_t ethernetIdleCount =0 | +
| bool initializedListeners = false | +
| aJsonObject* inputs = NULL | +
| aJsonObject* items = NULL | +
| lan_status lanStatus = INITIAL_STATE | +
| byte mac[6] | +
| aJsonObject* modbusObj = NULL | +
| aJsonObject* mqttArr = NULL | +
| int mqttErrorRate | +
| uint32_t nextInputCheck = 0 | +
| uint32_t nextLanCheckTime = 0 | +
| uint32_t nextPollingCheck = 0 | +
| uint32_t nextSensorCheck =0 | +
| uint32_t nextThermostatCheck = 0 | +
| ModbusMaster node | +
| aJsonObject* owArr = NULL | +
| bool owReady = false | +
| aJsonObject* pollingItem = NULL | +
| const char verval_P [] PROGMEM = CONFIG_SERVER | +
| aJsonObject* root = NULL | +
| aJsonObject* topics = NULL | +
| uint32_t WiFiAwaitingTime =0 | +
| bool wifiInitialized | +