0.0.18 • Published 10 months ago

homebridge-smarteefi-local v0.0.18

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

NPM Status

alt text

Homebridge Smarteefi Local Integration

Setup

npm install -g homebridge-smarteefi-local

Configuration

Enter the following values

  • Username
  • Password
  • Device Details(required) Device Details
    • Device ID (find in smarteefi app)
    • IP address (better if Address Reservation is done in your router)
    • isFAN (Fans have a different logic)
  • Local? (Local will only work if this option is setup) LAN Config

Reverse Engineering

Smarteefi uses UDP packets to send commands to devices in the network. These signals are prepared per device and deviceMap and sent accordingly. The pattern of the messages can be found in the code. If you are interested in RE-ing the packets, install Wireshark and understand the packets in your free time.

Smarteefi web portal is used to emulate the cloud interaction. Device states are stored locally and are refreshed from the cloud (non-API).

Current Support for Local

  • Switch (Single, Double, Quadruple) - ON/OFF
  • Fan (WIP)- ON/OFF/Set Speed
  • Switch/Fan Module - TBD
  • Anything else? - TBD

Current Support for Smarteefi Cloud

  • Switch (Single, Double, Quadruple) - ON/OFF
  • Fan - ON/OFF/Set Speed; Works but Fan control maybe buggy
  • Switch/Fan Module - TBD
  • Anything else? - TBD

Gotchas

The web portal of Smarteefi does not accurately work for FAN modules. If you have a dedicated FAN module or a module with FAN, the current power/speed is determined by the operations performed on HomeBridge.

Additionally, the web portal does not support 5 devices in a module. A special "hack" has been added to support the same. It assumes that in a 5 module device with a specific series in serial #, the last module is a fan.

0.0.17

10 months ago

0.0.18

10 months ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago