sophiathekitty / NullHub

a custom home automation hub i'm building to handle automating wemo outlets and coordinating a handful of other raspberry pi based diy devices.
MIT License
1 stars 0 forks source link

Have all server requests going through ServerRequests model #5

Closed sophiathekitty closed 2 years ago

sophiathekitty commented 2 years ago

i completely forgot i'd made this. it simplifies the code for getting the json data i need. it builds the url and returns the associated array tree.

sophiathekitty commented 2 years ago

ok ServerRequests is a model. it's supposed to be logging the latency of requests. but it's not.

sophiathekitty commented 2 years ago

what the absolute hell?! it's saying that columns don't exist that most 10000% do exist

sophiathekitty commented 2 years ago

ok it's logging the requests to track latency

sophiathekitty commented 2 years ago

i think i got most of the ones in NullHub going through the ServerRequests and logging the request times.

sophiathekitty commented 2 years ago

yeah i think this is done for this repo at least... i need to do it for the plugins.... but i should add it as issues for those plugins when i get around to it....