(segue estrema sintesi dei doc nel menu alla voce "home" )
Tasmota is not a commercial product and support is limited. You have to be willing to research and solve potential problems yourself.
https://www.domoticafull.it/sonoff-cosa-sono-e-migliori-modelli/
https://indomus.it/componenti/sonoff-tasmota/
Everything began as
Sonoff-MQTT-OTA with a
commit on 25th January 2016, by Theo Arends. Its goal was to provide ESP8266
based ITEAD
Sonoff devices with MQTT and 'Over the Air' or OTA firmware.
ref:
https://tasmota.github.io/docs/About/
What started as a simple way to hack a cloud bound Sonoff Basic (one of the first cheap and accessible smart home devices in the market) into a locally controlled device has grown into a fully fledged ecosystem for virtually any ESP8266 based device.
OTA Over The Air update wp
e' la pagina che mi sembra piu' chiara di tutte, forse perche' senza questa proprio non si inizia.
using a Chrome based browser, Firefox browser does not support Web Serial.
Appena flashato tasmota su ESP8266, la webUI si presenta col modulo "Basic Sonoff".
Per la mia applicazione ho scelto modulo "Generico 18", che ha tutti i GPIO ancora da destinare.
ref: cos'e' MQTT message system, client-server publish/subscribe.
%topic%
which must be made unique by the user. It can be called
bedroom
but it could also be called XP-TS_10
as long as
the user knows what it is and where to find it.tasmota_XXXXXX
where XXXXXX
is unique and derives from the last 6 characters of MAC addressis replaced with last 6 characters of MAC address.
SLA service level agreement (in italiano: accordo sul livello del servizio), in sigla SLA, sono strumenti contrattuali attraverso i quali si definiscono le metriche di servizio (es. qualità di servizio) che devono essere rispettate da un fornitore di servizi (provider) nei confronti dei propri clienti/utenti. wp
Tasmota provides a powerful control interface using commands.
Commands can be issued using webUI console, MQTT, web requests, and serial.
Commands are case insensitive.
status 10 | show connected sensor information, per conoscere il valore dei sensori. |
status 0 | stato totale: status + status1 status2 ... status7 status10
status11. status 6 riguarda impostazioni mqtt |
TelePeriod | See current value, and force publish: STATE and SENSOR message. |
SetOption3 0/1 | MQTT put OFF/ON. Provoca reset 1. |
TempRes |
Temperature sensor resolution: 0..3 = maximum number of decimal places. |
https://tasmota.github.io/docs/Templates/#how-to-use
device := es Tasmota Supported Devices Repository has a complete list of supported devices.
Template is a definition of a device and how its GPIOs are assigned.
https://templates.blakadder.com/ai-thinker_ESP32-CAM.html
Component is anything wired to the ESP8266/ESP8285 chip to be controlled by or send data to it. Es
# | UI Label | Comment |
---|---|---|
1312 | DS18x20 | DS18B20 or DS18S20 |
1344 | DS18x20_o | DS18B20 or DS18S20 |
If you wish to expand a device with a peripheral component, after properly wiring everything, you need to assign it to a free GPIO in Configure Module page or use command GPIO<x>.
Module is a firmware supported device which has specific code to enable its features.
Configure Module page in the webUI is used to configure additional components connected to one of the free GPIO pins of the device.
Warning: Use Templates to configure Tasmota for your device if it doesn't exist in the module list.
Tip: Use Generic module Module 18 to have almost all GPIO pins available.
https://tasmota.github.io/docs/Peripherals/#tasmota-settings
Peripherals are sensors, displays, controllers, LEDs and other devices wired to available GPIO pins of your device.
Tip: A peripheral must have correctly wired power, GND and data pins to the device prior to booting in order for Tasmota to detect it and initialize it properly.
Tasmota allows for easy selection of peripherals and assignment to GPIO pins.
Configuration is possible in the webUI Configuration - Configure Module page
or by using commands: Module and GPIO, or Template.
Name: syslog
Purpose: Remote system event logging
Description: A syslog server opens port 514 and listens for incoming syslog event notifications (carried by UDP protocol packets) generated by remote syslog clients. Any number of client devices can be programmed to send syslog event messages to whatever servers they choose.
il comando sottostante l'ho scoperto guardando la console
https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/
Crome gestisce la COMunicazione seriale, Firefox no,
quindi per interfacciarsi con tasmota via seriale occorre usare Crome.
1a volta OK. 2a volta giorno dopo non si connette piu', cambio porta si
connette.
Per scrupolo aggiorno il driver.
scaricando quello indicato da tasmota: CH341 perche' e' il componente che si trova sulla schedina del ESP8266.
Il driver scaricato e' uno .zip, scompattato e' una cartella in cui c'e' un file .inf CH341SER.INF.
Il driver e' C:\Windows\System32\drivers\CH341S64.SYS
Windows: click-dx su pulsante Start > DeviceManager,
poi clic-dx su device, poi scegli tab "Driver", poi update ...
oss: nome driver non cambia da una versione alla seguente.
www.sigmdel.ca Syslog Server on Raspbian and Tasmota Remote Logging
https://it.aliexpress.com/item/32754095641.html
Supported-Peripherals: elenco di tutte le periferiche supportate;
DS18x20 c'e', pagina che lo tratta; anche il caso #multiple-sensors.
Nota: 1-wire has been designed to be a board-bus, not to run through long distances across a whole house. At minimum, use a shielded cable.
SW: https://github.com/arendst/Tasmota/blob/master/tasmota/tasmota_xsns_sensor/xsns_05_ds18x20.ino
TempRes
Temperature sensor resolution: 0..3 = maximum number of
decimal places.