Modern Forms Fans

Posted on
Wed Dec 08, 2021 11:36 am
KJG offline
Posts: 2
Joined: Dec 31, 2016

Modern Forms Fans

Does anyone know how to integrate fans from Modern Forms? Out of the box, they can be controlled by the Modern Forms App, Alexa, Google Assistant, Control 4, SmartThings, and Josh.AI. I suspect they can be integrated into Indigo as well, but I have no idea where to begin.

Any help would be appreciated!

Thanks,

Keith

Posted on
Sun Jun 12, 2022 7:11 am
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Modern Forms Fans

I have several of these fans as well. Would love it if someone could take a look at some of the integration and come up with a plug-in… :-)

Hubitat Has a driver written for the fans posted here:

https://github.com/bhamiltoncx/hubitat-modern-forms-fan

Any thoughts?

Posted on
Sun Jun 12, 2022 10:03 am
DaveL17 offline
User avatar
Posts: 6741
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Modern Forms Fans

A quick scan of their website didn't turn up an official API (that doesn't mean that there isn't one). That might mean that the control is being done by emulating their app. Unofficial API integration can be tricky because the API can change without warning -- which would break a plugin and cause Indigo to lose its ability to control the fans.

If there is an official API, I think it would probably be pretty straightforward to create a plugin based on Indigo's built-in fan support (depending of course on the nature of the API).

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Jun 12, 2022 10:12 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Modern Forms Fans

Lots of references to "unofficial" api. There's multiple python libraries using the unofficial api. Most recent is: https://github.com/wonderslug/aiomodernforms

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jun 12, 2022 12:32 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Modern Forms Fans

Looks a simple enough library to turn into a plugin; I’ve usually broken out of the asyncio style but with py3 plugins it may be doable engaging it as-is.


Sent from my iPhone using Tapatalk Pro

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest