home-automation

Storing large amounts of data in a database

淺唱寂寞╮ 提交于 2020-01-03 17:03:04
问题 I'm currently working on a home-automation project which provides the user with the possibility to view their energy usage over a period of time. Currently we request data every 15 minutes and we are expecting around 2000 users for our first big pilot. My boss is requesting we that we store at least half a year of data. A quick sum leads to estimates of around 35 million records. Though these records are small (around 500bytes each) I'm still wondering whether storing these in our database

Storing large amounts of data in a database

[亡魂溺海] 提交于 2020-01-03 17:03:03
问题 I'm currently working on a home-automation project which provides the user with the possibility to view their energy usage over a period of time. Currently we request data every 15 minutes and we are expecting around 2000 users for our first big pilot. My boss is requesting we that we store at least half a year of data. A quick sum leads to estimates of around 35 million records. Though these records are small (around 500bytes each) I'm still wondering whether storing these in our database

Issues with Pubnub + Wink Hub and sensors

爱⌒轻易说出口 提交于 2019-12-13 14:04:31
问题 I'm trying to get my Wink Hub working with Pubnub subscriptions in my iOS app, but all I ever get is a PNUnexpectedDisconnectCategory status in the didReceiveStatus callback. Here is the code: class AppDelegate: UIResponder, UIApplicationDelegate, PNObjectEventListener { var window: UIWindow? var client: PubNub override init() { let configuration = PNConfiguration(publishKey: "", subscribeKey: "fake-key") client = PubNub.clientWithConfiguration(configuration) super.init() client.addListener

Amazon Dash Button stopped ARPing?

二次信任 提交于 2019-12-13 12:20:17
问题 I have implemented a home automation solution to track my childrens chores using two Amazon Dash buttons, a raspberry pi, and python code similar to what's been done here. This solution has worked for the past several months. Yesterday, the buttons appear to have ceased ARPing. That is, I can no longer detect an ARP from them, nor do I appear to be able to detect their MAC address by sniffing it. I'm wondering if anyone else has had this problem? In addition to the python mechanism using

Home Automation Library [closed]

落花浮王杯 提交于 2019-12-03 03:14:02
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm a C# developer looking to get into home automation as a hobby. I have done a little research, but was wondering if anyone knows of a good .NET library that supports Insteon hardware. I'd rather use Insteon than X10 due to reliability issues. My ultimate objective at this point is to have a simple home