wenn ich Dein Augenmerk mal auf das hier lenken darf.......
da kannst du dann auch die sonoff einbinden
wenn ich Dein Augenmerk mal auf das hier lenken darf.......
da kannst du dann auch die sonoff einbinden
wenn du den LCD Bildschirm ausgebaut hast, steht auf dem LCD Panel irgendwo die Typennummer, mit dieser Typennummer kannst du den passenden Controller besorgen und profit
Herzlichen Dank
Keine Garantie, aber laut specs sollte dieser passen
teste ich die Tage, danke euch
Hallo,
ich dachte mir ich mache ein schnelles script, aber das hatte ich auch nur gedacht.....
Mein Wunsch/Plan war folgender:
Ich schalte den Fernseher über einen Sonoff ein, Uhrzeit spielt dafür keine rolle.
Wenn der Fernseher eingeschaltet ist soll automatisch in der Zeit von 20 bis 23 Uhr eine Lampe eingeschaltet werden, aber nur solange wie der Fernseher an ist.
das bekomme ich irgendwie nicht so wirklich hin, jemand ne schlaue idee wie ich das umsetzen kann?
Danke und Gruß
gut möglich, einer meiner nachbauten wollte sich nicht flashen lassen, als ich den zum schluß nochmal dran gehängt hatte, ging es ohne probleme, also gut möglich das sich das program verschluckt hat
okay, was ich mir jetzt vorstellen könnte, die ssid falsch oder das pw, damit könnte er futsch sein.
leider kann ich dir da nicht weiter helfen
Nun habe ich bei der ersten Einstellung des Sonoff den WLAN Zugang auf die zweite Fritzbox abgeändert
was meinst du mit abgeändert???? habe eine ähnliche konfiguration und die SSID sowie das Passwort sind im ganzen haus gleich, daher verstehe ich das nicht ganz.
prüf mal ob bei der besagten FB neue geräte zugelassen werden dürfen.
zu finden unter Wlan -> Sicherheit
bin grade etwas faul habe noch vier hier liegen
Hi McDance
Ich habe das Taster ein Script ein wenig verändert.
So weiß ich jetzt wenn ich die Alarmanlage scharfmache das sie auch scharf gestellt ist da ich jetzt an feedback kriege in Form eines Geräusches und das Licht geht für 5 Sekunden auf Rot.
schimmer-media.de/index.php?attachment/4038/
Code Alles anzeigen<xml xmlns="http://www.w3.org/1999/xhtml"> <block type="on" id=";Uj{NGp{W:d?|laUgjOZ" x="-237" y="-262"> <field name="OID">mihome.0.devices.switch_158d0002007807.click</field> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="3wcQXa(KZx3Oe7#;?g2z"> <value name="IF0"> <block type="logic_compare" id="ZL_DPU+tyE`xSGWbW}Q1"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=".vAJZZ}-?9[e3mA2zm+H"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.switch_158d0002007807.click</field> </block> </value> <value name="B"> <block type="logic_boolean" id=":gy6+B;GqniDO/h)8)P{"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="N{sCeLZT*QycH1hhX2_S"> <field name="NAME">timeout</field> <field name="DELAY">1000</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="control" id="P`AarH.2ntzd=~][tAq1"> <mutation delay_input="false"></mutation> <field name="OID">mihome.0.devices.gateway_7811dcb24c39.on</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="iC447alE|)}}#4PHB_z,"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="Y(plh@KG#w[usfPDic0~"> <mutation delay_input="false"></mutation> <field name="OID">mihome.0.devices.gateway_7811dcb24c39.rgb</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="LS+q|D6OQ_GKV1,~1MG:"> <field name="TEXT">#ff0000</field> </block> </value> <next> <block type="control" id="nNvQ))=6)8if9CGzuHPb"> <mutation delay_input="false"></mutation> <field name="OID">mihome.0.devices.gateway_7811dcb24c39.dimmer</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="Dmk}8_yBibLMbHd#+{n2"> <field name="TEXT">90</field> </block> </value> <next> <block type="control" id="T%dCC3g(uzaLg~|-bEKr"> <mutation delay_input="true"></mutation> <field name="OID">mihome.0.devices.gateway_7811dcb24c39.on</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">5</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="Ji]TKsQgI_rbcMh5`1;K"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="control" id="@:1sW^6`FI;=2~7^/(Ic"> <mutation delay_input="false"></mutation> <field name="OID">mihome.0.devices.gateway_7811dcb24c39.mid</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_tonumber" id="UM5s92-vR(Z},9v/A*s~"> <value name="VALUE"> <block type="text" id="a4v)@27YvH;`:3*3/.F4"> <field name="TEXT">11</field> </block> </value> </block> </value> <next> <block type="control" id="-%~IpTjr)=:(^4HBsvW+"> <mutation delay_input="false"></mutation> <field name="OID">mihome.0.devices.gateway_7811dcb24c39.volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="convert_tonumber" id="mNalWVTOS8)w,zk.gL@3"> <value name="VALUE"> <block type="text" id="jI+u^P{FWnw)hiKiqcT2"> <field name="TEXT">1</field> </block> </value> </block> </value> <next> <block type="control" id="dA5a=2AN.-NVW58UpDh^"> <mutation delay_input="true"></mutation> <field name="OID">Alarmanlage.0.Alarmanlage_an</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">5</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=",%c!+b^W*ebfy1^NX.TS"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </xml>
und nun noch etwas weiter gespielt
Taster aus, selbes script aber mit grünem Licht, sieht echt profi mäßig aus
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on" id=";Uj{NGp{W:d?|laUgjOZ" x="-237" y="-262">
<field name="OID">mihome.0.devices.switch_158d00024668d1.long</field>
<field name="CONDITION">true</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="3wcQXa(KZx3Oe7#;?g2z">
<value name="IF0">
<block type="logic_compare" id="ZL_DPU+tyE`xSGWbW}Q1">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=".vAJZZ}-?9[e3mA2zm+H">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.switch_158d00024668d1.long</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=":gy6+B;GqniDO/h)8)P{">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_settimeout" id="N{sCeLZT*QycH1hhX2_S">
<field name="NAME">timeout</field>
<field name="DELAY">1000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="control" id="P`AarH.2ntzd=~][tAq1">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.dimmer</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="iC447alE|)}}#4PHB_z,">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="Y(plh@KG#w[usfPDic0~">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.rgb</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="LS+q|D6OQ_GKV1,~1MG:">
<field name="TEXT">#00ff00</field>
</block>
</value>
<next>
<block type="control" id="nNvQ))=6)8if9CGzuHPb">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.illumination</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="Dmk}8_yBibLMbHd#+{n2">
<field name="TEXT">90</field>
</block>
</value>
<next>
<block type="control" id="T%dCC3g(uzaLg~|-bEKr">
<mutation delay_input="true"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.dimmer</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">5</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="Ji]TKsQgI_rbcMh5`1;K">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="control" id="@:1sW^6`FI;=2~7^/(Ic">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.mid</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="convert_tonumber" id="UM5s92-vR(Z},9v/A*s~">
<value name="VALUE">
<block type="text" id="a4v)@27YvH;`:3*3/.F4">
<field name="TEXT">11</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="-%~IpTjr)=:(^4HBsvW+">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="convert_tonumber" id="mNalWVTOS8)w,zk.gL@3">
<value name="VALUE">
<block type="text" id="jI+u^P{FWnw)hiKiqcT2">
<field name="TEXT">1</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="dA5a=2AN.-NVW58UpDh^">
<mutation delay_input="false"></mutation>
<field name="OID">MyVariable.0.Alarmanlage.Alarmanlage_an</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id=",%c!+b^W*ebfy1^NX.TS">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Danke Franz werde ich glatt umsetzten
Danke NordBergSteiger
Ich bin leider noch viel zu frisch was IoBroker angeht um mich schon an Telegram zu wagen, da muss ich mich noch etwas mehr einlesen, aber wenn ich soweit bin, weiß ich wo ich es finde
Eine Sehr gute Anleitung
Und nachdem ich RX und TX getauscht habe, lief es wie am schnürchen
habe den flash hinbekommen, aber habe einen starken delay, wenn überhaupt was ankommt. Ein ping zeigtmir 75% Verlust.
Woran kann das denn schon wieder liegen? Im iobroker taucht er auch nicht auf
Hallo,
versuche verzweifelt den 5V zu flashen. leider bekomme ich folgenden Error
Arduino: 1.8.6 Hourly Build 2018/08/20 05:33 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, ck, 26 MHz, 40MHz, DOUT, 1M (no SPIFFS), 2, v1.4 Higher Bandwidth, Disabled, None, Only Sketch, 115200"
Der Sketch verwendet 522780 Bytes (51%) des Programmspeicherplatzes. Das Maximum sind 1023984 Bytes.
Globale Variablen verwenden 52176 Bytes (63%) des dynamischen Speichers, 29744 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
Alles anzeigen
kann mir bitte jemand dabei helfen?
Jetzt bekomme ich diese Meldung......
Arduino: 1.8.6 Hourly Build 2018/08/20 05:33 (Windows 10), Board: "Generic ESP8285 Module, 80 MHz, Flash, ck, 26 MHz, 1M (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Der Sketch verwendet 513788 Bytes (50%) des Programmspeicherplatzes. Das Maximum sind 1023984 Bytes.
Globale Variablen verwenden 51272 Bytes (62%) des dynamischen Speichers, 30648 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
Alles anzeigen
okay, da aber die Meldungen jetzt mehr statt weniger werden
Arduino: 1.8.5 (Windows 10), Board: "Generic ESP8285 Module, 80 MHz, Flash, ck, 26 MHz, 1M (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xdrv_05_irremote.ino: In function 'boolean IrSendCommand()':
xdrv_05_irremote:299: error: 'StaticJsonBuffer' was not declared in this scope
StaticJsonBuffer<128> jsonBuf;
^
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xdrv_05_irremote.ino:299:7: note: suggested alternative:
In file included from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:10,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\sonoff.ino:53:
E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
xdrv_05_irremote:299: error: 'jsonBuf' was not declared in this scope
StaticJsonBuffer<128> jsonBuf;
^
xdrv_05_irremote:301: error: 'class ArduinoJson::JsonObject' has no member named 'success'
if (!root.success()) {
^
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xdrv_07_domoticz.ino: In function 'boolean DomoticzMqttData()':
xdrv_07_domoticz:168: error: 'StaticJsonBuffer' was not declared in this scope
StaticJsonBuffer<400> jsonBuf;
^
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xdrv_07_domoticz.ino:168:5: note: suggested alternative:
In file included from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:10,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\sonoff.ino:53:
E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
xdrv_07_domoticz:168: error: 'jsonBuf' was not declared in this scope
StaticJsonBuffer<400> jsonBuf;
^
xdrv_07_domoticz:170: error: 'class ArduinoJson::JsonObject' has no member named 'success'
if (!domoticz.success()) {
^
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xdrv_09_timers.ino: In function 'boolean TimerCommand()':
xdrv_09_timers:364: error: 'StaticJsonBuffer' was not declared in this scope
StaticJsonBuffer<256> jsonBuffer;
^
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xdrv_09_timers.ino:364:11: note: suggested alternative:
In file included from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:10,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\sonoff.ino:53:
E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
xdrv_09_timers:364: error: 'jsonBuffer' was not declared in this scope
StaticJsonBuffer<256> jsonBuffer;
^
xdrv_09_timers:366: error: 'class ArduinoJson::JsonObject' has no member named 'success'
if (!root.success()) {
^
xdrv_09_timers:373: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_ARM))].success()) {
^
xdrv_09_timers:377: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_MODE))].success()) {
^
xdrv_09_timers:381: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_TIME))].success()) {
^
xdrv_09_timers:408: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_WINDOW))].success()) {
^
xdrv_09_timers:412: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_DAYS))].success()) {
^
xdrv_09_timers:425: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_REPEAT))].success()) {
^
xdrv_09_timers:428: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_OUTPUT))].success()) {
^
xdrv_09_timers:432: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_ACTION))].success()) {
^
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xdrv_10_rules.ino: In function 'bool RulesRuleMatch(byte, String&, String&)':
xdrv_10_rules:225: error: 'StaticJsonBuffer' was not declared in this scope
StaticJsonBuffer<1024> jsonBuf;
^
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xdrv_10_rules.ino:225:3: note: suggested alternative:
In file included from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:10,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\sonoff.ino:53:
E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
xdrv_10_rules:225: error: 'jsonBuf' was not declared in this scope
StaticJsonBuffer<1024> jsonBuf;
^
xdrv_10_rules:227: error: 'class ArduinoJson::JsonObject' has no member named 'success'
if (!root.success()) { return false; } // No valid JSON data
^
xdrv_10_rules:236: error: 'ArduinoJson::Internals::enable_if<true, ArduinoJson::Internals::JsonObjectSubscript<const String&> >::type' has no member named 'success'
if (!root[rule_task][rule_name].success()) { return false; }
^
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xplg_wemohue.ino: In function 'void HueLights(String*)':
xplg_wemohue:652: error: 'StaticJsonBuffer' was not declared in this scope
StaticJsonBuffer<400> jsonBuffer;
^
E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\xplg_wemohue.ino:652:7: note: suggested alternative:
In file included from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:10,
from E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from E:\Dokumente\SmartHome\Sonoff-Tasmota-development\sonoff\sonoff.ino:53:
E:\Dokumente\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
^
xplg_wemohue:652: error: 'jsonBuffer' was not declared in this scope
StaticJsonBuffer<400> jsonBuffer;
^
exit status 1
'StaticJsonBuffer' was not declared in this scope
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
Alles anzeigen
Versuche ich es mal mit einer neuinstallation