Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Notifications #11

Open
jwal opened this issue Apr 8, 2018 · 2 comments
Open

Notifications #11

jwal opened this issue Apr 8, 2018 · 2 comments

Comments

@jwal
Copy link

jwal commented Apr 8, 2018

Thanks for this project. I have built a thermostat for my bedroom using an electric oil-filled radiator attached to the HS110 and a BBC microbit for reading the temperature.

I am guessing that you have found a way to reverse engineer the Kasa application protocol. I was wondering whether there is some kind of notification system where you can receive a webhook or websocket ping whenever the HS110 switches on. I notice that even if I use the button on the switch then the app updates immediately with a green light. It seems too quick to be the result of rapid polling.

Have you identified any server-initiated signals like this? It would be good to get an activation notification so that I can trigger an action from IFTTT.

I am happy to help out with a little reverse engineering and/or coding for this but I thought I'd ask the question to you first before I begin.

@adumont
Copy link
Owner

adumont commented Jun 6, 2020

Hi James, that's a good question. I have not noticed such things, although I haven't been looking for it either.

I'm curious, in your setup, how is the Micro:bit interacting with the HS110? Is it via bluetooth, with another component in the middle, that gets some Microbit control signal and relays it over the internet?

@jwal
Copy link
Author

jwal commented Jul 28, 2020

Sorry for the delayed reply.  I actually had one Micro:bit logging using the internal radio transmitter to another which was connected to a Raspberry Pi via USB cable. It was via the Pi that smart plug was being triggered.

Unfortunately this setup has somewhat dropped out of maintenance so I cannot show you until I get a chance to resurrect it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants