-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme
81 lines (55 loc) · 2.22 KB
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#######################################################
Flash Firmware over gosund firmware
https://www.tasmota.info/#ota-flash
git clone https://github.com/ct-Open-Source/tuya-convert
cd tuya-convert
sudo ./install_prereq.sh
sudo ./start_flash.sh
Flashen mit Kabel
https://tasmota.github.io/docs/devices/Gosund-SP1/
RX und TX vertauschen
https://www.sensate.io/de/firmware-maclinux
./esptool -cp $PORTNAME -cd ck -ca 0x00000 -cf $FIRMWARE-BINARY
#######################################################
Configure Tasmota
http://192.168.4.1
Kalibrieren
https://www.tasmota.info/sp112-flash/#messwerte
Tasmota Konsole:
savedata 1
VoltageSet ###,##
PowerSet ###,##
savedata 0
Configure Module
Gosund SP1 v23 (55)
Configure MQTT
Host: sruetzler.de
Port: 8883
User: See topic (tasmota_12345A)
Password: set password
Configure Other
MQTT enable
#######################################################
Configure Tasmota Firmware
https://tasmota.github.io/docs/TLS/
branch power-monitoring
user_config_override.h
#ifndef USE_MQTT_TLS
#define USE_MQTT_TLS // Use TLS for MQTT connection (+34.5k code, +7.0k mem and +4.8k additional during connection handshake)
#define USE_MQTT_TLS_CA_CERT // Force full CA validation instead of fingerprints, slower, but simpler to use. (+2.2k code, +1.9k mem during connection handshake)
// This includes the LetsEncrypt CA in tasmota_ca.ino for verifying server certificates
// #define USE_MQTT_TLS_FORCE_EC_CIPHER // Force Elliptic Curve cipher (higher security) required by some servers (automatically enabled with USE_MQTT_AWS_IOT) (+11.4k code, +0.4k mem)
#endif
#define MQTT_PORT 8883 // [MqttPort] MQTT port (10123 on CloudMQTT)
https://tasmota.github.io/docs/Compile-your-build/
https://tasmota.github.io/docs/Gitpod/
platformio run -e tasmota
#######################################################
cloud
#######################################################
Mosquitto
https://tasmota.github.io/docs/Securing-your-IoT-from-hacking/
Add User
sudo mosquitto_passwd -b /etc/mosquitto/conf.d/jp.pw ESP_123456 987654321
sudo systemctl restart mosquitto