mcolyer / hacklet

An Open Source client for the Modlet (smart) outlet
http://mcolyer.github.io/hacklet
MIT License
30 stars 9 forks source link

Thermostat #8

Open ziegs opened 10 years ago

ziegs commented 10 years ago

I have a modlet from a power company's SmartAC program. Hacklet can control the modlet, but it can't connect or read from the thermostat. I've tried running commission while the thermostat is in pair mode, but it does not appear.

ziegs commented 10 years ago

Spoke too soon. I can get it to show in "commission," but I can't read from the device.

mcolyer commented 10 years ago

Glad to hear that the SmartAC device worked at all. Unfortunately I don't have one so I can't add support for it. Is this something you're interested in working on?

ziegs commented 10 years ago

Yea I'm happy to help out here. I had a look around trying to find the protocol they're using but didn't find much. If you have some pointers for figuring this out I'm willing to dig-in.

If you're in the US, your power company may have a smartAC program and send one to you for free. That's how I got mine.

mcolyer commented 10 years ago

I unfortunately don't have too many tips. I used the software that came with the outlets and looked at the logs. Maybe there's something similar for the SmartAC?

I don't have AC so unfortunately I don't really have a way to use one of these.

chrismcnally commented 9 years ago

I also have the smart AC device and I am looking to hack it. I think the internals might be GainSpan.

It's similar to the modlet outlet, but does not require the USB. The modlet turns the AC on when the temperature reaches a certain level, and turns it off when it's cool enough. It could have a number of uses, including fermentation temperature control for beer. I got mine free from ConEd, the electric utility in NYC. I love it but the software we get is only web based and is very feature poor.

I'd like to use the modlet on my heating system, but since it does cooling only, you can only set a high temp to have it turn on and off and I would rather set a low temp or a schedule. I was hoping it might have a REST API like the Hue lights. I'll take a look at your code.

mcolyer commented 9 years ago

It's similar to the modlet outlet, but does not require the USB

Most likely things are probably pretty different then. This library is very specific to the modlet.

I'd like to use the modlet on my heating system, but since it does cooling only, you can only set a high temp to have it turn on and off and I would rather set a low temp or a schedule.

With hacklet (and a modlet), you can have a computer implement the thermostat feature if you also attach temperature sensor as well.

I was hoping it might have a REST API like the Hue lights. I'll take a look at your code.

The modlet doesn't have a REST API as far as I know.

JpTiger commented 8 years ago

Any luck with this? I've got two smartAC units amd would love to use the thermostat remotes this way with space heaters. It's getting cold out here and since my apartment only has electric heat, this could really make my life easier.

chrismcnally commented 8 years ago

Joel,

I used them as is for my electric heaters all last winter and this fall.

First you have to have used them for a month, then you can set up the "savings plans" on the website, which is nothing more than an on/off schedule. it's only available on the Modlet website and not on the App.

I set my schedule to go on at 6 am, off at 8am and on again 8pm and off at 10pm. Then on the remote, I set the "desired temp" to 50. The heaters themselves also have a setting I just pick anything like 80.

at 6 am the heaters come on based on the schedule. The local remote only functions as on and off to override the schedule. Since I set the remote to 50, it will keep the heaters on until my apt gets to 50, which will never happen. Then at 8 am the schedule turns off my heaters.

I did not have any luck and I don't think anyone will hacking the devices. They already told me they would not provide a public API

On Fri, Oct 28, 2016 at 12:05 AM, Joel R. Putnam notifications@github.com wrote:

Any luck with this? I've got two smartAC units amd would love to use the thermostat remotes this way with space heaters. It's getting cold out here and since my apartment only has electric heat, this could really make my life easier.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mcolyer/hacklet/issues/8#issuecomment-256831438, or mute the thread https://github.com/notifications/unsubscribe-auth/AEL4jlRb8K7LEWPOOvpcK5gHjBLosuGHks5q4XR9gaJpZM4CLzUt .