HI There Eveybody
Ockie here (South-Africa) I have made a lot of progerss with HA but now im stalling with the most basic thing
Running Hassio on a PI :
(Did a clean install just to test mqtt ) (this Morning)
I flashed a Weemos Di mini With Arduino with Tasmota 8.3.1 (Latest version) Connected some relays and set it up (works perfect on the web Interface added βSetOption19 1β in the console :
Flash setup in Arduino
// β Master parameter control --------------------
#define CFG_HOLDER 4617 // [Reset 1] Change this value (max 32000) to load SECTION1 configuration parameters to flash
// β Project -------------------------------------
#define PROJECT βD1_mini2β // PROJECT is used as the default topic delimiter
// If not selected the default will be SONOFF_BASIC
//#define MODULE SONOFF_BASIC // [Module] Select default model from tasmota_template.h
#define SAVE_DATA 1 // [SaveData] Save changed parameters to Flash (0 = disable, 1 - 3600 seconds)
#define SAVE_STATE true // [SetOption0] Save changed power state to Flash (false = disable, true = enable)
#define BOOT_LOOP_OFFSET 1 // [SetOption36] Number of boot loops before starting restoring defaults (0 = disable, 1β¦200 = boot loops offset)
// β Wifi ----------------------------------------
#define WIFI_IP_ADDRESS β192.168.1.51β // [IpAddress1] Set to 0.0.0.0 for using DHCP or enter a static IP address
#define WIFI_GATEWAY β192.168.1.1β // [IpAddress2] If not using DHCP set Gateway IP address
#define WIFI_SUBNETMASK β255.255.255.0β // [IpAddress3] If not using DHCP set Network mask
#define WIFI_DNS β192.168.1.1β // [IpAddress4] If not using DHCP set DNS IP address (might be equal to WIFI_GATEWAY)
#define STA_SSID1 ββ // [Ssid1] Wifi SSID
#define STA_PASS1 ββ // [Password1] Wifi password
#define STA_SSID2 ββ // [Ssid2] Optional alternate AP Wifi SSID
#define STA_PASS2 ββ // [Password2] Optional alternate AP Wifi password
#define WIFI_AP_PASSPHRASE ββ // AccessPoint passphrase. For WPA2 min 8 char, for open use ββ (max 63 char).
#define WIFI_CONFIG_TOOL WIFI_MANAGER // [WifiConfig] Default tool if wifi fails to connect (default option: 4 - WIFI_RETRY)
// (WIFI_RESTART, WIFI_MANAGER, WIFI_RETRY, WIFI_WAIT, WIFI_SERIAL, WIFI_MANAGER_RESET_ONLY)
// The configuration can be changed after first setup using WifiConfig 0, 2, 4, 5, 6 and 7.
#define WIFI_ARP_INTERVAL 0 // [SetOption41] Send gratuitous ARP interval
#define WIFI_SCAN_AT_RESTART false // [SetOption56] Scan wifi network at restart for configured APβs
#define WIFI_SCAN_REGULARLY false // [SetOption57] Scan wifi network every 44 minutes for configured APβs
// β Syslog --------------------------------------
#define SYS_LOG_HOST ββ // [LogHost] (Linux) syslog host
#define SYS_LOG_PORT 514 // [LogPort] default syslog UDP port
#define SYS_LOG_LEVEL LOG_LEVEL_NONE // [SysLog] (LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE)
#define SERIAL_LOG_LEVEL LOG_LEVEL_INFO // [SerialLog] (LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE)
#define WEB_LOG_LEVEL LOG_LEVEL_INFO // [WebLog] (LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE)
#define MQTT_LOG_LEVEL LOG_LEVEL_NONE // [MqttLog] (LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_DEBUG_MORE)
// β Ota -----------------------------------------
#define OTA_URL βhttp://thehackbox.org/tasmota/release/tasmota.binβ // [OtaUrl]
#define OTA_COMPATIBILITY false // [SetOption78] Disable OTA compatibility check
// β MQTT ----------------------------------------
#define MQTT_USE true // [SetOption3] Select default MQTT use (false = Off, true = On)
#define MQTT_HOST β192.168.1.31β // [MqttHost]
#define MQTT_FINGERPRINT1 β00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00β // [MqttFingerprint1]
#define MQTT_FINGERPRINT2 βA5 02 FF 13 99 9F 8B 39 8E F1 83 4F 11 23 65 0B 32 36 FC 07β // [MqttFingerprint2]
#define MQTT_PORT 1883 // [MqttPort] MQTT port (10123 on CloudMQTT)
#define MQTT_USER βmqttβ // [MqttUser] MQTT user
#define MQTT_PASS βadminβ // [MqttPassword] MQTT password
#define MQTT_BUTTON_RETAIN false // [ButtonRetain] Button may send retain flag (false = off, true = on)
#define MQTT_POWER_RETAIN false // [PowerRetain] Power status message may send retain flag (false = off, true = on)
#define MQTT_SWITCH_RETAIN false // [SwitchRetain] Switch may send retain flag (false = off, true = on)
#define MQTT_SENSOR_RETAIN false // [SensorRetain] Sensor may send retain flag (false = off, true = on)
#define MQTT_NO_HOLD_RETAIN false // [SetOption62] Disable retain flag on HOLD messages
//#define MQTT_NO_RETAIN // Disable all retain flags (including LWT!) if unsupported by broker (eg Losant)
#define MQTT_STATUS_OFF βOFFβ // [StateText1] Command or Status result when turned off (needs to be a string like β0β or βOffβ)
#define MQTT_STATUS_ON βONβ // [StateText2] Command or Status result when turned on (needs to be a string like β1β or βOnβ)
#define MQTT_CMND_TOGGLE βTOGGLEβ // [StateText3] Command to send when toggling (needs to be a string like β2β or βToggleβ)
#define MQTT_CMND_HOLD βHOLDβ // [StateText4] Command to send when button is kept down for over KEY_HOLD_TIME * 0.1 seconds (needs to be a string like βHOLDβ)
// β MQTT topics ---------------------------------
// Example βtasmota/bedroom/%topic%/%prefix%/β up to 80 characers
#define MQTT_FULLTOPIC β%prefix%/%topic%/β // [FullTopic] Subscribe and Publish full topic name - Legacy topic
Setup mosquitto addon ver 5.1 (Added a add user with password )
Mqtt integration installed (with same username and password)
Logfile
[11:21:02] INFO: Setup mosquitto configuration
[11:21:02] WARNING: SSL not enabled - No valid certs found!
[11:21:02] INFO: No local user available
[11:21:03] INFO: Initialize Hass.io Add-on services
[11:21:03] INFO: Initialize Home Assistant discovery
[11:21:03] INFO: Start Mosquitto daemon
1595668863: mosquitto version 1.6.3 starting
1595668863: Config loaded from /etc/mosquitto.conf.
1595668863: Loading plugin: /usr/share/mosquitto/auth-plug.so
1595668863: βββ Username/password checking enabled.
1595668863: |-- *** auth-plug: startup
1595668863: βββ TLS-PSK checking enabled.
1595668863: βββ Extended authentication not enabled.
1595668863: Opening ipv4 listen socket on port 1883.
1595668863: Opening ipv6 listen socket on port 1883.
1595668863: Opening websockets listen socket on port 1884.
1595668863: Warning: Mosquitto should not be run as root/administrator.
1595668866: New connection from 172.30.32.1 on port 1883.
[INFO] found mqtt on Home Assistant
1595668868: New client connected from 172.30.32.1 as auto-A3635136-0694-9946-365B-31E5F7028048 (p2, c1, k60, uβmqttβ).
1595668868: New connection from 192.168.1.51 on port 1883.
1595668868: New client connected from 192.168.1.51 as DVES_C7B598 (p2, c1, k30, uβmqttβ).
(192.168.1.51 is the Weemos D1 mini)
Yaml
Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
discovery:
In developer tools there are no added Entities
I have spent about 15 Hours on this with no joy .
Any suggestions?