This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"page":0,"comment":"---------- Upper stat line ----------"} | |
{"id":0,"text_color":"#FFFFFF"} | |
{"id":11,"obj":"label","x":0,"y":0,"w":240,"pad_right":90,"h":22,"bg_color":"#D00000","bg_opa":255,"radius":0,"border_side":0,"text":"Tasmota","text_font":"montserrat-20"} | |
{"id":15,"obj":"lv_wifi_arcs","x":211,"y":0,"w":29,"h":22,"radius":0,"border_side":0,"bg_color":"#000000","line_color":"#FFFFFF"} | |
{"id":16,"obj":"lv_clock","x":222,"y":3,"w":55,"h":16,"radius":0,"border_side":0} | |
{"comment":"---------- Bottom buttons - prev/home/next ----------"} | |
{"id":101,"obj":"btn","x":10,"y":210,"w":50,"h":25,"action":"prev","bg_color":"#1fa3ec","radius":10,"border_side":1,"text":"\uF053","text_font":"montserrat-20"} | |
{"id":102,"obj":"btn","x":95,"y":210,"w":50,"h":25,"action":"back","bg_color":"#1fa3ec","radius":10,"border_side":1,"text":"\uF015","text_font":"montserrat-20"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2020, the Flutter project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
import 'package:intl/intl.dart' as intl; | |
class deviceInfo extends StatelessWidget { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from platform import release | |
import sys | |
from os import listdir | |
from os import mkdir | |
from os import remove | |
from os import path | |
import json | |
import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" class=""> | |
<head> | |
<meta charset='utf-8'> | |
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/> | |
<title>Install Tasmota</title> | |
<style> | |
div,fieldset,input,select{padding:5px;font-size:1em;} | |
fieldset{background:#4f4f4f;} | |
p{margin:0.5em 0;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MICROSPEECH : Driver | |
var o # output tensor | |
var model # this var really holds the model data for the entire session | |
var out_buf, out_buf_idx | |
var average | |
var time_out | |
def init() | |
import TFL | |
var outputs = 5 # this value must be taken from the model |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# globals | |
var key_words = ["color", "computer", "higher", "illuminance", "led", "lower", "make it so", "noise", "unknown"] # must match your trained model!! | |
var thresholds = [730,700,680,750,650,755,580,650,650] # same indices as key_words, increase against false positives, decrease against misses | |
class COMMAND_CHAIN | |
var next_step | |
var hue_old, bri_old | |
def init() | |
self.next_step = /c->self.step_one(c) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MICROSPEECH : Driver | |
var o # output tensor | |
var model # this var really holds the model data for the entire session | |
def init() | |
import TFL | |
self.o = bytes(-5) # size must match the model | |
var descriptor = bytes(-8) | |
descriptor[0] = 8 # amplification | |
descriptor[1] = 5 # noisefloor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#- | |
LF2410.be - HLK-LD2410 24GHz smart wave motion sensor support for Tasmota via BLE and Berry | |
port of xsns_102_ld2410.ino from Theo Arends | |
SPDX-FileCopyrightText: 2022 Christian Baars | |
SPDX-License-Identifier: GPL-3.0-only | |
-# | |
class LD2410 : Driver | |
var buf | |
var current_func, next_func |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################################################### | |
# Disco | |
# | |
# Homeassitant MQTT Discovery for Tasmota BLE Sensors | |
####################################################################### | |
import string | |
import json | |
class DISCO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD | |
* | |
* SPDX-License-Identifier: Unlicense OR CC0-1.0 | |
*/ | |
/* ULP-RISC-V example | |
This example code is in the Public Domain (or CC0 licensed, at your option.) | |
Unless required by applicable law or agreed to in writing, this |