-
-
Notifications
You must be signed in to change notification settings - Fork 97
MQTT - first setup - publishing after reboot of device #670
Comments
oh, that's not normal behaviour. Could you try connecting to the Console via Telnet, with |
MQTT is working fine after frist reboot, so it is working for me, maybe this information helps someone, who not did "try it to turn it off and on again" ;) Output of log all: ems-esp:/$ log all |
ok, worth mentioning indeed. |
Bug description
As the title says, MQTT activated, MQTT is connected, but nothing publishing (checked with MQTT Explorer).
mosquitto log shows me, that ems-esp is connected:
New client connected from 192.168.2.12 as ems-esp (c1, k60, u'emsesp').
Steps to reproduce
1.) Flash esp8266
2.) Connect to Wifi
3.) Activate MQTT, setup hostname, user, password
4.) check with MQTT explorer for published topics, will not appear.
5.) Change format from nested to "Home Assistant", there will be topics published, set it back, there are no topics with hostname / ems-esp
6.) reboot the device
7.) ems-esp will show up in MQTT Explorer
Expected behavior
MQTT should be beginning of publishing after it is activated, and not to reboot
Screenshots
I think it is not needed
Device information
/api?device=system&cmd=report.* ==>Invalid cmd
/api?device=system&cmd=report is working:
{
"System": {
"version": "2.1.0",
"uptime": "000+00:09:05.235",
"freemem": 44,
"fragmem": 20
},
"Settings": {
"enabled": "on",
"publish_time_boiler": 10,
"publish_time_thermostat": 10,
"publish_time_solar": 10,
"publish_time_mixer": 10,
"publish_time_other": 10,
"publish_time_sensor": 10,
"mqtt_format": 2,
"mqtt_qos": 0,
"mqtt_retain": "off",
"tx_mode": 1,
"ems_bus_id": 11,
"master_thermostat": 0,
"rx_gpio": 13,
"tx_gpio": 15,
"dallas_gpio": 14,
"dallas_parasite": "off",
"led_gpio": 2,
"hide_led": "off",
"api_enabled": "on",
"bool_format": 1,
"analog_enabled": "off"
},
"Status": {
"bus": "connected",
"bus protocol": "HT3",
"#telegrams received": 1385,
"#read requests sent": 82,
"#write requests sent": 0,
"#incomplete telegrams": 0,
"#tx fails": 3,
"rx line quality": 100,
"tx line quality": 100,
"#MQTT publish fails": 0,
"#dallas sensors": 0
},
"Devices": [
{
"type": "Boiler",
"name": "Junkers Logamax Plus/GB192/Condens GC9000 (DeviceID:0x08 ProductID:208, Version:01.04)",
"handlers": "0x10 0x11 0x14 0x15 0x16 0x18 0x19 0x1A 0x1C 0x2A 0x33 0x34 0x35 0xD1 0xE3 0xE4 0xE5 0xE6 0xE9 0xEA"
},
{
"type": "Thermostat",
"name": "RC300/RC310/Moduline 3000/1010H/CW400/Sense II (DeviceID:0x10, ProductID:158, Version:18.06)",
"handlers": "0xA3 0x06 0xA2 0x2A5 0x2B9 0x2AF 0x2A6 0x2BA 0x2B0 0x2A7 0x2BB 0x2B1 0x2A8 0x2BC 0x2B2 0x2F5 0x31B 0x31D 0x31E 0x23A 0x267 0x240"
},
{
"type": "Mixer",
"name": "MM100 (DeviceID:0x20, ProductID:160, Version:24.05)",
"handlers": "0x2D7"
},
{
"type": "Mixer",
"name": "MM200 (DeviceID:0x21, ProductID:161, Version:29.04)",
"handlers": "0x2D8"
},
{
"type": "Mixer",
"name": null,
"handlers": "0x2D9"
},
{
"type": "Gateway",
"n
The text was updated successfully, but these errors were encountered: