[Wiki] HTTP Features and Endpoints

I know there are some undocumented features of the hub (and I know there are some beta features). Without breaking any beta tester NDAs or other agreements, it would be nice if we could pull together all of these features in one place.

Webserver ports

http 80
Or
http 8080

443
https://hubitat.local:443
Or
https 8443

Diagnostic Tool 8081
http://hubitat.local:8081

Network Config

The following URL will enable to network auto negotiation:
http://hubitat.local/hub/advanced/network/lanautonegconfigdisable
http://hubitat.local/hub/advanced/network/lanautonegconfigenable
http://hubitat.local/hub/advanced/network/lanautonegconfigstatus

Network Tests

http://hubitat.local/hub/networkTest
http://hubitat.local/hub/networkTest/ping/gateway
http://hubitat.local/hub/networkTest/ping/:ip
http://hubitat.local/hub/networkTest/speedtest
http://hubitat.local/hub/networkTest/traceroute/:ip

Zigbee Status Page

http://hubitat.local/hub/zigbee/getChildAndRouteInfo

Zwave Cleanup

http://hubitat.local/hub/zwave/nodeCleanup

Zwave Repair

http://hubitat.local/hub/zwaveRepair

Disable Device in Rule Machine

http://hubitat.local:8080/device/disable?id={ID}&disable={true|false}

Disable App in Rule Machine

http://hubitat.local:8080/installedapp/disable?id={ID}&disable={true|false}

Event Limits

http://hubitat.local/hub/advanced/event/limit
http://hubitat.local/hub/advanced/event/limit/(1-2000)

Hub Stats

View and enable stats
// unavailable on recent firmware // http://hubitat.local/hub/stats
// unavailable on recent firmware // http://hubitat.local/hub/enableStats
// unavailable on recent firmware // http://hubitat.local/hub/disableStats

Hub Memory

// unavailable on recent firmware // http://hubitat.local/hub/advanced/freeOSMemoryStatus
http://hubitat.local/hub/advanced/freeOSMemory

Hub Internal readings

http://hubitat.local/hub/advanced/internalTempCelsius

Database and JVM

http://hubitat.local/hub/cleanupDatabase
http://hubitat.local/hub/forceGC

HTTPS Certificate

http://hubitat.local/hub/advanced/certificate

Disable HTTPS Only Option
http://hubitat.local/hub/advanced/disablessl

Hub Backup Download

http://hubitat.local/hub/backupDB?fileName=latest

Hub Mesh Token Show / Copy

In a section on Hub Mesh page, towards the bottom.
http://hubitat.local/device/showHubMeshToken

Force Delete Rogue Devices, that give a 404 Error

(The below is in regard to Ring devices)
Gopher speak-->>"I've added a special URL to deal with them, though. As long as you know the device id (it's a part of the URL that produces the 404), you can delete a device directly. Just replace 12345 in the URL below with that id, and it will be gone". Use caution - it will not ask for a confirmation.

http://hubitat.local/device/forceDelete/12345/yes

NTP commands

Scan local network for NTP servers and show the list
http://hubitat.local/hub/advanced/scanForNtpServers

Show current NTP server
http://hubitat.local/hub/advanced/ntpServer

Set the NTP server to <-value->
http://hubitat.local/hub/advanced/ntpServer/<-value->

Diagnostic Tool Not Reachable

I can't access the hub in support tool for some reason, so this is an educated guess, but can you try hitting this URL:
http://hubitat.local:8081/deleteDatabaseTraceFiles
...followed by a reboot?
It should show something like this as output, maybe with more file names:
deleted files: [hubitatdb.trace.db], could not delete: []

REST Endpoints

See this post: [Wiki] HTTP Features and Endpoints - #58 by syepes

51 Likes

8081 for safemode stuff

Edited to add this and made this more informative. If you find anything else let me know

http://hubIP/hub/zwave/nodeCleanup

Http://hubip/hub/zigbee/getChildAndRouteInfo

2 Likes

Http://hubip/hub/advanced/event/limit for getting the response for what the event limit is set to.
Http://hubip/hub/advanced/event/limit/(1-2000) for setting the event limit for all devices at once (can be done individually now on the device page.

2 Likes

ok you posted it.. so asked for it lol
whe does the zigbee route info show no routes?
is the radio that powerfull nothing needs it.. even my outdoor gardenspot lights?
Also, is it a bug its not showing my zigbee kwikset locks?

Parent child parameters
EzspGetParentChildParametersResponse [childCount=1, parentEui64=0000000000000000, parentNodeId=65535]

Child Data
child:[Outdoor Temp, 0584, type:EMBER_SLEEPY_END_DEVICE]

Neighbor Table Entry
[Mi Hue Hub Switch, 0F61], LQI:255, age:5, inCost:1, outCost:1
[ATT MI Wifi Switch, 2385], LQI:255, age:4, inCost:1, outCost:1
[Wine Room Camera, 2473], LQI:254, age:4, inCost:1, outCost:1
[Sunroom Light, 37ED], LQI:255, age:3, inCost:1, outCost:3
[Bedside Lamp, 3A9B], LQI:214, age:3, inCost:5, outCost:7
[GardenSpot Lights, 61CF], LQI:254, age:4, inCost:1, outCost:7
[Garage Switch, 64F6], LQI:255, age:4, inCost:1, outCost:1
[Living Room Lamp, 6911], LQI:255, age:3, inCost:1, outCost:1
[Canal Camera Switch , A74D], LQI:255, age:3, inCost:1, outCost:1
[LR Side Camera Switch, D87A], LQI:255, age:4, inCost:1, outCost:1
[Basement Gas Detector, F147], LQI:191, age:4, inCost:7, outCost:7

Route Table Entry
status:Active, age:32, routeRecordState:2, concentratorType:Low Ram, [Sunroom Light, 37ED] via [Garage Switch, 64F6]
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused

Here's mine for comparison.

Neighbor Table Entry
[🔌 Attic Entryway Outlet, 3215], LQI:254, age:3, inCost:1, outCost:1
[🔌 Living Room Subwoofer, 47CF], LQI:255, age:3, inCost:1, outCost:1
[🎇 Lewis's Fan, 98A0], LQI:255, age:3, inCost:1, outCost:1
[🛋️ Living Room Couch, D756], LQI:254, age:3, inCost:1, outCost:1

Route Table Entry
status:Active, age:64, routeRecordState:2, concentratorType:Low Ram, [🎇 Lewis's Fan, 98A0] via [🎇 Lewis's Fan, 98A0]
status:Active, age:32, routeRecordState:2, concentratorType:Low Ram, [🔌 Living Room Subwoofer, 47CF] via [🔌 Living Room Subwoofer, 47CF]
status:Active, age:32, routeRecordState:2, concentratorType:Low Ram, [🔌 Attic Entryway Outlet, 3215] via [🔌 Attic Entryway Outlet, 3215]
status:Active, age:32, routeRecordState:2, concentratorType:Low Ram, [🛋️ Living Room Couch, D756] via [🛋️ Living Room Couch, D756]
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused
status:Unused

The weird characters are due to my emoji's just fyi.

None of my battery powered devices show up. They are battery powered and don't route stuff.

The range is pretty far. I have a large house and it all pretty much direct connects, but I have no idea of your environment/attenuation/interference environment.

the outdoor temp is a hue motion temp.. it is battery and does show up but as child for whatever that means.. Weird no routing. Guess I didnt need to put a zigbee camera switch into each room..
was putting switches around the same way i do for zwave/switches repeaters.. but looks like it wasnt needed. Go figure

ok it has to be asked.. what the hell is the "living room couch"? senses you butt on the couch... lol

http://hubIP/hub/advanced/freeOSMemoryStatus
http://hubIP/hub/advanced/freeOSMemory

Database and JVM
http://hubIP/hub/cleanupDatabase. - system does the regularly itself
http://hubIP/hub/forceGC. - system does this regularly itself

View and enable stats
http://hubIP/hub/stats
http://hubIP/hub/enableStats

6 Likes

Cool...all of those are new to me.

what are the stats.. does it tax the hub if we enable it.. If we do how then do we unenable it?

Child devices are end-devices connected directly to the hub. The routing table only shows what is within one hop of the hub, or something along those lines.

2 Likes

The living room couch is a zigbee outlet I use to turn it off so the kids don't mess with the buttons on the side raising and lowering the legs and end up crushing each-other. I use voice control to turn it on when I want to recline and have it turn off a minute later. They're both about 18 months old and mess with everything. Outlets I name as the device they are controlling so I can tell easily what I am messing with in the automations.

3 Likes

http://hubip/hub/WTF-justWork-willYou!?!
Forces any C7 hub on pre-2.2.3.142 FW to upgrade to .142 FW

http://hubip/hub/hideThis-orI'mDead
Hides upgraded devices from wife/partner to avoid "discussions" about SmartHome budget overages

12 Likes

how about hiding all the packages im getting from amazon or smarter house when upgrading from st, and replacing everything with zwave plus ??

and aeotec sticks and new repeaters etc.

1 Like

just put a note in the delivery notes to put it inside the fence on the side of the house... that's what I do. The wife never goes over there.

5 Likes

Once I get this email off she will now...[evil laugh)

1 Like

She wouldn't say anything to me anyways... she spends about 4k a month on all kinds of crap.

1 Like