This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Add dependencies for HA support
fastled
Xose Pérez
7 years ago
parent
9046878122
commit
f175f4aeea
2 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
code/espurna/config/arduino.h
+2
-0
code/espurna/homeassitant.ino
+ 1
- 0
code/espurna/config/arduino.h
View File
@ -52,6 +52,7 @@
/
/
#
define
DOMOTICZ_SUPPORT
0
/
/
#
define
DS18B20_SUPPORT
1
/
/
#
define
EMON_SUPPORT
1
/
/
#
define
HOMEASSISTANT_SUPPORT
0
/
/
#
define
I2C_SUPPORT
1
/
/
#
define
INFLUXDB_SUPPORT
0
/
/
#
define
MDNS_SUPPORT
0
+ 2
- 0
code/espurna/homeassitant.ino
View File
@ -8,6 +8,8 @@ Copyright (C) 2017 by Xose Pérez <xose dot perez at gmail dot com>
#
if HOMEASSISTANT_SUPPORT
#
include
<ArduinoJson.h>
void
haSend
(
)
{
DEBUG_MSG_P
(
PSTR
(
"
[HA] Sending autodiscovery MQTT message
\n
"
)
)
;
Write
Preview
Loading…
Cancel
Save