@bishop sagte in Geräte die laufen mit Tasmota Script:
muss ich noch Sensoren einkommentieren oder reicht nur der Script support?
Achtung ! Die Schedule-Zeiten habe ich nicht eingepflegt, da ich die nicht brauche. Die müssen noch direkt am Thermostat eingegeben werden.
Du kannst hier die Firmware testen, habe auf Github bei den Tasmota Templates Scripte hinzugefügt und Blakadder hat den Link für spezielle Firmware dort eingetragen.
Falls die Uhrzeit nicht synchronisiert wird, musst du doch selber bauen. Sensoren brauchst du nicht.
//#define USE_RULES
#define USE_SCRIPT
#define USE_SCRIPT_WEB_DISPLAY
#define USE_EXPRESSION // Add support for expression evaluation in rules (+3k2 code, +64 bytes mem)
#define SUPPORT_IF_STATEMENT // Add support for IF statement in rules (+4k2 code, -332 bytes mem)
#define SUPPORT_MQTT_EVENT // Support trigger event with MQTT subscriptions (+3k5 code)
#define USE_TUYA_TIME
Du brauchst die neusten Sourcen, da USE_TUYA_TIME erst seit 3-4 Tagen dazugekommen ist.
Auf meinem Github ist auch der Sonoff-Adapter, bei dem du die Script-Variablen direkt verändern kannst. Habe aber bei Bluefox ein PullRequest am laufen.
#ifndef _USER_CONFIG_OVERRIDE_H_
#define _USER_CONFIG_OVERRIDE_H_
*/
// -- Master parameter control --------------------
#undef CFG_HOLDER
#define CFG_HOLDER 4621 // [Reset 1] Change this value to load SECTION1 configuration parameters to flash
// -- Setup your own Wifi settings ---------------
#undef STA_SSID1
#define STA_SSID1 "Deine_SSID" // [Ssid1] Wifi SSID
#undef STA_PASS1
#define STA_PASS1 "Dein_Passwort" // [Password1] Wifi password
// -- Timezone ------------------------------------
#undef APP_TIMEZONE 1
#define APP_TIMEZONE 99
// -- Localization --Sprache---------------------
// If non selected the default en-GB will be used
#undef MY_LANGUAGE
#define MY_LANGUAGE de-DE
#undef USE_KNX_WEB_MENU
#undef USE_DOMOTICZ // Enable Domoticz (+6k code, +0.3k mem)
#undef DOMOTICZ_IN_TOPIC "domoticz/in" // Domoticz Input Topic
#undef DOMOTICZ_OUT_TOPIC "domoticz/out" // Domoticz Output Topic
#undef USE_HOME_ASSISTANT // Enable Home Assistant Discovery Support (+4.1k code, +6 bytes mem)
#undef HOME_ASSISTANT_DISCOVERY_PREFIX "homeassistant" // Home Assistant discovery prefix
#undef USE_EMULATION_HUE // Enable Hue Bridge emulation for Alexa (+14k code, +2k mem common)
#undef USE_EMULATION_WEMO // Enable Belkin WeMo emulation for Alexa (+6k code, +2k mem common)
#undef USE_DISCOVERY
#undef WEBSERVER_ADVERTISE // Provide access to webserver by name <Hostname>.local/
#undef MQTT_HOST_DISCOVERY // Find MQTT host server (overrides MQTT_HOST if found)
#undef USE_RULES
#define USE_SCRIPT
#define USE_SCRIPT_WEB_DISPLAY
#define USE_EXPRESSION // Add support for expression evaluation in rules (+3k2 code, +64 bytes mem)
#define SUPPORT_IF_STATEMENT // Add support for IF statement in rules (+4k2 code, -332 bytes mem)
#define SUPPORT_MQTT_EVENT // Support trigger event with MQTT subscriptions (+3k5 code)
#define USE_TUYA_TIME
#undef USE_SONOFF_RF // Add support for Sonoff Rf Bridge (+3k2 code)
#undef USE_RF_FLASH // Add support for flashing the EFM8BB1 chip on the Sonoff RF Bridge. C2CK must be connected to GPIO4, C2D to GPIO5 on the PCB (+2k7 code)
#undef USE_SONOFF_SC // Add support for Sonoff Sc (+1k1 code)
#undef USE_ARMTRONIX_DIMMERS // Add support for Armtronix Dimmers (+1k4 code)
#undef USE_PS_16_DZ // Add support for PS-16-DZ Dimmer (+2k code)
#undef USE_SONOFF_IFAN // Add support for Sonoff iFan02 and iFan03 (+2k code)
#undef USE_BUZZER // Add support for a buzzer (+0k6 code)
#undef USE_ARILUX_RF // Add support for Arilux RF remote controller (+0k8 code, 252 iram (non 2.3.0))
#undef USE_SHUTTER // Add Shutter support for up to 4 shutter with different motortypes (+11k code)
#undef USE_DEEPSLEEP // Add support for deepsleep (+1k code)
#undef USE_EXS_DIMMER // Add support for ES-Store WiFi Dimmer (+1k5 code)
#undef USE_DEVICE_GROUPS // Add support for device groups (+5k6 code)
#undef USE_DEVICE_GROUPS_SEND // Add support for the DevGroupSend command (+0k5 code)
#undef USE_PWM_DIMMER // Add support for MJ-SD01/acenx/NTONPOWER PWM dimmers (+2k5 code)
#undef USE_PWM_DIMMER_REMOTE // Add support for remote switches to PWM Dimmer, also adds device groups support (+1k code plus device groups size)
#undef USE_SONOFF_D1 // Add support for Sonoff D1 Dimmer (+0k7 code)
// -- Optional light modules ----------------------
#undef USE_WS2812 // WS2812 Led string using library NeoPixelBus (+5k code, +1k mem, 232 iram) - Disable by //
#undef USE_WS2812_HARDWARE NEO_HW_WS2812 // Hardware type (NEO_HW_WS2812, NEO_HW_WS2812X, NEO_HW_WS2813, NEO_HW_SK6812, NEO_HW_LC8812, NEO_HW_APA106)
#undef USE_WS2812_CTYPE NEO_GRB // Color type (NEO_RGB, NEO_GRB, NEO_BRG, NEO_RBG, NEO_RGBW, NEO_GRBW)
#undef USE_MY92X1 // Add support for MY92X1 RGBCW led controller as used in Sonoff B1, Ailight and Lohas
#undef USE_SM16716 // Add support for SM16716 RGB LED controller (+0k7 code)
#undef USE_SM2135 // Add support for SM2135 RGBCW led control as used in Action LSC (+0k6 code)
#undef USE_SONOFF_L1 // Add support for Sonoff L1 led control
#undef USE_ELECTRIQ_MOODL // Add support for ElectriQ iQ-wifiMOODL RGBW LED controller (+0k3 code)
#undef USE_LIGHT_PALETTE // Add support for color palette (+0k7 code)
#undef USE_DS18x20 // Add support for DS18x20 sensors with id sort, single scan and read retry (+2k6 code)
#undef USE_I2C
#undef USE_ENERGY_MARGIN_DETECTION // Add support for Energy Margin detection (+1k6 code)
#undef USE_ENERGY_POWER_LIMIT // Add additional support for Energy Power Limit detection (+1k2 code)
#undef USE_PZEM004T // Add support for PZEM004T Energy monitor (+2k code)
#undef USE_PZEM_AC // Add support for PZEM014,016 Energy monitor (+1k1 code)
#undef USE_PZEM_DC // Add support for PZEM003,017 Energy monitor (+1k1 code)
#undef USE_MCP39F501 // Add support for MCP39F501 Energy monitor as used in Shelly 2 (+3k1 code)
// -- Low level interface devices -----------------
#undef USE_DHT
#undef USE_IR_REMOTE // Send IR remote commands using library IRremoteESP8266 and ArduinoJson (+4k3 code, 0k3 mem, 48 iram)
#undef USE_IR_RECEIVE // Support for IR receiver (+7k2 code, 264 iram)
#endif // _USER_CONFIG_OVERRIDE_H_