Compare commits
121 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 833b9338bb | |||
| 6fe28695f2 | |||
| 70ccf9f1c9 | |||
| fbdf400a2b | |||
| f835b04204 | |||
| 5227182dd8 | |||
| 4a75a60dc4 | |||
| 4a5f219fec | |||
| 410c79a78e | |||
| d5aa9f5ac6 | |||
|
|
302a03e274 | ||
| 1ce769de92 | |||
| ac9ed03fe5 | |||
| f60b8188dc | |||
| 0c3108c620 | |||
| 1316835cad | |||
| bc867d0de0 | |||
| c03821e94a | |||
| c67bab2173 | |||
| 2779c9f7d5 | |||
| 12fe7ea71e | |||
| 184abef5a4 | |||
| 44d0568267 | |||
| 6cd4e5dbea | |||
| c185de3f26 | |||
| 2e5c7d8045 | |||
| 201f492e29 | |||
| 2ee8ad5ab6 | |||
| ce3571fc75 | |||
| 3b92723ee3 | |||
| 8dd0b57f72 | |||
| 99e9c1a27a | |||
| 4e22a8f22d | |||
| ff35636a18 | |||
|
|
a7dac3310f | ||
| bf76a5c23c | |||
| 9bfaca7898 | |||
| 1e682ea8f3 | |||
| 7e14e7143c | |||
| f96f125fe6 | |||
| 034319ed67 | |||
| 196e34266a | |||
| 0da8708327 | |||
| a28def023e | |||
| 43bddffcea | |||
| 80fe47bd33 | |||
| 35e51c6a94 | |||
| 88217b524c | |||
| 74cea9c6e3 | |||
| 2946409896 | |||
| 3df1eb1cc5 | |||
| a9bcba3d7c | |||
| f22e84a6db | |||
| 7fce2b34b2 | |||
| 6485833f7d | |||
| 56a8c5c80b | |||
| 09fa78b0c8 | |||
| bbf8f4d46e | |||
| 674a438bde | |||
| 8e96b4623f | |||
| 64a2bb7eea | |||
| c2815a2d00 | |||
| 8f88df5739 | |||
| 256ca471fc | |||
| a8b64e5f03 | |||
| 39d876be96 | |||
| aa827b8119 | |||
| 5888931870 | |||
| 7967897318 | |||
| 36a7242a60 | |||
| 32eacaeb07 | |||
| c2fead7ac5 | |||
| 3ac5480735 | |||
| 50cec6abf7 | |||
| 7862dfea81 | |||
| 2f398df8aa | |||
| 5eae1b1838 | |||
| 473256d591 | |||
| 48a5e8fd31 | |||
| bb65782ad0 | |||
| 264b61e7e6 | |||
| 9ae6d9991e | |||
| d219a594c5 | |||
| f241bc0c77 | |||
| a911f43f0c | |||
| 64d9d13137 | |||
| ecff141f6a | |||
| a0f99d96bc | |||
| 668464f229 | |||
| ff606482e8 | |||
| f9b8f95eea | |||
| c43238c714 | |||
| 0eb2924816 | |||
| bfb28512cc | |||
| 7c642ec286 | |||
| 0474c0ac48 | |||
| 3d03aa661d | |||
| 0d231345c2 | |||
| a444ef9b31 | |||
| 8b0ba44445 | |||
| 058cde331d | |||
| e7f606d16c | |||
| cecb64fbc6 | |||
| 896321ba84 | |||
| 0622e2abcd | |||
| 9afef45a2a | |||
| 9b164a1dfc | |||
| 5028361a6d | |||
| 43162cf0f0 | |||
| 54d22620b0 | |||
| 0055ad0463 | |||
| 71be5a1c7c | |||
| 3ab5a9fbc7 | |||
| 7bfe7ed330 | |||
| 9fa9e0f481 | |||
| 14ff55fd59 | |||
| 963a934f51 | |||
| d81308ad4d | |||
| 118fd25186 | |||
| 544252fb14 | |||
| b6987bc5bf |
5
.gitignore
vendored
@@ -19,3 +19,8 @@ custom-build-flags/build_flags_nrf52840
|
||||
.vscode/.browse.c_cpp.db
|
||||
.vscode/c_cpp_properties.json
|
||||
.vscode/launch.json
|
||||
lighthub/modules/out_elevator.cpp
|
||||
lighthub/modules/out_elevator.h
|
||||
spare_files/*
|
||||
spare_files/ArduinoOTA/*
|
||||
lib/*
|
||||
36
README.md
@@ -9,10 +9,10 @@ Lighthub allows connecting together:
|
||||
* Contact sensors (switches, buttons etc)
|
||||
* Analog sensors (Leak detectors, Knobs etc)
|
||||
* 1-Wire temperature sensors (up to 20 on single bus)
|
||||
* Temperature/Humidity/CO2 sensors: DHT22, CS811, HDC1080
|
||||
* Temperature/Humidity/CO2 sensors: DHT22, CS811, HDC1080 and any type of Modbus connected devices
|
||||
* Standard nonexpensive Relay board with TTL inputs, [like this](http://ali.pub/2zlosh) to control AC powered lamps, floor heaters, boilers etc
|
||||
* [Standard nonexpensive LED dimmers](http://ali.pub/2zlokp) and [AC DMX-512 dimmers](http://ali.pub/2zlont)
|
||||
* Modbus RTU devices (Currently, are deployed two types of Modbus devices: AC Dimmer and Ventilation set (Based on [Vacon 10 controller](http://files.danfoss.com/download/Drives/Vacon-10-Quick-Guide-DPD00714F1-UK.pdf))
|
||||
* Modbus RTU devices (Currently, possible to control two types of Modbus devices: AC Dimmer and Ventilation set (Based on [Vacon 10 controller](http://files.danfoss.com/download/Drives/Vacon-10-Quick-Guide-DPD00714F1-UK.pdf)) and configure polling of virtually any Modbus device.
|
||||
* Simple DMX wall sensor panel [like this](http://ali.pub/2zlohe)
|
||||
|
||||
[List of non-expensive compatible components from AliExpress here](http://ppv.alipromo.com/custom/promo.php?hash=pjagwaovaero6vkeabjpkpvy4gznbgkc&landing_id=39661)
|
||||
@@ -22,7 +22,8 @@ Lighthub allows connecting together:
|
||||
|
||||

|
||||
|
||||
Where is possible both, to configure local control/mapping between inputs and outputs (light, floor heating thermostats) and remote control from MQTT enabled software. At the moment, LightHub tested and perfectly working with following set of complementary free software:
|
||||
Where is possible both, to configure local control/mapping between inputs and outputs (light, floor heating thermostats) and remote control from MQTT enabled software and between controllers. At the moment, LightHub tested and perfectly working with following set of complementary free software:
|
||||
* [HomeAssistant](https://www.home-assistant.io) - the best choice of HomeAutomation system
|
||||
* [Openhab or Openhab2 Smarthome software](http://www.openhab.org/)
|
||||
Openhab provides own native mobile app both, for IoS and Android, and even allow you to use Apple's HomeKit and Google Home to say "Siri, turn on light in bedroom" or "Hey Google, set bedroom light to Red" but requires some server to be installed in-premises (Raspberry PI with [Openhabian](https://docs.openhab.org/installation/openhabian) will good enough)
|
||||
* [HomeRemote mobile client](http://thehomeremote.com/)
|
||||
@@ -32,11 +33,13 @@ Home Remote mobile applicatios for IoS and Android requires just MQTT broker to
|
||||
Scalability of Lighthub is virtually unlimited: Setup so many controllers you needed in most convenient places of your house - MQTT broker will allow controllers communicate each other and with Openhab/NodeRed/HomeRemote and propagate commands across network.
|
||||
|
||||
# [Please refer to our Wiki for insructions.](https://github.com/anklimov/lighthub/wiki/Configuring)
|
||||
* [Russian-language Wiki](https://www.lazyhome.ru/dokuwiki/doku.php)
|
||||
* [Compiling and flashing](https://github.com/anklimov/lighthub/wiki/Compiling-and-flashing)
|
||||
* [Configuring](https://github.com/anklimov/lighthub/wiki/Configuring)
|
||||
* [Channel commands](https://github.com/anklimov/lighthub/wiki/Channel-commands)
|
||||
* [OpenHab integration](https://github.com/anklimov/lighthub/wiki/OpenHab--integration)
|
||||
|
||||
* [Doxygen developers documentation](https://anklimov.github.io/lighthub/docs/html/index.html)
|
||||
* [Latest Release notes](https://github.com/anklimov/lighthub/releases/tag/v3.0.0)
|
||||
|
||||
# Platforms specific details:
|
||||
|
||||
@@ -55,7 +58,7 @@ Scalability of Lighthub is virtually unlimited: Setup so many controllers you ne
|
||||
**ESP8266, ESP32**: (Tested)
|
||||
* DMX-OUT on USART1 TX
|
||||
* DMX-IN - disabled - not possible to deploy in ESP8266
|
||||
* Modbus - disabled. Might be configured in future on USART0 instead CLI/DEBUG
|
||||
* Modbus - disabled on ESP8266, Might be configured in future on USART0 instead CLI/DEBUG, on ESP32 binded with UART2
|
||||
* Uses Wifi interface instead wired connection
|
||||
|
||||
**NRF52840** : Still early development stage
|
||||
@@ -67,11 +70,14 @@ Scalability of Lighthub is virtually unlimited: Setup so many controllers you ne
|
||||
* USE_1W_PIN=49 // use direct connection to 1W devices on 49 pin, no I2C bridge DS2482-100
|
||||
* SD_CARD_INSERTED // enable sd-card support and fix lan starting
|
||||
* SERIAL_BAUD=115200 // set baud rate for console on Serial0
|
||||
* Wiz5500 //Use Wiznet 5500 library instead Wiznet 5100
|
||||
* Wiz5500 //Use Wiznet 5500 library instead universal Wiznet
|
||||
* Wiz5100 //Use Wiznet 5500 library instead universal Wiznet
|
||||
* DISABLE_FREERAM_PRINT // disable printing free Ram in bytes
|
||||
* CUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:00 //set firmware macaddress
|
||||
* DMX_DISABLE //disable DMX support
|
||||
* MODBUS_DISABLE // disable Modbus support
|
||||
* MODBUS_DISABLE // disable old Modbus driver
|
||||
* MBUS_DISABLE // disable new Modbus driver
|
||||
* MODBUS_TX_PIN=13
|
||||
* OWIRE_DISABLE // disable OneWire support
|
||||
* ARTNET_ENABLE //Enable Artnet protocol support
|
||||
* AVR_DMXOUT_PIN=18 // Set Pin for DMXOUT on megaatmega2560
|
||||
@@ -82,11 +88,27 @@ Scalability of Lighthub is virtually unlimited: Setup so many controllers you ne
|
||||
* WIFI_MANAGER_DISABLE //Disable wifi manager for esp8266
|
||||
* COUNTER_DISABLE //disable Counter, Uptime input support (for RAM savings on mega2560)
|
||||
* DHT_DISABLE //disable DHT input support (for RAM savings on mega2560)
|
||||
* PID_DISABLE // Disable PID regulator
|
||||
* STATUSLED // Enable RGB status led on pins 50,51,52 (DUE only)
|
||||
* DMX_SMOOTH //Smooth transition on DMX channels (DUE only)
|
||||
* OTA // Enable Other The Air firmware upload
|
||||
* W5500_CS_PIN=53 //Defines CS pin for Ethernet adapter (10-th by default)
|
||||
* WIFI_ENABLE //Enable WiFi for ESP (Wiznet by default)
|
||||
* SPILED_DISABLE //Disable SPI LED library
|
||||
* AC_DISABLE //Disable UART Hayer Air condition driver
|
||||
* M5STACK //Logging to M5Stack OLED screen
|
||||
* NO_HOMIE //Disable HOMIE discovery topics
|
||||
* BRIGHT_STEP //Scale DMX bright - Table1
|
||||
* BRIGHT_LOG //Scale DMX bright - Table2
|
||||
* MCP23017 allow I2C input port extender on MCP23017 chip
|
||||
* RESTART_LAN_ON_MQTT_ERRORS //reinit LAN if many mqtt errors occured
|
||||
* DEVICE_NAME short handy device name which is used instead of mac for download config http://{MY_CONFIG_SERVER}/{DEVICE_NAME}_config.json
|
||||
* SYSLOG_ENABLE enable UDP SYSLOG support feature(under DEVELOPMENT) that must be configured through config file
|
||||
* WITH_PRINTEX_LIB use PrintEx library (develop experimental feature)
|
||||
* CSSHDC_DISABLE //Disable CS811 and HDC1080 sensors support
|
||||
* FASTLED - using FASTLED library instead default ADAFRUIT_LED
|
||||
* SCALE_VOLUME_100 using 0..100 scaling in /set topics instead 0.255 (default)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
-DCONTROLLINO
|
||||
-DCUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:07
|
||||
-DWiz5100
|
||||
#-DPID_DISABLE
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
-D CORS=\"http://lazyhome.ru\"
|
||||
|
||||
@@ -1,7 +1,17 @@
|
||||
#-DW5500_CS_PIN=53
|
||||
-DDMX_SMOOTH
|
||||
-DSYSLOG_ENABLE
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
#-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
-DARTNET_ENABLE
|
||||
-DOTA
|
||||
-DSTATUSLED
|
||||
#-DPID_DISABLE
|
||||
#-DUARTBRIDGE_ENABLE
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
-DMCP23017
|
||||
-DCORS=\"http://lazyhome.ru\"
|
||||
-DTIMER_INT
|
||||
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
-DOTA_PORT=80
|
||||
@@ -1,5 +0,0 @@
|
||||
-DARTNET_ENABLE
|
||||
-DDMX_SMOOTH
|
||||
-DSTATUSLED
|
||||
-DSYSLOG_ENABLE
|
||||
-DWiz5100
|
||||
@@ -1,5 +0,0 @@
|
||||
-DWiz5500
|
||||
-DARTNET_ENABLE
|
||||
-DDMX_SMOOTH
|
||||
-DSTATUSLED
|
||||
-DSYSLOG_ENABLE
|
||||
@@ -6,10 +6,45 @@
|
||||
-DMODBUS_DISABLE
|
||||
#-DMBUS_DISABLE
|
||||
-DCOUNTER_DISABLE
|
||||
#-DSYSLOG_ENABLE - udp errors
|
||||
-DSYSLOG_ENABLE
|
||||
# - udp errors
|
||||
-DOTA
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
#- ArduinoMDNS didnt working
|
||||
|
||||
-DMCP23017
|
||||
-DMODBUS_TX_PIN=13
|
||||
#-DARTNET_ENABLE - udp rx errors ((
|
||||
#-DUSE_1W_PIN=16
|
||||
#-DW5500_CS_PIN=15
|
||||
#-DPID_DISABLE
|
||||
|
||||
#Define pins for modbus UART Serial1. Default - 9/10 is utilized by ESP flash
|
||||
#-DMODBUS_UART_RX_PIN=15
|
||||
#-DMODBUS_UART_TX_PIN=2
|
||||
#-DmodbusSerial=Serial1
|
||||
#-DMODBUS_DEBUG
|
||||
|
||||
# Use default pins for modbus UART
|
||||
#-DMODBUS_UART_RX_PIN=-1
|
||||
#-DMODBUS_UART_TX_PIN=-1
|
||||
|
||||
# Example of UARTBRIDGE configuration
|
||||
#-DUARTBRIDGE_ENABLE
|
||||
#-DMODULE_UATRBRIDGE_UARTA=Serial1
|
||||
#-DMODULE_UATRBRIDGE_UARTA_RX_PIN=15
|
||||
#-DMODULE_UATRBRIDGE_UARTA_TX_PIN=2
|
||||
|
||||
#-DMODULE_UATRBRIDGE_UARTB=Serial2
|
||||
#-DMODULE_UATRBRIDGE_UARTB_RX_PIN=-1
|
||||
#-DMODULE_UATRBRIDGE_UARTB_TX_PIN=-1
|
||||
|
||||
#-DAUTOCONNECT_RECONNECT_WAITTIME=60
|
||||
|
||||
-DFS_STORAGE
|
||||
-DFS_PREPARE
|
||||
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
-D CORS=\"http://lazyhome.ru\"
|
||||
-DOTA_PORT=80
|
||||
@@ -7,3 +7,15 @@
|
||||
-DARTNET_ENABLE
|
||||
-DUSE_1W_PIN=16
|
||||
-DW5500_CS_PIN=15
|
||||
#-DPID_DISABLE
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
-DWM_MDNS
|
||||
-DMCP23017
|
||||
|
||||
-DFS_STORAGE
|
||||
-DFS_PREPARE
|
||||
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
#-D CORS=\"http://lazyhome.ru\"
|
||||
-DOTA_PORT=80
|
||||
@@ -1,10 +1,37 @@
|
||||
-DW5500_CS_PIN=53
|
||||
-DARTNET_ENABLE
|
||||
-DDMX_SMOOTH
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
-DMODBUS_SERIAL_BAUD=9600
|
||||
-DOTA
|
||||
-DSYSLOG_ENABLE
|
||||
#-DWiz5500
|
||||
-DSTATUSLED
|
||||
-DMCP23017
|
||||
#-DPID_DISABLE
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
-DTIMER_INT
|
||||
|
||||
# Serial parameters for LEGACY Modbus
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
|
||||
#Set Logariphmic law for DMX channels bright
|
||||
-DBRIGHT_LOG
|
||||
|
||||
#disable HOMIE topics publishing
|
||||
-DNO_HOMIE
|
||||
|
||||
#Put modbus exchange in debug hex dump
|
||||
#-DMODBUS_DEBUG
|
||||
|
||||
#Uncomment next 3 lines (or add it to custom build flags) to use Native USB port for debug/CLI instead Serial
|
||||
#-DdebugSerialPort=SerialUSB
|
||||
#-DSerialPortType=Serial_
|
||||
#-DSERIAL_BAUD=0
|
||||
|
||||
#Default SerialDebug settings
|
||||
#-DSERIAL_BAUD=115200
|
||||
#-DdebugSerialPort=Serial
|
||||
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
-D CORS=\"http://lazyhome.ru\"
|
||||
-DOTA_PORT=80
|
||||
@@ -9,3 +9,15 @@
|
||||
-DM5STACK
|
||||
#-DSYSLOG_ENABLE
|
||||
-DUSE_1W_PIN=16
|
||||
#-DPID_DISABLE
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
-DMCP23017
|
||||
|
||||
-DFS_STORAGE
|
||||
-DFS_PREPARE
|
||||
|
||||
-DOTA
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
-D CORS=\"http://lazyhome.ru\"
|
||||
-DOTA_PORT=80
|
||||
@@ -1,4 +1,11 @@
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
#-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
-DAVR_DMXOUT_PIN=18
|
||||
-DSYSLOG_ENABLE
|
||||
-DWiz5100
|
||||
#-DPID_DISABLE
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
-D CORS=\"http://lazyhome.ru\"
|
||||
-DOTA_PORT=80
|
||||
@@ -1,4 +1,11 @@
|
||||
-DWiz5500
|
||||
-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
#-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
-DAVR_DMXOUT_PIN=18
|
||||
-DSYSLOG_ENABLE
|
||||
#-DPID_DISABLE
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
-D CORS=\"http://lazyhome.ru\"
|
||||
-DOTA_PORT=80
|
||||
27
build-flags/build_flags_mega2560-optiboot
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
#-DMODBUS_DIMMER_PARAM=SERIAL_8E1
|
||||
#-DAVR_DMXOUT_PIN=18
|
||||
-DDMX_DISABLE
|
||||
-DMODBUS_DISABLE
|
||||
-DMBUS_DISABLE
|
||||
-DOWIRE_DISABLE
|
||||
-DDHT_DISABLE
|
||||
-DCOUNTER_DISABLE
|
||||
-DNO_HOMIE
|
||||
-DCSSHDC_DISABLE
|
||||
-DSPILED_DISABLE
|
||||
#-DAC_DISABLE
|
||||
-DSYSLOG_ENABLE
|
||||
-DPID_DISABLE
|
||||
-DOTA
|
||||
-DMOTOR_DISABLE
|
||||
#-DWiz5100
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
#-DMDNS_ENABLE
|
||||
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
-D CORS=\"http://lazyhome.ru\"
|
||||
|
||||
# Example of UARTBRIDGE configuration
|
||||
#-DUARTBRIDGE_ENABLE
|
||||
-DOTA_PORT=80
|
||||
@@ -12,3 +12,18 @@
|
||||
-DSPILED_DISABLE
|
||||
-DAC_DISABLE
|
||||
-DSYSLOG_ENABLE
|
||||
-DPID_DISABLE
|
||||
-DWiz5100
|
||||
-DMOTOR_DISABLE
|
||||
-DOTA
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
#-DMDNS_ENABLE
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
-D CORS=\"http://lazyhome.ru\"
|
||||
-DOTA_PORT=80
|
||||
-DHSV_DISABLE
|
||||
-DMULTIVENT_DISABLE
|
||||
-DPID_DISABLE
|
||||
-DPWM_DISABLE
|
||||
-DSPILED_DISABLE
|
||||
-DOW_DEVICES_LIMIT=17
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
-DWiz5500
|
||||
#-DWiz5500
|
||||
#-DW5500_CS_PIN=10
|
||||
-DDMX_DISABLE
|
||||
-DMODBUS_DISABLE
|
||||
@@ -11,3 +11,6 @@
|
||||
-DAC_DISABLE
|
||||
-DSYSLOG_ENABLE
|
||||
-DMBUS_DISABLE
|
||||
-DPID_DISABLE
|
||||
#-DMCP23017
|
||||
|
||||
23
build-flags/build_flags_stm32
Normal file
@@ -0,0 +1,23 @@
|
||||
-DDMX_DISABLE
|
||||
-DMODBUS_DISABLE
|
||||
-DMBUS_DISABLE
|
||||
-DOWIRE_DISABLE
|
||||
-DDHT_DISABLE
|
||||
-DCOUNTER_DISABLE
|
||||
-DNO_HOMIE
|
||||
-DCSSHDC_DISABLE
|
||||
-DSPILED_DISABLE
|
||||
-DAC_DISABLE
|
||||
-DPID_DISABLE
|
||||
-DdebugSerialPort=SerialUSB
|
||||
-DSerialPortType=USBSerial
|
||||
-DSERIAL_BAUD=0
|
||||
|
||||
-DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC
|
||||
-DUSBCON
|
||||
#-DUSBD_VID=0x0483
|
||||
#-DUSBD_PID=0x5740
|
||||
#-DUSB_MANUFACTURER="Unknown"
|
||||
#-DUSB_PRODUCT="\"BLUEPILL_F103C8\""
|
||||
#-DHAL_PCD_MODULE_ENABLED
|
||||
#-D USBD_USE_CDC
|
||||
@@ -8,3 +8,5 @@
|
||||
-DCSSHDC_DISABLE
|
||||
-DSPILED_DISABLE
|
||||
-DAC_DISABLE
|
||||
-DPID_DISABLE
|
||||
-DUIPETHERNET
|
||||
|
||||
27
build_flags_template.sh
Normal file
@@ -0,0 +1,27 @@
|
||||
#! /bin/bash
|
||||
# usage:
|
||||
# first make your own copy of template
|
||||
# cp build_flags_template.sh my_build_flags.sh
|
||||
# then edit, change or comment something
|
||||
# nano my_build_flags.sh
|
||||
# and source it
|
||||
# source my_build_flags.sh
|
||||
echo "==============================================Custom build flags are:====================================================="
|
||||
export FLAGS="-DMY_CONFIG_SERVER=lazyhome.ru"
|
||||
export FLAGS="$FLAGS -DWATCH_DOG_TICKER_DISABLE"
|
||||
export FLAGS="$FLAGS -DUSE_1W_PIN=12"
|
||||
export FLAGS="$FLAGS -DSD_CARD_INSERTED"
|
||||
export FLAGS="$FLAGS -DSERIAL_BAUD=115200"
|
||||
export FLAGS="$FLAGS -DWiz5500"
|
||||
export FLAGS="$FLAGS -DDISABLE_FREERAM_PRINT"
|
||||
export FLAGS="$FLAGS -DCUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:00"
|
||||
export FLAGS="$FLAGS -DDMX_DISABLE"
|
||||
export FLAGS="$FLAGS -DMODBUS_DISABLE"
|
||||
export FLAGS="$FLAGS -DOWIRE_DISABLE"
|
||||
export FLAGS="$FLAGS -DAVR_DMXOUT_PIN=18"
|
||||
export FLAGS="$FLAGS -DLAN_INIT_DELAY=2000"
|
||||
export FLAGS="$FLAGS -DCONTROLLINO"
|
||||
export PLATFORMIO_BUILD_FLAGS="$FLAGS"
|
||||
echo PLATFORMIO_BUILD_FLAGS=$PLATFORMIO_BUILD_FLAGS
|
||||
echo "==============================================Custom build flags END====================================================="
|
||||
unset FLAGS
|
||||
BIN
compiled/Mega2560-optiboot/firmware.bin
Executable file
6908
compiled/Mega2560-optiboot/firmware.hex
Normal file
46
compiled/Mega2560-optiboot/mega2560-optiboot/config.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"syslog":["192.168.88.2"],
|
||||
"mqtt":["elev","192.168.88.22"],
|
||||
"dmx":[30],
|
||||
"items": {
|
||||
"relay1":[6,32],
|
||||
"relay2":[6,33],
|
||||
"relays":[7,["relay1","relay2"]],
|
||||
"sensair1":[44,[254,
|
||||
"sensair",
|
||||
{"co2":{"emit":"co2"}},
|
||||
{"mode":"auto"}
|
||||
]
|
||||
],
|
||||
"elevator":[15,{"baud":9600,"serial":"8N1"]
|
||||
},
|
||||
"modbus":
|
||||
{
|
||||
"sensair":{"baud":9600,
|
||||
"poll":{"irs":[[0,3],21,[25,30]],"regs":[0,1,31],"delay":1000},
|
||||
"par":{
|
||||
"co2":{"ir":3},
|
||||
"meterStat":{"ir":0},
|
||||
"alarmStat":{"ir":1},
|
||||
"outStat":{"ir":0},
|
||||
"pwm":{"ir":21},
|
||||
"typeid":{"ir":25,"type":"u32"},
|
||||
"mapver":{"ir":27},
|
||||
"fwver":{"ir":28},
|
||||
"sensorid":{"ir":29,"type":"u32"},
|
||||
"ack":{"reg":0},
|
||||
"command":{"reg":1},
|
||||
"abc":{"reg":31}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
"in":{ "23":{"item":"relays","emit":"in1"},
|
||||
"25":{"item":"relays","emit":"in2"},
|
||||
"27":{"item":"relays","emit":"in3"},
|
||||
"29":{"item":"relays","emit":"in4"}
|
||||
}
|
||||
}
|
||||
BIN
compiled/Mega2560-optiboot/mega2560-optiboot/firmware.bin
Executable file
6762
compiled/Mega2560-optiboot/mega2560-optiboot/firmware.hex
Normal file
1
compiled/Mega2560-optiboot/mega2560-optiboot/getCNF.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/arduinoOTA -d -address 192.168.88.70 -port 65280 -username arduino -password password -b /config
|
||||
1
compiled/Mega2560-optiboot/mega2560-optiboot/uploadCNF.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/arduinoOTA -address elev.local -port 65280 -username arduino -password password -sketch config.json -b -upload /config.json
|
||||
@@ -0,0 +1 @@
|
||||
..\tools\win\arduinoOTA.exe -address 192.168.88.21 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
1
compiled/Mega2560-optiboot/mega2560-optiboot/uploadOTA.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/arduinoOTA -address 192.168.11.213 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
61
compiled/Mega2560-optiboot/optiboot.hex
Normal file
@@ -0,0 +1,61 @@
|
||||
:020000023000CC
|
||||
:10FC000002C0EFC037C1112484B7882369F0982F50
|
||||
:10FC10009A70923049F081FF02C097EF94BF282E6E
|
||||
:10FC200080E002D10C94000085E08093810082E0A6
|
||||
:10FC30008093C00088E18093C1008CE08093C40071
|
||||
:10FC400086E08093C2008EE0EFD0279A84E023EC18
|
||||
:10FC50003FEF91E0309385002093840096BBB09BEA
|
||||
:10FC6000FECF1F9AA8954091C00047FD02C0815069
|
||||
:10FC700089F7CED0813479F4CBD0C82FDBD0C2380D
|
||||
:10FC800011F480E004C088E0C13809F083E0B9D005
|
||||
:10FC900080E1B7D0EECF823419F484E1D3D0F8CF2D
|
||||
:10FCA000853411F485E0FACF853581F4B1D0E82EA2
|
||||
:10FCB000AFD0F82E87FF07C08BB781608BBFEE0CEB
|
||||
:10FCC000FF1CB8D0E5CF8BB78E7FF8CF863579F49F
|
||||
:10FCD0009FD08D3451F49CD0CBB79AD0C170880F8F
|
||||
:10FCE0008C2B8BBF81E0AED0CCCF83E0FCCF8436B1
|
||||
:10FCF00009F046C08DD0C82FD0E0DC2FCC2788D0AB
|
||||
:10FD0000C82B86D0D82E5E018EEFB81A00E012E024
|
||||
:10FD10004801EFEF8E1A9E0A7BD0F80180838401A0
|
||||
:10FD20008A149B04A9F786D0F5E410E000E0DF1602
|
||||
:10FD300009F150E040E063E0C70153D08701C12CD6
|
||||
:10FD400092E0D92EF601419151916F0161E0C80115
|
||||
:10FD500048D00E5F1F4F2297A9F750E040E065E0C2
|
||||
:10FD6000C7013FD095CF6081C8018E0D9F1D01D185
|
||||
:10FD70000F5F1F4FF801FE5FC017D107A1F788CFB3
|
||||
:10FD8000843701F545D0C82FD0E0DC2FCC2740D0F8
|
||||
:10FD9000C82B3ED0D82E4ED08701F5E4DF120BC021
|
||||
:10FDA000CE0DDF1DC801DDD02CD00F5F1F4FC01757
|
||||
:10FDB000D107C1F76DCFF80187918F0122D021972C
|
||||
:10FDC000D1F766CF853739F435D08EE11AD088E97E
|
||||
:10FDD00018D081E05CCF813509F073CF88E024D062
|
||||
:10FDE00070CFFC010A0167BFE895112407B600FC3B
|
||||
:10FDF000FDCF667029F0452B19F481E187BFE895A6
|
||||
:10FE000008959091C00095FFFCCF8093C60008959F
|
||||
:10FE10008091C00087FFFCCF8091C00084FD01C0AD
|
||||
:10FE2000A8958091C6000895E0E6F0E098E19083FF
|
||||
:10FE300080830895EDDF803219F088E0F5DFFFCF91
|
||||
:10FE400084E1DFCFCF93C82FE3DFC150E9F7CF9133
|
||||
:10FE5000F1CFCF92DF92EF92FF92DC01CB01642FC2
|
||||
:10FE60006D01EE24FF24CBBEA901FF90EF90DF903F
|
||||
:10FE7000CF90B7CF2F923F924F925F926F927F9227
|
||||
:10FE80008F929F92AF92BF92CF92DF92EF92FF92AA
|
||||
:10FE90000F931F93CF93DF9300D0CDB7DEB7180138
|
||||
:10FEA000E9826B017C0110E000E029013A014C1865
|
||||
:10FEB0005D086E087F0846015701840C951CA61C3E
|
||||
:10FEC000B71C0215130531F489818823A1F188E05C
|
||||
:10FED000ABDFFFCF30E020E043E0C701B601B9DF80
|
||||
:10FEE00080E890E09B838A83ABBEF4012791369132
|
||||
:10FEF000C501B401641975098609970941E0A9DFB4
|
||||
:10FF00008A819B8101979B838A8392E0890E911C51
|
||||
:10FF1000A11CB11C8A819B81892B31F730E020E044
|
||||
:10FF200045E0C701B60195DF9FEFD91AE90AF90A42
|
||||
:10FF30000F5F1F4FC0CF0F900F900F90DF91CF91A9
|
||||
:10FF40001F910F91FF90EF90DF90CF90BF90AF90F7
|
||||
:10FF50009F908F907F906F905F904F903F902F90E9
|
||||
:10FF60000895F999FECF92BD81BDF89A992780B581
|
||||
:10FF70000895262FF999FECF1FBA92BD81BD20BDED
|
||||
:0EFF80000FB6F894FA9AF99A0FBE01960895FA
|
||||
:02FFFE000008F9
|
||||
:040000033000FC00CD
|
||||
:00000001FF
|
||||
15
compiled/check_bin.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
diff ../.pio/build/due/firmware.bin due
|
||||
diff ../.pio/build/controllino/firmware.hex controllino
|
||||
diff ../.pio/build/m5stack/firmware.bin m5stack
|
||||
diff ../.pio/build/mega2560slim-5100/firmware.hex mega2560slim-5100
|
||||
diff ../.pio/build/mega2560slim-5100/firmware.bin mega2560slim-5100
|
||||
diff ../.pio/build/mega2560-optiboot/firmware.hex mega2560-optiboot
|
||||
diff ../.pio/build/mega2560-optiboot/firmware.bin mega2560-optiboot
|
||||
diff ../.pio/build/mega2560-5100/firmware.hex mega2560-5100
|
||||
diff ../.pio/build/nrf52840/firmware.hex nrf52840-5500
|
||||
diff ../.pio/build/esp32-wifi/firmware.bin esp32-wifi
|
||||
diff ../.pio/build/stm32-enc2860/firmware.bin stm32-enc2860
|
||||
diff ../.pio/build/esp8266-wifi/firmware.bin esp8266-wifi
|
||||
diff ../.pio/build/lighthub21/firmware.bin lighthub21
|
||||
diff ../.pio/build/mega2560-5500/firmware.hex mega2560-5500
|
||||
diff ../.pio/build/stm32/firmware.* stm32
|
||||
@@ -1,3 +0,0 @@
|
||||
mode com3:1200,n,8,1
|
||||
pause
|
||||
..\tools\win\tool-bossac\bossac.exe -i --port=com3 -U false -e -w -v -b firmware.bin -R
|
||||
@@ -1,3 +0,0 @@
|
||||
export PORT=cu.usbmodem1451
|
||||
echo . | stty -f /dev/$PORT speed 1200
|
||||
../tools/mac/tool-bossac/bossac -U false -p $PORT -i -e -w -v -b firmware.bin -R
|
||||
@@ -1,3 +0,0 @@
|
||||
mode com3:1200,n,8,1
|
||||
pause
|
||||
..\tools\win\tool-bossac\bossac.exe -i --port=com3 -U false -e -w -v -b firmware.bin -R
|
||||
@@ -1 +0,0 @@
|
||||
../tools/mac/arduinoOTA -address 192.168.88.21 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
2
compiled/due/sendcommand.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#../tools/mac/arduinoOTA -address 192.168.88.21 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
curl --basic --user arduino:password --data-ascii "$2" --url http://192.168.88.21:65280/command/$1
|
||||
90
compiled/due/upload.bat
Normal file
@@ -0,0 +1,90 @@
|
||||
@ECHO off
|
||||
|
||||
REM Wait X second for memory on Arduino Due is erased.
|
||||
SET WAIT_ERASED=4
|
||||
|
||||
ECHO ------ External tool BossacArduinoDue started ------
|
||||
|
||||
REM number of command line arguments ok?
|
||||
REM IF [%1]==[] GOTO error_args
|
||||
REM IF [%2]==[] GOTO error_args
|
||||
|
||||
REM set command line arguments
|
||||
SET BOSSACPATH=..\tools\win\tool-bossac\bossac.exe
|
||||
SET BINFILE=firmware.bin
|
||||
|
||||
REM parse command line arguments
|
||||
SET BOSSACPATH=%BOSSACPATH:"=%
|
||||
SET BINFILE=%BINFILE:"=%
|
||||
|
||||
REM workeround for bug in Atmel Studio 6.0.1996 Service Pack 2
|
||||
SET BINFILE=%BINFILE:\\=\%
|
||||
SET BINFILE=%BINFILE:.cproj=%
|
||||
|
||||
REM bossac path exist?
|
||||
IF NOT EXIST "%BOSSACPATH%" GOTO error_arg1
|
||||
|
||||
REM bin file exist?
|
||||
IF NOT EXIST "%BINFILE%" GOTO error_binfile
|
||||
|
||||
REM fetch DeviceID of Arduino Due Programming Port from WMI Service
|
||||
FOR /f "tokens=* skip=1" %%a IN ('wmic PATH Win32_SerialPort Where "Caption LIKE '%%USB%%'" get DeviceID') DO (
|
||||
SET COMX=%%a
|
||||
GOTO exit1
|
||||
)
|
||||
|
||||
REM Arduino Due Programming Port not exist
|
||||
GOTO error_comport
|
||||
|
||||
:exit1
|
||||
|
||||
REM remove blank
|
||||
SET COMPORT=%COMX: =%
|
||||
|
||||
REM report in Atmel Studio 6.0 IDE output window
|
||||
ECHO BossacPath=%BOSSACPATH%
|
||||
ECHO BinFile=%BINFILE%
|
||||
ECHO Arduino Due Programming Port is detected as %COMPORT%.
|
||||
|
||||
REM The bossac bootloader only runs if the memory on Arduino Due is erased.
|
||||
REM The Arduino IDE does this by opening and closing the COM port at 1200 baud.
|
||||
REM This causes the Due to execute a soft erase command.
|
||||
ECHO Forcing reset using 1200bps open/close on port
|
||||
ECHO MODE %COMPORT%:1200,N,8,1
|
||||
MODE %COMPORT%:1200,N,8,1
|
||||
|
||||
REM Wait X second for memory on Arduino Due is erased.
|
||||
ECHO Wait for memory on Arduino Due is erased...
|
||||
PING -n %WAIT_ERASED% 127.0.0.1>NUL
|
||||
|
||||
REM Execute bossac.exe
|
||||
ECHO Execute bossac with command line:
|
||||
ECHO "%BOSSACPATH%" -i -d --port=%COMPORT% -U false -e -w -v -b "%BINFILE%" -R
|
||||
START /WAIT "" "%BOSSACPATH%" -i --port=%COMPORT% -U false -e -w -v -b "%BINFILE%" -R
|
||||
|
||||
GOTO end
|
||||
|
||||
:error_args
|
||||
ECHO Error: wrong number of command line arguments passed!
|
||||
GOTO end
|
||||
|
||||
:error_arg1
|
||||
ECHO Error: command line argument 1 - path to bossac.exe not exist! - "C:\Program Files (x86)\arduino-1.5.2\hardware\tools\bossac.exe"
|
||||
ECHO Error: command line argument 1 - argument passed = %1
|
||||
GOTO end
|
||||
|
||||
:error_arg2
|
||||
ECHO Error: command line argument 2 - path to bin file not exist! - use $(OutputDirectory)\$(OutputFileName).bin
|
||||
ECHO Error: command line argument 2 - argument passed = %1
|
||||
GOTO end
|
||||
|
||||
:error_binfile
|
||||
ECHO Error: bin file "%BINFILE%" not exist!
|
||||
GOTO end
|
||||
|
||||
:error_comport
|
||||
ECHO Error: Arduino Due Programming Port not found!
|
||||
|
||||
:end
|
||||
|
||||
ECHO ======================== Done ========================
|
||||
1
compiled/due/uploadOTA.bat
Normal file
@@ -0,0 +1 @@
|
||||
..\tools\win\arduinoOTA.exe -address 192.168.88.21 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
BIN
compiled/esp32-wifi/data.bin
Normal file
|
After Width: | Height: | Size: 64 KiB |
1
compiled/esp32-wifi/data/config.bin
Normal file
@@ -0,0 +1 @@
|
||||
1234567890
|
||||
62
compiled/esp32-wifi/data/config.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"syslog":["192.168.88.2"],
|
||||
"mqtt1":["esp32","m2m.eclipse.org"],
|
||||
"mqtt":["elevator","192.168.88.2"],
|
||||
"mqtt4":["esp32","test.mosquitto.org"],
|
||||
"dmx":[30],
|
||||
"items": {
|
||||
"relay1":[6,32],
|
||||
"relay2":[6,33],
|
||||
"relays":[7,["relay1","relay2"]],
|
||||
"sensair1":[44,[254,
|
||||
"sensair",
|
||||
{"co2":{"emit":"co2"}},
|
||||
{"mode":"auto"}
|
||||
]
|
||||
],
|
||||
"elevator":[15,{"baud":9600,"serial":"8N1","ip":"192.168.88.255","port":502}],
|
||||
|
||||
"aaa1":[44,[254,
|
||||
"aaa",
|
||||
{"aaa1":{"emit":"aaa2"}},
|
||||
{"mode":"auto"}
|
||||
]
|
||||
]
|
||||
},
|
||||
"modbus":
|
||||
{
|
||||
"aaa":
|
||||
{"baud":19200,
|
||||
"poll":{"irs":[1]},
|
||||
"par":{
|
||||
"aaa1":{"ir":1}
|
||||
}
|
||||
|
||||
},
|
||||
"sensair":{"baud":9600,
|
||||
"poll":{"irs":[[0,3],21,[25,30]],"regs":[0,1,31],"delay":1000},
|
||||
"par":{
|
||||
"co2":{"ir":3},
|
||||
"meterStat":{"ir":0},
|
||||
"alarmStat":{"ir":1},
|
||||
"outStat":{"ir":0},
|
||||
"pwm":{"ir":21},
|
||||
"typeid":{"ir":25,"type":"u32"},
|
||||
"mapver":{"ir":27},
|
||||
"fwver":{"ir":28},
|
||||
"sensorid":{"ir":29,"type":"u32"},
|
||||
"ack":{"reg":0},
|
||||
"command":{"reg":1},
|
||||
"abc":{"reg":31}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
"in":{ "34":{"item":"relays","emit":"myhome/in/bedr","scmd":"TOGGLE","rcmd":""},
|
||||
|
||||
"17":{"T":64,"emit":"analog","map":[0,1024,0,100,15]}
|
||||
}
|
||||
}
|
||||
2
compiled/esp32-wifi/uploadCFG.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
~/.platformio/packages/tool-mkspiffs/mkspiffs_espressif32_arduino -s 20480 -c data data.bin
|
||||
../tools/mac/arduinoOTA -v -address 192.168.88.50 -port 65280 -username arduino -password password -sketch data.bin -upload /data -b
|
||||
1
compiled/esp32-wifi/uploadOTA.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/arduinoOTA -v -address 192.168.88.50 -port 65280 -username arduino -password password -sketch firmware.bin -upload /sketch -b
|
||||
215
compiled/lighthub21/data/config.json
Normal file
@@ -0,0 +1,215 @@
|
||||
{
|
||||
"dmx":[3,60],
|
||||
"syslog":["192.168.88.2"],
|
||||
"dmxin":["led5","led6","led7","led8"],
|
||||
"topics":{"root":"lazyhome.ru"},
|
||||
"mqtt":["lazyhome.ru-939a","192.168.88.3"],
|
||||
"modbus":
|
||||
{
|
||||
"airset":{
|
||||
"baud":9600,
|
||||
"serial":"8E1",
|
||||
"poll":{"regs":[[0,38],[1000,1008]],"delay":100000},
|
||||
"par":{
|
||||
"uheat":{"reg":0,"type":"u16"},
|
||||
"umot":{"reg":2,"type":"u16"},
|
||||
"amode":{"reg":3,"type":"u8","map":{}},
|
||||
"onoff":{"reg":1000},
|
||||
"fsauto":{"reg":1001},
|
||||
"pmode":{"reg":1002},
|
||||
"set":{"reg":1003},
|
||||
"frcautoff":{"reg":1007},
|
||||
"fault":{"reg":1008},
|
||||
|
||||
"t_heat":{"reg":8,"map":[0,1024,0,1024],"type":"i16"},
|
||||
"mode":{"reg":24}
|
||||
|
||||
}
|
||||
},
|
||||
"dim4":{"serial":"8N1",
|
||||
"poll":{"regs":[[0,4]],"delay":100000},
|
||||
"par":{
|
||||
"ch1":{"reg":0,"map":[]},
|
||||
"ch2":{"reg":1,"map":[]},
|
||||
"ch3":{"reg":2,"map":[]},
|
||||
"ch4":{"reg":3,"map":[]}
|
||||
}
|
||||
},
|
||||
"panel":{
|
||||
"serial":"8E1",
|
||||
"poll":{"regs":[[40000,40014],[30000,30002]],"delay":10000},
|
||||
"par":{
|
||||
"fan" :{"reg":40000,"map":[1,[0,7,0,100]],"id":1},
|
||||
"mode" :{"reg":40001,"mapcmd":[2,[[1,"FAN_ONLY"],[2,"HEAT"],[4,"COOL"],[8,"AUTO"]]]},
|
||||
"set" :{"reg":40002,"id":2},
|
||||
"pwr" :{"reg":40003,"mapcmd":[2,[[0,2],[1,1]]]},
|
||||
"alm01":{"reg":40004},
|
||||
"alm17":{"reg":40005},
|
||||
"alm33":{"reg":40006},
|
||||
"sethum" :{"reg":40007,"id":3},
|
||||
"setvoc" :{"reg":40008,"id":4},
|
||||
|
||||
"temp" :{"reg":30000,"map":[1,[-1000,1000,-100.0,100.0]],"type":"x10"},
|
||||
"hum" :{"reg":30001},
|
||||
"voc" :{"reg":30002},
|
||||
|
||||
"ch_temp" :{"reg":40009,"type":"x10","id":5},
|
||||
"ext_temp" :{"reg":40010,"type":"x10","id":6},
|
||||
"out_temp" :{"reg":40011,"type":"x10","id":7},
|
||||
"water_temp" :{"reg":40012,"type":"x10","id":8},
|
||||
"ch_hum" :{"reg":40013},
|
||||
"heat_pwr":{"reg":40014}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"ow":{
|
||||
"2861641227C1EFED":[{"emit":"t_1","item":"pid0/val"},{"emit":"pid_t"}]
|
||||
},
|
||||
"items": {
|
||||
"dimer1":[44,[1,
|
||||
"dim4",
|
||||
{"ch1":{"emit":"aaa1"},"ch2":{"emit":"aaa2"},"ch3":{"emit":"aaa3"}},
|
||||
{"mode":"auto"}
|
||||
]
|
||||
],
|
||||
|
||||
"p_bedr":[44,[2,"panel",
|
||||
{
|
||||
"fan" :{"sa":10, "act":
|
||||
[
|
||||
{"emit":"edem/ac/bedr/fan"},
|
||||
{"emit":"edem/vent/bedr/fan"}
|
||||
]
|
||||
},
|
||||
|
||||
"mode":{"sa":11,"emit":"edem/ac/bedr/mode"},
|
||||
"pwr" :{"sa":12,"emit":"edem/ac/bedr/pwr"},
|
||||
|
||||
"sethum":{"emit":"edem/vent/hum_bedr/set","item":"thermostat/set"},
|
||||
"hum" :{"emit":"edem/vent/hum_bedr/val"},
|
||||
|
||||
"setvoc":{"emit":"edem/vent/bedr/set","item":"lled/sat"},
|
||||
"voc" :{"emit":"edem/vent/bedr/val"},
|
||||
|
||||
"set" :{"sa":13, "act":
|
||||
[
|
||||
{"emit":"edem/fl2/term_bedr/set"},
|
||||
{"emit":"edem/ac/bedr/set","item":"pid0/set"}
|
||||
]
|
||||
},
|
||||
"temp" :{"emit":"edem/fl2/term_bedr/1/val"},
|
||||
"ch_temp":{"sa":14},
|
||||
"ch_hum":{"sa":15},
|
||||
"ext_temp":{"sa":16},
|
||||
"out_temp":{"sa":17},
|
||||
"water_temp":{"sa":18},
|
||||
"heat_pwr":{"sa":19},
|
||||
"cmd":{"sa":2,"reg":"mode","on":1,"off":0}
|
||||
}
|
||||
]],
|
||||
"airset1":[44,[247,"airset"]],
|
||||
"mbusdim1":[44,[1,0,3,100]],
|
||||
"mbusdim2":[44,[1,1,3,100]],
|
||||
"mbusdim3":[44,[1,2,3,100]],
|
||||
"mbusdim4":[44,[1,3,3,100]],
|
||||
"relay":[6,22],
|
||||
"pout1":[6,23],
|
||||
"pout2":[6,24],
|
||||
"pout3":[6,25],
|
||||
"pout4":[33,9],
|
||||
"pout5":[33,8],
|
||||
"pout6":[33,11],
|
||||
"pout7":[33,12],
|
||||
"lled":[3,[9,8,11,12]],
|
||||
"pwm0" :[33,4],
|
||||
"pwm1" :[33,5],
|
||||
"pwm2" :[3,6],
|
||||
"pwm3" :[3,7],
|
||||
"pwm10":[3,3],
|
||||
"thermostat":[5,2,33],
|
||||
"airgate1":[12,[-4,-27,59,617,284,5000]],
|
||||
"airgate2":[12,[-5,-26,60,750,160,5000]],
|
||||
"airgates":[7,["airgate1","airgate2"]],
|
||||
"pid0":[413,
|
||||
[
|
||||
[20,0.2,7,0,100],
|
||||
[{"item":"airgates/set","emit":"pid_out","pin":29},{"item":"pwm10/set"}]],
|
||||
32.1],
|
||||
"relaytermostat":[16,[[2,3.5,10000],{"pin":28},33]],
|
||||
"virtualAC0":[17,[]],
|
||||
"vent5":[18,
|
||||
{
|
||||
"":{"item":"dimmer3/set"},
|
||||
"airgate1":{"V":100,"set":255,"item":"airgate1/set"},
|
||||
"airgate2":{"V":200,"set":128,"cmd":2,"item":"airgate2/set"},
|
||||
"airgate4":{"V":150,"set":0,"emit":"edem/in/airgate4/set"}
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
"unprot0":[6,33],
|
||||
"unprot1":[6,32],
|
||||
"unprot2":[6,31],
|
||||
"unprot3":[6,30],
|
||||
"unprot4":[6,29],
|
||||
"unprot5":[6,28],
|
||||
"unprot6":[66,27],
|
||||
"unprot7":[66,26],
|
||||
"led": [1,1],
|
||||
"led2":[1,5],
|
||||
"led3":[1,9],
|
||||
"led4":[1,13],
|
||||
"led5":[1,17],
|
||||
"led6":[1,21],
|
||||
"led7":[1,25],
|
||||
"led8":[1,29],
|
||||
"dimmer" :[0,33],
|
||||
"dimmer2":[0,34],
|
||||
"dimmer3":[0,35],
|
||||
"dimmer4":[0,36],
|
||||
"dimmer5":[0,37],
|
||||
"dimmer6":[0,38],
|
||||
"dimmers":[7,["dimmer","dimmer2","dimmer3","dimmer4","dimmer5","dimmer6"]],
|
||||
"leds":[7,["led","led2","led3","led4","led5","led6"]],
|
||||
"mbuses":[7,["mbusdim1","mbusdim2","mbusdim3","mbusdim4"]],
|
||||
"all":[7,["dimmers","uouts","relays","leds","mbuses"]],
|
||||
"relays":[7,["relay","pout1","pout2","pout3","pout4","pout5","pout6","pout7"]],
|
||||
"uouts":[7,["unprot0","unprot1","unprot2","unprot3","unprot4","unprot5","unprot6","unprot7"]]
|
||||
},
|
||||
"in":{
|
||||
"42":{"emit":"in0"},
|
||||
"44":{"emit":"in1"},
|
||||
"46":{"emit":"in2"},
|
||||
"49":{"emit":"in3"},
|
||||
"43":{"emit":"in4"},
|
||||
"45":{"emit":"in5"},
|
||||
"47":{"emit":"in6"},
|
||||
"48":{"emit":"in7"},
|
||||
"34":{"emit":"in8"},
|
||||
"36":{"emit":"in9","item":"unprot0","scmd":"TOGGLE","rcmd":""},
|
||||
"38":{"emit":"in10","item":"dimmers","scmd":"TOGGLE","rcmd":""},
|
||||
"40":{"emit":"in11","item":"leds","scmd":"TOGGLE","rcmd":""},
|
||||
"35":{"emit":"in12","item":"mbuses","scmd":"TOGGLE","rcmd":""},
|
||||
"37":{"emit":"in13","item":"relays","scmd":"TOGGLE","rcmd":""},
|
||||
"39":{"emit":"in14","item":"uouts","scmd":"TOGGLE","rcmd":""},
|
||||
"41":{"emit":"in15","item":"all","scmd":"TOGGLE","rcmd":""},
|
||||
|
||||
"54":{"T":66,"emit":"myhome/in/a00","map":[0,1024,0,1024,10]},
|
||||
"55":{"T":66,"emit":"myhome/in/a01","map":[0,1024,0,1024,10]},
|
||||
"56":{"T":66,"emit":"myhome/in/a02","map":[0,1024,0,1024,10]},
|
||||
"57":{"T":66,"emit":"myhome/in/a03","map":[0,1024,0,1024,10]},
|
||||
"58":{"T":66,"emit":"myhome/in/a04","map":[0,1024,0,1024,10]},
|
||||
|
||||
"61":{"T":66,"emit":"myhome/in/a07","map":[0,1024,0,1024,10]},
|
||||
"62":{"T":66,"emit":"myhome/in/a08","map":[0,1024,0,1024,10]},
|
||||
"63":{"T":66,"emit":"myhome/in/a09","map":[0,1024,0,1024,10]},
|
||||
"64":{"T":66,"emit":"myhome/in/a10","map":[0,1024,0,1024,10]},
|
||||
"65":{"T":66,"emit":"myhome/in/a11","map":[0,1024,0,1024,10]},
|
||||
"66":{"T":0,"emit":"myhome/in/d12"},
|
||||
"67":{"T":0,"emit":"myhome/in/d13"},
|
||||
"68":{"T":0,"emit":"myhome/in/d14"},
|
||||
"69":{"T":0,"emit":"myhome/in/d15"}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,90 @@
|
||||
mode com3:1200,n,8,1
|
||||
pause
|
||||
..\tools\win\tool-bossac\bossac.exe -i --port=com3 -U false -e -w -v -b firmware.bin -R
|
||||
@ECHO off
|
||||
|
||||
REM Wait X second for memory on Arduino Due is erased.
|
||||
SET WAIT_ERASED=4
|
||||
|
||||
ECHO ------ External tool BossacArduinoDue started ------
|
||||
|
||||
REM number of command line arguments ok?
|
||||
REM IF [%1]==[] GOTO error_args
|
||||
REM IF [%2]==[] GOTO error_args
|
||||
|
||||
REM set command line arguments
|
||||
SET BOSSACPATH=..\tools\win\tool-bossac\bossac.exe
|
||||
SET BINFILE=firmware.bin
|
||||
|
||||
REM parse command line arguments
|
||||
SET BOSSACPATH=%BOSSACPATH:"=%
|
||||
SET BINFILE=%BINFILE:"=%
|
||||
|
||||
REM workeround for bug in Atmel Studio 6.0.1996 Service Pack 2
|
||||
SET BINFILE=%BINFILE:\\=\%
|
||||
SET BINFILE=%BINFILE:.cproj=%
|
||||
|
||||
REM bossac path exist?
|
||||
IF NOT EXIST "%BOSSACPATH%" GOTO error_arg1
|
||||
|
||||
REM bin file exist?
|
||||
IF NOT EXIST "%BINFILE%" GOTO error_binfile
|
||||
|
||||
REM fetch DeviceID of Arduino Due Programming Port from WMI Service
|
||||
FOR /f "tokens=* skip=1" %%a IN ('wmic PATH Win32_SerialPort Where "Caption LIKE '%%USB%%'" get DeviceID') DO (
|
||||
SET COMX=%%a
|
||||
GOTO exit1
|
||||
)
|
||||
|
||||
REM Arduino Due Programming Port not exist
|
||||
GOTO error_comport
|
||||
|
||||
:exit1
|
||||
|
||||
REM remove blank
|
||||
SET COMPORT=%COMX: =%
|
||||
|
||||
REM report in Atmel Studio 6.0 IDE output window
|
||||
ECHO BossacPath=%BOSSACPATH%
|
||||
ECHO BinFile=%BINFILE%
|
||||
ECHO Arduino Due Programming Port is detected as %COMPORT%.
|
||||
|
||||
REM The bossac bootloader only runs if the memory on Arduino Due is erased.
|
||||
REM The Arduino IDE does this by opening and closing the COM port at 1200 baud.
|
||||
REM This causes the Due to execute a soft erase command.
|
||||
ECHO Forcing reset using 1200bps open/close on port
|
||||
ECHO MODE %COMPORT%:1200,N,8,1
|
||||
MODE %COMPORT%:1200,N,8,1
|
||||
|
||||
REM Wait X second for memory on Arduino Due is erased.
|
||||
ECHO Wait for memory on Arduino Due is erased...
|
||||
PING -n %WAIT_ERASED% 127.0.0.1>NUL
|
||||
|
||||
REM Execute bossac.exe
|
||||
ECHO Execute bossac with command line:
|
||||
ECHO "%BOSSACPATH%" -i -d --port=%COMPORT% -U false -e -w -v -b "%BINFILE%" -R
|
||||
START /WAIT "" "%BOSSACPATH%" -i --port=%COMPORT% -U false -e -w -v -b "%BINFILE%" -R
|
||||
|
||||
GOTO end
|
||||
|
||||
:error_args
|
||||
ECHO Error: wrong number of command line arguments passed!
|
||||
GOTO end
|
||||
|
||||
:error_arg1
|
||||
ECHO Error: command line argument 1 - path to bossac.exe not exist! - "C:\Program Files (x86)\arduino-1.5.2\hardware\tools\bossac.exe"
|
||||
ECHO Error: command line argument 1 - argument passed = %1
|
||||
GOTO end
|
||||
|
||||
:error_arg2
|
||||
ECHO Error: command line argument 2 - path to bin file not exist! - use $(OutputDirectory)\$(OutputFileName).bin
|
||||
ECHO Error: command line argument 2 - argument passed = %1
|
||||
GOTO end
|
||||
|
||||
:error_binfile
|
||||
ECHO Error: bin file "%BINFILE%" not exist!
|
||||
GOTO end
|
||||
|
||||
:error_comport
|
||||
ECHO Error: Arduino Due Programming Port not found!
|
||||
|
||||
:end
|
||||
|
||||
ECHO ======================== Done ========================
|
||||
@@ -1,3 +1,3 @@
|
||||
export PORT=cu.usbmodem1451
|
||||
export PORT=cu.usbmodem14101
|
||||
echo . | stty -f /dev/$PORT speed 1200
|
||||
../tools/mac/tool-bossac/bossac -U false -p $PORT -i -e -w -v -b firmware.bin -R
|
||||
1
compiled/lighthub21/uploadCFG.sh
Executable file
@@ -0,0 +1 @@
|
||||
../tools/mac/arduinoOTA -address 192.168.88.45 -port 65280 -username arduino -password password -sketch data/config.json -b -upload /data
|
||||
@@ -1 +0,0 @@
|
||||
../tools/mac/arduinoOTA -address 192.168.88.59 -port 65280 -username arduino -password password -sketch hello.bin -b -upload /sketch
|
||||
@@ -1 +1 @@
|
||||
../tools/mac/arduinoOTA -address 192.168.11.172 -port 65280 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
../tools/mac/arduinoOTA -address 192.168.11.172 -port 80 -username arduino -password password -sketch firmware.bin -b -upload /sketch
|
||||
|
||||
BIN
compiled/mega2560slim-5100/firmware.bin
Executable file
1
compiled/mon.bat
Normal file
@@ -0,0 +1 @@
|
||||
pio device monitor -b 115200
|
||||
5956
compiled/nrf52840-5500
Normal file
BIN
compiled/stm32/firmware.bin
Executable file
BIN
compiled/stm32/firmware.elf
Executable file
1
compiled/stm32/upload.sh
Executable file
@@ -0,0 +1 @@
|
||||
dfu-util -D firmware.bin -a 1
|
||||
@@ -2,12 +2,14 @@ cp ../.pio/build/due/firmware.bin due
|
||||
cp ../.pio/build/controllino/firmware.hex controllino
|
||||
cp ../.pio/build/m5stack/firmware.bin m5stack
|
||||
cp ../.pio/build/mega2560slim-5100/firmware.hex mega2560slim-5100
|
||||
cp ../.pio/build/due-5100/firmware.bin due-5100
|
||||
cp ../.pio/build/mega2560slim-5100/firmware.bin mega2560slim-5100
|
||||
cp ../.pio/build/mega2560-optiboot/firmware.hex mega2560-optiboot
|
||||
cp ../.pio/build/mega2560-optiboot/firmware.bin mega2560-optiboot
|
||||
cp ../.pio/build/mega2560-5100/firmware.hex mega2560-5100
|
||||
cp ../.pio/build/due-5500/firmware.bin due-5500
|
||||
cp ../.pio/build/nrf52840-5500/firmware.hex nrf52840-5500
|
||||
cp ../.pio/build/nrf52840/firmware.hex nrf52840-5500
|
||||
cp ../.pio/build/esp32-wifi/firmware.bin esp32-wifi
|
||||
cp ../.pio/build/stm32-enc2860/firmware.bin stm32-enc2860
|
||||
cp ../.pio/build/esp8266-wifi/firmware.bin esp8266-wifi
|
||||
cp ../.pio/build/lighthub21/firmware.bin lighthub21
|
||||
cp ../.pio/build/mega2560-5500/firmware.hex mega2560-5500
|
||||
cp ../.pio/build/stm32/firmware.* stm32
|
||||
|
||||
302
config-examples/12-12-12-12-12-12.config.json
Normal file
@@ -0,0 +1,302 @@
|
||||
{
|
||||
"mqtt":["abc3","192.168.88.2"],
|
||||
"syslog":["192.168.88.2"],
|
||||
"dmx":[3,80],
|
||||
"topics":{"root":"abc"},
|
||||
"modbus":[],
|
||||
"items":
|
||||
{
|
||||
"lightall":[7,[
|
||||
"lampbedr3",
|
||||
"lampcab31",
|
||||
"lampcab32",
|
||||
"lampsauna3",
|
||||
"lampbath33",
|
||||
"lampktc3",
|
||||
"lampwc3",
|
||||
"lamp4",
|
||||
"lampext4",
|
||||
"lamphall3",
|
||||
"lampstw3",
|
||||
"fasadeast",
|
||||
"bra31",
|
||||
"lampgst3",
|
||||
"lampkln3",
|
||||
"lampbalk3",
|
||||
"fasadsouth",
|
||||
"bra32"]],
|
||||
"gr_hall3":[7,["lamphall3","lampstw3"]],
|
||||
"gr_gost3":[7,["lampgst3","lampktc3"]],
|
||||
"relays":[7,["pout0","thermostat","pout2","pout3","pout4","pout5","pout6"]],
|
||||
"uouts":[7,["unprot0","unprot1","unprot2","unprot3","unprot4","unprot5","unprot6","unprot7"]],
|
||||
|
||||
"mb1":[44,[1,0,3,100]],
|
||||
"mb2":[44,[1,1,3,100]],
|
||||
"mb3":[44,[1,2,3,100]],
|
||||
"mb4":[44,[1,3,3,100]],
|
||||
"mba":[44,[96,0,0]],
|
||||
|
||||
"lampbedr3":[0,1],
|
||||
"lampcab31":[0,2],
|
||||
"lampcab32":[0,3],
|
||||
|
||||
"lampsauna3":[0,4],
|
||||
"lampbath3":[0,5],
|
||||
"lampwc3":[0,6],
|
||||
|
||||
"lampktc3":[0,7],
|
||||
"lamp4":[0,8],
|
||||
"lamphall3":[0,9],
|
||||
|
||||
"lampext4":[0,10],
|
||||
"lampstw3":[0,11],
|
||||
"fasadeast":[0,12],
|
||||
|
||||
"lampgst3":[0,13],
|
||||
"bra31":[0,14],
|
||||
"bra32":[0,15],
|
||||
|
||||
"lampbalk3":[0,16],
|
||||
"fasadsouth":[0,17],
|
||||
"lampkln3":[0,18],
|
||||
"lampbar3":[0,21],
|
||||
|
||||
"ledbedr3":[1,22],
|
||||
"ledcab31":[1,26],
|
||||
"ledcab32":[1,30],
|
||||
"ledkab":[7,["ledcab31","ledcab32"]],
|
||||
"ledsauna31":[1,34],
|
||||
"ledsauna32":[1,38],
|
||||
"ledsauna":[7,["ledsauna31","ledsauna32"]],
|
||||
"led4":[1,42],
|
||||
|
||||
"ledktc31":[1,48],
|
||||
"ledktc31w":[0,52],
|
||||
"ledktc32":[1,53],
|
||||
"ledktc32w":[0,57],
|
||||
"ledgst31":[1,58],
|
||||
"ledgst31w":[0,62],
|
||||
"ledgst32":[1,63],
|
||||
"ledgst32w":[0,67],
|
||||
"ledktc3w":[7,["ledktc31w","ledktc32w","ledgst31w","ledgst32w"]],
|
||||
"ledktc3":[7,["ledktc31","ledktc32","ledgst31","ledgst32"]],
|
||||
|
||||
"fanbath3":[0,68],
|
||||
"fanwc3":[0,69],
|
||||
|
||||
"pout0":[6,22],
|
||||
"thermostat":[5,23,33],
|
||||
"pout2":[6,24],
|
||||
"water3":[6,25],
|
||||
"pout4":[3,9],
|
||||
"pout5":[3,8],
|
||||
"pout6":[3,11],
|
||||
"pout7":[6,12],
|
||||
|
||||
|
||||
"pwm0" :[3,4],
|
||||
"pwm1" :[3,5],
|
||||
"pwm2" :[3,6],
|
||||
"pwm3" :[3,7],
|
||||
"pwm10":[3,10],
|
||||
|
||||
|
||||
"unprot0":[6,33],
|
||||
"unprot1":[6,32],
|
||||
"unprot2":[6,31],
|
||||
"unprot3":[6,30],
|
||||
"unprot4":[6,29],
|
||||
"unprot5":[6,28],
|
||||
"unprot6":[6,27],
|
||||
"unprot7":[6,26]
|
||||
},
|
||||
|
||||
"in":
|
||||
[ {"#":42,"emit":"power3","item":"fanwc3"},
|
||||
{"#":44,"emit":"in1"},
|
||||
{"#":46,"emit":"in2"},
|
||||
{"#":49,"emit":"in3"},
|
||||
{"#":43,"emit":"in4"},
|
||||
{"#":45,"emit":"in5"},
|
||||
{"#":47,"emit":"in6"},
|
||||
{"#":48,"emit":"in7"},
|
||||
{"#":34,"emit":"in8"},
|
||||
{"#":36,"emit":"in9"},
|
||||
|
||||
{"#":38,"T":0,
|
||||
"click":{"item":"gr_hall3","icmd":"ON"},
|
||||
"dclick":{"item":"lampbedr3","icmd":"ON"},
|
||||
"tclick":{"item":"lightall","icmd":"REST"},
|
||||
"rpcmd":{"item":"gr_hall3","icmd":"%+2"}
|
||||
},
|
||||
{"#":40,"T":0,
|
||||
"click":{"item":"gr_hall3","icmd":"OFF"},
|
||||
"dclick":{"item":"lampbedr3","icmd":"OFF"},
|
||||
"tclick":{"item":"lightall","icmd":"HALT"},
|
||||
"rpcmd":{"item":"gr_hall3","icmd":"%-2"}
|
||||
},
|
||||
{"#":35,"T":0,
|
||||
"click":{"item":"gr_gost3","icmd":"ON"},
|
||||
"dclick":{"item":"lampwc3","icmd":"ON"},
|
||||
"tclick":{"item":"lampbath3","icmd":"ON"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%+2"}
|
||||
},
|
||||
{"#":37,"T":0,
|
||||
"click":{"item":"gr_gost3","icmd":"OFF"},
|
||||
"dclick":{"item":"lampwc3","icmd":"OFF"},
|
||||
"tclick":{"item":"lampbath3","icmd":"OFF"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%-2"}
|
||||
},
|
||||
|
||||
{"#":39,"emit":"in14"},
|
||||
{"#":41,"emit":"in15"},
|
||||
|
||||
{"#":54,"T":0,"act":
|
||||
[
|
||||
{
|
||||
"map":[128,640],
|
||||
"click":{"item":"gr_gost3","icmd":"ON"},
|
||||
"dclick":{"item":"lampwc3","icmd":"ON"},
|
||||
"tclick":{"item":"lampbath3","icmd":"ON"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%+2"}
|
||||
},
|
||||
{
|
||||
"map":[641,1024],
|
||||
"click":{"item":"gr_gost3","icmd":"OFF"},
|
||||
"dclick":{"item":"lampwc3","icmd":"OFF"},
|
||||
"tclick":{"item":"lampbath3","icmd":"OFF"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%-2"}
|
||||
}
|
||||
]},
|
||||
{"#":55,"T":66,"emit":"a01","map":[0,1024,0,1024,10]},
|
||||
|
||||
{"#":56,"T":66,"emit":"a02","map":[0,1024,0,1024,10]},
|
||||
{"#":57,"T":66,"emit":"a03","map":[0,1024,0,1024,10]},
|
||||
|
||||
{"#":58,"T":66,"emit":"a04","map":[0,1024,0,1024,10]},
|
||||
{"#":59,"T":66,"emit":"a05","map":[0,1024,0,1024,10]},
|
||||
|
||||
{"#":60,"T":0,"act":
|
||||
[
|
||||
{
|
||||
"map":[128,640],
|
||||
"click":{"item":"gr_hall3","icmd":"ON"},
|
||||
"dclick":{"item":"lampbedr3","icmd":"ON"},
|
||||
"tclick":{"item":"lightall","icmd":"REST"},
|
||||
"rpcmd":{"item":"gr_hall3","icmd":"%+2"}
|
||||
},
|
||||
{
|
||||
"map":[641,1024],
|
||||
"click":{"item":"gr_hall3","icmd":"OFF"},
|
||||
"dclick":{"item":"lampbedr3","icmd":"OFF"},
|
||||
"tclick":{"item":"lightall","icmd":"HALT"},
|
||||
"rpcmd":{"item":"gr_hall3","icmd":"%-2"}
|
||||
}
|
||||
]},
|
||||
{"#":61,"T":0,"act":
|
||||
[
|
||||
{
|
||||
"map":[128,640],
|
||||
"click":{"item":"gr_gost3","icmd":"ON"},
|
||||
"dclick":{"item":"lampwc3","icmd":"ON"},
|
||||
"tclick":{"item":"lampbath3","icmd":"ON"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%+2"}
|
||||
},
|
||||
{
|
||||
"map":[641,1024],
|
||||
"click":{"item":"gr_gost3","icmd":"OFF"},
|
||||
"dclick":{"item":"lampwc3","icmd":"OFF"},
|
||||
"tclick":{"item":"lampbath3","icmd":"OFF"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%-2"}
|
||||
}
|
||||
]},
|
||||
|
||||
{"#":62,"T":66,"emit":"a08","map":[0,1024,0,1024,10]},
|
||||
{"#":63,"T":66,"emit":"a09","map":[0,1024,0,1024,10]},
|
||||
|
||||
{"#":64,"T":66,"emit":"a10","map":[0,1024,0,1024,10]},
|
||||
{"#":65,"T":66,"emit":"a11","map":[0,1024,0,1024,10]},
|
||||
{"#":66,"T":0,"emit":"leak31","item":"water3","scmd":"OFF","rcmd":"ON"},
|
||||
{"#":67,"T":2,"emit":"leak32","item":"water3","scmd":"OFF","rcmd":"ON"},
|
||||
{"#":68,"T":0,"emit":"leak33","item":"water3","scmd":"OFF","rcmd":"ON"},
|
||||
{"#":69,"T":0,"emit":"a15"}
|
||||
],
|
||||
|
||||
"in2":
|
||||
{ "42":{"emit":"power3","item":"fanwc3"},
|
||||
"44":{"emit":"in1"},
|
||||
"46":{"emit":"in2"},
|
||||
"49":{"emit":"in3"},
|
||||
"43":{"emit":"in4"},
|
||||
"45":{"emit":"in5"},
|
||||
"47":{"emit":"in6"},
|
||||
"48":{"emit":"in7"},
|
||||
"34":{"emit":"in8"},
|
||||
"36":{"emit":"in9"},
|
||||
|
||||
"38":{"T":0,
|
||||
"click":{"item":"gr_hall3","icmd":"ON"},
|
||||
"dclick":{"item":"lampbedr3","icmd":"ON"},
|
||||
"tclick":{"item":"lightall","icmd":"REST"},
|
||||
"rpcmd":{"item":"gr_hall3","icmd":"%+2"}
|
||||
},
|
||||
"40":{"T":0,
|
||||
"click":{"item":"gr_hall3","icmd":"OFF"},
|
||||
"dclick":{"item":"lampbedr3","icmd":"OFF"},
|
||||
"tclick":{"item":"lightall","icmd":"HALT"},
|
||||
"rpcmd":{"item":"gr_hall3","icmd":"%-2"}
|
||||
},
|
||||
"35":{"T":0,
|
||||
"click":{"item":"gr_gost3","icmd":"ON"},
|
||||
"dclick":{"item":"lampwc3","icmd":"ON"},
|
||||
"tclick":{"item":"lampbath3","icmd":"ON"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%+2"}
|
||||
},
|
||||
"37":{"T":0,
|
||||
"click":{"item":"gr_gost3","icmd":"OFF"},
|
||||
"dclick":{"item":"lampwc3","icmd":"OFF"},
|
||||
"tclick":{"item":"lampbath3","icmd":"OFF"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%-2"}
|
||||
},
|
||||
|
||||
"39":{"emit":"in14"},
|
||||
"41":{"emit":"in15"},
|
||||
|
||||
"54":{"addr":54,"T":0,"act":
|
||||
[
|
||||
{
|
||||
"map":[128,640],
|
||||
"click":{"item":"gr_gost3","icmd":"ON"},
|
||||
"dclick":{"item":"lampwc3","icmd":"ON"},
|
||||
"tclick":{"item":"lampbath3","icmd":"ON"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%+2"}
|
||||
},
|
||||
{
|
||||
"map":[641,1024],
|
||||
"click":{"item":"gr_gost3","icmd":"OFF"},
|
||||
"dclick":{"item":"lampwc3","icmd":"OFF"},
|
||||
"tclick":{"item":"lampbath3","icmd":"OFF"},
|
||||
"rpcmd":{"item":"gr_gost3","icmd":"%-2"}
|
||||
}
|
||||
]},
|
||||
"55":{"T":66,"emit":"a01","map":[0,1024,0,1024,10]},
|
||||
|
||||
"56":{"T":66,"emit":"a02","map":[0,1024,0,1024,10]},
|
||||
"57":{"T":66,"emit":"a03","map":[0,1024,0,1024,10]},
|
||||
|
||||
"58":{"T":66,"emit":"a04","map":[0,1024,0,1024,10]},
|
||||
"59":{"T":66,"emit":"a05","map":[0,1024,0,1024,10]},
|
||||
|
||||
"60":{"T":66,"emit":"a06","map":[0,1024,0,1024,10]},
|
||||
"61":{"T":66,"emit":"a07","map":[0,1024,0,1024,10]},
|
||||
|
||||
"62":{"T":66,"emit":"a08","map":[0,1024,0,1024,10]},
|
||||
"63":{"T":66,"emit":"a09","map":[0,1024,0,1024,10]},
|
||||
|
||||
"64":{"T":66,"emit":"a10","map":[0,1024,0,1024,10]},
|
||||
"65":{"T":66,"emit":"a11","map":[0,1024,0,1024,10]},
|
||||
"66":{"T":0,"emit":"leak31","item":"water3","scmd":"OFF","rcmd":"ON"},
|
||||
"67":{"T":2,"emit":"leak32","item":"water3","scmd":"OFF","rcmd":"ON"},
|
||||
"68":{"T":0,"emit":"leak33","item":"water3","scmd":"OFF","rcmd":"ON"}
|
||||
}
|
||||
}
|
||||
29
config/c4-3e-11-03-1b-1e.config.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"mqtt":["garden","192.168.10.115",1883,"test","test"],
|
||||
"ow":{
|
||||
"28FFADCE601705A3":{"emit":"t_soil1","item":"h_relay6"},
|
||||
"286164123FF96F55":{"emit":"t_soil2"},
|
||||
"28FFEF6D60170335":{"emit":"t_soil3"}
|
||||
},
|
||||
"items":{
|
||||
"h_relay1":[6,39,1,1],
|
||||
"h_relay2":[6,38,1,1],
|
||||
"h_relay3":[6,37,1,1],
|
||||
"h_relay4":[6,36,1,1],
|
||||
"h_relay5":[6,35,1,1],
|
||||
"h_relay6":[5,34,23],
|
||||
"h_relay7":[6,33,1,1],
|
||||
"h_relay8":[6,32,1,1],
|
||||
"h_auto":[6,29,1,1]
|
||||
},
|
||||
"in":{
|
||||
"40":{"emit":"/garden/s_in/1"},
|
||||
"41":{"emit":"/garden/s_in/2"},
|
||||
"42":{"emit":"/garden/s_in/3"},
|
||||
"43":{"emit":"/garden/s_in/4"},
|
||||
"44":{"emit":"/garden/s_in/5"},
|
||||
"45":{"emit":"/garden/s_in/6"},
|
||||
"46":{"emit":"/garden/s_in/7"},
|
||||
"47":{"emit":"/garden/s_in/8"}
|
||||
}
|
||||
}
|
||||
46
config/de-ad-be-ef-fe-ed.config.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"dmxin":["kuhm","kuhwin","gost","bthr"],
|
||||
"dmx":[3,60],
|
||||
"modbus": [96,97],
|
||||
"items": {
|
||||
"light":[7,["kuh","ktc","gst","gost"]],
|
||||
"kuhwin":[1,5],
|
||||
"kuhline":[1,13],
|
||||
"kuhfre":[1,25],
|
||||
"kuhwork":[1,1],
|
||||
"gost":[1,47],
|
||||
"sasha1":[1,17],
|
||||
"sasha2":[1,21],
|
||||
"vika1":[1,31],
|
||||
"vika2":[1,35],
|
||||
"bedr1":[1,39],
|
||||
"bedr2":[1,43],
|
||||
"kuhm":[7,["kuhline","kuhfre","kuhwork"]],
|
||||
"kuh":[7,["kuhline","kuhfre","kuhwork","kuhwin"]],
|
||||
"sasha":[7,["sasha1","sasha2"]],
|
||||
"vika":[7,["vika1","vika2"]],
|
||||
"bedr":[7,["bedr1","bedr2"]],
|
||||
"balk1":[7,["balk11","balk12"]],
|
||||
"balk2":[0,53],
|
||||
"balk11":[0,51],
|
||||
"balk12":[0,52],
|
||||
"all":[7,["kuh","gost","vika","sasha","bedr","bth","gst","ktc","balk1","balk2","fm"]],
|
||||
"bth1":[4,[96,0,0]],
|
||||
"bth2":[4,[96,0,1]],
|
||||
"bthr":[1,57],
|
||||
"bth":[7,["bth1","bth2"]],
|
||||
"ktc":[4,[97,0,0]],
|
||||
"gst":[4,[97,0,1]],
|
||||
"a_vika":[3,8],
|
||||
"a_sasha":[3,7],
|
||||
"a_bedr":[3,6],
|
||||
"a_ext":[3,5],
|
||||
"fm":[9,10],
|
||||
"fm_t":[8,"fm"],
|
||||
"fm_h":[8,"fm"]
|
||||
|
||||
},
|
||||
"mqtt":["public_test2","m2m.eclipse.org"]
|
||||
}
|
||||
|
||||
|
||||
43
config/de-ad-be-ef-fe-ef.config.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"mqtt":["public_test1","m2m.eclipse.org"],
|
||||
"ow":{
|
||||
"2807FFD503000036":{"emit":"t_balk1","item":"h_balk1"},
|
||||
"284811170400005B":{"emit":"t_entr"},
|
||||
"28FFF95533160459":{"emit":"t_bath1","item":"h_bath1"},
|
||||
"28D2FD1604000051":{"emit":"t_exbath2"},
|
||||
"28EE634F13160255":{"emit":"t_bath2","item":"h_bath2"},
|
||||
"28FFB3B02316030C":{"emit":"t_balk2","item":"h_balk2"},
|
||||
"28EE4A571316027A":{"emit":"t_sasha"},
|
||||
"28FF0C6A331604FF":{"emit":"t_ext"},
|
||||
"28FFDD8C3316042C":{"emit":"t_abath2"},
|
||||
"28FFAEAC3316047F":{"emit":"t_abath1"},
|
||||
"28EE736E131602D6":{"emit":"t_vika"},
|
||||
"28EED85C131602DA":{"emit":"t_kitchen"},
|
||||
"28EE5A62131602CF":{"emit":"t_ac"},
|
||||
"28EEA76713160204":{"emit":"t_aentr"},
|
||||
"28EE8A5B1616019D":{"emit":"t_entr2","item":"h_entr"},
|
||||
"28EED16A13160268":{"emit":"t_bedr"}
|
||||
},
|
||||
"items":{
|
||||
"all":[7,["h_entr","h_bath1","h_bath2","h_balk1","h_balk2","h_boil1","h_boil2","h_polotenc","spots_en","light_en"]],
|
||||
"h_bath1":[5,24,33],
|
||||
"h_bath2":[5,34,32],
|
||||
"h_entr":[5,35,32],
|
||||
"h_balk1":[5,25,28],
|
||||
"h_balk2":[5,27,28],
|
||||
"h_boil1":[6,23],
|
||||
"h_boil2":[6,28,1,1],
|
||||
"h_polotenc":[6,26,1,1],
|
||||
"spots_en":[6,22,1,1],
|
||||
"light_en":[6,29,1,1],
|
||||
"water":[6,36,1,1]
|
||||
},
|
||||
"in":{
|
||||
"41":{"T":0,"emit":"/myhome/in/all","scmd":"HALT","rcmd":"REST"},
|
||||
"37":{"item":"spots_en","scmd":"TOGGLE","rcmd":"TOGGLE"},
|
||||
"38":{"emit":"/myhome/in/light","scmd":"TOGGLE","rcmd":"TOGGLE"},
|
||||
"40":{"T":1,"emit":"/myhome/out/all","scmd":"HALT","rcmd":"REST"},
|
||||
"39":{"emit":"/myhome/s_out/water_leak"}
|
||||
}
|
||||
}
|
||||
|
||||
62
data/config.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"syslog":["192.168.88.2"],
|
||||
"mqtt1":["esp32","m2m.eclipse.org"],
|
||||
"mqtt":["elevator","192.168.88.2"],
|
||||
"mqtt4":["esp32","test.mosquitto.org"],
|
||||
"dmx":[30],
|
||||
"items": {
|
||||
"relay1":[6,32],
|
||||
"relay2":[6,33],
|
||||
"relays":[7,["relay1","relay2"]],
|
||||
"sensair1":[44,[254,
|
||||
"sensair",
|
||||
{"co2":{"emit":"co2"}},
|
||||
{"mode":"auto"}
|
||||
]
|
||||
],
|
||||
"elevator":[15,{"baud":9600,"serial":"8N1","ip":"192.168.88.255","port":502}],
|
||||
|
||||
"aaa1":[44,[254,
|
||||
"aaa",
|
||||
{"aaa1":{"emit":"aaa2"}},
|
||||
{"mode":"auto"}
|
||||
]
|
||||
]
|
||||
},
|
||||
"modbus":
|
||||
{
|
||||
"aaa":
|
||||
{"baud":19200,
|
||||
"poll":{"irs":[1]},
|
||||
"par":{
|
||||
"aaa1":{"ir":1}
|
||||
}
|
||||
|
||||
},
|
||||
"sensair":{"baud":9600,
|
||||
"poll":{"irs":[[0,3],21,[25,30]],"regs":[0,1,31],"delay":1000},
|
||||
"par":{
|
||||
"co2":{"ir":3},
|
||||
"meterStat":{"ir":0},
|
||||
"alarmStat":{"ir":1},
|
||||
"outStat":{"ir":0},
|
||||
"pwm":{"ir":21},
|
||||
"typeid":{"ir":25,"type":"u32"},
|
||||
"mapver":{"ir":27},
|
||||
"fwver":{"ir":28},
|
||||
"sensorid":{"ir":29,"type":"u32"},
|
||||
"ack":{"reg":0},
|
||||
"command":{"reg":1},
|
||||
"abc":{"reg":31}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
"in":{ "34":{"item":"relays","emit":"myhome/in/bedr","scmd":"TOGGLE","rcmd":""},
|
||||
|
||||
"17":{"T":64,"emit":"analog","map":[0,1024,0,100,15]}
|
||||
}
|
||||
}
|
||||
2612
docs/Doxyfile
Normal file
204
docs/html/abstractch_8cpp.html
Normal file
@@ -0,0 +1,204 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>LightHub: abstractch.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="lh.png"/></td>
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">LightHub
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_82d7c1f210290ade9e0671f857ad27e3.html">lighthub</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">abstractch.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="abstractch_8h_source.html">abstractch.h</a>"</code><br />
|
||||
<code>#include <PubSubClient.h></code><br />
|
||||
<code>#include "<a class="el" href="utils_8h_source.html">utils.h</a>"</code><br />
|
||||
<code>#include <aJSON.h></code><br />
|
||||
<code>#include "<a class="el" href="main_8h_source.html">main.h</a>"</code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for abstractch.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="abstractch_8cpp__incl.png" border="0" usemap="#aabstractch_8cpp" alt=""/></div>
|
||||
<map name="abstractch_8cpp" id="aabstractch_8cpp">
|
||||
<area shape="rect" title=" " alt="" coords="854,5,962,32"/>
|
||||
<area shape="rect" href="abstractch_8h.html" title=" " alt="" coords="1015,379,1110,405"/>
|
||||
<area shape="rect" title=" " alt="" coords="111,155,224,181"/>
|
||||
<area shape="rect" href="utils_8h.html" title=" " alt="" coords="248,155,306,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="740,304,816,331"/>
|
||||
<area shape="rect" href="main_8h.html" title=" " alt="" coords="877,80,938,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="880,453,957,480"/>
|
||||
<area shape="rect" title=" " alt="" coords="31,229,123,256"/>
|
||||
<area shape="rect" href="options_8h.html" title=" " alt="" coords="324,304,398,331"/>
|
||||
<area shape="rect" href="item_8h.html" title=" " alt="" coords="365,229,424,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="147,229,239,256"/>
|
||||
<area shape="rect" href="abstractout_8h.html" title=" " alt="" coords="617,304,716,331"/>
|
||||
<area shape="rect" href="item_cmd_8h.html" title=" " alt="" coords="623,379,710,405"/>
|
||||
<area shape="rect" href="streamlog_8h.html" title=" " alt="" coords="984,155,1074,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="582,229,724,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="1099,155,1218,181"/>
|
||||
<area shape="rect" href="ow_term_8h.html" title=" " alt="" coords="830,155,908,181"/>
|
||||
<area shape="rect" href="dmx_8h.html" title=" " alt="" coords="448,229,506,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="1242,155,1325,181"/>
|
||||
<area shape="rect" href="textconst_8h.html" title=" " alt="" coords="1442,155,1528,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="1552,155,1607,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="1631,155,1696,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="498,155,560,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="584,155,653,181"/>
|
||||
<area shape="rect" href="inputs_8h.html" title=" " alt="" coords="1350,155,1418,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="1314,229,1374,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="1064,229,1186,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="1211,229,1290,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="996,304,1056,331"/>
|
||||
<area shape="rect" title=" " alt="" coords="800,229,938,256"/>
|
||||
<area shape="rect" href="in__ccs811__hdc1080_8h.html" title=" " alt="" coords="1500,229,1702,256"/>
|
||||
<area shape="rect" href="abstractin_8h.html" title=" " alt="" coords="1081,304,1172,331"/>
|
||||
<area shape="rect" title=" " alt="" coords="1353,304,1524,331"/>
|
||||
<area shape="rect" title=" " alt="" coords="1548,304,1686,331"/>
|
||||
</map>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a7bbda7cf303a1bc3222e7a270f9040bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="main_8h.html#a98b39d850b041da059cf5de62463a473">lan_status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="abstractch_8cpp.html#a7bbda7cf303a1bc3222e7a270f9040bd">lanStatus</a></td></tr>
|
||||
<tr class="separator:a7bbda7cf303a1bc3222e7a270f9040bd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a86d63f481644da70f063c2593fcafe19"><td class="memItemLeft" align="right" valign="top">PubSubClient </td><td class="memItemRight" valign="bottom"><a class="el" href="abstractch_8cpp.html#a86d63f481644da70f063c2593fcafe19">mqttClient</a></td></tr>
|
||||
<tr class="separator:a86d63f481644da70f063c2593fcafe19"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a525d99b2753ef2f4055ea4475dbc10d7"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="abstractch_8cpp.html#a525d99b2753ef2f4055ea4475dbc10d7">ethernetIdleCount</a></td></tr>
|
||||
<tr class="separator:a525d99b2753ef2f4055ea4475dbc10d7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a id="a525d99b2753ef2f4055ea4475dbc10d7"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a525d99b2753ef2f4055ea4475dbc10d7">◆ </a></span>ethernetIdleCount</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int8_t ethernetIdleCount</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">extern</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a7bbda7cf303a1bc3222e7a270f9040bd"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a7bbda7cf303a1bc3222e7a270f9040bd">◆ </a></span>lanStatus</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="main_8h.html#a98b39d850b041da059cf5de62463a473">lan_status</a> lanStatus</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">extern</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a86d63f481644da70f063c2593fcafe19"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a86d63f481644da70f063c2593fcafe19">◆ </a></span>mqttClient</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">PubSubClient mqttClient</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">extern</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
36
docs/html/abstractch_8cpp__incl.map
Normal file
@@ -0,0 +1,36 @@
|
||||
<map id="abstractch.cpp" name="abstractch.cpp">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="854,5,962,32"/>
|
||||
<area shape="rect" id="node2" href="$abstractch_8h.html" title=" " alt="" coords="1015,379,1110,405"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="111,155,224,181"/>
|
||||
<area shape="rect" id="node5" href="$utils_8h.html" title=" " alt="" coords="248,155,306,181"/>
|
||||
<area shape="rect" id="node7" title=" " alt="" coords="740,304,816,331"/>
|
||||
<area shape="rect" id="node13" href="$main_8h.html" title=" " alt="" coords="877,80,938,107"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="880,453,957,480"/>
|
||||
<area shape="rect" id="node6" title=" " alt="" coords="31,229,123,256"/>
|
||||
<area shape="rect" id="node8" href="$options_8h.html" title=" " alt="" coords="324,304,398,331"/>
|
||||
<area shape="rect" id="node9" href="$item_8h.html" title=" " alt="" coords="365,229,424,256"/>
|
||||
<area shape="rect" id="node12" title=" " alt="" coords="147,229,239,256"/>
|
||||
<area shape="rect" id="node10" href="$abstractout_8h.html" title=" " alt="" coords="617,304,716,331"/>
|
||||
<area shape="rect" id="node11" href="$item_cmd_8h.html" title=" " alt="" coords="623,379,710,405"/>
|
||||
<area shape="rect" id="node14" href="$streamlog_8h.html" title=" " alt="" coords="984,155,1074,181"/>
|
||||
<area shape="rect" id="node18" title=" " alt="" coords="582,229,724,256"/>
|
||||
<area shape="rect" id="node19" title=" " alt="" coords="1099,155,1218,181"/>
|
||||
<area shape="rect" id="node20" href="$ow_term_8h.html" title=" " alt="" coords="830,155,908,181"/>
|
||||
<area shape="rect" id="node23" href="$dmx_8h.html" title=" " alt="" coords="448,229,506,256"/>
|
||||
<area shape="rect" id="node24" title=" " alt="" coords="1242,155,1325,181"/>
|
||||
<area shape="rect" id="node25" href="$textconst_8h.html" title=" " alt="" coords="1442,155,1528,181"/>
|
||||
<area shape="rect" id="node26" title=" " alt="" coords="1552,155,1607,181"/>
|
||||
<area shape="rect" id="node27" title=" " alt="" coords="1631,155,1696,181"/>
|
||||
<area shape="rect" id="node28" title=" " alt="" coords="498,155,560,181"/>
|
||||
<area shape="rect" id="node29" title=" " alt="" coords="584,155,653,181"/>
|
||||
<area shape="rect" id="node30" href="$inputs_8h.html" title=" " alt="" coords="1350,155,1418,181"/>
|
||||
<area shape="rect" id="node15" title=" " alt="" coords="1314,229,1374,256"/>
|
||||
<area shape="rect" id="node16" title=" " alt="" coords="1064,229,1186,256"/>
|
||||
<area shape="rect" id="node17" title=" " alt="" coords="1211,229,1290,256"/>
|
||||
<area shape="rect" id="node21" title=" " alt="" coords="996,304,1056,331"/>
|
||||
<area shape="rect" id="node22" title=" " alt="" coords="800,229,938,256"/>
|
||||
<area shape="rect" id="node31" href="$in__ccs811__hdc1080_8h.html" title=" " alt="" coords="1500,229,1702,256"/>
|
||||
<area shape="rect" id="node32" href="$abstractin_8h.html" title=" " alt="" coords="1081,304,1172,331"/>
|
||||
<area shape="rect" id="node33" title=" " alt="" coords="1353,304,1524,331"/>
|
||||
<area shape="rect" id="node34" title=" " alt="" coords="1548,304,1686,331"/>
|
||||
</map>
|
||||
1
docs/html/abstractch_8cpp__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
536d14b66522f47b943354ef4e5ae032
|
||||
BIN
docs/html/abstractch_8cpp__incl.png
Normal file
|
After Width: | Height: | Size: 160 KiB |
191
docs/html/abstractch_8h.html
Normal file
@@ -0,0 +1,191 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>LightHub: abstractch.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="lh.png"/></td>
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">LightHub
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_82d7c1f210290ade9e0671f857ad27e3.html">lighthub</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">abstractch.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "Arduino.h"</code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for abstractch.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="abstractch_8h__incl.png" border="0" usemap="#aabstractch_8h" alt=""/></div>
|
||||
<map name="abstractch_8h" id="aabstractch_8h">
|
||||
<area shape="rect" title=" " alt="" coords="5,5,100,32"/>
|
||||
<area shape="rect" title=" " alt="" coords="14,80,91,107"/>
|
||||
</map>
|
||||
</div>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
This graph shows which files directly or indirectly include this file:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="abstractch_8h__dep__incl.png" border="0" usemap="#aabstractch_8hdep" alt=""/></div>
|
||||
<map name="abstractch_8hdep" id="aabstractch_8hdep">
|
||||
<area shape="rect" title=" " alt="" coords="334,5,429,32"/>
|
||||
<area shape="rect" href="abstractch_8cpp.html" title=" " alt="" coords="427,379,535,405"/>
|
||||
<area shape="rect" href="abstractin_8cpp.html" title=" " alt="" coords="5,379,109,405"/>
|
||||
<area shape="rect" href="abstractin_8h.html" title=" " alt="" coords="236,80,327,107"/>
|
||||
<area shape="rect" href="abstractout_8h.html" title=" " alt="" coords="1519,80,1617,107"/>
|
||||
<area shape="rect" href="in__ccs811__hdc1080_8h.html" title=" " alt="" coords="207,155,355,181"/>
|
||||
<area shape="rect" href="inputs_8h.html" title=" " alt="" coords="247,229,315,256"/>
|
||||
<area shape="rect" href="in__ccs811__hdc1080_8cpp.html" title=" " alt="" coords="133,379,296,405"/>
|
||||
<area shape="rect" href="inputs_8cpp.html" title=" " alt="" coords="320,379,403,405"/>
|
||||
<area shape="rect" href="main_8h.html" title=" " alt="" coords="776,304,837,331"/>
|
||||
<area shape="rect" href="colorchannel_8cpp.html" title=" " alt="" coords="1125,379,1245,405"/>
|
||||
<area shape="rect" href="item_8cpp.html" title=" " alt="" coords="1791,379,1863,405"/>
|
||||
<area shape="rect" href="item_cmd_8cpp.html" title=" " alt="" coords="873,379,973,405"/>
|
||||
<area shape="rect" href="main_8cpp.html" title=" " alt="" coords="773,379,848,405"/>
|
||||
<area shape="rect" href="out__ac_8cpp.html" title=" " alt="" coords="1997,379,2083,405"/>
|
||||
<area shape="rect" href="out__dmx_8cpp.html" title=" " alt="" coords="1270,379,1367,405"/>
|
||||
<area shape="rect" href="out__modbus_8cpp.html" title=" " alt="" coords="1647,379,1766,405"/>
|
||||
<area shape="rect" href="out__motor_8cpp.html" title=" " alt="" coords="997,379,1101,405"/>
|
||||
<area shape="rect" href="out__pwm_8cpp.html" title=" " alt="" coords="1391,379,1491,405"/>
|
||||
<area shape="rect" href="out__spiled_8cpp.html" title=" " alt="" coords="1516,379,1623,405"/>
|
||||
<area shape="rect" href="ow_term_8cpp.html" title=" " alt="" coords="560,379,653,405"/>
|
||||
<area shape="rect" href="utils_8cpp.html" title=" " alt="" coords="678,379,749,405"/>
|
||||
<area shape="rect" href="colorchannel_8h.html" title=" " alt="" coords="1515,229,1621,256"/>
|
||||
<area shape="rect" href="out__dmx_8h.html" title=" " alt="" coords="1376,304,1459,331"/>
|
||||
<area shape="rect" href="out__pwm_8h.html" title=" " alt="" coords="1635,304,1722,331"/>
|
||||
<area shape="rect" href="out__spiled_8h.html" title=" " alt="" coords="1746,304,1838,331"/>
|
||||
<area shape="rect" href="item_8h.html" title=" " alt="" coords="1169,155,1228,181"/>
|
||||
<area shape="rect" href="out__modbus_8h.html" title=" " alt="" coords="1899,229,2003,256"/>
|
||||
<area shape="rect" href="out__motor_8h.html" title=" " alt="" coords="1261,304,1352,331"/>
|
||||
<area shape="rect" href="out__ac_8h.html" title=" " alt="" coords="2077,304,2149,331"/>
|
||||
<area shape="rect" href="dmx_8cpp.html" title=" " alt="" coords="1013,229,1085,256"/>
|
||||
<area shape="rect" href="utils_8h.html" title=" " alt="" coords="643,229,701,256"/>
|
||||
</map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="abstractch_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classabstract_ch.html">abstractCh</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ad5c9fbfc15fa16113c539de3867f54fc"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="abstractch_8h.html#ad5c9fbfc15fa16113c539de3867f54fc">CST_UNKNOWN</a>   0</td></tr>
|
||||
<tr class="separator:ad5c9fbfc15fa16113c539de3867f54fc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab7dea1d4d49f436619dd52ce3da0d6c3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="abstractch_8h.html#ab7dea1d4d49f436619dd52ce3da0d6c3">CST_INITIALIZED</a>   1</td></tr>
|
||||
<tr class="separator:ab7dea1d4d49f436619dd52ce3da0d6c3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adcf23ecf1f6e4dbc5a6780645425399e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="abstractch_8h.html#adcf23ecf1f6e4dbc5a6780645425399e">CST_FAILED</a>   2</td></tr>
|
||||
<tr class="separator:adcf23ecf1f6e4dbc5a6780645425399e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="adcf23ecf1f6e4dbc5a6780645425399e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#adcf23ecf1f6e4dbc5a6780645425399e">◆ </a></span>CST_FAILED</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CST_FAILED   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab7dea1d4d49f436619dd52ce3da0d6c3"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab7dea1d4d49f436619dd52ce3da0d6c3">◆ </a></span>CST_INITIALIZED</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CST_INITIALIZED   1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ad5c9fbfc15fa16113c539de3867f54fc"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad5c9fbfc15fa16113c539de3867f54fc">◆ </a></span>CST_UNKNOWN</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define CST_UNKNOWN   0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
34
docs/html/abstractch_8h__dep__incl.map
Normal file
@@ -0,0 +1,34 @@
|
||||
<map id="abstractch.h" name="abstractch.h">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="334,5,429,32"/>
|
||||
<area shape="rect" id="node2" href="$abstractch_8cpp.html" title=" " alt="" coords="427,379,535,405"/>
|
||||
<area shape="rect" id="node3" href="$abstractin_8cpp.html" title=" " alt="" coords="5,379,109,405"/>
|
||||
<area shape="rect" id="node4" href="$abstractin_8h.html" title=" " alt="" coords="236,80,327,107"/>
|
||||
<area shape="rect" id="node22" href="$abstractout_8h.html" title=" " alt="" coords="1519,80,1617,107"/>
|
||||
<area shape="rect" id="node5" href="$in__ccs811__hdc1080_8h.html" title=" " alt="" coords="207,155,355,181"/>
|
||||
<area shape="rect" id="node6" href="$inputs_8h.html" title=" " alt="" coords="247,229,315,256"/>
|
||||
<area shape="rect" id="node13" href="$in__ccs811__hdc1080_8cpp.html" title=" " alt="" coords="133,379,296,405"/>
|
||||
<area shape="rect" id="node7" href="$inputs_8cpp.html" title=" " alt="" coords="320,379,403,405"/>
|
||||
<area shape="rect" id="node8" href="$main_8h.html" title=" " alt="" coords="776,304,837,331"/>
|
||||
<area shape="rect" id="node9" href="$colorchannel_8cpp.html" title=" " alt="" coords="1125,379,1245,405"/>
|
||||
<area shape="rect" id="node10" href="$item_8cpp.html" title=" " alt="" coords="1791,379,1863,405"/>
|
||||
<area shape="rect" id="node11" href="$item_cmd_8cpp.html" title=" " alt="" coords="873,379,973,405"/>
|
||||
<area shape="rect" id="node12" href="$main_8cpp.html" title=" " alt="" coords="773,379,848,405"/>
|
||||
<area shape="rect" id="node14" href="$out__ac_8cpp.html" title=" " alt="" coords="1997,379,2083,405"/>
|
||||
<area shape="rect" id="node15" href="$out__dmx_8cpp.html" title=" " alt="" coords="1270,379,1367,405"/>
|
||||
<area shape="rect" id="node16" href="$out__modbus_8cpp.html" title=" " alt="" coords="1647,379,1766,405"/>
|
||||
<area shape="rect" id="node17" href="$out__motor_8cpp.html" title=" " alt="" coords="997,379,1101,405"/>
|
||||
<area shape="rect" id="node18" href="$out__pwm_8cpp.html" title=" " alt="" coords="1391,379,1491,405"/>
|
||||
<area shape="rect" id="node19" href="$out__spiled_8cpp.html" title=" " alt="" coords="1516,379,1623,405"/>
|
||||
<area shape="rect" id="node20" href="$ow_term_8cpp.html" title=" " alt="" coords="560,379,653,405"/>
|
||||
<area shape="rect" id="node21" href="$utils_8cpp.html" title=" " alt="" coords="678,379,749,405"/>
|
||||
<area shape="rect" id="node23" href="$colorchannel_8h.html" title=" " alt="" coords="1515,229,1621,256"/>
|
||||
<area shape="rect" id="node24" href="$out__dmx_8h.html" title=" " alt="" coords="1376,304,1459,331"/>
|
||||
<area shape="rect" id="node25" href="$out__pwm_8h.html" title=" " alt="" coords="1635,304,1722,331"/>
|
||||
<area shape="rect" id="node26" href="$out__spiled_8h.html" title=" " alt="" coords="1746,304,1838,331"/>
|
||||
<area shape="rect" id="node27" href="$item_8h.html" title=" " alt="" coords="1169,155,1228,181"/>
|
||||
<area shape="rect" id="node29" href="$out__modbus_8h.html" title=" " alt="" coords="1899,229,2003,256"/>
|
||||
<area shape="rect" id="node30" href="$out__motor_8h.html" title=" " alt="" coords="1261,304,1352,331"/>
|
||||
<area shape="rect" id="node32" href="$out__ac_8h.html" title=" " alt="" coords="2077,304,2149,331"/>
|
||||
<area shape="rect" id="node28" href="$dmx_8cpp.html" title=" " alt="" coords="1013,229,1085,256"/>
|
||||
<area shape="rect" id="node31" href="$utils_8h.html" title=" " alt="" coords="643,229,701,256"/>
|
||||
</map>
|
||||
1
docs/html/abstractch_8h__dep__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
aae00a4241cf828772d2c2228bce20ab
|
||||
BIN
docs/html/abstractch_8h__dep__incl.png
Normal file
|
After Width: | Height: | Size: 231 KiB |
4
docs/html/abstractch_8h__incl.map
Normal file
@@ -0,0 +1,4 @@
|
||||
<map id="abstractch.h" name="abstractch.h">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="5,5,100,32"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="14,80,91,107"/>
|
||||
</map>
|
||||
1
docs/html/abstractch_8h__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
5dfff2547ef0fc4900dbead091e1dc62
|
||||
BIN
docs/html/abstractch_8h__incl.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
113
docs/html/abstractch_8h_source.html
Normal file
@@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>LightHub: abstractch.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="lh.png"/></td>
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">LightHub
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_82d7c1f210290ade9e0671f857ad27e3.html">lighthub</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">abstractch.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="abstractch_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "Arduino.h"</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="abstractch_8h.html#ad5c9fbfc15fa16113c539de3867f54fc"> 4</a></span> <span class="preprocessor">#define CST_UNKNOWN 0</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="abstractch_8h.html#ab7dea1d4d49f436619dd52ce3da0d6c3"> 5</a></span> <span class="preprocessor">#define CST_INITIALIZED 1</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="abstractch_8h.html#adcf23ecf1f6e4dbc5a6780645425399e"> 6</a></span> <span class="preprocessor">#define CST_FAILED 2</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="classabstract_ch.html"> 8</a></span> <span class="keyword">class </span><a class="code" href="classabstract_ch.html">abstractCh</a> {</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="classabstract_ch.html#a8f13aa9c0f6749f7f064d1930667aaed"> 10</a></span>  <a class="code" href="classabstract_ch.html#a8f13aa9c0f6749f7f064d1930667aaed">abstractCh</a>(){};</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="classabstract_ch.html#a58f34f5341674622c30f5c005ceadead"> 11</a></span>  <span class="keyword">virtual</span> <a class="code" href="classabstract_ch.html#a58f34f5341674622c30f5c005ceadead">~abstractCh</a>(){};</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="classabstract_ch.html#a044156a4dc4ca38d3e731b7df23d058a"> 12</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_ch.html#a044156a4dc4ca38d3e731b7df23d058a">Poll</a>(<span class="keywordtype">short</span> cause) = 0;</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="classabstract_ch.html#aeaf6346625245be1774a6d27d9cece4e"> 13</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_ch.html#aeaf6346625245be1774a6d27d9cece4e">Setup</a>() =0; <span class="comment">//Should initialize hardware and reserve resources</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classabstract_ch.html#a2e75f5b76a25accdb1de0c936951a93f"> 14</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_ch.html#a2e75f5b76a25accdb1de0c936951a93f">Anounce</a> () {<span class="keywordflow">return</span> 0;};</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classabstract_ch.html#afb7b6f4586412a13f8f6ac08061e5ae0"> 15</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_ch.html#afb7b6f4586412a13f8f6ac08061e5ae0">Stop</a>() {<span class="keywordflow">return</span> 0;}; <span class="comment">//Should free resources</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classabstract_ch.html#aefb8821172a2e66f49ea0da9b7c205a5"> 16</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_ch.html#aefb8821172a2e66f49ea0da9b7c205a5">Status</a>() {<span class="keywordflow">return</span> <a class="code" href="abstractch_8h.html#ad5c9fbfc15fa16113c539de3867f54fc">CST_UNKNOWN</a>;}</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_ch.html#a4f1da04403789b710ca3929c57af9d32">publishTopic</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* topic, <span class="keywordtype">long</span> value, <span class="keyword">const</span> <span class="keywordtype">char</span>* subtopic = NULL);</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_ch.html#a4f1da04403789b710ca3929c57af9d32">publishTopic</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* topic, <span class="keywordtype">float</span> value, <span class="keyword">const</span> <span class="keywordtype">char</span>* subtopic = NULL );</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_ch.html#a4f1da04403789b710ca3929c57af9d32">publishTopic</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* topic, <span class="keyword">const</span> <span class="keywordtype">char</span> * value, <span class="keyword">const</span> <span class="keywordtype">char</span>* subtopic = NULL);</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">//friend Input;</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> };</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="aclassabstract_ch_html_a2e75f5b76a25accdb1de0c936951a93f"><div class="ttname"><a href="classabstract_ch.html#a2e75f5b76a25accdb1de0c936951a93f">abstractCh::Anounce</a></div><div class="ttdeci">virtual int Anounce()</div><div class="ttdef"><b>Definition:</b> abstractch.h:14</div></div>
|
||||
<div class="ttc" id="aclassabstract_ch_html_afb7b6f4586412a13f8f6ac08061e5ae0"><div class="ttname"><a href="classabstract_ch.html#afb7b6f4586412a13f8f6ac08061e5ae0">abstractCh::Stop</a></div><div class="ttdeci">virtual int Stop()</div><div class="ttdef"><b>Definition:</b> abstractch.h:15</div></div>
|
||||
<div class="ttc" id="aabstractch_8h_html_ad5c9fbfc15fa16113c539de3867f54fc"><div class="ttname"><a href="abstractch_8h.html#ad5c9fbfc15fa16113c539de3867f54fc">CST_UNKNOWN</a></div><div class="ttdeci">#define CST_UNKNOWN</div><div class="ttdef"><b>Definition:</b> abstractch.h:4</div></div>
|
||||
<div class="ttc" id="aclassabstract_ch_html"><div class="ttname"><a href="classabstract_ch.html">abstractCh</a></div><div class="ttdef"><b>Definition:</b> abstractch.h:8</div></div>
|
||||
<div class="ttc" id="aclassabstract_ch_html_a8f13aa9c0f6749f7f064d1930667aaed"><div class="ttname"><a href="classabstract_ch.html#a8f13aa9c0f6749f7f064d1930667aaed">abstractCh::abstractCh</a></div><div class="ttdeci">abstractCh()</div><div class="ttdef"><b>Definition:</b> abstractch.h:10</div></div>
|
||||
<div class="ttc" id="aclassabstract_ch_html_aeaf6346625245be1774a6d27d9cece4e"><div class="ttname"><a href="classabstract_ch.html#aeaf6346625245be1774a6d27d9cece4e">abstractCh::Setup</a></div><div class="ttdeci">virtual int Setup()=0</div></div>
|
||||
<div class="ttc" id="aclassabstract_ch_html_a58f34f5341674622c30f5c005ceadead"><div class="ttname"><a href="classabstract_ch.html#a58f34f5341674622c30f5c005ceadead">abstractCh::~abstractCh</a></div><div class="ttdeci">virtual ~abstractCh()</div><div class="ttdef"><b>Definition:</b> abstractch.h:11</div></div>
|
||||
<div class="ttc" id="aclassabstract_ch_html_a4f1da04403789b710ca3929c57af9d32"><div class="ttname"><a href="classabstract_ch.html#a4f1da04403789b710ca3929c57af9d32">abstractCh::publishTopic</a></div><div class="ttdeci">virtual int publishTopic(const char *topic, long value, const char *subtopic=NULL)</div><div class="ttdef"><b>Definition:</b> abstractch.cpp:12</div></div>
|
||||
<div class="ttc" id="aclassabstract_ch_html_a044156a4dc4ca38d3e731b7df23d058a"><div class="ttname"><a href="classabstract_ch.html#a044156a4dc4ca38d3e731b7df23d058a">abstractCh::Poll</a></div><div class="ttdeci">virtual int Poll(short cause)=0</div></div>
|
||||
<div class="ttc" id="aclassabstract_ch_html_aefb8821172a2e66f49ea0da9b7c205a5"><div class="ttname"><a href="classabstract_ch.html#aefb8821172a2e66f49ea0da9b7c205a5">abstractCh::Status</a></div><div class="ttdeci">virtual int Status()</div><div class="ttdef"><b>Definition:</b> abstractch.h:16</div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
182
docs/html/abstractin_8cpp.html
Normal file
@@ -0,0 +1,182 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>LightHub: abstractin.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="lh.png"/></td>
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">LightHub
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_82d7c1f210290ade9e0671f857ad27e3.html">lighthub</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">abstractin.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="abstractin_8h_source.html">abstractin.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="abstractch_8h_source.html">abstractch.h</a>"</code><br />
|
||||
<code>#include <PubSubClient.h></code><br />
|
||||
<code>#include "<a class="el" href="utils_8h_source.html">utils.h</a>"</code><br />
|
||||
<code>#include <aJSON.h></code><br />
|
||||
<code>#include "<a class="el" href="inputs_8h_source.html">inputs.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="main_8h_source.html">main.h</a>"</code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for abstractin.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="abstractin_8cpp__incl.png" border="0" usemap="#aabstractin_8cpp" alt=""/></div>
|
||||
<map name="abstractin_8cpp" id="aabstractin_8cpp">
|
||||
<area shape="rect" title=" " alt="" coords="424,5,528,32"/>
|
||||
<area shape="rect" href="abstractin_8h.html" title=" " alt="" coords="5,304,96,331"/>
|
||||
<area shape="rect" href="abstractch_8h.html" title=" " alt="" coords="329,379,423,405"/>
|
||||
<area shape="rect" title=" " alt="" coords="305,155,418,181"/>
|
||||
<area shape="rect" href="utils_8h.html" title=" " alt="" coords="693,155,750,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="793,304,869,331"/>
|
||||
<area shape="rect" href="inputs_8h.html" title=" " alt="" coords="442,155,510,181"/>
|
||||
<area shape="rect" href="main_8h.html" title=" " alt="" coords="1320,80,1381,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="655,453,732,480"/>
|
||||
<area shape="rect" title=" " alt="" coords="615,229,707,256"/>
|
||||
<area shape="rect" href="options_8h.html" title=" " alt="" coords="1261,304,1336,331"/>
|
||||
<area shape="rect" href="item_8h.html" title=" " alt="" coords="985,229,1044,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="499,229,591,256"/>
|
||||
<area shape="rect" href="abstractout_8h.html" title=" " alt="" coords="893,304,992,331"/>
|
||||
<area shape="rect" href="item_cmd_8h.html" title=" " alt="" coords="899,379,986,405"/>
|
||||
<area shape="rect" href="in__ccs811__hdc1080_8h.html" title=" " alt="" coords="171,229,373,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="651,304,711,331"/>
|
||||
<area shape="rect" title=" " alt="" coords="171,304,341,331"/>
|
||||
<area shape="rect" title=" " alt="" coords="365,304,504,331"/>
|
||||
<area shape="rect" href="streamlog_8h.html" title=" " alt="" coords="1599,155,1689,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="1282,229,1425,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="1714,155,1833,181"/>
|
||||
<area shape="rect" href="ow_term_8h.html" title=" " alt="" coords="1311,155,1390,181"/>
|
||||
<area shape="rect" href="dmx_8h.html" title=" " alt="" coords="1449,229,1508,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="1937,155,2020,181"/>
|
||||
<area shape="rect" href="textconst_8h.html" title=" " alt="" coords="2045,155,2131,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="2155,155,2210,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="1042,155,1107,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="1132,155,1193,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="1217,155,1287,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="1833,229,1893,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="1583,229,1705,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="1730,229,1809,256"/>
|
||||
<area shape="rect" title=" " alt="" coords="1119,229,1257,256"/>
|
||||
</map>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:a7bbda7cf303a1bc3222e7a270f9040bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="main_8h.html#a98b39d850b041da059cf5de62463a473">lan_status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="abstractin_8cpp.html#a7bbda7cf303a1bc3222e7a270f9040bd">lanStatus</a></td></tr>
|
||||
<tr class="separator:a7bbda7cf303a1bc3222e7a270f9040bd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a86d63f481644da70f063c2593fcafe19"><td class="memItemLeft" align="right" valign="top">PubSubClient </td><td class="memItemRight" valign="bottom"><a class="el" href="abstractin_8cpp.html#a86d63f481644da70f063c2593fcafe19">mqttClient</a></td></tr>
|
||||
<tr class="separator:a86d63f481644da70f063c2593fcafe19"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a id="a7bbda7cf303a1bc3222e7a270f9040bd"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a7bbda7cf303a1bc3222e7a270f9040bd">◆ </a></span>lanStatus</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="main_8h.html#a98b39d850b041da059cf5de62463a473">lan_status</a> lanStatus</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">extern</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a86d63f481644da70f063c2593fcafe19"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a86d63f481644da70f063c2593fcafe19">◆ </a></span>mqttClient</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">PubSubClient mqttClient</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">extern</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
36
docs/html/abstractin_8cpp__incl.map
Normal file
@@ -0,0 +1,36 @@
|
||||
<map id="abstractin.cpp" name="abstractin.cpp">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="424,5,528,32"/>
|
||||
<area shape="rect" id="node2" href="$abstractin_8h.html" title=" " alt="" coords="5,304,96,331"/>
|
||||
<area shape="rect" id="node4" href="$abstractch_8h.html" title=" " alt="" coords="329,379,423,405"/>
|
||||
<area shape="rect" id="node5" title=" " alt="" coords="305,155,418,181"/>
|
||||
<area shape="rect" id="node6" href="$utils_8h.html" title=" " alt="" coords="693,155,750,181"/>
|
||||
<area shape="rect" id="node8" title=" " alt="" coords="793,304,869,331"/>
|
||||
<area shape="rect" id="node14" href="$inputs_8h.html" title=" " alt="" coords="442,155,510,181"/>
|
||||
<area shape="rect" id="node19" href="$main_8h.html" title=" " alt="" coords="1320,80,1381,107"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="655,453,732,480"/>
|
||||
<area shape="rect" id="node7" title=" " alt="" coords="615,229,707,256"/>
|
||||
<area shape="rect" id="node9" href="$options_8h.html" title=" " alt="" coords="1261,304,1336,331"/>
|
||||
<area shape="rect" id="node10" href="$item_8h.html" title=" " alt="" coords="985,229,1044,256"/>
|
||||
<area shape="rect" id="node13" title=" " alt="" coords="499,229,591,256"/>
|
||||
<area shape="rect" id="node11" href="$abstractout_8h.html" title=" " alt="" coords="893,304,992,331"/>
|
||||
<area shape="rect" id="node12" href="$item_cmd_8h.html" title=" " alt="" coords="899,379,986,405"/>
|
||||
<area shape="rect" id="node15" href="$in__ccs811__hdc1080_8h.html" title=" " alt="" coords="171,229,373,256"/>
|
||||
<area shape="rect" id="node16" title=" " alt="" coords="651,304,711,331"/>
|
||||
<area shape="rect" id="node17" title=" " alt="" coords="171,304,341,331"/>
|
||||
<area shape="rect" id="node18" title=" " alt="" coords="365,304,504,331"/>
|
||||
<area shape="rect" id="node20" href="$streamlog_8h.html" title=" " alt="" coords="1599,155,1689,181"/>
|
||||
<area shape="rect" id="node24" title=" " alt="" coords="1282,229,1425,256"/>
|
||||
<area shape="rect" id="node25" title=" " alt="" coords="1714,155,1833,181"/>
|
||||
<area shape="rect" id="node26" href="$ow_term_8h.html" title=" " alt="" coords="1311,155,1390,181"/>
|
||||
<area shape="rect" id="node28" href="$dmx_8h.html" title=" " alt="" coords="1449,229,1508,256"/>
|
||||
<area shape="rect" id="node29" title=" " alt="" coords="1937,155,2020,181"/>
|
||||
<area shape="rect" id="node30" href="$textconst_8h.html" title=" " alt="" coords="2045,155,2131,181"/>
|
||||
<area shape="rect" id="node31" title=" " alt="" coords="2155,155,2210,181"/>
|
||||
<area shape="rect" id="node32" title=" " alt="" coords="1042,155,1107,181"/>
|
||||
<area shape="rect" id="node33" title=" " alt="" coords="1132,155,1193,181"/>
|
||||
<area shape="rect" id="node34" title=" " alt="" coords="1217,155,1287,181"/>
|
||||
<area shape="rect" id="node21" title=" " alt="" coords="1833,229,1893,256"/>
|
||||
<area shape="rect" id="node22" title=" " alt="" coords="1583,229,1705,256"/>
|
||||
<area shape="rect" id="node23" title=" " alt="" coords="1730,229,1809,256"/>
|
||||
<area shape="rect" id="node27" title=" " alt="" coords="1119,229,1257,256"/>
|
||||
</map>
|
||||
1
docs/html/abstractin_8cpp__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
6c92b8292e009cb6b9e208e3d3615e3a
|
||||
BIN
docs/html/abstractin_8cpp__incl.png
Normal file
|
After Width: | Height: | Size: 168 KiB |
128
docs/html/abstractin_8h.html
Normal file
@@ -0,0 +1,128 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>LightHub: abstractin.h File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="lh.png"/></td>
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">LightHub
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_82d7c1f210290ade9e0671f857ad27e3.html">lighthub</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">abstractin.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "Arduino.h"</code><br />
|
||||
<code>#include "<a class="el" href="abstractch_8h_source.html">abstractch.h</a>"</code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for abstractin.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="abstractin_8h__incl.png" border="0" usemap="#aabstractin_8h" alt=""/></div>
|
||||
<map name="abstractin_8h" id="aabstractin_8h">
|
||||
<area shape="rect" title=" " alt="" coords="5,5,96,32"/>
|
||||
<area shape="rect" title=" " alt="" coords="12,155,89,181"/>
|
||||
<area shape="rect" href="abstractch_8h.html" title=" " alt="" coords="46,80,141,107"/>
|
||||
</map>
|
||||
</div>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
This graph shows which files directly or indirectly include this file:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="abstractin_8h__dep__incl.png" border="0" usemap="#aabstractin_8hdep" alt=""/></div>
|
||||
<map name="abstractin_8hdep" id="aabstractin_8hdep">
|
||||
<area shape="rect" title=" " alt="" coords="1027,5,1117,32"/>
|
||||
<area shape="rect" href="abstractin_8cpp.html" title=" " alt="" coords="1868,304,1972,331"/>
|
||||
<area shape="rect" href="in__ccs811__hdc1080_8h.html" title=" " alt="" coords="939,80,1087,107"/>
|
||||
<area shape="rect" href="inputs_8h.html" title=" " alt="" coords="979,155,1047,181"/>
|
||||
<area shape="rect" href="in__ccs811__hdc1080_8cpp.html" title=" " alt="" coords="5,304,168,331"/>
|
||||
<area shape="rect" href="inputs_8cpp.html" title=" " alt="" coords="192,304,275,331"/>
|
||||
<area shape="rect" href="main_8h.html" title=" " alt="" coords="983,229,1044,256"/>
|
||||
<area shape="rect" href="abstractch_8cpp.html" title=" " alt="" coords="1495,304,1603,331"/>
|
||||
<area shape="rect" href="colorchannel_8cpp.html" title=" " alt="" coords="1628,304,1748,331"/>
|
||||
<area shape="rect" href="item_8cpp.html" title=" " alt="" coords="1772,304,1844,331"/>
|
||||
<area shape="rect" href="item_cmd_8cpp.html" title=" " alt="" coords="299,304,399,331"/>
|
||||
<area shape="rect" href="main_8cpp.html" title=" " alt="" coords="424,304,499,331"/>
|
||||
<area shape="rect" href="out__ac_8cpp.html" title=" " alt="" coords="523,304,610,331"/>
|
||||
<area shape="rect" href="out__dmx_8cpp.html" title=" " alt="" coords="634,304,731,331"/>
|
||||
<area shape="rect" href="out__modbus_8cpp.html" title=" " alt="" coords="755,304,874,331"/>
|
||||
<area shape="rect" href="out__motor_8cpp.html" title=" " alt="" coords="899,304,1003,331"/>
|
||||
<area shape="rect" href="out__pwm_8cpp.html" title=" " alt="" coords="1027,304,1127,331"/>
|
||||
<area shape="rect" href="out__spiled_8cpp.html" title=" " alt="" coords="1152,304,1259,331"/>
|
||||
<area shape="rect" href="ow_term_8cpp.html" title=" " alt="" coords="1283,304,1376,331"/>
|
||||
<area shape="rect" href="utils_8cpp.html" title=" " alt="" coords="1401,304,1471,331"/>
|
||||
</map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="abstractin_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classabstract_in.html">abstractIn</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
22
docs/html/abstractin_8h__dep__incl.map
Normal file
@@ -0,0 +1,22 @@
|
||||
<map id="abstractin.h" name="abstractin.h">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="1027,5,1117,32"/>
|
||||
<area shape="rect" id="node2" href="$abstractin_8cpp.html" title=" " alt="" coords="1868,304,1972,331"/>
|
||||
<area shape="rect" id="node3" href="$in__ccs811__hdc1080_8h.html" title=" " alt="" coords="939,80,1087,107"/>
|
||||
<area shape="rect" id="node4" href="$inputs_8h.html" title=" " alt="" coords="979,155,1047,181"/>
|
||||
<area shape="rect" id="node12" href="$in__ccs811__hdc1080_8cpp.html" title=" " alt="" coords="5,304,168,331"/>
|
||||
<area shape="rect" id="node5" href="$inputs_8cpp.html" title=" " alt="" coords="192,304,275,331"/>
|
||||
<area shape="rect" id="node6" href="$main_8h.html" title=" " alt="" coords="983,229,1044,256"/>
|
||||
<area shape="rect" id="node7" href="$abstractch_8cpp.html" title=" " alt="" coords="1495,304,1603,331"/>
|
||||
<area shape="rect" id="node8" href="$colorchannel_8cpp.html" title=" " alt="" coords="1628,304,1748,331"/>
|
||||
<area shape="rect" id="node9" href="$item_8cpp.html" title=" " alt="" coords="1772,304,1844,331"/>
|
||||
<area shape="rect" id="node10" href="$item_cmd_8cpp.html" title=" " alt="" coords="299,304,399,331"/>
|
||||
<area shape="rect" id="node11" href="$main_8cpp.html" title=" " alt="" coords="424,304,499,331"/>
|
||||
<area shape="rect" id="node13" href="$out__ac_8cpp.html" title=" " alt="" coords="523,304,610,331"/>
|
||||
<area shape="rect" id="node14" href="$out__dmx_8cpp.html" title=" " alt="" coords="634,304,731,331"/>
|
||||
<area shape="rect" id="node15" href="$out__modbus_8cpp.html" title=" " alt="" coords="755,304,874,331"/>
|
||||
<area shape="rect" id="node16" href="$out__motor_8cpp.html" title=" " alt="" coords="899,304,1003,331"/>
|
||||
<area shape="rect" id="node17" href="$out__pwm_8cpp.html" title=" " alt="" coords="1027,304,1127,331"/>
|
||||
<area shape="rect" id="node18" href="$out__spiled_8cpp.html" title=" " alt="" coords="1152,304,1259,331"/>
|
||||
<area shape="rect" id="node19" href="$ow_term_8cpp.html" title=" " alt="" coords="1283,304,1376,331"/>
|
||||
<area shape="rect" id="node20" href="$utils_8cpp.html" title=" " alt="" coords="1401,304,1471,331"/>
|
||||
</map>
|
||||
1
docs/html/abstractin_8h__dep__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
6ff9b34ccd929422f9f7b5840d673ae8
|
||||
BIN
docs/html/abstractin_8h__dep__incl.png
Normal file
|
After Width: | Height: | Size: 64 KiB |
5
docs/html/abstractin_8h__incl.map
Normal file
@@ -0,0 +1,5 @@
|
||||
<map id="abstractin.h" name="abstractin.h">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="5,5,96,32"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="12,155,89,181"/>
|
||||
<area shape="rect" id="node3" href="$abstractch_8h.html" title=" " alt="" coords="46,80,141,107"/>
|
||||
</map>
|
||||
1
docs/html/abstractin_8h__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
451bb8be0133139956a4ea158a1dc9d0
|
||||
BIN
docs/html/abstractin_8h__incl.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
103
docs/html/abstractin_8h_source.html
Normal file
@@ -0,0 +1,103 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>LightHub: abstractin.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="lh.png"/></td>
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">LightHub
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_82d7c1f210290ade9e0671f857ad27e3.html">lighthub</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">abstractin.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="abstractin_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "Arduino.h"</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "<a class="code" href="abstractch_8h.html">abstractch.h</a>"</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">class </span><a class="code" href="class_input.html">Input</a>;</div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="classabstract_in.html"> 6</a></span> <span class="keyword">class </span><a class="code" href="classabstract_in.html">abstractIn</a> : <span class="keyword">public</span> <a class="code" href="classabstract_ch.html">abstractCh</a>{</div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="classabstract_in.html#ab6b1dfafab3f52fe383d7e4014150ffb"> 8</a></span>  <a class="code" href="classabstract_in.html#ab6b1dfafab3f52fe383d7e4014150ffb">abstractIn</a>(<a class="code" href="class_input.html">Input</a> * _in):<a class="code" href="classabstract_ch.html">abstractCh</a>(){<a class="code" href="classabstract_in.html#a626e3421b4830ca81ca8b48fa802c1ca">in</a>=_in;};</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="classabstract_in.html#a626e3421b4830ca81ca8b48fa802c1ca"> 11</a></span>  <a class="code" href="class_input.html">Input</a> * <a class="code" href="classabstract_in.html#a626e3421b4830ca81ca8b48fa802c1ca">in</a>;</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_in.html#aa7e18605ec4d11d117881ac87b7ca016">publish</a>(<span class="keywordtype">long</span> value, <span class="keyword">const</span> <span class="keywordtype">char</span>* subtopic = NULL);</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_in.html#aa7e18605ec4d11d117881ac87b7ca016">publish</a>(<span class="keywordtype">float</span> value, <span class="keyword">const</span> <span class="keywordtype">char</span>* subtopic = NULL );</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keywordtype">int</span> <a class="code" href="classabstract_in.html#aa7e18605ec4d11d117881ac87b7ca016">publish</a>(<span class="keywordtype">char</span> * value, <span class="keyword">const</span> <span class="keywordtype">char</span>* subtopic = NULL);</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classabstract_in.html#a24f5c11f0de37b93cc9da4f5023040f7"> 15</a></span> <span class="keyword">friend</span> <a class="code" href="classabstract_in.html#a24f5c11f0de37b93cc9da4f5023040f7">Input</a>;</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> };</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="aabstractch_8h_html"><div class="ttname"><a href="abstractch_8h.html">abstractch.h</a></div></div>
|
||||
<div class="ttc" id="aclassabstract_in_html_ab6b1dfafab3f52fe383d7e4014150ffb"><div class="ttname"><a href="classabstract_in.html#ab6b1dfafab3f52fe383d7e4014150ffb">abstractIn::abstractIn</a></div><div class="ttdeci">abstractIn(Input *_in)</div><div class="ttdef"><b>Definition:</b> abstractin.h:8</div></div>
|
||||
<div class="ttc" id="aclassabstract_ch_html"><div class="ttname"><a href="classabstract_ch.html">abstractCh</a></div><div class="ttdef"><b>Definition:</b> abstractch.h:8</div></div>
|
||||
<div class="ttc" id="aclassabstract_in_html_a626e3421b4830ca81ca8b48fa802c1ca"><div class="ttname"><a href="classabstract_in.html#a626e3421b4830ca81ca8b48fa802c1ca">abstractIn::in</a></div><div class="ttdeci">Input * in</div><div class="ttdef"><b>Definition:</b> abstractin.h:8</div></div>
|
||||
<div class="ttc" id="aclassabstract_in_html_a24f5c11f0de37b93cc9da4f5023040f7"><div class="ttname"><a href="classabstract_in.html#a24f5c11f0de37b93cc9da4f5023040f7">abstractIn::Input</a></div><div class="ttdeci">friend Input</div><div class="ttdef"><b>Definition:</b> abstractin.h:15</div></div>
|
||||
<div class="ttc" id="aclass_input_html"><div class="ttname"><a href="class_input.html">Input</a></div><div class="ttdef"><b>Definition:</b> inputs.h:131</div></div>
|
||||
<div class="ttc" id="aclassabstract_in_html_aa7e18605ec4d11d117881ac87b7ca016"><div class="ttname"><a href="classabstract_in.html#aa7e18605ec4d11d117881ac87b7ca016">abstractIn::publish</a></div><div class="ttdeci">int publish(long value, const char *subtopic=NULL)</div><div class="ttdef"><b>Definition:</b> abstractin.cpp:13</div></div>
|
||||
<div class="ttc" id="aclassabstract_in_html"><div class="ttname"><a href="classabstract_in.html">abstractIn</a></div><div class="ttdef"><b>Definition:</b> abstractin.h:6</div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||