connect Iammeter mqtt and tasmota issue

I try to connect a sonoff pow device, tasmota firmware, to iammeter by mqtt.

I follow your practical guide:

https://imeter.club/topic/144

... but the iammeter mqtt client do not turn online after I make the tasmota mqtt settings.

What shoud I do?

Here a paste from tasmota console:

00:00:00.001 HDW: ESP8266EX
00:00:00.050 CFG: Loaded from flash at F7, Count 29
00:00:00.055 QPC: Count 1
00:00:00.064 Project tasmota - Tasmota Version 12.0.2(tasmota)-2_7_4_9(2022-06-20T12:41:03)
00:00:00.502 WIF: Connecting to AP1 IoT_ltica_EXT Channel 1 BSSId 60:A4:B7:D3:8B:66 in mode 11n as device-02abc66955c64f04--5738...
00:00:02.755 WIF: Connected
00:00:03.006 HTP: Web server active on device-02abc66955c64f04--5738 with IP address 192.168.0.108
11:33:28.033 MQT: Attempting connection...
11:33:28.354 MQT: Connect failed to mqtt.iammeter.com:1883, rc -2. Retry in 10 sec
11:33:30.448 QPC: Reset
11:33:38.030 RSL: RESULT = {"POWER":"OFF"}
11:33:38.032 RSL: POWER = OFF
11:33:39.009 MQT: Attempting connection...
11:33:39.291 MQT: Connect failed to mqtt.iammeter.com:1883, rc -2. Retry in 20 sec
11:33:39.604 RSL: RESULT = {"POWER":"ON"}
11:33:39.605 RSL: POWER = ON
11:34:00.033 MQT: Attempting connection...
11:34:00.326 MQT: Connect failed to mqtt.iammeter.com:1883, rc -2. Retry in 30 sec

tnx

Thread Status
18
142
3
1
0

Sort replies by:

Please screenshot your configuration parameters

I try to connect a sonoff pow device, tasmota firmware, to iammeter by mqtt.I follow your practical guide:https://imeter.club/topic/144... but the iammeter mqtt client do not turn online after I make the tasmota mqtt settings.What shoud I do?Here a paste from tasmota console:00:00:00.001 HDW: ESP8266EX00:00:00.050 CFG: Loaded from flash at F7, Count 2900:00:00.055 QPC: Count 100:00:00.064 Project tasmota - Tasmota Version 12.0.2(tasmota)-2_7_4_9(2022-06-20T12:41:03)00:00:00.502 WIF: Connecting t


I just tested it and it's normal


Please remove the last '/' here

I removed the last "/", but the status is still "offline"

Here the screenshots

Or you can try to input your parameters in this online SonOff(tasmota) first.

http://www.iammeter.com/demo.html

This is the document https://imeter.club/topic/144


I removed the last "/", but the status is still "offline"Here the screenshots

Please make sure the User and Password had been input in the SonOff configuration filed.

(ltica, 123456)


@laoliu

for sure, I put the user (ltica) and password (123456) on mqtt tasmota configuration.

I put my parameters in the online SonOff(tasmota) and as you can see on screenshot of Sonoff(tasmota) console, seems to comunicate to iammeter.

(By the way, the link http://www.iammeter.com/demo.html dont seems to be proper display)


Or you can try to input your parameters in this online SonOff(tasmota) first.http://www.iammeter.com/demo.htmlThis is the document https://imeter.club/topic/144

Hi!

Somehow, iammeter show now that my mqtt_client is online.

I try "Publish test" device/Client_ID/cmnd/power, payload 0 but my tasmotized sonoff is device still ON, (no reaction to publihsed command)

Sorry,

the "online" status of iammeter client is due to the demo device configured with my parameters.

Hi!Somehow, iammeter show now that my mqtt_client is online.I try "Publish test" device/Client_ID/cmnd/power, payload 0 but my tasmotized sonoff is device still ON, (no reaction to publihsed command)

Hi:

Yes, it seems you can configure the demo device (http://www.iammeter.com/demo.html)   successfully and make it online in your account, but you can not make your own device online.

I just checked the error code -2 , it means the tasmota can not connect to the MQTT server.



please try to do this command 

nslookup mqtt.iammeter.com ,as below pics 

And check whether the IP is the same with the below pic




Sorry,the "online" status of iammeter client is due to the demo device configured with my parameters.

Here the command "nslookup":                  

Hi:

The dns result is correct.

The difference between your Sonoff and the Sonoff device on the demo page is
1 firmware version
2 different ISP
My colleague has also upgraded to the same firmware version of the tasmota and confirmed it can work properly.

I do not know whether your ISP block the IP or port ,please try to use a mqtt client to do the same testing (connect the mqtt server).
If it still does not work by the mqtt client, it means you ISP block the IP or port(more possible)

Here the command "nslookup":                  

Seems that Home Assistent is connected to iammeter mqtt brocker, isn't it?

Hello, how do you connect to iammeter mqtt through homeassistant, I can't imagine how you use it

Seems that Home Assistent is connected to iammeter mqtt brocker, isn't it?

Following this:

https://imeter.club/topic/66

just downgrade tasmota firmware to 8.5.0 version and is working now!



Looks like you are new here. Register for free, learn and contribute.