CliveS wrote:
Sounds like you are "enjoying" playing with Tasmota, would be great to have a reliable low cost Humidity, pressure and temp sensor.
So if you go for the "how I designed the Shelly plugin" approach what would you need to turn that into a template ?
If you need to test it I have several Tasmota UK plugs that I have given up on trying to get Shims to reliably indicate On/Off status so let me know if you need a beta tester.
The "Shelly Approach" would be a plugin that utilizes MQTTConnector to satisfy all my MQTT needs, and then the plugin handles all of the Tasmota-specific logic. That includes the Tasmota device discovery, common MQTT message structure, and the like. There would be a single "Device Definition" python file for each supported Tasmota device which contains all the Indigo functions for updating Indigo device states, responding to triggers, and sending there on/off commands.
Right now the hold-up is for determining the method for representing these Tasmota device in Indigo. I'm not 100% pleased with my parent/child association from ShellyMQTT, and I want to keep experimenting with dynamically creating some Device Factory devices.
As for my sensor, the rough final size with batteries is looking to be 50mm (W) x 60mm (L) x ~40mm (H). A sensor reporting once every 5 minutes and then going into deep sleep looks like it can last for almost 45 days on 3xAA batteries. I am hoping the power consumption decreases once it moves off of breadboards. There is no reason that they couldn't be powered from a 5v power source though.
]]>