Scripts and Berry scripts for Tasmota
First Upload .be file with "Manage File System" in consoles Then if Rules enabled, enter this commands to console to autostart teams_webhook.be:
Rule1 ON System#Boot DO br load('teams_webhook.be') ENDON
Rule1 1
Else if Scripts enabled, create this script to autostart teams_webhook.be:
>D
>BS
=>br load("teams_webhook.be")
- Add an Incoming Webhook to a Teams group, and copy the whole HTTPS address
- Open teams_webhook.be with an editor
- Write your own HTTPS address from above to the "wurl" variable
- Modify "return sensors['ESP32']['Temperature']" based on your own SENSORS json reported by Tasmota
- Upload the code and run