diff --git a/code/espurna/config/sensors.h b/code/espurna/config/sensors.h index d95201de..957676cc 100644 --- a/code/espurna/config/sensors.h +++ b/code/espurna/config/sensors.h @@ -158,7 +158,7 @@ #endif #ifndef DALLAS_PIN -#define DALLAS_PIN 13 +#define DALLAS_PIN 14 #endif #define DALLAS_RESOLUTION 9 // Not used atm @@ -174,7 +174,7 @@ #endif #ifndef DHT_PIN -#define DHT_PIN 13 +#define DHT_PIN 14 #endif #ifndef DHT_TYPE diff --git a/code/platformio.ini b/code/platformio.ini index 11f2a876..2125994c 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -171,7 +171,7 @@ upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 monitor_baud = 115200 -[env:itead-sonoff-basic-dht22] +[env:itead-sonoff-basic-dht] platform = ${common.platform} framework = arduino board = esp01_1m @@ -181,7 +181,7 @@ lib_ignore = ${common.lib_ignore} build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1 monitor_baud = 115200 -[env:itead-sonoff-basic-dht22-ota] +[env:itead-sonoff-basic-dht-ota] platform = ${common.platform} framework = arduino board = esp01_1m @@ -194,14 +194,14 @@ upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266 monitor_baud = 115200 -[env:itead-sonoff-basic-ds18b20] +[env:itead-sonoff-basic-dallas] platform = ${common.platform} framework = arduino board = esp01_1m board_flash_mode = dout lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} -build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDS18B20_SUPPORT=1 +build_flags = ${common.build_flags_1m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1 monitor_baud = 115200 [env:itead-sonoff-rf] @@ -689,7 +689,7 @@ framework = arduino board = esp_wroom_02 lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} -build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDS18B20_SUPPORT=1 +build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1 monitor_baud = 115200 [env:openenergymonitor-mqtt-relay-ota] @@ -698,7 +698,7 @@ framework = arduino board = esp_wroom_02 lib_deps = ${common.lib_deps} lib_ignore = ${common.lib_ignore} -build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDS18B20_SUPPORT=1 +build_flags = ${common.build_flags} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1 upload_speed = 115200 upload_port = "192.168.4.1" upload_flags = --auth=fibonacci --port 8266