This is a virtual fan that can be added to Homebridge --> Apple Homekit

I use this for my AMX system to listen to commands and then control a Dynalite lighting system that then controls my ceiling fans.

To Do:
-get feedback from controller working
-add temperature feedback

Config:{
    "accessory": "VirtualFan",

    "name": "Study Fan",

    "area": "242",

    "channel": "0" //not used yet...

AMX Module:
1- Log into Homebridge SSH from AMX controller.
2- After authentication, send: "'sudo hb-service logs'". This will print out logs
3- Then listen to the commands.
    e.g. 
    light=power:1:242
    <device>:<action>:<1 or 0>:<area>