Skip to main content

Overview

FERAL integrates with your smart home through two paths: Home Assistant for broad device compatibility, and direct HUP mesh for low-latency local control of supported devices. Both paths let you control hardware via natural language.

Home Assistant Integration

1

Ensure Home Assistant is running

FERAL connects to Home Assistant’s WebSocket API. Your HA instance must be accessible on the local network.
2

Create a long-lived access token

In Home Assistant, go to your profile → Long-Lived Access TokensCreate Token. Copy the token.
3

Configure FERAL

settings.json
Or via environment variables:
4

Verify device discovery

Direct HUP Mesh Control

For supported devices, FERAL can bypass Home Assistant and control hardware directly over the local network or BLE using the Hardware Unified Protocol.
settings.json
Direct mesh control has lower latency than Home Assistant (~50ms vs ~200ms) because it eliminates the middleware hop.

Supported Device Types

Natural Language Control

Once connected, you can control devices through conversation:

Scenes and Automations

Define custom scenes in your settings that FERAL can trigger by name:
settings.json

Proactive Smart Home

With the proactive engine enabled, FERAL can act on smart-home devices automatically:
  • Sleep detected (from wristband) → dim lights, lock doors, lower thermostat
  • Heart rate spike during rest → adjust lighting to calming colors
  • Calendar: meeting in 5 min → mute media players
  • Leaving home (geofence exit) → turn off lights, lock all doors
Proactive smart-home actions respect your autonomy level. In strict mode, you’ll get an approval card before any action executes.

Troubleshooting

Verify the URL and token. Ensure HA is running and the API is accessible: curl -H "Authorization: Bearer YOUR_TOKEN" http://HA_IP:8123/api/.
Run feral devices (or curl http://localhost:9090/api/home-assistant/entities) to refresh. If using HA, make sure the device is exposed and not hidden in the HA UI.
If latency exceeds 500ms, consider switching to direct HUP mesh control for supported devices.