Re: [mh] Adding Tasmota HTTP support

Jeff Siddall via misterhouse-users <[email protected]>
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <[email protected]>
Quick update: I created a pull request with 2 changes:

The first is to add the ability to control which Tasmota output a Switch 
item controls.  Now, for example, if you have a 2 gang switch you can 
defined 2 MH items to control them:

$Kitchen_Light_1 = new Tasmota_HTTP::Switch("192.168.x.y", "POWER1");
$Kitchen_Light_2 = new Tasmota_HTTP::Switch("192.168.x.y", "POWER2");

If you leave off the output parameter it defaults to POWER1.

I also added a new Tasmota_HTTP::Fan item for use with a Sonoff iFan, 
with states 0-3 plus the typical on and off.

Both can be defined in a table also.

You can have a look at the changes here:

https://github.com/hollie/misterhouse/pull/815

Jeff




________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.