This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
sonoff [23.01.2018 22:25] – [Making the installation permanent] Pascal Suter | sonoff [08.02.2018 00:02] – [Falshing Tasmota Firmware] Pascal Suter |
---|
Debug Port: "Disabled" | Debug Port: "Disabled" |
Debug Level: "None" | Debug Level: "None" |
LwIP Variant: "v2 Prebuilt (MSS=536)" | LwIP Variant: "v1.4 Prebuilt" <<<<!!! |
Reset Method: "ck" | Reset Method: "ck" |
Crystal Frequency: "26 MHz" | Crystal Frequency: "26 MHz" |
Now that we got both our devices connected to the MQTT Broaker it is time to set up a Rules engine, to conenct the two together :) | Now that we got both our devices connected to the MQTT Broaker it is time to set up a Rules engine, to conenct the two together :) |
| |
[[https://nodered.org|Node-Red]] looks like a very capable and interesting Rules engine. I have also spotted another interesting open source project called [[https://thingsboard.io/]] which seems to be interesting for monitoring stuff. not in my focus right now, but worth a mention in order to investigate it later some day :) | [[node-red]] looks like a very capable and interesting Rules engine. I have also spotted another interesting open source project called [[https://thingsboard.io/]] which seems to be interesting for monitoring stuff. not in my focus right now, but worth a mention in order to investigate it later some day :) |
| |
installation is again very easy through npm: | installation is again very easy through npm: |
===== Future projects ===== | ===== Future projects ===== |
eventually I'd like to write a script that uses the [[https://github.com/plan44/vdcd|plan44 vdcd]] external device API to integrate a sonoff device into a digitalSTROM setup as an emulated digitalstorm device. this will overcome the lag that is generated by querying the Web-API. we could then also create a dummy light bulb which will just publish its state to MQTT. by assigning it a different value for all of the scenes it is in, we can pass the room-state to MQTT with almost no lag. This will enable other devices like the sonoff to react immediately and not just during the next poll-interval. | eventually I'd like to write a script that uses the [[https://github.com/plan44/vdcd|plan44 vdcd]] external device API to integrate a sonoff device into a digitalSTROM setup as an emulated digitalstorm device. this will overcome the lag that is generated by querying the Web-API. we could then also create a dummy light bulb which will just publish its state to MQTT. by assigning it a different value for all of the scenes it is in, we can pass the room-state to MQTT with almost no lag. This will enable other devices like the sonoff to react immediately and not just during the next poll-interval. |
| |
| see my progress on that at [[MQTT for digitalSTROM]] |