Updated Sensor API (markdown)

andrethomas 2018-07-14 22:08:29 +02:00
parent f6afb1e4ae
commit 0bf1f010c7
1 changed files with 1 additions and 0 deletions

@ -1,6 +1,7 @@
This wiki page is an attempt to document the Tasmota sensor API for sensor driver development.
# Important things to consider
* There are currently no SPI drivers as examples in the development codebase, but there are several I2C sensor examples you can take from when writing your own and you are encouraged to do this as it is a quick and easy way to see how things fit together.
* The Tasmota firmware is essentially intended for Sonoff devices and commits to the main development branch will be subject to review based on whether or not what you intend to develop or add to the existing code is relevant to the general Sonoff device users.
* That being said, there is a lot of development going into the firmware which extends the functionality of standard off the shelf Sonoff devices, the firmware in itself is also useful to other ESP8266 based boards such as the WeMos ESP8266 boards and more technically inclined individuals who use generic ESP8266 modules in their own circuits which provides more access to pins and the ability to add more sensors and hardware external to the Sonoff device or the generic ESP8266 module circuits.
* The resources on the ESP8266 are finite. Most of the Sonoff devices ship with 1Mbyte SPI flash chips which means for the generic Sonoff device users the code generally needs to be less than 502Kbytes to ensure that OTA (Over The Air) flash functionality (which is the main reason why people use this firmware) remains available. RAM is also limited to an absolute maximum of 80Kbytes.