Sensor TX20 with tasmota firmware

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
javalin
Posts: 71
Joined: Tuesday 30 April 2019 16:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Portugal
Contact:

Sensor TX20 with tasmota firmware

Post by javalin »

Hello, I have a TX20 windsensor with tasmota firmware and I would like to sent data to domoticz server on raspberry. I already setup a dummy and fisical device in Domoticz but I don´t know how can I create a script to gathers all data showed bellow and update the dummy device in Domoticz server? I appreciate any help
Attachments
console2.png
console2.png (248.28 KiB) Viewed 864 times
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Sensor TX20 with tasmota firmware

Post by waaren »

javalin wrote: Saturday 04 May 2019 21:21 Hello, I have a TX20 windsensor with tasmota firmware and I would like to sent data to domoticz server on raspberry. I already setup a dummy and fisical device in Domoticz but I don´t know how can I create a script to gathers all data showed bellow and update the dummy device in Domoticz server? I appreciate any help
Have you seen this ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
javalin
Posts: 71
Joined: Tuesday 30 April 2019 16:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Portugal
Contact:

Re: Sensor TX20 with tasmota firmware

Post by javalin »

Thank you waaren, my sonoff basic is already configured and working in Domoticz server like a switch, I have connected de windsensor on 3V3, GND and RX sonoff board to get aditional data, my problem is that Tasmota firmware has not native support for windsensor and you must to create a script to sent the info to Domoticz. Tasmota has native support for anothers sensors like you can see on the image below but not for wind sensor.
Attachments
domotic_parameters.JPG
domotic_parameters.JPG (116.03 KiB) Viewed 856 times
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Sensor TX20 with tasmota firmware

Post by waaren »

javalin wrote: Sunday 05 May 2019 0:57 Thank you waaren, my sonoff basic is already configured and working in Domoticz server like a switch, I have connected de windsensor on 3V3, GND and RX sonoff board to get aditional data, my problem is that Tasmota firmware has not native support for windsensor and you must to create a script to sent the info to Domoticz. Tasmota has native support for anothers sensors like you can see on the image below but not for wind sensor.
If you can get the data from your windsensor in any (virtual) device or variable in domoticz, I could help make a script to copy that data and into virtual wind sensor.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
javalin
Posts: 71
Joined: Tuesday 30 April 2019 16:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Portugal
Contact:

Re: Sensor TX20 with tasmota firmware

Post by javalin »

Hello waaren, I can read the data in tasmota web interface introducing its IP on my desktop computer as the image I send, but I dont know how to send it to domoticz because Sonoff basic is a dummy device, it´s not consider wind device and don´t know how to gather this info. In domoticz I only can switch on/off Sonoff Basic´s rele.
Attachments
Capture.JPG
Capture.JPG (96.79 KiB) Viewed 841 times
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Sensor TX20 with tasmota firmware

Post by waaren »

javalin wrote: Sunday 05 May 2019 9:23 Hello waaren, I can read the data in tasmota web interface introducing its IP on my desktop computer as the image I send, but I dont know how to send it to domoticz because Sonoff basic is a dummy device, it´s not consider wind device and don´t know how to gather this info. In domoticz I only can switch on/off Sonoff Basic´s rele.
Can you get the data from your Sonoff using a kind of API call ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
javalin
Posts: 71
Joined: Tuesday 30 April 2019 16:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Portugal
Contact:

Re: Sensor TX20 with tasmota firmware

Post by javalin »

I don´t know if it is possible to obtain data with API or another method, my knowledge is limited in this area.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest