question about serial interface

460 views
Skip to first unread message

rafal p

unread,
Oct 27, 2017, 4:31:10 PM10/27/17
to SonoffUsers
Just ordered my first 3 sonoff's + orange pi zero for mosqitto broker. 
But my concern is something different

I have ardiuno rig for controlling my chicken coop . There are motors for opening door, feeding, watering, temperature sensor of nests etc. It is a small coop with 8 inhabitants (including rooster).

It functions very well, but I wonder if arduino who is the master controller could use tasmota serial interface to publish via MQTT some informations . Do not get me wrong - I will change the arduino code to do the serial job, but is it possible to use tasmota serial commands to publish some mqtt messages, or I have to use other MQTT<>rs232 gate like here 

so the scenario is ARDUINO(temperature, egg count, rooster mood ;) - whatever info) > rs232 > SONOFF(tasmota) >> MQTT 

Zach Fine

unread,
Oct 27, 2017, 8:17:28 PM10/27/17
to SonoffUsers
I posted a similar question as an 'issue' to the Sonoff-Tasmota Github not 40 minutes ago, perhaps I should have posted it here instead.


In it I meander through the application to which I'd like to put my Sonoff Basic and then end on the idea that it'd be cool to be able to use the Sonoff's TX and RX pins as a serial-MQTT passthrough (or relay, gateway, whichever term actually fits).

The link you've provided looks promising.

rafal p

unread,
Oct 28, 2017, 5:47:59 AM10/28/17
to SonoffUsers
You are right, we share the same concept. 

I think the link provided solves the problem, just I am curious if tasmota provides similar capabilities with it's serial interface commands.
Tasmota software on sonoff hardware is nice and proven by many users, you  already have power supply, button, and relay on board, so it would be easy to integrate to existing hardware. 

by the way, the whole tasmota functionality is for me JAW DROPPING thing. Amazing what talented people can achieve. Kudos to all developers... 
Reply all
Reply to author
Forward
0 new messages