Receive tasmota data via mqtt
Moderator: leecollings
-
- Posts: 8
- Joined: Saturday 20 March 2021 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Receive tasmota data via mqtt
hey i try to install a temperature sensor on a wemos d1 mini with tasmota, but i don't know how tasmota convert its temperature but it's bad while the analog input is good, so i want to send the analog input to translate it into celcius in domoticz.
the problem is when i try to receive the tasmota mqtt data without making it as "temperature" and have the bad conversion i cannot receive the value.
I use mosquito as mqtt broker
i hope i explained clearly.
Thanks
the problem is when i try to receive the tasmota mqtt data without making it as "temperature" and have the bad conversion i cannot receive the value.
I use mosquito as mqtt broker
i hope i explained clearly.
Thanks
-
- Posts: 48
- Joined: Monday 10 December 2018 23:32
- Target OS: Linux
- Domoticz version:
- Location: Poland
- Contact:
Re: Receive tasmota data via mqtt
Let show what do you see on console log in Tasmota device.
-
- Posts: 8
- Joined: Saturday 20 March 2021 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Receive tasmota data via mqtt
when it's sending the false temperature: 
when it's the analog value:
for the both it's send via mqtt to either text input, custom sensor or temperature sensor, when the false temperature is sent no problems to see it but when it's the analog value i can't...
(if i listen to the topic with mosquito_sub cmd in the terminal of my raspberry pi i see the data for the both)

when it's the analog value:

for the both it's send via mqtt to either text input, custom sensor or temperature sensor, when the false temperature is sent no problems to see it but when it's the analog value i can't...
(if i listen to the topic with mosquito_sub cmd in the terminal of my raspberry pi i see the data for the both)
-
- Posts: 8
- Joined: Saturday 20 March 2021 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Receive tasmota data via mqtt
ok sorry it's not domoticz not receiving it but tasmota not sending the value...
-
- Posts: 8
- Joined: Saturday 20 March 2021 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Receive tasmota data via mqtt
so now my problems is "how to listen and get a mqtt value not specifically sended to one domoticz idx sensor...
- waltervl
- Posts: 5387
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Receive tasmota data via mqtt
That is kind of difficult to know for what device it is used for. If you are always sending an indicator like A0, A1, A2 than you can convert this to an idx with node red.
But why not sending it directly to Domoticz MQTT with Tasmota? https://tasmota.github.io/docs/Domoticz/
But why not sending it directly to Domoticz MQTT with Tasmota? https://tasmota.github.io/docs/Domoticz/
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 8
- Joined: Saturday 20 March 2021 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Receive tasmota data via mqtt
how nodeRed work? is it ok with mosquitto?
I don't send with tasmota because tasmota has no way to send analog value that's not set to temp or something else and if it's set to something it convert the value.
I don't send with tasmota because tasmota has no way to send analog value that's not set to temp or something else and if it's set to something it convert the value.
-
- Posts: 8
- Joined: Saturday 20 March 2021 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Receive tasmota data via mqtt
ok, i've searched about nodeRed, installed it and now i'm trying to use it but idk how...
-
- Posts: 279
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Receive tasmota data via mqtt
If your device is sending the wrong value, you should discuss this on the tasmota discord (https://discord.gg/Ks2Kzd4) and ask for help ...
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
-
- Posts: 8
- Joined: Saturday 20 March 2021 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Receive tasmota data via mqtt
so now it's almost functioning but nodered send to domoticz the object with message before the mqtt message so domoticz can't recognize it


-
- Posts: 8
- Joined: Saturday 20 March 2021 16:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Receive tasmota data via mqtt
ok this is working now thanks for the help
Who is online
Users browsing this forum: No registered users and 0 guests