So, I’m trying to get a DS1631 temperature sensor working with Tasmota, and thereby transmit its data through to Home Assistant. Why a DS1631 you ask? Because thats what I have.
So a DS1631 uses I2C for communication. I’ve written some code to work with it directly, but I’d like to make it work under Tasmota for all the extra goodies Tasmota offers. Googling sensor driver development has me a wee bit overwhelmed though. Anyone know of a good basic tutorial to help? (Its a pretty basic protocol, so it should be fairly easy to get going…)
Also, would be nice to be able to test in the tasmota console, which I’m assuming is possible, but can’t figure out how to read/write to the bus from the console
I know both should be easy, but I’m getting bogged down with too much when I start reading manuals.
If they admits binary has support for that sensor and i2c you should see the sensor value in the console. Provided as well you have selected the right module/template to configure i2c… it’s pretty straightforward when you set the GPIOs for i2c
Sensor needs to have configuration messages sent initially, then messages sent to read the temperature back. Haven’t quite figured out some of the nitty gritty yet.